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

Поділитися
Вставка
  • Опубліковано 22 сер 2024

КОМЕНТАРІ • 617

  • @realdragon
    @realdragon 3 роки тому +198

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

  • @jainvibhore1997
    @jainvibhore1997 3 роки тому +558

    "Do not build this circuit! With that being said, here's the schematic" -Great Scott XDD

    • @greatscottlab
      @greatscottlab  3 роки тому +206

      Everyone should have the access to knowledge ;-) But a warning was still necessary ;-)

    • @Paul_EEB
      @Paul_EEB 3 роки тому +17

      It is not a bad circuit to build. It just missing parts that make it a compete power supply unit, and it should not be used as a power supply.

    • @oraszuletik
      @oraszuletik 3 роки тому +6

      Dodgy! 😉

    • @tvishmaychoudhary69
      @tvishmaychoudhary69 3 роки тому +13

      @@oraszuletikDIODE GONE WILD!!

    • @VijayaLakshmi19807
      @VijayaLakshmi19807 3 роки тому

      @@greatscottlab Hi sir. Sir please hack an AR glasses to work on a HDMI input even if the whole setup becomes bulkey. Bigg fan. Love from India ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️

  • @inothome
    @inothome 3 роки тому +150

    Great video as always!!! Ignore the YT analytics, if they still show poor results. It's not you, it's them and please don't change your style to try and appease the algorithm. . We're all here for the quality of videos you have always done and this is a perfect example.

    • @greatscottlab
      @greatscottlab  3 роки тому +39

      Well said! Do not worry. I will keep making such videos as long as I can ;-)

    • @WarriorRev6300
      @WarriorRev6300 3 роки тому +3

      Those waste fake yt videos with crazy thumbnails are making it to yt algorithm.

    • @nickwallette6201
      @nickwallette6201 3 роки тому +5

      I would love it if content creators banded together and created a wash of "Shorts" that were titled "do not watch this - nobody asked for it, nobody wants it, this is a waste of time." 30 seconds of vertical video paint drying, grass growing, and similar pointlessness.
      When the viewing stats are complete garbage, maybe YT can butt out of trying to dictate content.

    • @ihatemicrosoftsobadly3188
      @ihatemicrosoftsobadly3188 Рік тому +3

      Already suggested your channel to all my nerd friends :) great videos. Keep up the great work!

  • @thebamplayer
    @thebamplayer 3 роки тому +266

    Can you make a video about active power factor correction, because it's an important topic with switch mode power supplies. Due to it's big capacitors.

    • @greatscottlab
      @greatscottlab  3 роки тому +145

      It is on my to do list :-)

    • @user-qf6yt3id3w
      @user-qf6yt3id3w 3 роки тому +17

      Active PFC is fascinating. I think it's just using PWM to draw a sinusoidal current so the current is in phase with the voltage but there might be some more clever stuff going on.
      What would be interesting would be to use a microcontroller to do sinusoidal PWN synchronized to a zero crossing detector and see if that performs as well as a commercial APFC chip. I suspect the commercial chip is doing something a bit cleverer than this but it's not well documented. Basically a 'Buy of Build' for active power factor correction.

    • @axelBr1
      @axelBr1 3 роки тому +5

      About 10 years ago I had to simulate an oil refinery electrical power grid. Was a struggle trying to understand how a generator's AVR goes from changing the generator's voltage when it's the only generator on the grid to changing the reactive power supplied when there is more than one generator.

    • @sulochanakharat9033
      @sulochanakharat9033 3 роки тому +1

      @@greatscottlab sir please make vedio on "how to use lab bench power supply basic to professionally"🙏🙏🙏 (I request you)

    • @user-qf6yt3id3w
      @user-qf6yt3id3w 3 роки тому

      @@greatscottlab Awesome! Looking forward to it.I don't suppose you know any good discussions of Actice Power Factor Control algorithms?

  • @melchiortod29
    @melchiortod29 3 роки тому +36

    That's like marketing to the next level! Love that!

    • @greatscottlab
      @greatscottlab  3 роки тому +22

      Well, I wanted to do a video about SMPS and they wanted to show off their transformers.....I would say that is a good match ;-)

    • @analoghardwaretops3976
      @analoghardwaretops3976 3 роки тому +3

      .." this is not a promotional pitch..but in all fairness I can say this ( though we were really small customers )
      Wurth Elektronik do have " high quality & reliable components and are real serious business partners...
      despite we using a limited range and quantity of their products...they went " all out " to respond to our doubts/queries/ end use applications..and sent their team over with substantial dev. kits/ catalogues etc. besides follow ups..

    • @nickwallette6201
      @nickwallette6201 3 роки тому

      I am ALL FOR THIS. I have a pet project I'm trying to learn up to... I've got a shelf full of game consoles from the Famicom to PS4 Pro. I want to install a high-power 24VDC supply and use isolated switchmode supplies to step down to what each machine needs... 3.3V, 5V, 7-9V, 12V, and so on. (Isolated to prevent ground loops and issues with systems that raise "ground" to a diode drop above one leg of the input jack, like the NES.)
      In my research, I've seen planar transformers that use stacked PCB layers to provide galvanic isolation. Since the design is kind of tricky, they're also available as drop-in modules from trafo manufacturers. But, magnetics selection is non-trivial, and I still feel completely lost on this topic. It's really the last domino to fall before I can start building some POC designs.
      So, please! MOAR TRAFOS!

  • @fuadmammadzade1213
    @fuadmammadzade1213 3 роки тому +18

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

  • @edoardocastellaneta271
    @edoardocastellaneta271 3 роки тому +7

    hi, great video as always. just keep in mind that in case of flyback topology, we aren't really talking about a transformer: since there is a high reluctance gap, a flyback trasformer is more like two mutual inducitors with a very high coupling coefficient.

    • @kelvin1316
      @kelvin1316 3 роки тому +1

      Me: "hmm yes, I see"
      My mate: "you have no idea what's he is talking about do you?!"
      Me: "nope he lost me at 'reluctance gap'!"
      Hehe 😇 💚

    • @Henry-fv3bc
      @Henry-fv3bc 3 роки тому +1

      Meh most would still consider that a transformer. RF transformers can be completely air core and we still call them transformers.

    • @edoardocastellaneta271
      @edoardocastellaneta271 2 роки тому

      @Joseph Bunn great explanation, thanks!

  • @alext5310
    @alext5310 3 роки тому +11

    Nice, something interesting to watch while waiting for the F1 GP to start, haha

    • @InterFelix
      @InterFelix 3 роки тому

      Exactly...

    • @JSPHism
      @JSPHism 3 роки тому

      I already lost hope lmao I honestly want to see a good race without rain

    • @SERAFINARODRIGUES
      @SERAFINARODRIGUES 3 роки тому

      Same here hshshshshsh

    • @analoghardwaretops3976
      @analoghardwaretops3976 3 роки тому

      Yes in this demo it was built without any " soft start ".. unlike the G.P. races that can Never begin with a soft start 😂😂😂

  • @NilsRohwer
    @NilsRohwer 3 роки тому +34

    Fascinating, I'm very happy to have this video from you. I have wondered about Switching mode power supplies for ages, and to have such detail is great - to be fair, I'm 1:03 in, but I know it'll be good.
    Edit: I was not disappointed! Thanks.

  • @MrTacoSr
    @MrTacoSr 3 роки тому

    sometimes I have to rewatch these videos because I get so caught up in him writing and labeling so perfectly with no mistakes

  • @TotallyNotJason101
    @TotallyNotJason101 3 роки тому +1

    Thanks Würth elektronik for us to learn more about Switch mode power supplies!

  • @FINALASTXTN
    @FINALASTXTN 3 роки тому +1

    Finnally somebody goodly explained a flyback converter

  • @ucan-diy
    @ucan-diy 3 роки тому +2

    Great work! One of the best channels on UA-cam!

  • @GeertGoossens
    @GeertGoossens 3 роки тому +15

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

    • @greatscottlab
      @greatscottlab  3 роки тому +4

      The more you know ;-)

    • @analoghardwaretops3976
      @analoghardwaretops3976 3 роки тому +1

      ....windings being opposite...
      is for " flyback " mode only...also duty cycle cannot/ should not exceed 50%...

    • @ShinyMajor
      @ShinyMajor 3 роки тому

      @@analoghardwaretops3976 The flyback can go to as high of a duty cycle as you like within the practical limits of maintaining control, as long as the switching transistor can handle the reflected voltage. I think you're thinking of the forward converter, which is one where you can't exceed 50% with the standard design

    • @analoghardwaretops3976
      @analoghardwaretops3976 3 роки тому

      @@ShinyMajor exceeding 50% , the volt/ sec. balance in
      off- to -on may not be achieved..and can lead to core saturation even in boost/ flyback modes.. leading to gradual residual flux buildup...
      so when it's @ the extreme limit of the hysterisis curve..the next turn on pulse ..in its first few hundreds of nanosecs.can destroy the sw. with uncontrollable current..
      Chips for flybk./ boost have an internal divide by 2 f/f to limit max. duty to 50 % ..
      example..compare data sheet for internal blk.dia. of 3842/43 or other..

  • @DonkenAndToivolaRR
    @DonkenAndToivolaRR 3 роки тому +4

    Just can't wait for the video on the TL431. I'd love to see, how I could use it, to regulate the output of a dc-dc converter (which aren't so different from smps). For example to battery power a microcontroller based temperature logger.

  • @samim6523
    @samim6523 3 роки тому +1

    I am helping with UA-cam algorithm, I am watching again and again. LOVE YOUR CONTENT

  • @L2.Lagrange
    @L2.Lagrange Рік тому +1

    8:56 what an absolute madlad lmao. Props man

  • @David-zu5tp
    @David-zu5tp 3 роки тому +3

    9:24 Full Bridge rectifaiaa
    Good job GreatScott!!

  • @SkyhawkSteve
    @SkyhawkSteve 3 роки тому +11

    It might be a good experiment to build the same circuit on copper-clad board with a good ground plane. That should cut down a lot of the ringing at the switching transitions. This sort of ringing is what causes a lot of the EMI in switching regulators.

    • @sdlion7287
      @sdlion7287 3 роки тому

      a good ground plane needs to be on a separate copper layer? or just having more area (on the same side) is enough? (with those other design considerations, but I want to know how important are ground planes on independent copper layers)

    • @SkyhawkSteve
      @SkyhawkSteve 3 роки тому

      @@johndododoe1411 I don't think so. I've spent years troubleshooting EMC problems, and ringing in switchers is a classic issue.

  • @LimbaZero
    @LimbaZero 3 роки тому +1

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

  • @The-Master-of-None
    @The-Master-of-None 2 роки тому

    When Scott says "RIGHT?" The answer is "NO".
    Great content as always! Thanks for sharing your knowledge.

  • @electromatic2014
    @electromatic2014 3 роки тому +1

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

  • @vidulabeywickrama7852
    @vidulabeywickrama7852 3 роки тому +1

    U really deserve more sponsors.

  • @MrJugsstein
    @MrJugsstein 3 роки тому

    I'm coming to electronics later on in life. Your tutorial have to be the clearest and most well explained. Really enjoy and get so much from your videos.
    Thanks for your time.

  • @gabrieldai88
    @gabrieldai88 3 роки тому +2

    1:02 ElectroBoom is proud

  • @patstine2741
    @patstine2741 3 роки тому

    Video includes FULL BRIDGE RECTIFIER 10/10

  • @TheUnknownCatWarrior
    @TheUnknownCatWarrior 3 роки тому

    UA-cam: DIY power supply without explanation
    Great Scott: *explains everything thoroughly*

  • @thatoneguy99100
    @thatoneguy99100 2 роки тому

    I really love Würth Elektronik's products, and I love them even more for sponsoring you!

  • @hobbyelectronics2121
    @hobbyelectronics2121 3 роки тому

    The best description of flyback transformers ever :)

  • @Zebra_Paw
    @Zebra_Paw 3 роки тому +3

    Actually the voltage dropping at the output is due to the flyback topology. It’s just like a forward of halfbridgd, the output is averaged out, but no need for an output inductor, the transformer does that itself when used in a flyback configuration. But obviously it isn’t a stable voltage, so a flyback loop is needed, and usually it’s made with a voltage reference and an optocoupler for galvanical isolation!

    • @analoghardwaretops3976
      @analoghardwaretops3976 2 роки тому

      Flyback/ boost.. as the name implies..is mostly for " boosted" output voltages...I e. volts higher than input level..so current is usually lower ...
      The boost inductor is in series with the transistor switch...on Input power side .....and "THIS" current is measured...in the control circuitry..,here it's not the " load " current that's being measured..even though that's what we need...
      However in some critical apps.
      the freewheeling diode current...
      ( partly it's some of the of real load current ) is measured and used for control...
      it involves more mathematical derivation and additional equalising circuitry...

  • @chuckthebull
    @chuckthebull 3 роки тому

    I have been fixing these for years by changing some of the caps..I had a good idea how they worked and you defiantly boosted my understanding of them even further... lots went into the design technically.. thanks

  • @DanielsGameVault
    @DanielsGameVault 3 роки тому +3

    As soon as I saw that fuse popping in the intro I thought "Yup: I'm staying till the end" :)) I was hoping to see what happened. High inrush current most likely, since the main cap is big and there's no NTC to limit it....

    • @nickwallette6201
      @nickwallette6201 3 роки тому

      Haha.. I remember building my first AC mains supply. I brought it up on a Variac, and all worked perfectly. After thorough testing, I plugged it into the wall directly, and predictably... I popped it.

  • @oneRella
    @oneRella 10 місяців тому

    I love your videos but I wish you had longer versions with more in depth explanations so that idiots like me could keep up.

  • @susmittayade4643
    @susmittayade4643 3 роки тому +2

    Nice video !!! Really loved it!!!
    Will you make a detailed video how these power electronics produce harmonics in systems and their remedies??

  • @electronic7979
    @electronic7979 3 роки тому +1

    Very helpful video. I liked it 👏

  • @TechBuild
    @TechBuild 3 роки тому +1

    Press F for the poor transformers.
    Great video by the way!

  • @mohammadrezamim272
    @mohammadrezamim272 3 роки тому

    Best channel in this topic is DiodeGoneWild.

  • @dinushkam2444
    @dinushkam2444 3 роки тому +4

    Wish you did more videos on switch mode power supply.
    Anyways great video, keep it up

  • @SFInspector2211
    @SFInspector2211 Рік тому +1

    I kept looking at my phone because your background music sounds like one of my ringers. LOL

  • @EasyOne
    @EasyOne 3 роки тому +1

    Very well explained ❤

  • @twistedshadowsaf
    @twistedshadowsaf 3 роки тому

    This makes understanding those circuits I copied down from circuits I worked with before alot easier..

  • @ansonvattakunnel5297
    @ansonvattakunnel5297 3 роки тому +12

    "This is super dangerous, don't rebuild it, now here's the schematic " I couldn't stop laughing

  • @koushiks_energy
    @koushiks_energy 3 роки тому +4

    He said full-bridge rectifier @Electroboom

  • @insoft_uk
    @insoft_uk 2 роки тому

    That TL431 sure gets around a lot.

  • @Slushee
    @Slushee 3 роки тому +1

    I love this! I have always wanted to make a switching power supply. My next big project is going to be one of these thanks to you. Wish me luck!

    • @greatscottlab
      @greatscottlab  3 роки тому

      Be careful though

    • @Slushee
      @Slushee 3 роки тому

      @@greatscottlab Yes! I watch DiodeGoneWild, and my intention is to make the most absudly safe power supply ever built.
      If you know who he is, he always critiques PSUs for missing safety features and such. Not going to miss any of those. I will be using overkill air gaps and components, and cables too thick.
      Thanks for the reminder though!

  • @6935g
    @6935g 3 роки тому +2

    Maybe you could try to build a differential probe in a DIY or Buy episode. They are very expensive yet not too complicated.

  • @johnathanasiou9284
    @johnathanasiou9284 3 роки тому +1

    Awesome video GreatScott!.
    To help newbies who may not be always fully aware of how oscilloscope measurements should be approached especially with mains connected circuits, can you please do a follow-up video showing exactly how you had connected all devices, especially the isolation transformer & scope ground leads.
    If you can also demonstrate scope differential probes in such situations, this would be super

    • @greatscottlab
      @greatscottlab  3 роки тому +1

      I did a video about how to use an oscilloscope properly. There all those things are explained.

  • @stormz4040
    @stormz4040 3 роки тому +1

    Thank you. Your videos are amazing.

  • @b.mandal
    @b.mandal 3 роки тому +1

    "diode gone wild" is best in this subject

    • @BRUXXUS
      @BRUXXUS 3 роки тому

      Love DiodeGoneWild !

  • @varunrmallya5369
    @varunrmallya5369 3 роки тому

    "..........with that being said here's the schematic."- the reason I love your videos

    • @heatsingh2205
      @heatsingh2205 3 роки тому

      That's if you want to build a professional one users descretion is required

  • @sauritinfo2248
    @sauritinfo2248 3 роки тому +1

    Great, I was looking for this topic from may days.thanks to German friend from India. 😀😀😀

  • @NiHaoMike64
    @NiHaoMike64 3 роки тому +1

    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.

  • @WagTsX
    @WagTsX 3 роки тому +6

    In the video, you mentioned about the air gap but didn't explain why it's used, I still have this doubt on how energy is stored in the air, and why does it fly when the transformer get turned off. Will there be a next video about it?

    • @profdc9501
      @profdc9501 3 роки тому +4

      The ferrite of the transformer is a magnetic circuit in which the magnetic flux introduced by the magnetizing current of the primary side is carried between the primary and secondary windings. For a conventional transformer, these are carried with a low "reluctance" path to ensure that that the energy is transferred to the secondary winding simultaneously with it being introduced into the primary winding. This can only happen because there is a current set up in the secondary by the magnetic flux at the same time that the primary is generating the magnetic flux.
      In a flyback, there is a diode blocking a current flowing in the secondary while the primary is magnetizing the ferrite. The primary magnetizes the ferrite, and it would hit a limit called saturation at which point the ferrite can no longer be magnetized any further. To prevent this, an air gap is introduced into the magnetic circuit in which the flux lines flow. This increases the reluctance of the magnetic circuit and reduces the amount of flux induced into the circuit given a magnetizing current. Energy is stored in the magnetic field, most of it in the air gap. When the switch shuts off and the primary current stops, the magnetic flux stored in the ferrite is no longer sustained. The magnetic field collapses, and by Faraday's law a voltage and therefore current is induced into the secondary permitted by the diode. The capacitor is charged in the secondary and the power can be transferred to the circuit.
      So one of the biggest differences is that a flyback stores energy in the gap and transfers it in separate steps, whereas a conventional transformer transfers the power during the same cycle from primary to secondary. The air gap stores the energy in the flyback that is transferred from primary to secondary.

    • @greatscottlab
      @greatscottlab  3 роки тому +1

      Thanks for the nice explanation :-)

    • @sauritinfo2248
      @sauritinfo2248 3 роки тому

      Really great explanation @profdc9

    • @WagTsX
      @WagTsX 3 роки тому

      @@profdc9501 thanks a lot, it clarifies very much of my understanding, however for me it's still a black magic on how air can hold so much energy (technically, all the energy that passes over the power supply was once passed thru the air gap).

    • @profdc9501
      @profdc9501 3 роки тому +1

      @@WagTsX The magnetomotive force applied to the ferrite magnetic circuit is equal to the number of turns multiplied by the current in each turn. This is equal to the magnetic flux times the reluctance in the circuit. The energy density stored in a magnetic field is 1/2u B^2 where u is the magnetic permeability. The permeability of air is one, while the permeability of a ferrite is around 1000 to 5000 or so. So if one adds an air gap to the magnetic circuit, one increases the reluctance of the circuit, which decreases the flux. However, the energy density is inversely proportional to the permeability, so the ferrite stores only 1/1000 to 1/5000 of the energy per unit volume that the air gap does. The air gap prevents saturation by reducing the flux, and the energy that is stored by the flux is largely in the gap. Even vacuum can store energy from the electric and magnetic fields it contains; it's the fields that contain the energy in that case, and not the rearrangement of charges or currents in a medium.

  • @wgm-en2gx
    @wgm-en2gx 3 роки тому +2

    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 !

    • @greatscottlab
      @greatscottlab  3 роки тому +2

      Thanks for the feedback :-) Let's see what I can do

  • @swapnilbandgar8730
    @swapnilbandgar8730 3 роки тому

    I m following last 2-3 years... and learn a lot from every video... also tried many circuits... please make next video on TL431...

    • @greatscottlab
      @greatscottlab  3 роки тому +1

      Thanks for watching :-) I hope I will get to the TL431 video soon.

  • @Richie_
    @Richie_ 11 місяців тому

    I'm still learning and haven't used AC yet. I got a 220v - 9v AC to try the AD-DC circuit when confident enough.

  • @marcdraco2189
    @marcdraco2189 3 роки тому

    Major injuries... I think death is worse than just a major injury! Damn that board was terrifying, but thank you for the explanation I finally understand how these little beggars work.

  • @williamcraig6377
    @williamcraig6377 3 роки тому

    Excellant explanation to a topic I have been wanting to understand for years. Yes, please cover the topic of voltage references. You are my inspiration to build electronics.

    • @greatscottlab
      @greatscottlab  3 роки тому

      Glad I could help :-) I hope I will get to this video soon.

  • @mirko4757
    @mirko4757 3 роки тому

    Feel like a traitor for missing out on your content lately, you still do an amazing job but I have a long way to become an engineer(like 2 years)

  • @ToniPlays_
    @ToniPlays_ 3 роки тому

    It's nice to understand how these things work. Sounds complicated but really isn't. Also preparing my moped project for 1.6kw charger integration. So exciting stuff. Great Scott!!

  • @midnightgadget3459
    @midnightgadget3459 3 роки тому +4

    At least half of that went over my head. That being said, i was really interested to see whats inside, and how all my 12V DC adaptor power supplies that i use for various projects actually work. Out of curiosity, i would love to see in your opinion what a basic VS a well engineered design would look like for one of these circuits. Would be a nice reference if i ever get curious enough to open some and see if they are high quality units or cheap and nasty. Thanks for the video :P

  • @mr.skeleti4038
    @mr.skeleti4038 3 роки тому +1

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

  • @akhurash
    @akhurash 3 роки тому +1

    Great video. A future project with a PCB design and enclosure would be helpful too. :)

    • @greatscottlab
      @greatscottlab  3 роки тому

      Maybe one day ;-)

    • @4_doors_more_whores
      @4_doors_more_whores 3 роки тому

      How the hell did you commented 3 days earlier? Video is just uploaded😐😐😐
      Now I'm confirmed time travel is possible

    • @RakshakBhatkar
      @RakshakBhatkar 3 роки тому

      @@4_doors_more_whores 😂😂

  • @__MINT_
    @__MINT_ 3 роки тому +1

    6:23 Well, actually the mosfet can get overvoltaged even if the leakage inductance is zero. Here's an example: we built a flyback SMPS, that converts 325V DC into 12V DC. The transformer's ratio is 20:1, and Vd-s(max) of our mosfet is 500V. Whet the mosfet opens, the energy from the core gets transfered to the secondary side, where we have 12V, so the voltage on the secondary winding is about 12.6V (due to fast diode's voltage drop). Knowing the transformer's ratio, which is 20:1, we can calculate, that the voltage on the primary winding is 12.6V * 20 = 252V. This voltage adds to 325V, that we already have on the mosfet's drain, so at the end we have 577V there! As you can see, the 500V was exeeded. Even the 600V mosfet wouldn't be enough, because of the leakage inductance, which also adds some voltage to our 577V. To solve the problem, we could use a transformer with lower ratio, for example 2:1. But here another problem begins: when the mosfet turns on, the voltage on the secondary diode will be 12V + 162.5V = 174,5V. Our diode have to maintain this quite a high voltage. That is why we have to be careful when it comes to choosing a transformer, a mosfet and a secondary diode for our flyback power supply. In a described example, optimal transformer's ratio would be 5:1

    • @analoghardwaretops3976
      @analoghardwaretops3976 3 роки тому

      Voltage wise factor of safety..2.5 x.. (+20%consider input o.v. condition) so( 325+65 )× 2.5...but now new device rDS " on" will be higher...

    • @IrishSkruffles
      @IrishSkruffles 3 роки тому

      Very good points, thanks for sharing

  • @KillianTwew
    @KillianTwew 2 роки тому

    I keep zoning out on your perfect handwriting... You were saying something about fly...

  • @TopDedCenter
    @TopDedCenter 3 роки тому

    Looking forward to more videos about this. I've been trying to fix a switch mode power supply for a KORG keyboard and my knowledge in the feedback loop is very limited. This video has been a huge help and i think I'll take another look at repairing it after your next video.

  • @andreasschmitt2307
    @andreasschmitt2307 Рік тому

    Hehe, the little lightbulb at 1:02 just looks like a fuse ;-)

  • @walterwhite237
    @walterwhite237 3 роки тому

    Hi GreatScott i would like to see a a video made by you about PFC system on power supply how they work what happen if they fail. thanks for sharing the knowledge!!!

  • @jhunmichaelibanez2362
    @jhunmichaelibanez2362 3 роки тому

    Hi! Can you do in your next DIY or Buy a cellphone signal booster? I really want to know how wifi/internet and other communications work but don't understand any information I came into so far. I always watch GreatScott everytime I want to DIY something!

  • @krishnasgowda9214
    @krishnasgowda9214 3 роки тому +1

    Hi Sir, this video was really informative and helpful, can u make videos on how to select common mode choke, MOVs, slow blow fuses, fast blow fuses, filter capacitors for emi suprresion.
    Thank you for sharing your knowledge.

  • @MCsCreations
    @MCsCreations 3 роки тому +1

    Pretty interesting! Thanks a lot, dude! 😃
    Stay safe and creative there! 🖖😊

  • @Happiness50057
    @Happiness50057 3 роки тому +1

    pls make a separate video on feedback system :)

  • @cipcap1008
    @cipcap1008 3 роки тому +7

    conclusion: SUPER DODGY 💀

  • @goodun2974
    @goodun2974 2 роки тому

    Perhaps this video should be followed up with a video on how to design switching power supplies that don't put out huge amounts of radio frequency noise back into the power line or into the air, to screw up other devices in your home; or how to best filter an existing switching power supply to prevent such noise generation.

  • @lpt2606
    @lpt2606 3 роки тому +1

    Very informative 👏 thanks

  • @sahilsingh1
    @sahilsingh1 2 роки тому

    Amazing video. I always wondered how usbc PD is able to achieve different voltages, and this video is the answer - PWM with different duty cycles.

  • @philipatkinson1532
    @philipatkinson1532 3 роки тому

    Thank you. I have a big box of these I bought eBay as a mixed bag for £1 ages ago and having tested the coils resistances was puzzled. The box remains! I will try testing them with low voltage at 60kHz Might be more informative. Very good explanation. I vaguely knew how they worked. Now I know more :)

  • @gendragongfly
    @gendragongfly 3 роки тому

    Great video, there aren't many video's about propper modern powersupplies out there on UA-cam and reading about the subject tends to get complicated fast 😁

  • @uditfand817
    @uditfand817 3 роки тому

    very nicely explained

  • @pierreretief
    @pierreretief 3 роки тому

    Please build a switch mode power supply with all those features you spoke about, the inrush current protection and such. Would be awesome!

  • @johnemanuel5593
    @johnemanuel5593 3 роки тому

    Clearly understood.... It was too hard to understand about smps.... Thank you it was helpful... 😊😊😊

  • @thetrcg
    @thetrcg 3 роки тому

    Thanks for the great content! Always wanted to know how power supplies worked and now I know, I think

  • @johnathanasiou9284
    @johnathanasiou9284 3 роки тому

    Looking forward to follow-up videos on TL431 & the switcher IC also.
    A trick I had picked up from Haseeb Electronics to troubleshoot faulty optocouplers in SMPS is to use a diode on the output of the opto, which helps isolate any feedback circuit issues

    • @IrishSkruffles
      @IrishSkruffles 3 роки тому

      Hi, could you explain a bit more about adding a diode to the opto output? How does that help to diagnose an issue?
      I work with SMPS sometimes so it'd be great to learn a new way to find problems :)

  • @criticalthinking2603
    @criticalthinking2603 3 роки тому

    Thank you. More videos like this are welcome.

  • @mohali7027
    @mohali7027 3 роки тому

    Thanks for all your videos could you make video about welding inverter system and explain how does it work

  • @AnilChoudhary244
    @AnilChoudhary244 3 роки тому

    From all of your video, this is the first video which i felt has less content and knowledge. I think it can get more informative... Apart from this, i love your video, always get something to learn.... Thank you sir.... ☺

  • @ThriftyToolShed
    @ThriftyToolShed 3 роки тому

    Great video! Thanks for all the work you put into this.

  • @darrylkinslow5613
    @darrylkinslow5613 2 роки тому

    AC is great for power transmission, but at the wall we should have a universal DC outlet that can switch from 1.5v up to 24v. It makes sense for electronics that use a lot of power to be AC,but something like a game console should be DC and should be completely portable. All of our Ac devices, actually run on DC, and not AC. They rectify AC to DC, then use a transformer to step it up to high frequency, then output through a couple of mosfets to the DC side of the board, that is what you'll find in pretty much all AC electronics. They typically run on about 12v DC on the DC side of the board. I have gotten into the habit recently of tracing the path and removing the AC side of my smaller electronics so I can run them on a DC power supply and have them portable.

  • @xverteX1
    @xverteX1 3 роки тому +1

    Nice video, pls make DIY vs BUY water levitation fountain (anti-gravity water drops) I think that will be great project, thanks.

  • @sujanthemagarrhein3061
    @sujanthemagarrhein3061 2 роки тому

    Everytime he says "right" , it hurts the kidney of my head. 😂

  • @CircuitShorts
    @CircuitShorts 3 роки тому +1

    Amazing explanation! Wanna know more about the regulator IC

    • @greatscottlab
      @greatscottlab  3 роки тому +1

      I hope I will get to the video soon ;-)

  • @keyem4504
    @keyem4504 3 роки тому

    That's a type of video I like a lot. Lots of stuff to learn. Thank you.

  • @berberger4814
    @berberger4814 3 роки тому

    smps design is really a interesting topic

  • @johnfaustus1
    @johnfaustus1 2 роки тому +1

    Must be nice having a $16,000 mixed signal scope.

  • @SudhirKumar-bq4xz
    @SudhirKumar-bq4xz 3 роки тому

    Man you are my virtual teacher.... ❤️

  • @brucewilliams6292
    @brucewilliams6292 3 роки тому

    Great video. I love learning about electronics and your explanations are very good.

  • @linuswulff03
    @linuswulff03 3 роки тому

    Thank you! I've been wanting to learn more about flyback converters recently!

    • @greatscottlab
      @greatscottlab  3 роки тому +1

      Glad I could help!

    • @LabArlyn
      @LabArlyn 3 роки тому

      I was also looking for an SMPS tutorial, glad I could find this video.

  • @fixnreview
    @fixnreview 3 роки тому

    Im watching Scott from Philippines

  • @windward2818
    @windward2818 8 місяців тому

    I think it is better to call the flyback discontinuous magnetic energy coupling device a coupled inductor and not a transformer. Traditionally, the name transformer implies continuous coupling between primary and secondary. A better mental picture of this type of device is actually a car ignition coil (like a 3 terminal coil on plug ignition coil). The ignition coil is really a coupled inductor with a common terminal (like an autotransformer, no pun intended). So, the coil primary is first magnetically charged, then switched off where the energy flies back (couples) onto the secondary creating the ignition spark in the cylinder starting combustion. So, the energy coupling between primary and secondary is not continuous.

  • @semphony100
    @semphony100 3 роки тому

    Thanks a lot scot that subject is much clear to me now