How does a modern Power Supply work?! (230V AC to 5/12V DC) DIY Flyback Converter!



Do you want to know more about the Würth Elektronik components? Then click here: https://bit.ly/Online_Catalog_EN
Würth Elektronik products, which were used in the video:
– WE-FLEX+ Flexible Transformer for DC/DC Converter (749197131): https://bit.ly/WE_FLEX_EN
– WE-UOST Universal Offline Standard Transformers (760875112): https://bit.ly/WE_UOST_1_EN
– WE-UOST Universal Offline Standard Transformers (760875532): https://bit.ly/WE_UOST_2_EN
– WE-LLCR Resonant Converter (760895731): https://bit.ly/WE_LLCR_EN
– WE-UNIT Off-Line Transformer (749118105): https://bit.ly/WE_UNIT_EN

Previous video: https://youtu.be/6SFJdovlBMQ
Everything you need to know about Transformers! video: https://youtu.be/2cxcP5lY7K4

Facebook: https://www.facebook.com/greatscottlab
Twitter: https://twitter.com/GreatScottLab
Support me for more videos: https://www.patreon.com/GreatScott?ty=h

In this video we will be having a look at the kind of power supplies you use every day. I am talking about switched mode power supplies that convert our 230V AC mains voltage into for example 5V or 12V DC to power our electronics. I will not only tell you all about the heart of such a system, a flyback transformer, but I will also show you how it is used in a flyback circuit. At the end I will also show you a DIY attempt of such a mains power supply that you should (please) not replicate. Let’s get started!

Websites which were shown (used) during the video:
https://www.onsemi.com/pdf/datasheet/ncp1010-d.pdf

Thanks to the Würth Elektronik eiSos Group for supporting this video.

Music:
2011 Lookalike by Bartlebeats

0:00 Flyback Transformers in Power Supplies
1:15 Intro
1:33 Flyback Transformer Theory
3:25 Flyback Converter Functional Principle
5:58 Practical Flyback Converter Circuit
8:13 DIY 230V AC Flyback Converter (SMPS)

source

48 thoughts on “How does a modern Power Supply work?! (230V AC to 5/12V DC) DIY Flyback Converter!

  • August 29, 2021 at 4:00 pm
    Permalink

    Stay creative , and I will see you next time. Always brings a smile to me, great video as always, only getting better and better

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    The flyback converter was the first switching converter used in a mass produced consumer product – the automobile. It likely got nicknamed when someone got shocked by the high voltage and was thrown back. Note, however, that some modern automotive ignition systems (e.g. Kia/Hyundai) use a forward topology for the final output since it gives a more powerful spark which allows engines to run more efficiently.

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    I usually use bare wire to do these prototyping circuits. Saves some solder and less headache of solder bridges.

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    Hi Great scott, please make a vedio about flyback switched mode power supply with Arduino feedback. Pleaseeeeeeeeeeeeasee!!!
    Love from Afghanistan.
    And also I am going to start working on my YouTube channel in the future, so subscribe from now. Pleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaasseeeee!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    what I don't like about this topology is that usually you need to make your own transformer, it would be interesting if you do a DYI vs Buy a commercially available PSU that converts mains voltage to 5V.

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    Wow, I have watched dozens of videos about SMPS before, but this one really made the subject to click.

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    After watching this video I concluded that my isolated DC/DC converter design skills need a bit of improving… cries in TNY264 carcasses

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    For me a timely answer to how come modern power supplies are so small, as a few weeks ago The 8 bit guy built an Apple 1 computer using a modern day reproduction of the original. I'm not sure what the power requirement was, but even with 1970s ICs, shouldn't have been much, but the capacitors were huge.

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    As always well presented. Someone below asked about PF correction. Along with that, maybe do a video that turns this into a true power supply with PF correction, filtering, in rush limiting and isolation. That would be an interesting follow up !

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    Dude.. what is even meant by magnetic flux
    To be honest…. I don't understand much of the electronics that many youtubers teach..
    I'm 16
    Am I really dumb or a kid?

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    well despite the fact I know how a SMPS works in theory, I didn't know about the specifics about the transformer windings being opposite and the fact it's basically using the charge / discharge of such transformer… I always thought it was due to high frequency switching that it worked like a regular transformer but was just smaller because of the higher frequencies and the square wave… 🙂

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    Pls help me to make an active noise cancelling head phone. I tried with many microphones and op amps. Non of them works for some reason. Most smartphone these days has a noise cancelling feature for calls. However they do not work for music. Why? Play store has wide range of apps available, but noise cancelling apps are not there even though hardware is present in all the smartphones. Hope you can explain this. Thank you?

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    Diode AND RC snubber… k. Curious about this things and ground isolating circuits, as far as how they concern automotive circuits. Killed a knock-off arduino by controlling an ignition coil and not running any power regulating circuits. A coil with it's own igniter by the way.

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    States do not build the DIY SMPS…

    Continues showing the schematic for a DIY 230V AC Flyback SMPS, lol

    Great video as usual….

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    This isn't quite 'modern' all good modern power supplies use power factor correction followed by an llc resonant converter. This is more a 1990 / mid 2000s power supply.

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    Wurth electronic send me components and keysight send me one dso please

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    Eagerly waiting for it and the outcome is lot more informative good one dude keep it up

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    Another quality video from the best quality creator on this platform(BTW pls can you make another video using a raspberry pi ?)

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    Wurth Elektronik: Do your best
    Great Scott: Cuts transformer in half

    Reply
  • August 29, 2021 at 4:00 pm
    Permalink

    Nice video. How much power output can the circuit deliver?
    Also, a DIY or buy video about power supplies would be cool.

    Reply
  • September 3, 2021 at 12:05 pm
    Permalink

    Very efficiently written information. It will be beneficial to anyone who usess it, including myself. Keep doing what you are doing – for sure i will check out more posts.

    Reply
  • September 4, 2021 at 10:52 pm
    Permalink

    hey there and thanks for your info ?I have certainly picked up anything new from proper here. I did on the other hand experience a few technical issues using this site, since I skilled to reload the web site lots of occasions prior to I may get it to load correctly. I had been pondering in case your hosting is OK? No longer that I’m complaining, however slow loading circumstances occasions will sometimes have an effect on your placement in google and can damage your high quality ranking if ads and ***********|advertising|advertising|advertising and *********** with Adwords. Well I抦 adding this RSS to my e-mail and could glance out for a lot extra of your respective interesting content. Ensure that you update this once more very soon..

    Reply
  • October 20, 2021 at 9:22 am
    Permalink

    Hey There. I found your weblog the usage of msn. This is a really smartly written article. I抣l make sure to bookmark it and come back to read more of your helpful information. Thank you for the post. I will definitely comeback.

    Reply
  • October 20, 2021 at 2:05 pm
    Permalink

    This is very interesting, You’re a very skilled blogger. I’ve joined your rss feed and look forward to seeking more of your great post. Also, I have shared your web site in my social networks!

    Reply
  • October 21, 2021 at 2:49 am
    Permalink

    One thing I’d like to say is that often before getting more laptop memory, check out the machine in to which it will be installed. Should the machine is actually running Windows XP, for instance, the actual memory ceiling is 3.25GB. Putting in above this would purely constitute a waste. Make sure that one’s mother board can handle the particular upgrade volume, as well. Thanks for your blog post.

    Reply
  • October 21, 2021 at 5:03 pm
    Permalink

    Thank you for another fantastic article. Where else could anybody get that kind of information in such a perfect way of writing? I’ve a presentation next week, and I am on the look for such info.

    Reply
  • October 28, 2021 at 2:24 pm
    Permalink

    Thanks for the sensible critique. Me and my neighbor were just preparing to do some research on this. We got a grab a book from our area library but I think I learned more from this post. I am very glad to see such excellent info being shared freely out there.

    Reply

Leave a Reply

Your email address will not be published.