Author Topic: 15V 1A linear CV CC power supply design  (Read 932 times)

0 Members and 1 Guest are viewing this topic.

Offline Mat923Topic starter

  • Newbie
  • Posts: 6
  • Country: in
15V 1A linear CV CC power supply design
« on: April 05, 2024, 03:29:37 am »
I am designing a (0-15 V) (0-1A ) variable linear CV CC power supply. The schematic is attached for reference.   0.5 ohm resistance is used for current sensing.
1)But LM317 is creating a constant 1.25V drop which is not allowing regulation below 1.25V.
2)Also short circuit current limiting is not happening due to the 1.25V drop.
 Could you help me in modifying the above circuit to acheive the above tasks
 

Offline Konkedout

  • Regular Contributor
  • *
  • Posts: 93
  • Country: us
Re: 15V 1A linear CV CC power supply design
« Reply #1 on: April 05, 2024, 04:04:15 am »
I cannot devote the time to re-design your power supply.  But:

I have great fondness for the LM317 (seriously).  But it is not a good fit for what you are doing.  One other problem is you can get very high power dissipation in your regulator if you have 18V input and 1V 1A output (for example).  My bench linear power supply (an inexpensive Chinese made unit) produces up to 50V at 3A but it switches taps on the 60 Hz transformer in order to control power dissipation.  This seems to work nicely but it is not a good approach for a 1-off home project. 

Instead of using an LM317, I would use a voltage reference (something like an LM4040?) and adjust the voltage by use of an op amp section as a summing junction.  If you have the + input of the op amp connected to +5V Reference, and also use the reference and a potentiometer to vary the input through resistor "B" to the - input.  Now your Vout feedback goes through resistor "A" to the same op amp - input.  As your voltage applied to B goes up, your feedback from A must go down in order to maintain the - input at the same potential as the + input.

The current limiting would probably need another input to the summing junction, but needs to be switched off via a diode or transistor collector.  The output of this power supply would probably use discrete power transistors.  If you do not need very fast response, you might do well with one or more darlington PNP transistors such as maybe TIP125.  (Oh, my Darlington!!)   :D

I did something like this with a Maxim dual 256 step digipot (but this was a SEPIC switcher and not a linear power supply.)  The output voltage from this puppy is amazingly stable (at least by casual observation on my bench.)  One digipot output controls coarse voltage and the other controls fine voltage.  Input power comes from a surplus laptop power supply.  But it does not have adjustable current limiting; that would require more parts.  I sorta wish I had included that.

I cannot give you a design but I can feed you ideas.....  I have been designing power supplies since 1981.  Good luck.
« Last Edit: April 05, 2024, 04:13:56 am by Konkedout »
 

Offline Mat923Topic starter

  • Newbie
  • Posts: 6
  • Country: in
Re: 15V 1A linear CV CC power supply design
« Reply #2 on: April 05, 2024, 04:33:30 am »
Could a pmos connected between unregulated input and Vin of LM317  with the gate terminal connected to R10 left end be of help?. Acting like a variable resistor reducing the input to LM317 during a  short circuit
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14246
  • Country: de
Re: 15V 1A linear CV CC power supply design
« Reply #3 on: April 05, 2024, 07:19:35 am »
The circuit has several problems:
1) the worst case power dissipation is boarderline high for the LM317. It would need quite some cooling.
2) The shunt on the output side is not compensated. So the voltage is not very stable under load with the 0.5 Ohm still in series.
3) with the heat and ref. in the same chip, there can be quite some thermal drift, as the LM317 will get quite hot under load.
4) The LM317 is a voltage regulator and as this not made for difficult loads. Here the shunt in series help, but it gets tricky if one tries to avoid that problem.
5) The current regulation with the differential amplifier and shunt at the output has the tendency to get unstable and oacillate with some loads. It is quite some task to get this stable and this usually means a slow response. Because of the other weaknesses it is likely not worth the effort to get it stable.

It would likely be better to use the more classic circuit with separate reference chip, 2 op-amps (e.g. LM358), power transistor and the shunt at the low side.
 

Offline MathWizard

  • Super Contributor
  • ***
  • Posts: 1441
  • Country: ca
Re: 15V 1A linear CV CC power supply design
« Reply #4 on: April 05, 2024, 07:42:20 am »
Yeah like other's said, you would need a huge heatsink to keep 1 TO-220 package from cooking, once you get over a few watts across it.

My 1st DIY PSU was some LM317 one, I need to make a another multi-rail, adjustable version, just for small breadboard circuits. But yeah, I'll have to read up on heatsinks and all that again, to make it safe.


One thing about the reference with 500R and a zener in parallel with 500R, why have the lower 500R, IDK if it's good or bad, but I just don't remember seeing people have resistors in para. with zener's as a reference, and not for clamping reasons.

And you really want a capacitor on your reference voltage too.
« Last Edit: April 05, 2024, 07:46:06 am by MathWizard »
 

Offline Mat923Topic starter

  • Newbie
  • Posts: 6
  • Country: in
Re: 15V 1A linear CV CC power supply design
« Reply #5 on: April 05, 2024, 07:57:04 am »
Thanks #Kleinstein and #Mathwizard for your inputs on the topic. #Kleinstein could you elaborate more on the classic circuit with lm358 you were mentioning. Circuit schematic will be highly appreciated. Thank you in advance
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19546
  • Country: gb
  • 0999
Re: 15V 1A linear CV CC power supply design
« Reply #6 on: April 05, 2024, 08:14:16 am »
The adjust pin of the LM317 needs to be pulled down to -1.25V, in order for its output to go down to 0V. In this case, you could connect Q1's emitter to Vss.

 

Offline Mat923Topic starter

  • Newbie
  • Posts: 6
  • Country: in
Re: 15V 1A linear CV CC power supply design
« Reply #7 on: April 05, 2024, 08:23:34 am »
#Zero999 as instructed by you I connected Vss to emitter but in simulation at short circuit load it showing heavy currents of 30A range.Also on variation of the voltage adjusting potentiometer at some value of load the voltage across it is showing constant at 15V without changing in simulation. What maybe the reason?
« Last Edit: April 05, 2024, 08:27:35 am by Mat923 »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19546
  • Country: gb
  • 0999
Re: 15V 1A linear CV CC power supply design
« Reply #8 on: April 05, 2024, 08:27:27 am »
30A through where? Also note that's highly unlikely to happen in real life. A simulator is just performing calculations, based on idealised models.

I've also realised, that it will only solve the short circuit issue. It won't allow regulation down to 0V.

This thread shows some circuits with the LM317 at 0V.
https://www.eevblog.com/forum/beginners/zero-volts-from-a-lm-317/msg110760/#msg110760
« Last Edit: April 05, 2024, 08:31:38 am by Zero999 »
 

Offline Mat923Topic starter

  • Newbie
  • Posts: 6
  • Country: in
Re: 15V 1A linear CV CC power supply design
« Reply #9 on: April 05, 2024, 08:35:48 am »
#Zero999 i did a parameter sweep for output load from 0 to 150ohm.the current across it is shown in green trace and the light blue is the voltage.Ignore the bottom blue trace. Could you verify why green trace on top came out like this at 30A at short circuit?
« Last Edit: April 05, 2024, 08:49:03 am by Mat923 »
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14246
  • Country: de
Re: 15V 1A linear CV CC power supply design
« Reply #10 on: April 05, 2024, 09:38:16 am »
A relatively simple OP based lab supply circuit is shown in this thread:
https://www.eevblog.com/forum/beginners/lm324-power-supply-with-variable-voltage-and-current/msg5431856/#msg5431856

Much of the later dicussion is about details / performance tweaking, way beyond what can be expected from a normal lab supply. So the interesting part is more the start of that thread.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19546
  • Country: gb
  • 0999
Re: 15V 1A linear CV CC power supply design
« Reply #11 on: April 05, 2024, 09:44:16 am »
#Zero999 i did a parameter sweep for output load from 0 to 150ohm.the current across it is shown in green trace and the light blue is the voltage.Ignore the bottom blue trace. Could you verify why green trace on top came out like this at 30A at short circuit?
Your simulator is lying to you. There must be a problem with one of the models or calculations. Irrespective of the rest of the circuit, the LM317 will limit the current to 3.4A absolute maximum, more likely 2.2A or even less, as there's over 15V between the input and output pins.

Refer to page 5 of the data sheet: current limit.
https://www.jameco.com/Jameco/Products/ProdDS/898800.pdf
 

Offline Mat923Topic starter

  • Newbie
  • Posts: 6
  • Country: in
Re: 15V 1A linear CV CC power supply design
« Reply #12 on: April 05, 2024, 10:10:26 am »
Thank #Kleinstein and #Zero999 for the clarification. #Kleinstein i had referred the initial threads but the circuit schematic looks really daunting for a CV CC power supply.  #Kleinstein and #Zero999 could you suggest a simpler power supply design for the above specifications without much focus on intricate details since my focus is more on achieving short circuit current limiting and a voltage output levels starting from zero. I hope a very simple design exists with less focus on thermal aspects which i could manage with proper heat sink design. Thanks in advance
 

Offline shapirus

  • Super Contributor
  • ***
  • Posts: 1416
  • Country: ua
Re: 15V 1A linear CV CC power supply design
« Reply #13 on: April 05, 2024, 10:42:52 am »
Your simulator is lying to you. There must be a problem with one of the models or calculations. Irrespective of the rest of the circuit, the LM317 will limit the current to 3.4A absolute maximum, more likely 2.2A or even less, as there's over 15V between the input and output pins.
FWIW, TI's spice model for LM317-N does implement the output current limit of ~2.2A. It might make sense to use it, if possible, instead of whatever is currently used.
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 2842
  • Country: au
Re: 15V 1A linear CV CC power supply design
« Reply #14 on: April 05, 2024, 12:37:12 pm »
Thank #Kleinstein and #Zero999 for the clarification. #Kleinstein i had referred the initial threads but the circuit schematic looks really daunting for a CV CC power supply.  #Kleinstein and #Zero999 could you suggest a simpler power supply design for the above specifications without much focus on intricate details since my focus is more on achieving short circuit current limiting and a voltage output levels starting from zero. I hope a very simple design exists with less focus on thermal aspects which i could manage with proper heat sink design. Thanks in advance
This is simple if you want to experiment with it.
Also: It will regulate current down to zero but not voltage.
« Last Edit: April 06, 2024, 02:40:42 am by xavier60 »
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19546
  • Country: gb
  • 0999
Re: 15V 1A linear CV CC power supply design
« Reply #15 on: April 06, 2024, 01:34:10 pm »
A simple way to get it to output 0V is to add a 1.25V voltage reference. It's also possible to use a differential amplifier to generate to -1.25V reference from the LM317's reference.
« Last Edit: April 06, 2024, 05:58:35 pm by Zero999 »
 
The following users thanked this post: Mat923


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf