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

0 Members and 4 Guests are viewing this topic.

Offline mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 898
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1150 on: December 18, 2023, 03:39:58 am »
Yes it is more ringing at the drain of the mosfet. The mosfet is a 2SK1257.
Blue channel = output of NE555
Yellow channel = drain of the mosfet.

This means that the wiring damp the oscillation at the Drain of the mosfet ?
« Last Edit: December 18, 2023, 03:32:54 pm by mike_mike »
 

Offline mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 898
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1151 on: December 18, 2023, 05:18:46 pm »
What should I do now ?
Is ringing normal ?
Please have a look at the previous post and tell me what you think ...
 

Online iMo

  • Super Contributor
  • ***
  • Posts: 4790
  • Country: pm
  • It's important to try new things..
Re: LM324 Power Supply with variable voltage and current
« Reply #1152 on: December 18, 2023, 05:46:34 pm »
There is an npn transistor between the power mosfet and the 555, afaik..
Also the frequency of the ringing is aprox 15MHz.. That might come from leads inductance..
« Last Edit: December 18, 2023, 05:54:10 pm by iMo »
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2824
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1153 on: December 18, 2023, 06:48:45 pm »
What should I do now ?
Is ringing normal ?
Please have a look at the previous post and tell me what you think ...
That ringing is normal and external to the PSU.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 
The following users thanked this post: mike_mike

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2824
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1154 on: December 19, 2023, 06:19:23 am »
The stimulus for the ringing could be actually originating from the NE555 itself. Try putting a resistor in series with the CH2 probe tip, between 1K and 10K.
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: 898
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1155 on: December 19, 2023, 03:47:48 pm »
Please find attached the screenshot when I used a 4.7k resistor between the pin 3 of NE555 and the tip of CH2 probe (blue trace).
The yellow trace is the output of the PSU, Vout=2.5V, Rload = 10R.

It looks like the ringing almost disappeared.
« Last Edit: December 19, 2023, 04:24:59 pm by mike_mike »
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2824
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1156 on: December 19, 2023, 08:19:10 pm »
That's much cleaner.
Edit: probes should usually be set to X10.
« Last Edit: December 19, 2023, 08:41:58 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: 898
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1157 on: December 19, 2023, 09:04:01 pm »
Edit: probes should usually be set to X10.
Yes, they were set to X10.
 

Offline p.larner

  • Frequent Contributor
  • **
  • !
  • Posts: 690
  • Country: gb
Re: LM324 Power Supply with variable voltage and current
« Reply #1158 on: December 20, 2023, 11:02:25 pm »
hope there will be a schematic+pcb artwork released for this when sorted!.
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2824
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1159 on: December 20, 2023, 11:47:20 pm »
hope there will be a schematic+pcb artwork released for this when sorted!.
My build of the design has been working well for years.
https://www.eevblog.com/forum/beginners/lm324-power-supply-with-variable-voltage-and-current/msg3582664/#msg3582664
My PCB files are Protel 98. I suspect that mike_mike's is Kicad which I'm sure he will share.
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: 898
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1160 on: December 21, 2023, 03:22:12 am »
Please find attached the kicad files.
 
The following users thanked this post: the Chris, p.larner

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2824
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1161 on: December 24, 2023, 10:12:50 pm »
Please find attached the kicad files.
You should also include the output stage in the schematic. Use the same reference numbers as used in mine.
https://www.eevblog.com/forum/beginners/lm324-power-supply-with-variable-voltage-and-current/msg3582664/#msg3582664
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline p.larner

  • Frequent Contributor
  • **
  • !
  • Posts: 690
  • Country: gb
Re: LM324 Power Supply with variable voltage and current
« Reply #1162 on: December 25, 2023, 03:57:09 am »
thank you for the download merry xmas.
 

Offline mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 898
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1163 on: December 25, 2023, 08:32:59 pm »
And the transformer tap switcher files.
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2824
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1164 on: December 26, 2023, 01:55:22 am »
A word about the Emitter sharing resistors, R14 and R15. Although I have used 50mΩ, 100mΩ resistors should be used unless Q3 qnd Q4 are very well matched as mine happen to be.
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: 898
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1165 on: December 26, 2023, 05:40:28 am »
So if I use 5 transistors, should I also use 0.1R emitter sharing resistors instead of 0.22R resistors ?
« Last Edit: December 26, 2023, 06:12:28 am by mike_mike »
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2824
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1166 on: December 26, 2023, 06:20:11 am »
So if I use 5 transistors, should I also use 0.1R emitter sharing resistors instead of 0.22R resistors ?
No.
Using that many transistors is usually for SOA reasons to get the current per transistor down. So, voltage loss becomes less of a concern.
The trade-off is, good sharing against voltage loss.
You can calculate the voltage loss, also measure the voltage across each resistor to check the sharing.
« Last Edit: December 26, 2023, 06:22: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 xavier60

  • Super Contributor
  • ***
  • Posts: 2824
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1167 on: December 26, 2023, 06:28:27 am »
What is your maximum current? I should have asked.
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: 898
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1168 on: December 26, 2023, 06:41:22 am »
The maximum current is 5A (I mean the output current of the PSU).
I used 5 transistors, so the current through each should be 1A. So 1A*0.22R = 0.22V across each resistor.
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2824
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1169 on: December 26, 2023, 06:47:00 am »
The maximum current is 5A (I mean the output current of the PSU).
I used 5 transistors, so the current through each should be 1A. So 1A*0.22R = 0.22V across each resistor.
Not a problem, leave it as is.
HP 54645A dso, Fluke 87V dmm,  Agilent U8002A psu,  FY6600 function gen,  Brymen BM857S, HAKKO FM-204, New! HAKKO FX-971.
 

Offline dennislewis

  • Newbie
  • Posts: 4
  • Country: us
Re: LM324 Power Supply with variable voltage and current
« Reply #1170 on: February 20, 2024, 01:47:08 pm »
I want to say thanks for the time and effort put into this project. The sharing of ideas was helpful.

mike_mike the pcb looks nice.

Did any others build this and/or have comments on the project ?


 

Offline dennislewis

  • Newbie
  • Posts: 4
  • Country: us
Re: LM324 Power Supply with variable voltage and current
« Reply #1171 on: February 25, 2024, 12:47:35 am »
Would you be so kind as to identify the components labeled R34 & R37 100mA with part number and mfg ?

Thanks
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2824
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1172 on: February 25, 2024, 12:58:01 am »
Would you be so kind as to identify the components labeled R34 & R37 100mA with part number and mfg ?

Thanks
They are a 100mA Polyswitch such as RXEF010.
Added: A blue LED should work fine in place of the white LED.
« Last Edit: February 25, 2024, 07:44: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 mike_mikeTopic starter

  • Frequent Contributor
  • **
  • Posts: 898
  • Country: ro
Re: LM324 Power Supply with variable voltage and current
« Reply #1173 on: April 05, 2024, 03:15:04 am »
I tested again with another scope (unit UTD2052CEX+) and the output of the power supply looks like this now (see the attached screenshots).
It is normally to look like this or there are some problems ?
 

Offline xavier60

  • Super Contributor
  • ***
  • Posts: 2824
  • Country: au
Re: LM324 Power Supply with variable voltage and current
« Reply #1174 on: April 05, 2024, 03:30:25 am »
The effect might be caused by long wires. Is the probe connected directly to the PSU's output terminals?
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