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

mike_mike and 2 Guests are viewing this topic.

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3003
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1275 on: October 13, 2024, 04:45:11 pm »
Yes.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3003
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1276 on: October 13, 2024, 05:01:58 pm »
If you cant get good results, you could go back to a previous idea of shorting CV reference to ground. Last time this was tried, it caused problems with the tap changer because the voltage rose too slowly when the short was removed. Reducing C9 should fix this. The tap changer could also be given more delay.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Online mike_mikeTopic starter

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1277 on: October 13, 2024, 06:34:21 pm »
Ok, I have reviewed the PSU schematic, but I don't want to modify it because already it works good, excepting the tap changer circuit.
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3003
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1278 on: October 13, 2024, 11:21:10 pm »
The tap changer's delay can be increased to ignore the overshoot. First by increasing R8 to 220K, then reducing R11 if more delay is wanted.
The delay can be measured by the same test in Reply #1243.

I connected a relay to the Shutdown on my PSU. Although the effects of contact bounce can be seen on the output voltage, there's no over-shoot. I guess the reason would be due to component and/or construction differences.
« Last Edit: October 14, 2024, 02:13:59 am by xavier60 »
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3003
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1279 on: October 14, 2024, 06:22:42 am »
I'm able to get over-shoot by replacing the TLC072 with an LM358.
A 100nF and 10-ohm snubber across the relay contacts fixed the over-shoot on mine.
Part of what's happening when your mains is turned off is the 12V goes down slowly causing the 2 small relays to click over at different times.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Online mike_mikeTopic starter

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1280 on: October 14, 2024, 06:42:44 am »
A 100nF and 10-ohm snubber across the relay contacts fixed the over-shoot on mine.
Do you mean the big relay NC contacts ?
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3003
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1281 on: October 14, 2024, 06:47:25 am »
A 100nF and 10-ohm snubber across the relay contacts fixed the over-shoot on mine.
Do you mean the big relay NC contacts ?
No, the NC contact of the Shutdown relay. I temporarily connected a small relay to my PSU for testing this problem.
My PSU is normally shut down by a BC548 driven by the microcontroller,
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Online mike_mikeTopic starter

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1282 on: October 14, 2024, 07:30:52 am »
Please find attached the schematic that I used and the waveform from the DSO.
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3003
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1283 on: October 14, 2024, 08:01:57 am »
I dont think the contact bounce of that relay can be easily fixed. You can try a larger capacitor, but it will cause other problems.
My relay is HK19F-DC-12V-SHG
« Last Edit: October 14, 2024, 11:48: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.
 

Online mike_mikeTopic starter

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1284 on: October 14, 2024, 08:14:35 am »
Ok, could I leave it as it is ?
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3003
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1285 on: October 14, 2024, 08:15:53 am »
Ok, could I leave it as it is ?
Yes, I think it's the only option.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Online mike_mikeTopic starter

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1286 on: October 14, 2024, 10:14:44 am »
I managed to find a DPDT relay, with 12Vdc coil voltage (RT424012).
Please find attached the screenshot after using the new relay.

Edit: I added a new screenshot.
« Last Edit: October 14, 2024, 10:20:27 am by mike_mike »
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3003
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1287 on: October 14, 2024, 10:21:16 am »
That relay looks the same as the type I tested. Did you need to use an RC snubber across the Shutdown contacts?

I see there is some over-shoot on your 2nd test.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Online mike_mikeTopic starter

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1288 on: October 14, 2024, 10:28:10 am »
Did you need to use an RC snubber across the Shutdown contacts?
Yes I used 10 ohm resistor in series with 100nF capacitor.
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3003
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1289 on: October 14, 2024, 10:39:18 am »
If it doesn't get any worse than that, it will be fine. OTH, you can add extra capacitance to yours because your PSU has the 4.7K pull-up resistor.
Mine is still 10K.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Online mike_mikeTopic starter

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1290 on: October 14, 2024, 10:45:30 am »
OTH, you can add extra capacitance to yours because your PSU has the 4.7K pull-up resistor.
Do you mean the R7 resistor from the attached schematic ?
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3003
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1291 on: October 14, 2024, 10:49:28 am »
Yes. the higher current will be charging up the snubber capacitor more quickly every time the contacts bounce open. You will see this happening with a faster time-base.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Online mike_mikeTopic starter

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1292 on: October 14, 2024, 10:51:15 am »
Ok, but after adding the snubber circuit, and after modifying the tap changer circuit, does the PSU needs to be again tested for stability ?
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3003
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1293 on: October 14, 2024, 10:55:48 am »
The snubber might cause a one-time slow load transient response, I don't expect any sustained instability due to D4.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Online mike_mikeTopic starter

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1294 on: October 14, 2024, 02:21:47 pm »
I made a quick stability test, for my "peace".
Vout=31V, Rload=6.5R
Blue trace = output pin of LM555, PSU tester
Yellow trace = output of the PSU.
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 5318
  • Country: cx
Re: LM324 Power Supply with variable voltage and current
« Reply #1295 on: October 14, 2024, 02:42:05 pm »
@mike_mike: I've knocked my "PSU Tester" together finally.. All junkbox parts except the pcb ;D
Readers discretion is advised..
 

Online mike_mikeTopic starter

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1296 on: October 14, 2024, 04:03:21 pm »
@iMo I like your PSU Tester, it looks very nice, especially the arrangement of the components on the pcb.
 

Online mike_mikeTopic starter

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1297 on: October 24, 2024, 03:35:14 pm »
@xavier60 , I tested again the LM358 psu, using 31V output and 6 ohms load. I used the 5A version of the PSU and I found that the response looks normal, but the white led is flashing a little bit while doing the tests (probably at the PSU tester frequency). Is this normal behaviour ?
I tried to increase the Rload to 6.5 ohms, but the white led is still flashing.

The white led is flashing very fast but it is hard to see.
« Last Edit: October 24, 2024, 04:26:08 pm by mike_mike »
 

Online xavier60

  • Super Contributor
  • ***
  • Posts: 3003
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1298 on: October 24, 2024, 09:54:18 pm »
Q1's output drive current returns to ground through the LED. The drive current changes with output loading.
I think the LED could be replaced with a TL431.
« Last Edit: October 25, 2024, 04:03:17 am by xavier60 »
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Online mike_mikeTopic starter

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1299 on: November 10, 2024, 06:45:40 am »
Is it possible to add to this PSU schematic 2 led's, one red and one green. The red one to turn on when constant current is working and the green one to torn on when constant voltage is working.
I think that I need to add them into the outputs of the CC and CV OpAmps.
The schematic was tested in this topic a few years ago,but is seems to be ok for be to use instead of LM723 and TL082 one, which is under test now.
Also, as a modification, it is good to replace the LM 7812 by LM317 + 2 resistors ?
And R22 replace by 9.1K instead of 12K. This is to have the output voltage to about 30V.

EDIT: I updated the schematic.
« Last Edit: November 10, 2024, 08:13:26 am by mike_mike »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf