DIY bench power supply with adjustable current limit

Sdílet
Vložit
  • čas přidán 24. 07. 2022
  • 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
  • Věda a technologie

Komentáře • 146

  • @Debraj1978
    @Debraj1978 Před rokem +31

    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

  • @jcxtra
    @jcxtra Před rokem +69

    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
      @DiodeGoneWild  Před rokem +25

      Thanks :)

    • @benjaminzacharko8740
      @benjaminzacharko8740 Před rokem +9

      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
      @marcinborkowicz2557 Před rokem +1

      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
      @marius9429 Před 11 měsíci +1

      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
      @jcxtra Před 11 měsíci +1

      @@marius9429 Good luck with your college in the future! :)

  • @oddjobbob8742
    @oddjobbob8742 Před rokem +13

    This is the most informative electronics CZcams I have ever watched. Thank you DGW for taking the time to produce this series.

  • @ZaneDaMagicPufferDragon
    @ZaneDaMagicPufferDragon Před rokem +35

    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!!!!

  • @stephengray9207
    @stephengray9207 Před rokem +4

    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!!!

  • @pe1dnn
    @pe1dnn Před rokem +2

    I can see why this is not sponsored by a PCB manufacturer... Great job.

  • @128Wojtek
    @128Wojtek Před měsícem

    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) 🤠

  • @richardhalliday6469
    @richardhalliday6469 Před rokem +7

    Marvellous - the not printed circuit board looks like it was drawn by David Hockney - perfect - a sturdy and repairable PSU.

  • @d.k.9406
    @d.k.9406 Před 3 měsíci

    Danke!
    Thanks again for more than just one way of adjusting and on top explaining the way how they regulate!

  • @Alchemetica
    @Alchemetica Před rokem +3

    Love the post apocalyptic circuit board design.

  • @jimadams7765
    @jimadams7765 Před rokem +7

    That was an excellent tutorial mini-series. I learnt a lot from it. Thank you.

  • @unclepecos5426
    @unclepecos5426 Před rokem +2

    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.

  • @martinda7446
    @martinda7446 Před rokem +1

    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.

  • @goodwill7643
    @goodwill7643 Před rokem +18

    17:21 - I heard that dust from fiberglass is not very healthy. Keep it in mind and take care.

    • @DiodeGoneWild
      @DiodeGoneWild  Před rokem +23

      It's not easy to find something healthy these days...

    • @goodwill7643
      @goodwill7643 Před rokem +3

      @@DiodeGoneWild try to cut it with knife, then break it. But it is up to you, just wanted to warn you. :)

    • @DiodeGoneWild
      @DiodeGoneWild  Před rokem +14

      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
      @Broken_Yugo Před rokem +5

      Silica dust, not quite asbestos bad, but bad enough to avoid.

    • @jackofalltrades3727
      @jackofalltrades3727 Před rokem +1

      ​@@DiodeGoneWild we don't want anything to happen to you , we need these videos to keep coming

  • @jp040759
    @jp040759 Před rokem

    EXCELLENT. Glad you are not OCD. THANX for the great effort!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @danielmantione
    @danielmantione Před rokem +1

    PCBs a la Danyk! ;) No CAD tools, no gerber files, not even etching by hand. Real men mill their PCB!

  • @msansjr
    @msansjr Před rokem

    Double video, doubly bloody awesome!

  • @amkp40technology
    @amkp40technology Před rokem +3

    *18:57** 🤣🤣🤣👍🏻👏🏼👏🏼🙏🏻❤️❤️ Love You Sir ❤️.*

  •  Před rokem +2

    Amazing, truly amazing! Thank you very much.

  • @MissNorington
    @MissNorington Před rokem

    Finally, a DIY linear power supply on CZcams! Yay! I have waited for years!

  • @cups3
    @cups3 Před rokem

    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 !
    👍

  • @t1d100
    @t1d100 Před rokem +2

    Excellent. Thank you. I learned some new things.

  • @arduinoatolyem2121
    @arduinoatolyem2121 Před rokem +9

    Its a 100% green power supply because you didnt even used acid to make the board

    • @DiodeGoneWild
      @DiodeGoneWild  Před rokem +16

      It's also green because it's not built to end up in trash a year later ;)

  • @andymouse
    @andymouse Před rokem

    So much useful info wonderfully presented, can't thank you enough....cheers.

  • @Pirelli.
    @Pirelli. Před rokem

    Another great video!! Thank you Dany!! God bless you! 😊

  • @hernancoronel
    @hernancoronel Před rokem +5

    Awesome Daniel! Thank you for sharing so much knowledge again!

  • @martinda7446
    @martinda7446 Před rokem

    That was wonderful. They just keep getting better. (The videos) (and the animals).

  • @Katanium
    @Katanium Před rokem +1

    Amazing content I love watching your videos they cure my stupidity! 😊

  • @NaoPb
    @NaoPb Před rokem

    Ah,, just what I was looking for. Thanks!

  • @L2.Lagrange
    @L2.Lagrange Před rokem

    Really awesome video

  • @gacherumburu9958
    @gacherumburu9958 Před rokem

    Informative and entertaining. Thanks 👍

  • @fredflintstone1
    @fredflintstone1 Před rokem +4

    great video definately "Not Dodgy" keep them coming ;-)

  • @gkolko
    @gkolko Před rokem

    congrats bro. Welldone.

  • @TheInventor202
    @TheInventor202 Před rokem +1

    Thank you for the video

  • @michaelseitz8938
    @michaelseitz8938 Před rokem +2

    Beautiful 😊

  • @Delali
    @Delali Před rokem

    This is really cool. Thanks so much

  • @markonikolovsk22
    @markonikolovsk22 Před rokem

    Diode: I like how the layout of the bridge rectifier came out.
    Meanwhile...
    Me: that looks like the symbol that shall not be spoken!😆

  • @beatrute2677
    @beatrute2677 Před rokem

    Awesome vid man.

  • @tony42hajdu
    @tony42hajdu Před rokem +1

    excelent asmr video! love your sense of humor

  • @artursmihelsons415
    @artursmihelsons415 Před rokem

    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..

  • @SNIPER-69K
    @SNIPER-69K Před rokem +1

    😱😍😍😍😍
    Thanks for awesome Video
    DANYk please make more diy video like this.... I love your Long Videos ..... Nice explain

  • @rpbajb
    @rpbajb Před rokem +4

    Love the botched circuit board. Hey, it works!

  • @lorenzorentniop717
    @lorenzorentniop717 Před rokem +1

    You are the best!💪

  • @englishrupe01
    @englishrupe01 Před rokem

    Thank you so much!

  • @bandit4550
    @bandit4550 Před rokem

    looks good

  • @lupoal4113
    @lupoal4113 Před 9 měsíci

    amazing!!!

  • @camelcasee
    @camelcasee Před rokem +2

    18:19 that explains why I've never been on a date.

  • @miftosaurus
    @miftosaurus Před rokem

    ... waiting patiently for 24V/2A version. :D

  • @jg6780
    @jg6780 Před rokem +1

    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.

  • @JohnZmith
    @JohnZmith Před rokem

    Grinded Circuit Board ! / GCB

  • @igrewold
    @igrewold Před rokem

    Cool man
    Thanks

  • @crono331
    @crono331 Před rokem

    As my old boss used to say, is not elegant but it works

  • @DumahBrazorf
    @DumahBrazorf Před rokem +2

    Loved how he dipped the transistor in the heat transfer compound like a potato chip in the mayo, rotflmao!!!

  • @ucmetoo1
    @ucmetoo1 Před rokem

    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.

  • @localgamingmaxyt7929
    @localgamingmaxyt7929 Před rokem

    Your cat is very very cute ❤️❤️

  • @andreastarp6583
    @andreastarp6583 Před rokem

    Danke!

  • @RanaRao_Chandrachur
    @RanaRao_Chandrachur Před rokem

    Next project *simplest but yet powerful smps using NO FANCY CHIP* 🙏🙏
    SIR, please cover this topic with all calculations in a *BLOODY LONG* video. 🙏🙏

  • @rilosvideos877
    @rilosvideos877 Před rokem +1

    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?

  • @amirebrahimieftekhari6876

    Nice👌

  • @Speeder84XL
    @Speeder84XL Před rokem +2

    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
      @liam3284 Před rokem

      using them as switches, you run into trouble when they de-saturate.

    • @Speeder84XL
      @Speeder84XL Před rokem +1

      @@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.

  • @Purple431
    @Purple431 Před rokem

    Nice! :)

  • @elektronekk4306
    @elektronekk4306 Před rokem

    Broušák, moje dětství

  • @Yorumcu63
    @Yorumcu63 Před rokem

    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😀

  • @fluffyblue4006
    @fluffyblue4006 Před rokem +3

    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
      @FerrybigGaming Před rokem

      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

  • @poptartmcjelly7054
    @poptartmcjelly7054 Před rokem +3

    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
      @DiodeGoneWild  Před rokem +8

      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
      @plainedgedsaw1694 Před rokem +1

      Or make positive side current sensor and make it pull the adj of 317 to -1.25.

    • @SaltyPuglord
      @SaltyPuglord Před rokem +1

      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.)

  • @celsoneves2368
    @celsoneves2368 Před rokem

    Jewel great!.

  • @e.a297
    @e.a297 Před rokem

    Please make a video about synchronous power supplies

  • @iceberg789
    @iceberg789 Před rokem +1

    neat.

  • @lolsypussy
    @lolsypussy Před rokem

    Can you share also about yourself, work experience, etc?.... I always wonder why you know so much about SMPS 🙂

  • @EasyOne
    @EasyOne Před rokem

    The hardest way to make pcb

  • @xntumrfo9ivrnwf
    @xntumrfo9ivrnwf Před rokem

    How do you create the tracks for the 8 pin IC? Surely they're too small for a Dremel?

  • @omsingharjit
    @omsingharjit Před rokem

    You could made using smps or can Build by modifying 12V 10 Amp smps

  • @omsingharjit
    @omsingharjit Před rokem

    Once you promised to convert your 24 v 10 amp into 30 volt adjustable powersupply i wish you make it soon

  • @liam3284
    @liam3284 Před rokem

    Next step, a low voltage PFC circuit after the bridge rectifier.

  • @Mark1024MAK
    @Mark1024MAK Před rokem

    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 ☹️

  • @edgeeffect
    @edgeeffect Před rokem +1

    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. :(

  • @zaraak323i
    @zaraak323i Před rokem

    That's hardly an Usagi Electric board, but it works!

  • @technixbul
    @technixbul Před rokem

    Try proteus isis for schematics and PCBs, you can even virtually test whole schematics and MCU programs on it, its the perfect program

  • @therealjammit
    @therealjammit Před rokem

    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?

  • @sforman2622
    @sforman2622 Před rokem

    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

  •  Před rokem +1

    This makes me laugh.😆😂

  • @Paxmax
    @Paxmax Před rokem

    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.

  • @WagTsX
    @WagTsX Před rokem +3

    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
      @igrewold Před rokem +1

      Red color LED has a voltage drop of 1.8 (or ranges 1.7 to 2.2 ) volt

    • @jankomuzykant1844
      @jankomuzykant1844 Před rokem +1

      I think it mainly depends of output capacitor which slows down CC timing

    • @DiodeGoneWild
      @DiodeGoneWild  Před rokem +6

      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
      @Mark1024MAK Před rokem

      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.

  • @janzahradnik8089
    @janzahradnik8089 Před rokem

    Can you make a video where you make a switching power supply in to 10A and power 100W? And calculating a pulse transforer?

  • @Uraim
    @Uraim Před rokem

    does it work with higher voltages? like about 20-25volts dc on bridge rectifier? The mostly needed thing is the current limit

  • @phenomenon9114
    @phenomenon9114 Před rokem +2

    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
      @DiodeGoneWild  Před rokem +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
      @Broken_Yugo Před rokem

      Very common trick, plenty of examples in linear regulator datasheets and around the web.

    • @phenomenon9114
      @phenomenon9114 Před rokem

      @@DiodeGoneWild thankyou sir for reply on my comment u made my day

  • @UnulOarecare
    @UnulOarecare Před rokem

    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?

  • @crossan77
    @crossan77 Před rokem +2

    I really hope you were wearing a mask when you cut that board!

    • @DiodeGoneWild
      @DiodeGoneWild  Před rokem +9

      Hell no, we've burnt all masks several months ago...

  • @windward2818
    @windward2818 Před rokem

    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).

  • @ohmware2020
    @ohmware2020 Před rokem

    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?

  • @VIPINSAINI_20
    @VIPINSAINI_20 Před rokem

    25:50 15V 0.5A is good to see
    But I need a 30V 5A Dual Rails version 😑

  • @MC-01
    @MC-01 Před rokem +1

    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
      @Phil8sheo Před rokem

      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.

  • @DiaconescuAlexandru2024

    06:48 I feel very called out 😅

  • @Gengh13
    @Gengh13 Před rokem

    Functional but it would definitely go in the dodgy category.

  • @bdf2718
    @bdf2718 Před rokem

    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.

  • @mohammadrezamim272
    @mohammadrezamim272 Před rokem

    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
      @argcargv Před rokem

      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
      @Mark1024MAK Před rokem

      Did you watch his previous video? He explained it in that video.

  • @sanjikaneki6226
    @sanjikaneki6226 Před rokem

    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.

  • @hall117
    @hall117 Před rokem

    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...

  • @omsingharjit
    @omsingharjit Před rokem

    Plz make device for OCD Peoples

  • @chaitanyabhave5255
    @chaitanyabhave5255 Před rokem

    Bloody ling but still very useful full of fun than typical Time laps videos like other