DIY bench power supply with adjustable current limit
Ғылым және технология
Finishing my small linear bench power supply with an adjustable current limit. The voltage regulation uses LM317, the current limiter uses an OpAmp (MC33171) for better accuracy. Its output voltage can be adjusted from 1.25V to 5.5V and the current from 0 to 200mA. I build it mostly to test logic circuits and microcontrollers, but also circuits sensitive to interference. Using an iron mains transformer and a linear regulator, this PSU produces no switching noise. The transformer was BVEI3048013, later I replaced it using a bit more powerful BVEI3068016. Showing the process of designing it, building it, the full schematic and how does it work.
The previous episode:
• Building a linear benc...
The power supply on my website:
danyk.cz/minizdroj_en.html
Please support my channel on Patreon:
/ diodegonewild
Instagram:
/ savage_danyk
Пікірлер: 147
Thank you for sharing! I think I echo many people's thoughts in that you, bigclive and dave have taught me so much about electronics, I make my own things with atmel microcontrollers now... I mostly try and avoid mains just because it's a bit risky but you've taught me how to diagnose things and given me lots of useful knowledge. I think you're great, way better than any "formal" teacher I've had :)
@DiodeGoneWild
2 жыл бұрын
Thanks :)
@benjaminzacharko8740
2 жыл бұрын
I have to agree with this man. I've learned so much more about SMPS technology and the behaviors of MOSFET circuitry through your videos. A classrooms curriculum would pale in comparison.
@marcinborkowicz2557
Жыл бұрын
Dave from EEVblog has a great (5-part, I believe?) video about his battery-operated benchlab power supply. It provides enourmous amount of the knowledge of good quality. Now, Danyk shows his own take and I'm so happy to see his project in created his own style, which provides another portion of knowledge. Good job and thank you!
@marius9429
Жыл бұрын
Fr tnx to Danky and all the others I found my passion. One more year at highschool and I'll go straight to collage for electrical engineering. I can't thank those guys enough for their wonderful explanations with schematics and measurements. ❤
@jcxtra
Жыл бұрын
@@marius9429 Good luck with your college in the future! :)
21:45 = "Understanding the importance of fuse indcates your level of wisdom; on the other hand understanding the circuit indicates your level of knowledge and intelligence.": DiodeGoneWild
This is the most informative electronics KZread I have ever watched. Thank you DGW for taking the time to produce this series.
Bloody Laborious lol 🤣 But Highly Educational & Entertaining Too!!! Thanks 😊 for sharing this with us and for making sure you cover everything you need to regardless of how long your video gets because it’s worth explaining it. I have learned so much from you and Big Clive and Julian Ilett and Fran Blanche and Dave at EEVBlog and so many more!!!!
I am constantly amazed by your skill and expertise. I've been an electronics tech for 40+ years, and your skill is wonderful. It reminds me of me. when I worked with hundreds of others who did electronics for a living...and a couple of us (like me ) did it as a passion. If you want to be a superstar in electronics, then don't just follow this channel... support it on Patreon. even a dollar or a few a month is well worth it, Watch and digest everything, such wisdom and clarity. Even I've learned a lot... & I've been a tech for 40+ years!!!
Marvellous - the not printed circuit board looks like it was drawn by David Hockney - perfect - a sturdy and repairable PSU.
I can see why this is not sponsored by a PCB manufacturer... Great job.
That was an excellent tutorial mini-series. I learnt a lot from it. Thank you.
Thank you so much for this video! Thanks to your film I've finally built a power supply with adjustable current limiter (of course with variable voltage) 🤠
Your way of speaking English is amazing 😍
Oh, I like the way you build the PCB 😃 I also noticed that I laugh a lot while watching your videos. They are entertaining and educational at the same time. Thanks for your great effort.
17:21 - I heard that dust from fiberglass is not very healthy. Keep it in mind and take care.
@DiodeGoneWild
2 жыл бұрын
It's not easy to find something healthy these days...
@goodwill7643
2 жыл бұрын
@@DiodeGoneWild try to cut it with knife, then break it. But it is up to you, just wanted to warn you. :)
@DiodeGoneWild
2 жыл бұрын
Ok, maybe a knife next time ;) or a hand saw, it doesn't produce such a fine dust. Or maybe sheet metal scissors.
@Broken_Yugo
2 жыл бұрын
Silica dust, not quite asbestos bad, but bad enough to avoid.
@jackofalltrades3727
2 жыл бұрын
@@DiodeGoneWild we don't want anything to happen to you , we need these videos to keep coming
Danke! Thanks again for more than just one way of adjusting and on top explaining the way how they regulate!
Double video, doubly bloody awesome!
God do I wish you had been one of my instructors. You are excellent on teaching the practical real life way things work. I left Tech school with two years of a lot of theory , only to find out in my first few years, "It isn't necessarily so". PS: Circuit board is excellent ! 👍
Its a 100% green power supply because you didnt even used acid to make the board
@DiodeGoneWild
2 жыл бұрын
It's also green because it's not built to end up in trash a year later ;)
Amazing, truly amazing! Thank you very much.
Love the post apocalyptic circuit board design.
Excellent. Thank you. I learned some new things.
Finally, a DIY linear power supply on KZread! Yay! I have waited for years!
Awesome Daniel! Thank you for sharing so much knowledge again!
Really awesome video
EXCELLENT. Glad you are not OCD. THANX for the great effort!!!!!!!!!!!!!!!!!!!!!!!!!!!
congrats bro. Welldone.
Thank you for the video
So much useful info wonderfully presented, can't thank you enough....cheers.
Another great video!! Thank you Dany!! God bless you! 😊
I really enjoy drawing my circuits out by hand and etching them, they can have all sorts of added bits for fun. Cats included. Edit, I've been doing it that way (for me) since 1978.
Amazing content I love watching your videos they cure my stupidity! 😊
Informative and entertaining. Thanks 👍
That was wonderful. They just keep getting better. (The videos) (and the animals).
This is really cool. Thanks so much
😱😍😍😍😍 Thanks for awesome Video DANYk please make more diy video like this.... I love your Long Videos ..... Nice explain
PCBs a la Danyk! ;) No CAD tools, no gerber files, not even etching by hand. Real men mill their PCB!
Ah,, just what I was looking for. Thanks!
Awesome vid man.
Beautiful 😊
excelent asmr video! love your sense of humor
Great video, as always! This building method I call "Quick And Dirty".. 😂 I'm used it by my self, even in repairs, when replacing original transformer with PCB soldered one and created PCB by available place..
Thank you so much!
great video definately "Not Dodgy" keep them coming ;-)
*18:57** 🤣🤣🤣👍🏻👏🏼👏🏼🙏🏻❤️❤️ Love You Sir ❤️.*
looks good
You are the best!💪
It seems you really think about everything that could happen to the circuit to make it waterproof! Great knowledge and teaching as always! Could you please do such a diy power supply as a switch-mode PSU with much higher power, lets say 0 - 50V / 0...10 A? It could also be a modification of a computer- or server-PSU, making the voltage adjustable?
Really nice! Very interesting and well explained about having high voltage drop on MOSFETs and why "safe operating area" differs from the numbers derived from maximum power dissipation (I didn't know about that). I have mostly used MOSFETs for switching (unless in very low current applications), so I havn't really run in to the problem. But it's still good to know if I some time get the need to operate a MOSFET in linear mode at relatively high current (for example to make a simple design of something where efficiency really doesn't matter - like a variable load for testing power supplies).
@liam3284
2 жыл бұрын
using them as switches, you run into trouble when they de-saturate.
@Speeder84XL
2 жыл бұрын
@@liam3284 Yes, but if desaturation during switching happens, it's usually caused by a fault or by the gates getting too low voltage (usually caused by the whole circuit getting too low input voltage). If that happens, it means the rated "maximum power dissipation" of the transistors is often exceeded as well (and may lead to failure anyway). But, this fact that they may handle less if the voltage drop is large, can sometimes be of interest for a switching circuit as well. When for example evaluating the need for an "under voltage lockout". High power circuits pretty much always need it, since the power dissipation will easely reach destructive levels if the transistors go into linear mode. But if it's a low to medium power one, the transistors can sometimes be allowed to go into linear mode if the input voltage get too low - since the power dissipation will stay below damaging levels anyway. Which allow for a simpler circuit with less components. But it can be good to know some more margins may be needed, depending on how large voltage drop they may be subjected to during that condition.
at about 24:00 you can add several diodes in series to the base of the BC327 transistor to turn the LED off. alternately you can add a low voltage zener instead.
amazing!!!
Nice video, good explanations. I didn't know about that mosfet hotspot problem, yet. Thanks. When building the bigger one, will you also be using relays for selecting appropriate secondary taps of the transformer, in order to keep the dissipation down in the regulator? With that, you could create a 0 to 24V 3A power supply without the need for a big heatsink. Please do, because else it would just be an upscaled version of what you did in this video.
@FerrybigGaming
Жыл бұрын
You could do this with an potentiometer for the voltage where you have access to the shaft. Just 3d print an inner wheel, which has a thicker section that activates a micro switch, which switches to the higher voltage tap. This would not work for the current limiter dissipation
Diode: I like how the layout of the bridge rectifier came out. Meanwhile... Me: that looks like the symbol that shall not be spoken!😆
Love the botched circuit board. Hey, it works!
Cool man Thanks
Instead of using dremel to remove copper you can cut some pcb patches using metal shears, and then glue them with super-glue to pcb plane. It is fast and clean.
Danke!
The ST L200CV is/was a nice voltage regulator with built-in adjustable current limiting. But it was always more expensive than a LM317T and apparently ST have discontinued the L200CV now ☹️
You could use a double op-amp to control the MOSFET to adjust both current and voltage. This way you would no longer need the lm317.
@DiodeGoneWild
2 жыл бұрын
Of course :) but I decided to use LM317 because it's ready made, simple and almost guaranteed to work well. In very small power supply, this makes sense. Bigger linear power supplies of course would use just a single power component, not two.
@plainedgedsaw1694
2 жыл бұрын
Or make positive side current sensor and make it pull the adj of 317 to -1.25.
@SaltyPuglord
2 жыл бұрын
One thing you get "for free" with most LM317s, is over-temperature protection. It's a nice "free" gift that would otherwise require designing and debugging some additional circuitry. Using an opamp will get you more precision on your output voltage, but using a 317 with overtemp protection will get you more safety overall. In a power supply, I'd rather go safer. (Most power supply rails are only supposed to be accurate to ~3% anyway.)
... waiting patiently for 24V/2A version. :D
How do you create the tracks for the 8 pin IC? Surely they're too small for a Dremel?
I had an idea: What if you use a current transformer on the the AC current right before the diode bridge to sense the current?
You are excellent in electronics. But I was shocked to see that you made pcb paths with a drill.😯 A PCB pen and some hot Fe2Cl3 were enough No doubt you know that. But this is speed result😀
You could made using smps or can Build by modifying 12V 10 Amp smps
18:19 that explains why I've never been on a date.
Your cat is very very cute ❤️❤️
Can you make a video where you make a switching power supply in to 10A and power 100W? And calculating a pulse transforer?
Can you share also about yourself, work experience, etc?.... I always wonder why you know so much about SMPS 🙂
interesting, I wonder how much is the time between CV to CC like when you set to like 10mA - 5.5V and then power a red LED directly. If I do so with my Riden's bench PSUs, the LED sometimes burn, sometimes not.
@igrewold
2 жыл бұрын
Red color LED has a voltage drop of 1.8 (or ranges 1.7 to 2.2 ) volt
@jankomuzykant1844
2 жыл бұрын
I think it mainly depends of output capacitor which slows down CC timing
@DiodeGoneWild
2 жыл бұрын
There's always a high current pulse when you connect an LED to an already running bench power supply. The output capacitor discharges into the LED and also the current limit has a delay (the sensing circuitry, the power transistor...). The safe way is probably to connect the LED and then power the power supply, or to use some series resistor, despite the current is then limited by the psu.
@Mark1024MAK
2 жыл бұрын
Actually the safest way is to short out the output terminals, set the output current limit, connect the LED in parallel with the still shorted output terminals, then disconnect the short circuit.
Thanks for sharing with us ❤️ Can l put a power transistor on the out put of the lm317 to a make it more powerfull.
@DiodeGoneWild
2 жыл бұрын
LM317 datasheet shows couple ways of how to increase its current capability using an external transistor. At least some versions of the datasheet. But for more current, you might also have a double opamp and just one transistor, that both limits the current and regulates the voltage.
@Broken_Yugo
2 жыл бұрын
Very common trick, plenty of examples in linear regulator datasheets and around the web.
@phenomenon9114
2 жыл бұрын
@@DiodeGoneWild thankyou sir for reply on my comment u made my day
Maybe you can comment on the wild mains voltage specs for eastern Europe that I have to meet in universal power supply design. The specification I see often for universal power supply design gives a high line mains voltage of 265VAC @ 50Hz. Very similar to the UK high line. P-Channel MOSFETs have come along way in terms of Rds on. For example the infineon IPB110P06LM is 16milliOhm @ -4.5 Vgs, -91Amp (The SOA looks OK).
Grinded Circuit Board ! / GCB
Nice👌
Broušák, moje dětství
Loved how he dipped the transistor in the heat transfer compound like a potato chip in the mayo, rotflmao!!!
Nice! :)
neat.
Jewel great!.
As my old boss used to say, is not elegant but it works
does it work with higher voltages? like about 20-25volts dc on bridge rectifier? The mostly needed thing is the current limit
hi, i have all the same parts except for the transformer, which i have 28-0-28, can i use it? will the design alter if i use different transformer?
A quick question please - I replaced the connection between the motherboard and the power supply - the new connector has a white wire and the power supply doesn't - any idea why is missing?
I was a bit bothered on the cut out from the bridge rectifier came out, when you take a close look at it you'll see it
@Phil8sheo
2 жыл бұрын
LMAO, I was about to give up trying to figure out wtf you were talking about. I promise you, no brown shirt sympathizer running this channel, just a coincidence.
Why not use a pmos on the high side and tge sense resistor also there? This way your ground would be cleaner . Also why do you always use old components? Yes for mosfets you said why but I don't understand why you do it for op amps and ldo s too.
Try proteus isis for schematics and PCBs, you can even virtually test whole schematics and MCU programs on it, its the perfect program
I wish I'd thought of your pad of wet towel to keep the shaft cool whilst cutting it.... I'd have missed burning my fingers so many times. :(
Muito top... eu vi um circuito com controle de corrente para LM317T com apenas 7 componentes (1 LM317T, 1 BD135, 2 potenciômetros, 3 resistores) ,,, no Proteus ele funciona até 1A tranquilo... seria muito top analisa-lo ... como não posso deixar links vou colocar somente o nome do vídeo e do canal... ( controle de corrente para lm317 lm350 lm338t Elizeu Silva ) Valeu...
Please make a video about synchronous power supplies
I'm a little confused, Or I missed the point you explained this. Why you placed current limiter before lm317? In that point it doesn't measure actual current going into load but measures load current + lm317 consumption. Or I'm wrong?
@argcargv
2 жыл бұрын
If you did it the other way around you would loose voltage regulation performance. That is voltage regulator usually has a fairly consistent and small bias current, so the issue is much smaller for current regulation.
@Mark1024MAK
2 жыл бұрын
Did you watch his previous video? He explained it in that video.
Once you promised to convert your 24 v 10 amp into 30 volt adjustable powersupply i wish you make it soon
Next project *simplest but yet powerful smps using NO FANCY CHIP* 🙏🙏 SIR, please cover this topic with all calculations in a *BLOODY LONG* video. 🙏🙏
Je škoda, že tomu tak rozumíš, ale provedení desky je příšerné. Hrozný bastl. Já mám opačný problém. Desky a osazení jak víno, ale takto do hloubky tomu neholduji, že bych i navrhnul něco :-D
I rate this video extremely Undodgy with a nice amount of bodge that warms the builders soul... nice anti-OCD... test of character rite there, hehehehehe.
25:50 15V 0.5A is good to see But I need a 30V 5A Dual Rails version 😑
That's hardly an Usagi Electric board, but it works!
This makes me laugh.😆😂
Why not just rectify mains and then regulate from that?
06:48 I feel very called out 😅
17:03 where is the Kitty ?
Next step, a low voltage PFC circuit after the bridge rectifier.
I really hope you were wearing a mask when you cut that board!
@DiodeGoneWild
2 жыл бұрын
Hell no, we've burnt all masks several months ago...
The hardest way to make pcb
You put on too much heatsink compound. It has a thermal resistance, but it's a lower thermal resistance than air. It's meant to fill in microscopic pits and scratches in the metal surfaces where otherwise you would have air. Spread it on thickly and it prevents metal to metal contact.