Author Topic: Power Supplies Part 1 and 2  (Read 23851 times)

0 Members and 1 Guest are viewing this topic.

Offline 45OverloadTopic starter

  • Contributor
  • Posts: 48
  • Country: us
Power Supplies Part 1 and 2
« on: November 28, 2011, 11:20:01 pm »
Thanks, a fun design project not requiring critical board layout.  I have found that the only way to get a supply to put out 0 volts exactly is to supply the op amps with a small negative rail.  Of course you have to watch your ground reference. The current demand on the minus supply is very low.

45O
Never fix that which is not broken.
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3802
  • Country: au
Re: Power Supplies Part 1 and 2
« Reply #1 on: November 29, 2011, 12:00:04 am »
Instead of the LM334 current sink IC, you can probably do better with a NPN transistor with a constant base current.



But if the supply is going to be powered by a transformer, then you can always organize a negative supply with a few capacitors and diodes. Then even a simple resistor from the negative supply to the + output would probably be good enough. if you don't want the current to change with output voltage, then have the resistor from the negative supply going to the emitter of a NPN transistor. Base to 0V and collector to + output.

With the negative supply, you can genuinely get down to 0V.

Richard.
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Power Supplies Part 1 and 2
« Reply #2 on: November 29, 2011, 08:05:29 pm »
Instead of the LM334 current sink IC, you can probably do better with a NPN transistor with a constant base current.

If you have such a transistor, and if you control the PSU with an MCU you can control the transistor with the MCU, too, and perform active down programming.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline Short Circuit

  • Frequent Contributor
  • **
  • Posts: 439
  • Country: nl
Re: Power Supplies Part 1 and 2
« Reply #3 on: November 29, 2011, 08:48:59 pm »
Instead of the LM334 current sink IC, you can probably do better with a NPN transistor with a constant base current.
Actually, you'd want to use a current mirror for that to get rid of trainsistor gain variantion (temperature dependence and tolerance):

http://en.wikipedia.org/wiki/Current_mirror
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3802
  • Country: au
Re: Power Supplies Part 1 and 2
« Reply #4 on: November 29, 2011, 10:48:49 pm »
Actually, you'd want to use a current mirror for that to get rid of trainsistor gain variantion (temperature dependence and tolerance):

I did think of a current mirror, but without a matched transistor pair, you still will have to adjust the current. Is it worth the complication?

Definitely the beta will change with temperature, so if you set my circuit for 1mA, then if the power supply got really hot, it might get close to 2mA. Typically, if you set my circuit for 1mA at 20 degC, then at 0 degC it might sink 0.7mA and at 40 degC, it might be about 1.3mA. Good enough I think.

Anyway, as I said, I would only use this if the supply was not powered by a transformer.  If it is powered by a transformer, I would have a negative supply as I described so the voltage can go down to a true zero volts.

Richard.
 

Offline 45OverloadTopic starter

  • Contributor
  • Posts: 48
  • Country: us
Re: Power Supplies Part 1 and 2
« Reply #5 on: November 29, 2011, 11:55:01 pm »
A constant current to the base of the regulator transistor is fine for a minimal parts count constant voltage.  This arrangement may give you constant base current, but the transistor's Beta will change with load and temperature, making for a loosely regulated supply.  Also you would need a minimum load on the supply to source the E-B current. 

Since constant voltage and constant current power supply functions are closely related and do not require a big parts investment, it makes sense to use an inexpensive quad op amp and a small current sense resistor in the output.  That way, you are actually monitoring output current. That would be especially important near 0 volts output, because of the non-linear turn-on characteristic of the BPT.  Plus you will have plenty of gain blocks to make your feedback networks.  Even op amps that are designed to work with a single supply rail will not go all the way to 0 volts output.  It is just irritating, but not essential, if your supply won't actually zero.

45O
Never fix that which is not broken.
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3802
  • Country: au
Re: Power Supplies Part 1 and 2
« Reply #6 on: November 30, 2011, 12:28:43 am »
A constant current to the base of the regulator transistor is fine for a minimal parts count constant voltage.  This arrangement may give you constant base current, but the transistor's Beta will change with load and temperature, making for a loosely regulated supply.  Also you would need a minimum load on the supply to source the E-B current. 
Not quite sure what you mean. The need to have 1mA load on the supply is a compromise, and I am replacing an accurate 1mA sink (the LM334) that allows the supply to go to 0.9V with a transistor that will typically vary between about 0.7mA and 1.3mA, but will allow the supply to go down much lower - maybe 0.3V or something. It will have no effect on voltage regulation whatsoever.

The E-B current would come from the source supply to the Dave's circuit, not from the load, so the base current will be there all the time. It will be unaffected by what the load is doing.
Quote
Since constant voltage and constant current power supply functions are closely related and do not require a big parts investment, it makes sense to use an inexpensive quad op amp and a small current sense resistor in the output.  That way, you are actually monitoring output current. That would be especially important near 0 volts output, because of the non-linear turn-on characteristic of the BPT.  Plus you will have plenty of gain blocks to make your feedback networks.  Even op amps that are designed to work with a single supply rail will not go all the way to 0 volts output.  It is just irritating, but not essential, if your supply won't actually zero.

45O

If you put a 1 ohm current resistor after the regulator IC, then it will add 1 ohm between the voltage regulator and the load. So if the supply is set to 5V and you are drawing 1A, the load voltage will be 4V.  Not a good idea.

Dave is trying to make use of the IC's stabilized voltage regulator, so he needs the current limit resistor before the voltage regulator. That regulator has no voltage feedback path external to the IC.

If you are going to change that, then you are really going back to a standard regulated power supply design which will have full 0V to Max voltage regulation and full 0-1A current control, but you will have to try and do your own stabilizing of the feedback circuit for all possible loads. That is the hardest bit of the design, and Dave was trying to avoid that.

Richard
 

Offline 45OverloadTopic starter

  • Contributor
  • Posts: 48
  • Country: us
Re: Power Supplies Part 1 and 2
« Reply #7 on: November 30, 2011, 06:20:45 pm »
What a great way to have fun, make mistakes and produce a necessary piece of bench equipment.  And, you don't need a multi-domain digital scope to do it!  Actually, you don't need a scope at all.  (Ok, the supply might oscillate and throw you a curve ball, but you can spot the symptoms with a good multimeter.)

I wasn't trying to re-design Dave's circuit, but instead I was speaking in general about getting a single linear pass transistor voltage regulator to operate near 0 volts output.  The LT3080 does all this for you, but you haven't really learned much about power supply designs.  Yes, you can use your voltage reference or current reference to tighten up the voltage supplied to the adjustment pin on your LT3080.  But just for the sake of ground-up design experience, lets assume you are working with all discreet parts.
 
Any transistor BP or FET will have a very non-linear turn-on characteristic which will require a feedback circuit with enough loop gain to control your device at those very low levels of base current (or gate voltage).  Without closed loop operation, you are depending on the transistor's Beta which will swing widely around the turn-on point and with temperature.  And what better way to provide the necessary voltage AND current feedback than a current sensing resistor in series with the output?  The "improved" LT3080-1" has the sense resistor built right into the package (by popular demand according to the manufacturer).

The usual configuration for the regulator is to have the NPN emitter on the output side of the supply.  A power MOSFET would be an even better choice for low voltage output because of the smaller D-S leakage current  when the device is near or at turn-off.  Just another idea for fun experimentation, not set in stone.

Finally, the use of a current sense resistor in the output is not the horrible idea that most people believe it to be.   Taking maximum current output into consideration, the sensing resistor can be (and often is) well under an ohm.  1 ohm was chosen in the video to make calculations simple.  A precision length of circuit board trace is just what the doctor ordered.

Dave mentioned an important point to keep in mind - don't get carried away with the size of your output filter capacitors or any capacitors used in the feedback circuitry.  That way, the supply's ability to respond to dynamic load variations will be enhanced.

45O
« Last Edit: November 30, 2011, 06:25:54 pm by 45Overload »
Never fix that which is not broken.
 

Offline Short Circuit

  • Frequent Contributor
  • **
  • Posts: 439
  • Country: nl
Re: Power Supplies Part 1 and 2
« Reply #8 on: November 30, 2011, 06:48:16 pm »
I did think of a current mirror, but without a matched transistor pair, you still will have to adjust the current. Is it worth the complication?
It's easy to take a matched pair like BCV61, but even with two separate transistors, you get the benefit of more stable current over temperature. (if they are reasonably thermally coupled of course).

However, the real reason to mention this is to indicate that sometimes there are problems that can be solved with simple & elegant discrete solutions, instead of picking yet another specific purpose ic. A bit like the PIC vs 555 tradeoff  ???  And smaller one-off projects like a DIY power supply are ideal to play around with 'new' techniques. Otherwise Dave would probably have thrown a L200 in the mix and been done in a single blog, actual build included ;)

...  A precision length of circuit board trace is just what the doctor ordered. 
Doctor? Better consider that a quack  ;D
Precision length is no problem, but you have limited control over copper thickness (electroplating) tolarance and exact trace width (underetching)
 

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: Power Supplies Part 1 and 2
« Reply #9 on: December 01, 2011, 05:02:10 am »
The LT3080 does all this for you, but you haven't really learned much about power supply designs.  Yes, you can use your voltage reference or current reference to tighten up the voltage supplied to the adjustment pin on your LT3080.  But just for the sake of ground-up design experience, lets assume you are working with all discreet parts.

45O. do you have any link or reference where I can find such good linear lab psu design that utilizing discrete components like transistors, op-amp and precision voltage reference ?

Really like to learn (or even build it) especially at the one that has an excellent design for the voltage and current control loop mechanism.

alm

  • Guest
Re: Power Supplies Part 1 and 2
« Reply #10 on: December 01, 2011, 05:21:04 pm »
The Agilent E361xA series is one example and has a service manual with full schematics. Same for most of the other E36[234]x series, but the newer models don't have schematics. Most of the commercial lab supplies will have this design, except for the compact switchers or the high power ones and other specialty stuff. I believe Agilent's latest design is different.

Some of the cheaper ones use an LM723, but its constant current mode is not great.
 

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: Power Supplies Part 1 and 2
« Reply #11 on: December 02, 2011, 03:01:54 am »
The Agilent E361xA series is one example and has a service manual with full schematics. Same for most of the other E36[234]x series, but the newer models don't have schematics. Most of the commercial lab supplies will have this design, except for the compact switchers or the high power ones and other specialty stuff. I believe Agilent's latest design is different.
Alm, which part number actually ? Appreciate if you have link to download just one example.

Some of the cheaper ones use an LM723, but its constant current mode is not great.
Do you mean 723 used in those Agilent/HP power supply ?

Offline sonicj

  • Frequent Contributor
  • **
  • Posts: 756
  • Country: us
  • updata successed!
Re: Power Supplies Part 1 and 2
« Reply #12 on: December 02, 2011, 04:09:27 am »
Alm, which part number actually ? Appreciate if you have link to download just one example.
E3610A
E3611A
E3612A

those are the 30W range i believe
 

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: Power Supplies Part 1 and 2
« Reply #13 on: December 02, 2011, 06:30:57 am »
Thanks a lot Sonicj !

Looks like its not that difficult to build ourself isn't it ? Ok, apart from the transformer that has multiple windings for different power sources other than the main power, for me this is no big deal since I got lots of those small current xformers from wallwart type that should enough to cover the reference voltage source and for the meter.

The rest of the discrete components are not that special aren't they ? Ok, I noted few that could be tad expensive like the multturns quality pot, thats it right ? Even my unused voltage reference in my components junk bin is better than that LM336. Or did I miss other ?

Is this considered a good design ? or just mediocre ?

Offline FreeThinker

  • Frequent Contributor
  • **
  • Posts: 791
  • Country: england
  • Truth through Thought
Re: Power Supplies Part 1 and 2
« Reply #14 on: December 02, 2011, 02:53:57 pm »
I'm a little confused (again  :D) when would you actually need a supply voltage of 0 volts? Or am I confusing Zero Volts  with 0 Volt WRT Ground?
Machines were mice and Men were lions once upon a time, but now that it's the opposite it's twice upon a time.
MOONDOG
 

Offline McMonster

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: pl
    • McMonster's blog
Re: Power Supplies Part 1 and 2
« Reply #15 on: December 02, 2011, 04:07:35 pm »
That's an interesting question, what're the applications of variable single supply that can go to 0 V? I know that some microcontrollers that can operate as low as 0.7 V, but can someone give an example of a possible benefit of such supply?
 

alm

  • Guest
Re: Power Supplies Part 1 and 2
« Reply #16 on: December 02, 2011, 09:12:30 pm »
One example that comes to mind for close to 0V: measuring very low resistances, like current shunts. Assume you want to measure a 20A shunt with a resistance of about 3 mOhm. There's no way that you can measure this accurately with a normal DMM due to the extremely low voltages involved if you put 1mA through it (3 uV voltage drop). So you connect it to a lab supply and put a few A through it. The voltage drop is now in the order of 10mV, which you can measure with a normal setup. Way below 1.25V or 0.7V, however. A similar application would be finding shorts in PCB traces by measuring voltage drop along the traces. This trace is not going to drop 1V, more likely in the millivolt range.

I'm not aware of any Agilent supplies using the 723, but some of the cheap Asian supplies do. It's a relatively easy way to design a power supply with a variable voltage and current, but it's much better as a voltage source than as a current source. I believe the manual sonicj posts is the one I mean, it covers multiple models. There's also an older HP power supply handbook covering some of the basics of linear power supplies, including constant voltage and constant current. It only contains simplified schematics, however.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11859
  • Country: us
Re: Power Supplies Part 1 and 2
« Reply #17 on: December 03, 2011, 07:36:49 am »
I'm a little confused (again  :D) when would you actually need a supply voltage of 0 volts? Or am I confusing Zero Volts  with 0 Volt WRT Ground?

Zero volts as a lower limit means there is (theoretically) no lowest output voltage that can be selected. So, for example, if the lowest available voltage was 0.5 V and you happened to need 0.2 V for some particular purpose you would be out of luck. But if the lowest available voltage was 0 V you would be OK.
 

Offline FreeThinker

  • Frequent Contributor
  • **
  • Posts: 791
  • Country: england
  • Truth through Thought
Re: Power Supplies Part 1 and 2
« Reply #18 on: December 03, 2011, 09:09:00 pm »
I'm a little confused (again  :D) when would you actually need a supply voltage of 0 volts? Or am I confusing Zero Volts  with 0 Volt WRT Ground?

Zero volts as a lower limit means there is (theoretically) no lowest output voltage that can be selected. So, for example, if the lowest available voltage was 0.5 V and you happened to need 0.2 V for some particular purpose you would be out of luck. But if the lowest available voltage was 0 V you would be OK.
Thanks for the reply, now I understand  :). Just couldn't get my head around usefulness of Zero Volts output but now see the reasoning. :D
Machines were mice and Men were lions once upon a time, but now that it's the opposite it's twice upon a time.
MOONDOG
 

Offline RJSC

  • Regular Contributor
  • *
  • Posts: 126
  • Country: pt
Re: Power Supplies Part 1 and 2
« Reply #19 on: December 05, 2011, 03:26:08 pm »
Since the LT3080 is hard to come by in most countries (like mine) and you have to order it anyway, I have found the LT3083.

It's a 3 A capable version of the LT3080, for the people interested in higher current without the voltage drop of the resistors needed when paralleling LT3080's.

I am also thinking of using one of those universal laptop switching power supplies which are adjustable and control it with a digital pot in place of the feedback resistor and have it allways being 2 volts above the output to minimize power dissipation, allowing for better energy efficiency and a smaller heatsink.
 

Offline shebu18

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: Power Supplies Part 1 and 2
« Reply #20 on: December 08, 2011, 09:51:36 pm »
What would be a replacement for the LT3083, i can't find it in my country,
 

Offline McMonster

  • Frequent Contributor
  • **
  • Posts: 413
  • Country: pl
    • McMonster's blog
Re: Power Supplies Part 1 and 2
« Reply #21 on: December 08, 2011, 09:58:47 pm »
I think it would be a good idea if future "lets design a..." blog videos included mentioning possible alternatives for featured parts (if any worth mentioning exist of course). Apparently LT3080 is either hard to obtain or expensive in different parts of the world.
 

alm

  • Guest
Re: Power Supplies Part 1 and 2
« Reply #22 on: December 08, 2011, 09:59:46 pm »
That's an issue with Dave's design in my opinion. The traditional design used in most commercial linear supplies consists of some low-end opamps (LM324 is OK), diodes, power and small signal transistors and some three terminal regulators to supply the opamps. They can be build from 1970s technology, which means you can get (slightly lower performance) replacements almost anywhere in the world. The LT308x is a fairly unique chip (anyone aware of any alternatives?), and Linear is not the most widely distributed semi manufacturer since their parts tend to be expensive and exotic. I don't believe Mouser carries them, for example.
 

Offline RJSC

  • Regular Contributor
  • *
  • Posts: 126
  • Country: pt
Re: Power Supplies Part 1 and 2
« Reply #23 on: December 08, 2011, 11:52:12 pm »
The commercial power supplies circuit using a discrete pass transistor and opamp require compensation (filters, usually low-pass RC) to eliminate the output oscillation with capacitive or inductive loads. Almost any circuit you connect to it will have capacitors, so, it is critical, and the math involved in calculating the compensation network is intimidating (systems and control theory).

Dave chose an all-in-one regulator, because the engineers who designed it did all the hard math to find how to stabilize the output.
 
Anyway, a discrete output transistor power supply is far more flexible allowing you to chose over a wide range of output currents. As for the output voltage, it is very simple, the LT3080 supports up to 30 volts, you just need to provide it on the input stage, and if you're doing the digital control, increase the non inverting amplifier gain suitably.

Dave has faced that problem before on eevblog #95
 

Offline shebu18

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: Power Supplies Part 1 and 2
« Reply #24 on: December 09, 2011, 12:24:41 pm »
What about the  LT1963AEQPBF? http://www.alldatasheet.net/view.jsp?Searchword=LT1963AEQPBF
It is about the same price, easier to find and has almost the same caracteristics.
« Last Edit: December 09, 2011, 12:26:52 pm by shebu18 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf