Author Topic: LM324 Power Supply with variable voltage and current  (Read 194365 times)

0 Members and 5 Guests are viewing this topic.

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #575 on: September 28, 2019, 04:54:26 pm »
The 40A spike shouldn't be possible. If the spike is ignored, the rest looks as expected with the current increasing from zero and limiting at about 5A for 80µs.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 900
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #576 on: September 28, 2019, 05:11:34 pm »
I added the corrected schematic at page 23.
I also made some more experiments in LTSpice, but it looks like the output is always oscillating when the current is set to maximum. Even if I increase the value of C1 and C5 (C1 and C5 from the simulation schematic).
« Last Edit: September 28, 2019, 05:19:50 pm by mike_mike »
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #577 on: September 28, 2019, 10:44:50 pm »
Removing the fast limiting components from the high side would cause increased gain of the output stage. I should have asked you to check the stability of the CV loop first and change the compensation if necessary, decrease the resistor and increase the capacitor.
Even if the fast limiting is unstable, the instability should only be brief until the slow loop takes control.
Make certain that the fast limiting current is set higher than the slow CC maximum.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #578 on: September 29, 2019, 05:12:14 am »
I bread-boarded the design, not in an exact way.
The low side fast limiting does cause brief instability until the slow CC loop takes control.
This was solved by adding a 6.8nF compensation capacitor between C-B of the fast limiting  transistor.
An OR-ing diode was then also needed for the fast limiting transistor.
The compensating capacitor value can be experimented with. I used the particular value of 6.8nF because it is one of the values that my collection is over populated with.

HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #579 on: September 29, 2019, 07:39:06 am »
I also tested the diode type fast limiting method that I used in my bench supply. Using a 1N914, it worked just fine.
I am using a LM358 with is supposed to be the same or very similar to the LM324.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 900
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #580 on: September 29, 2019, 08:33:23 am »
I also simulated using 1N914 diode (connected as it is in the other schematic - your bench power supply) and I have got the attached results. I removed the Fast CC NPN transistor because I used the 1N914 diode.
Please have a look at the schematic and at the results.
« Last Edit: September 29, 2019, 08:44:03 am by mike_mike »
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #581 on: September 29, 2019, 09:28:35 am »
The time scale doesn't show the important detail.
The photo shows the shunt waveform when a short was applied with the CC set to 2A.
There are factors that might change the size of the initial spike, but it's only 10µs.
« Last Edit: September 29, 2019, 09:35:49 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 mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 900
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #582 on: September 29, 2019, 10:24:36 am »
I added that diode (1N914) into the LTSpice and Eagle schematic. I attached the LTSpice schematic. Please have a look at it.
Can you post the schematic that you tested ?
I want to build power supply and test it using the oscilloscope. I also want to finalize the PCB layout.
« Last Edit: September 29, 2019, 10:43:58 am by mike_mike »
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #583 on: September 29, 2019, 10:48:13 am »
I don't have a schematic. I tried to build it the same as your schematic with the parts that I have and leaving out unnecessary bits.
You should modify and test your existing PCB for now.
If you can do this, I would like to see the load transient response first.

R10, 1M, isn't needed.
« Last Edit: September 29, 2019, 10:50:58 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 mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 900
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #584 on: September 29, 2019, 11:03:47 am »
Ok, I'll do that. I hope that my oscilloscope will arrive next week to start testing.
Before testing, I would like to know if D3 - 1N914 is correctly connected ?
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #585 on: September 29, 2019, 11:07:43 am »
Ok, I'll do that. I hope that my oscilloscope will arrive next week to start testing.
Before testing, I would like to know if D3 - 1N914 is correctly connected ?
Yes, D3 is correctly connected.
Also it can be the same type as the 1N4148 diodes.
« Last Edit: September 29, 2019, 11:10:55 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 mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 900
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #586 on: October 08, 2019, 10:32:09 am »
Today I feel ready to start testing.
I will test the FastCC using the attached PSU Shorter schematic.

Can you please let me know the start values for C5 (CC loop) and C1 (CV loop) ? Are them the same with the schematic from reply #582 ?
« Last Edit: October 08, 2019, 11:02:09 am by mike_mike »
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #587 on: October 08, 2019, 02:05:25 pm »
Today I feel ready to start testing.
I will test the FastCC using the attached PSU Shorter schematic.

Can you please let me know the start values for C5 (CC loop) and C1 (CV loop) ? Are them the same with the schematic from reply #582 ?
Stay with those compensation values. Do the load transient recovery test first to confirm that the design is still stable.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 900
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #588 on: October 08, 2019, 02:45:27 pm »
I checked with the output voltage at about 26V, output current at maximum (3A) and I used the PSU shorter configuration from my previous reply.
From the LTSpice schematic, C5=2n2 (current loop) and C1=68p (voltage loop).
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #589 on: October 08, 2019, 03:52:21 pm »
That's looks like a good start.
Will you also do the load transient test? And why change C1 to 68pF ?
The diode fast limiting works best with the CV compensation set slightly to the slow side.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 900
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #590 on: October 08, 2019, 03:58:20 pm »
Yes, I will also do the load transient test. But first, I need to be sure that there are no oscillations and the FastCC is working good if there is a short circuit on the output.
In my mind, it remained 68p. I don't know why. I changed it now to 470p.

PS: Please find attached the results with C1=470p.


1. Why in the simulation the maximum current is aprox. 8A and in the real circuit is aprox. 14A ?
2. If I will use a Schottky diode (D3), then the results will be better ?
« Last Edit: October 08, 2019, 07:48:08 pm by mike_mike »
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #591 on: October 08, 2019, 10:04:03 pm »
Try a schottky diode, even a 1 amp one. Even a fast silicon diode just to see what happens. But leave the original diode in circuit as a back up.
You can even try 400mW and 1W zener diodes, but be certain to put it in circuit the same way as the original diode, don't reverse it.

When the output voltage drops due to the short circuit, the CV loop responds by increasing the drive to the output transistors.
Although the diode speeds up the response of the CC loop, it still takes some time for the output of the CC op-amp to slew down and take control of the output. The size of the current spike is difficult to simulate accurately.
If the current is well within the ratings of the output transistors, then they will be safe. Also the spike is so brief. Look for the Safe Operating Area spec in  the data sheet to see how time affects how much current a transistor can safely pass at given voltages.

The lowside transistor limiting idea will allow a spike to occur also.
« Last Edit: October 08, 2019, 10:11:32 pm by xavier60 »
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 900
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #592 on: October 09, 2019, 10:54:06 am »
I used a UF4007 in parallel with the 1N4148 and I've got the following screenshots: DS0014-0015.
And with BAT85S, also in parallel with 1N4148: DS0017-0018.

I have also checked only with BAT85S, and the screenshots were the same as with BAT85S and 1N4148.
I checked the SOA of TIP3055, and it looks like at 15ms, and 40V CE voltage, the Ic is less than 2A.
« Last Edit: October 09, 2019, 11:32:30 am by mike_mike »
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #593 on: October 09, 2019, 01:44:44 pm »
I used a UF4007 in parallel with the 1N4148 and I've got the following screenshots: DS0014-0015.
And with BAT85S, also in parallel with 1N4148: DS0017-0018.

I have also checked only with BAT85S, and the screenshots were the same as with BAT85S and 1N4148.
I checked the SOA of TIP3055, and it looks like at 15ms, and 40V CE voltage, the Ic is less than 2A.
Your current spike is 15µs at its base. None of the SOA charts go this low. Even at a duration of 300µs, the TIP3055 is allowed to pass 15A at 40V.
https://www.onsemi.com/pub/Collateral/TIP3055-D.PDF
Do the load transient test next.

More: I prefer the result with the UF4007 . There is less under shoot after the spike.
« Last Edit: October 09, 2019, 01:52:21 pm by xavier60 »
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 900
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #594 on: October 09, 2019, 02:53:51 pm »
It looks like my attention was not good when I checked the TIP3055 SOA chart.
I have got another problem...
In the previous message I sad UF4007, but I used, in reality, FR107 for D3. Sorry about my mistake.
Should I continue testing with FR107 for D3 ?
« Last Edit: October 09, 2019, 08:22:43 pm by mike_mike »
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #595 on: October 09, 2019, 08:34:54 pm »
Yes, keep using the FR107, it seems to work well.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 900
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #596 on: October 10, 2019, 12:06:05 pm »
I managed to make a few tests using the oscilloscope and the Switch load. I used for switch load 220k/220k/100nF.
Capacitor in CC loop = 2n2, capacitor in CV loop = 470p.
The oscilloscope probe connected on the output of the power supply.
1. Vo=26.6V, Io=3A, a wire as load at PSU Shorter: 29.jpg

2. Vo=26.6V, Io=3A, Rl=10R: 32, 33.jpg

3. V0=26.6V, Io=almost minimum, Rl=10R: 37, 38.jpg

4. Vo=13.9V, Io=3A, Rl=10R:44, 45.jpg

5. Vo=2.08V, Rl=1R, Io=3A: 46, 47.jpg

6. Vo=2.08V, Rl=1R, Io=1.5A: 49, 50, 51, 52.jpg

I added only the results that I considered important.
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #597 on: October 10, 2019, 12:35:17 pm »
I mainly want to see the voltage dip where the load turns on. Just a  detailed shot at 2 amps with no current limiting.
It doesn't matter much what the voltage is set to.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 900
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #598 on: October 10, 2019, 12:48:35 pm »
Can you please explain how to see this voltage dip ?
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2871
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #599 on: October 10, 2019, 12:54:41 pm »
Set the trigger polarity to negative going and place the trigger level just below the steady state voltage.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf