Adventures with 5A regulated voltage circuits

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Member
Joined 2011
Paid Member
Linear Technology's Remote Sensing circuit in post #179 above, is somewhat unusual. I've copied the schematic below and added names for each of the components. Readers may enjoy discovering whether or not it works, and if so, how? It's a fun little problem in circuit analysis.

I've attached my own analysis and explanation below. It's in a .zip archive file so it won't accidentally pop up when you're browsing this thread, and ruin the surprise / fun of deconstructing the circuit. More than one "click" are required to open the zip archive, you can't do it by accident. Neither can your cat, no matter how furiously she pats your keyboard or touch screen.
 

Attachments

  • remote_sensing.png
    remote_sensing.png
    94.8 KB · Views: 198
  • goofy_remote_sensing.zip
    88.9 KB · Views: 60
One of your most serious problems is going to be: how to employ the AD797 opamp (which requires at least 10 volts between Vcc and Vee) in your 3.3 volt regulator.

One option is to use the wonderful Linear Technology LT1498 opamp in all three regulators, since its supply voltage range extends from 2.2V to 36V (!!) and its other specs are reasonably nice. But this would mean abandoning the AD797 and you seem to be enamored of it.

Another option is to use 3 different opamps in the 3 different applications; use the "best available" opamp for each supply. And then hope they are pin compatible. And then hope that the frequency compensation schemes for each one, can be mapped into a common PCB footprint.

Well, here is yet one more option: provide a low current "super voltage" supply to each board, which is at least 10 volts higher than that board's regulated output voltage. Now you've got 13.3 volts, 15 volts, and 22 volts. You can use the exact same AD797 opamp, with the exact same frequency compensation, in all three boards. Another benefit: no level shifter! Even with the non-rail-to-rail AD797 driving a high-threshold-voltage enhancement mode MOSFET, the opamp output pin can swing higher than necessary.

You could set Vsupervoltage = 15V for both the 3.3V and the 5.0V boards. You could set Vsupervoltage = 24V for the 12V board.
You could generate these with a little dinky auxiliary transformer (24VAC @ 10 volt-amperes), an LM7824 for +24V, and an LM7815 for +15V. Small and simple.

Conceptual schematic below.

_


As I was looking at the rather poor transient response of a dual LT1084 regulator I was thinking about this post. I would have readily to hand a rather good 12V supply (assuming the whole construction works). It would be easy to run a couple of pairs of wires, one to the 5V board and another to the 3V3 board. A couple of strategically positioned solder pads (unused on the 12V board) would allow landing of the 12V on the other 2 boards. A large number of components on the 5V and 3V3 boards would not need to be populated. A well-placed 0 Ohm resistor would allow by-passing of unpopulated level shift components. I think Vgate only needs to be c3V above Vout. The AD797 with 12V supply might even swing high enough for 5V out...

Am I going mad?
 
Member
Joined 2011
Paid Member
The "Supervoltage Input" option simplifies your life BUT it drastically reduces the circuit's appeal to other people. Who else might possibly want to build your 3.3V regulator board which, oh by the way, also requires a well regulated 12VDC input? If one of your goals is to be the famous designer of a much-loved and frequently built DIY project, the supervoltage idea may wreck your plans.

It seems to me that a quick .DC simulation of a load resistor, series pass transistor, +12VDC supply, and 100% perfect, error-free, and approximation-free AD797 opamp spice model .... could answer the question: Can an AD797 running on 12VDC, drive the gate of a series pass transistor (without level shifter) to produce 5V output at max possible current?

If the answer is no, you could of course apply the higher voltage but greater ripple, unregulated input which drives your 12V regulator board.
 
Oh, I have no desire for fame and I could not claim credit for the reg circuit anyway. I have, however, added to my 'to do' list to at least lay out this circuit as a little DC regulator board at perhaps lower current spec so as to reduce heatsink requirements. Perhaps that might be of more interest to others.

I had already started testing "The AD797 with 12V supply might even swing high enough for 5V out..." A little over 9V is required and so 12V would seem to provide good headroom.
 
Not much progress due to alternate demands on my time and some LTspice issues. I did finish linking the 3 regs in LTspice and - apologies to Elvee - I am finally posting the .asc files.

Strangely, powering the Vref for the 5V and 3V3 rail from 12Vout affects the modelled PSRR of Vref for the 12V reg (with subsequent deterioration in 12Vout PSRR which likely affects the other voltages). This makes no sense to me as 12Vref is driven from Pre12Vreg and not 12Vout.

Attached zip of necessary .asc files etc and some pics of modeled PSRR.
 

Attachments

  • circuit.JPG
    circuit.JPG
    416.6 KB · Views: 155
  • 12V alone.JPG
    12V alone.JPG
    126.9 KB · Views: 146
  • PSRR connected.JPG
    PSRR connected.JPG
    129 KB · Views: 133
  • Mosfet reg.zip
    12.3 KB · Views: 47
Last edited:
Mark or others, do you have any views on a Zoebel network in lieu of a gatestopper resistor. Cordell mentions a 47 Ohm resistor in series with a 100pF capacitor from gate to drain as being a better solution to potential instability than a gatestopper. In line with his comments, it would appear to provide more phase headroom with less impact on PSRR (less impairment of the speed of the pass transistor).

Attached are modeled phase and gain margin (0.1A load) with a 100R gatestopper which also requires heavier op amp compensation. Also attached is the same for the Zoebel network; it would appear to provide more phase cushion albeit less gain margin, allows less heavy compensation and models better PSRR.

Thoughts?
 

Attachments

  • Zoebel PSRR.JPG
    Zoebel PSRR.JPG
    135.3 KB · Views: 48
  • Phase with zoebel.JPG
    Phase with zoebel.JPG
    137.2 KB · Views: 58
  • Zoebel.JPG
    Zoebel.JPG
    29 KB · Views: 59
  • Gatestopper PSRR.JPG
    Gatestopper PSRR.JPG
    134.8 KB · Views: 53
  • Phase with gatestopper.JPG
    Phase with gatestopper.JPG
    136.6 KB · Views: 58
  • Gatestopper.JPG
    Gatestopper.JPG
    24.2 KB · Views: 130
Last edited:
Member
Joined 2011
Paid Member
The safe play is to include all three components in the schematic and (more importantly) on the PCB. If you think you prefer the RC network from gate to drain, go ahead and include an 0.10 ohm gatestopper resistor too. Now you can try out one approach (gatestopper but no RC) and/or the other approach (RC but no gatestopper) without fabbing new PCBoards.
 
Latest and greatest. I still have some modelling to do here. Looks like R1 and R2 won't be needed, but I am not sure it's worth redoing the board as the space freed up largely ends up falling between C3 and C4. I may just dump the LED1/R14 indicator.

Schematic with annotations, board and BoM attached. All comments/advice greatly welcomed!

[Thinking about soldering the 12V SMD parts is intimidating. (The other rails should be easier as they omit many of the parts.) I will print the board actual size on a sheet of clear film and cut a stencil. I'll then have a go at 'skillet reflow soldering' it. I have an induction hob with a metal plate that converts it to a regular hob. The temp of this can be set. Unless of course there's a real risk that the induction will destroy parts?]
 

Attachments

  • PSU Rail Schematic.png
    PSU Rail Schematic.png
    79.6 KB · Views: 227
  • PSU Rail Board.png
    PSU Rail Board.png
    150.6 KB · Views: 221
  • BoM Linear PSU ver 1.pdf
    38.3 KB · Views: 61
Load capacitance.

I'm getting unstuck when I add load capacitance to my regulator circuit.

When I model the stability of the regulator circuit itself including its two output caps I get good phase margin (c80 degrees for example) and decent gain margin (23dB @ 0.1A load, 13dB @ 5A load). However, if I tack onto the model a capacitor to represent load capacitance (e.g. the 8,000uF mentioned in the ATX Power Supply Guide for 12V load capacitance) everything goes to hell in a hand basket.

The 8,000u may well be very conservative, who knows. There will also be some ESR. My question is whether it is right to model this capacitance. Surely not every regulator circuit devised knows the load capacitance to which it will be attached.

Or is this merely, as I currently fear, a sign of a bad circuit - one intolerable of load capacitance and likely unstable in practice. :(
 
Member
Joined 2011
Paid Member
Rather late in the game to be discovering a potentially fatal problem!

It might be reassuring / it might be terribly frightening, to do a few simulations that estimate the number "X" in the homework problem below.
What is the minimum length "X" of a twisted pair of copper wires, #16 AWG wires (1.29mm diameter), such that a twisted pair X or longer between the regulator and the load, gives adequate stability? However you choose to define adequate? Don't neglect the resistance per unit length, inductance per unit length, or capacitance per unit length, of a twisted pair of #16 AWG copper wires.
Of course if you have a solid reason why this exercise is obviously a waste of time, then don't waste time on it. And if you have an airtight reason to study a different wire diameter, nobody here can stop you.
 
:D

It was a very disconcerting afternoon as I added series resistance and self-inductance for 30cm of 14AG wire (that's what I have although I find it difficult to work with), looked repeatedly at the depressing outcome (aka worse) and futsed around until, and only after typing a response here and almost hitting send, I finally read your post once more and realised that I hadn't added the resistance and inductance to the return wire of the twisted pair! What a difference after that lead penny clanged on the floor... Thanks!!

Oh and I needn't have really put the load capacitance into my AC-voltage-driven 'observe in-rush and power dissipation' model in the first place as it sits behind the 'power control board' pass transistors and isn't charged until PWR-ON is received, well after the initial in-rush to charge the PSU filter caps. It is of course relevant to the control board pass transistors' SOA.

(BTW I did look at a simulation using the LT1498 rather than the AD797A. It does indeed perform very well, albeit not quite as well as the AD797A. Quite likely a good choice for a low voltage stand-alone circuit.)
 
Last edited:
Hopefully I am getting near to the point of ordering boards and parts (including at least the heat sink part of the enclosure). I never got an answer from Wurth re the ferrite beads and have limited space for them on the board. I will use a filtered IEC inlet and leave it at that for now.

One thing I am wondering about is bleeding the filter caps. AndrewT at one point, if I recall correctly, said he doesn't like using them. Yet it would seem to me wise not to leave large caps charged. The indicator LED will bleed the smaller output caps but at some point the pass transistor will turn off leaving charge in the main filter caps. Is it recommended to add a bleeder resistor after the 3 large input caps?

(If "yes" any guidance as to size/bleed current to alleviate the concern I think AndrewT expressed?)
 
Member
Joined 2011
Paid Member
One thing I am wondering about is bleeding the filter caps.

I include bleeders myself. I choose the Yageo "skinny boy" resistors (1W @ 2.4mm x 6.3mm (link 1)) or else (2W @ 3.9mm x 9.0mm (link 2)). I select the resistance value such that the worst case max dissipation (no load on supply, mains +10%, diode Vfwd_min, etc) is half of the resistor wattage rating.

Why do I like bleeders? Because I've received a nasty shock when servicing equipment (designed by "the legendary Bob Carver") that omitted them.

I prefer to include explicit bleeder resistors even when power-is-good rail indicator LEDs are present. Dogma? Dogma.
 
Thanks Mark. I was thinking the same re potential shocks. I will make the changes.

I've been distracted by another thing I'm witnessing in LTspice. To check all my power dissipation, voltage headroom etc I have a circuit which includes the NTC-based soft start, toroid, rectifier diodes and, of course, the regulator. I have stripped this back to just the 12V rail and attached it here. See attached.

The sim shows Vref for the 12V rail taking a long time to come up to 6.9V which surprised me initially because it's not the case in the DC-driven circuits but I believe it's because C3 needs to be charged and the RC filter has a very long time constant of some 1.55s and so Vref takes 6+ seconds to come up to spec. I guess I have learnt that LTspice assumes everything is fully charged when using DC voltage sources? (And that on initial turn-on there will be quite a delay before PWR_OK is true.)

What's interesting is if I run the circuit plotting Vref with differing circuit loads. Zero load = almost instantaneous Vref. 100mA and I get the gradually increasing Vref similar to the graphic I attached. In all cases the current through R4 is relatively unchanged, the voltage potential on the left side of R4 is unchanged. The currents through D1 and R3 do change materially with load which doesn't make any sense to me given the level of current through the non-inverting pin of the op amp should be minuscule in all conditions. I guess this is just device sim inaccuracy. There's quite a difference in this behaviour if one uses the AD797 model rather than the AD797A with the former seemingly producing more realistic results (except for zero load)...
 

Attachments

  • AC-driven reg.zip
    14.9 KB · Views: 39
  • All With Rectification v3 Zobel.jpg
    All With Rectification v3 Zobel.jpg
    232.4 KB · Views: 154
Member
Joined 2011
Paid Member
Do you expect that readers know what "R4" means without a schematic? Same for D1 and R3?
I guess this is just device sim inaccuracy.
A painstaking paranoid does not play the "I am right and the simulator is wrong" card until all other possibilities have been thoroughly examined.
 
Hi. I didn't post a picture of the schematic because even full screen on my 23" display it's rather small. Instead I posted a zip with the .asc file. Attached is an excerpt of the relevant part of the schematic.
 

Attachments

  • excerpt.jpg
    excerpt.jpg
    111.8 KB · Views: 149
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.