3 Simple MOSFET Drive Circuits

Поділитися
Вставка
  • Опубліковано 27 гру 2023
  • MCU’s like your Arduino use logic level signals of 3.3 or 5 Volt at about 20 mA.
    To effectively drive Power MOSFET’s you need about 12 Volt and enough current to drive them fast.
    In this video I will show 3 circuits built with general purpose transistors to drive power MOSFETs from your Arduino,
    I will explain how they work, the pro’s cons, simulate all circuits and also build and test one.
    Arduino code for 10kHz 1% PWM: drive.google.com/file/d/1y9Ae...
    Special thanks to Jeelh for his blender Hyperdrive (…Cascode Drive…) animation  : / @jeelh
  • Наука та технологія

КОМЕНТАРІ • 287

  • @TheElectronicDilettante
    @TheElectronicDilettante 5 місяців тому +37

    This is hands down the best circuit design and simulation video I’ve seen. Your ability to take us step by step through each circuit then compare the theory to practical application is amazing. I hope you continue to make videos like this. I’m still an old guy beginner in the EE and RF fields. I learned more in your 13 min video than from hours of videos trying to explain the same circuits. Thanks!!!

  • @davidsussens4478
    @davidsussens4478 5 місяців тому +20

    This was absolutely brilliant! I really enjoyed your explaination on the push pull circuit, as well as the demonstration on the effects of the 220 pf capacitor on the BC557 base. Liked and Subscribed!

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +2

      Thanks David!!!

    • @RexxSchneider
      @RexxSchneider 5 місяців тому +2

      @@smartpowerelectronics8779 It would have been interesting to see the effects of a corresponding 220pF capacitor in the first circuit. I wouldn't expect a great improvement because the mosfet input capacitance is still charging through a 1K resistor, giving a typical time constant around 2μs with an IRFZ44, but it is not an expensive addition and you would then be comparing the three circuits on a rather more equal footing.

    • @kamals4905
      @kamals4905 5 місяців тому

      ​@@smartpowerelectronics8779can you please explain, constant current with driving logic with transistor & MOSFET?

  • @kensmith5694
    @kensmith5694 5 місяців тому +21

    On the second two circuits there are some improvements you can make.
    If you split the 2K resistor to make it two 1K in series and run a capacitor to the output of your gate driver stage, you can get the switching times to be a bit faster. Adding an inductor in series with the 2K will also work but inductors cost more. The reason this works is because it causes the current in the lower 1K to not start changing until after most of the switching action is over.
    On your 3rd circuit a small schottky in place of the 1N4148 does two things for you. The 1N4148 has a recovery time so when the MOSFET is to be switched on, there is a brief delay before the upper NPN starts to do its thing. Also with the lower drop of a small schottky, the gate of the MOSFET is closer to ground.

    • @bartios
      @bartios 5 місяців тому +1

      Isn't the delay from the 1N4148 kind of the reason it's there? I'm not an expert but I think he says something like that at 9:55

    • @kensmith5694
      @kensmith5694 5 місяців тому +2

      @@bartios The reason for the 1N4148 is so that when the lower transistor is off, the upper one gets turned on. The delay in which is on really is a matter of his wording to explain the action. He is taking the voltage on the collector of the lower transistor as rising at some speed.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +1

      Thank you for your tip!

    • @wojciechbajon
      @wojciechbajon 5 місяців тому

      @@smartpowerelectronics8779 So, we are waiting for update video with tests ;)
      BTW: Can you explain why you use BC transistor instead 2N?

    • @tvdylan
      @tvdylan Місяць тому

      sounds like you know what your talking about ! the science of fast switching is quite meticulous here ! can you recommend a good fast gate driver that i can just buy already made ? : )

  • @yxyk-fr
    @yxyk-fr 5 місяців тому +11

    I find this video surprisingly good, compared to all you see online ! To the point, accurate, useful... And I even learned something !

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +2

      Thank you yxyk-fr! Happy to hear you liked it!

    • @yxyk-fr
      @yxyk-fr 5 місяців тому

      @@smartpowerelectronics8779 Well, now, you know what you have to do: more of these!

    • @Spark-Hole
      @Spark-Hole 4 місяці тому

      "compare to all you" ... Dude this is the best in the world.

  • @tvdylan
    @tvdylan 20 днів тому

    ive just bought all the components needed to make your cascode circuit !! i couldnt resist !! to infinity and beyond ! : )

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  20 днів тому

      Yeah, that circuit is fun, even though you do not save many parts compared to the 3-transistor circuit.

    • @tvdylan
      @tvdylan 20 днів тому

      @@smartpowerelectronics8779 yeah, its a nice little challenge for me ! and i chose the cascode circuit because you said its faster than light ! : P hehe. and sharp on/ off times is what im looking for !! the parts will arrive soon. and i have also bought the gate driver chip you suggested as well. i also had a new nano board arrive today ! so i can trigger the gate driver chip soon and also use my hall sensors now ! and this way i wont be over voltage'ing the gate ! good luck to me ! ha thanks !

  • @davidgapp1457
    @davidgapp1457 Місяць тому

    Excellent. Much appreciate the time and effort that went into making this video (and others). Concise, clear and absolutely fascinating - I have a degree in Electrical and Electronic Engineering from UCL in England, but still find this channel to be educational and insightful.

  • @janrodo4978
    @janrodo4978 2 місяці тому

    This is what I was looking for for a long time. Thank you so much!

  • @pepe6666
    @pepe6666 4 місяці тому +1

    thanks this is a great breakown. super useful. gone into my references and i have subscribed :)
    the capacitor on the gate input was a new one for me.

  • @DaveEtchells
    @DaveEtchells 5 місяців тому +4

    Very interesting & useful! I didn’t know about the base drive bypass cap pulling charges out of the b-e junction for faster turnoff before, thanks!

    • @oakspines7171
      @oakspines7171 5 місяців тому +2

      Or use a diode, schottky prefered, in reverse and parallel to the resistor in place of the cap. This video is cool, throughout, and clear. Thanks.

  • @wernerviehhauser94
    @wernerviehhauser94 5 місяців тому +5

    I'm usually a fan of MOSFET driver ICs out of laziness, but this was really interesting

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  21 день тому

      Thank you, Werner! Yes, as a hobbyist an IC is easier and less prone to mistakes. These circuits are actually used in mass production in very high volumes because IC's are -believe it or not-more expensive than this bunch of smd parts...

  • @user-ol3uf2jk4s
    @user-ol3uf2jk4s 4 місяці тому

    Very clear and understandable. Thank you.

  • @JeromeDemers
    @JeromeDemers 5 місяців тому +1

    Amazing video for only 13min!
    Simulation and real world example!
    I would love to see #4 using dedicated gate driver.

  • @hamidsk2573
    @hamidsk2573 4 місяці тому

    thanks for these valuable practical electronic lessons, it was beneficial, please make more of such videos in which every circuit is validated with real test

  • @Madmax23419
    @Madmax23419 5 місяців тому

    Great video! Thumbs up!👍

  • @user-zr7eq9to8j
    @user-zr7eq9to8j 5 місяців тому

    Mosfet sürmek için harika bilgiler.

  • @tabeschektabeschek1852
    @tabeschektabeschek1852 5 місяців тому

    Great Video, Thank You!

  • @L2.Lagrange
    @L2.Lagrange Місяць тому

    Great topic for a video! I'll definitely mess around with a few of these drivers. I use PWM and PWM drivers in a lot of my projects

  • @kostiaspongo
    @kostiaspongo 4 місяці тому

    Perfect explanation!!!! Thanks.

  • @jozefnovak7750
    @jozefnovak7750 3 місяці тому

    Super! Thank you very much!

  • @ChrisHalden007
    @ChrisHalden007 5 місяців тому

    Great video. Thanks

  • @Thesturmgever
    @Thesturmgever 5 місяців тому

    Конечно лайк. Очень подробно и наглядно объяснили! 👍

  • @schetenwapper6591
    @schetenwapper6591 3 місяці тому

    Goede informatie!

  • @KrisKasprzak
    @KrisKasprzak 5 місяців тому

    Great vid!

  • @Edmorbus
    @Edmorbus 5 місяців тому

    Thanks for sharing and Happy New Year

  • @PhG1961
    @PhG1961 5 місяців тому

    Waw, merkwaardige resultaten! Schitterende video!

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +2

      Dankjewel!
      I also did not expect that the bas-cap would have so much impact, maybe it is because I use BC547's which are not really suitable for switching applications (but every hobbyist has some lying around...)
      Gelukkig Nieuwjaar!

  • @mitsos306ify
    @mitsos306ify 5 місяців тому

    Oh, sweet university memories...😂
    Thank you for this great video!

  • @TonySwitzerland
    @TonySwitzerland 5 місяців тому

    BRILLIANT ! Thank you.

  • @gerardzi7930
    @gerardzi7930 5 місяців тому +1

    Very useful !

  • @CoolDudeClem
    @CoolDudeClem 5 місяців тому

    Do you have anything on driving a high side mosfet without resorting to having to use a p channel mosfet? I came up with one circuit, but it involves an extra 12 volts added on to the supply voltage, and having the transistors running at those high voltages.

    • @kensmith5694
      @kensmith5694 5 місяців тому

      If you want to drive the N channel, you are going to need those higher voltages. They do make chips that contain charge pumps for doing just that but if you want to go with common parts, there are tricks.
      If the switch is being driven with a duty cycle, you have a squarewave somewhere to drive a charge pump.

  • @GWAIHIRKV
    @GWAIHIRKV 4 місяці тому

    That takes me back. Used Simetrix for many years. I think it was the very best simulator. Also used the cascode driver for switching PSU designs back in the mid 80’s and was still using it for motor PWM driving in the 2000’s. The only downside is the addition voltage drop of the diode. Maybe not a problem for home electronics but it was a problem in automotive design when high current draw could cause local ground shifts.

  • @HansBaier
    @HansBaier 5 місяців тому

    Great! The simple circuit with the speedup cap would be interesting!

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +1

      Thanks HansBaier! The speedup cap will help, but not too much because the the switch on of the MOSFET is sooo long ~2600ns, a few 100 ns does not help too much. :-)

  • @yurcchello
    @yurcchello 5 місяців тому +3

    after experimenting with first example i found params for better delay: resistor 2.2k -> 100, parallel (to 4.7 resistor) cap 1n. on delay - 200ns, off delay - 310ns. also tried with diode after 2.2k resistor, delays almost the same

  • @Suavache
    @Suavache 5 місяців тому

    Bài giảng rất tuyệt vời xin cảm ơn đã chia sẻ với khán giả

  • @jafinch78
    @jafinch78 4 місяці тому

    Great video! Thanks for all the detail. I was looking again at electronics design to repair some modules I invested in to charge my Prius HV batteries if needed from sitting to long. Possibly use as a battery tender as well. Anyways, this got me thinking some more about control of the H bridge of the other gen 2 and gen 3 inverter converter assemblies I got from the salvage yards since I couldn't believe they were so cheap, like $20 for some of them at one time when the 50% off sale and even then about $75US then at most before half priced. The gen 2 inverter converter assembly is more modularized and seems based on the specs can more easily make a universal pure since wave inverter for whatever rectified generator inputs within spec input range. Plus have the three phase option. Seems can also be controlled to make a multifunction welder and maybe also a plasma cutter. I was thinking for the offset balance control called for Aluminum TIG welding. So not there yet and carefully paranoid to be safe before I do any hands on being the capacitors alone really small in size can pack a punch and be lethal potentially. Looking forward to using the Elements design and simulation app. Thanks for all again!

  • @gcmlrd12
    @gcmlrd12 5 місяців тому

    Thank you.

  • @Techn0man1ac
    @Techn0man1ac 5 місяців тому

    Thanks

  • @TerryClarkAccordioncrazy
    @TerryClarkAccordioncrazy 5 місяців тому +2

    Good analysis of an area of circuit design which is surprisingly difficult to optimize. The Miller capacitance also works against you and becomes a big issue with high voltage switching.

    • @kensmith5694
      @kensmith5694 5 місяців тому

      Yes, at higher voltages that is an additional reason to not even bother with the simple resistor pull up drive.
      Also: "super junction" MOSFETs are much better for high voltage. Even with 1000V on the drain, the gate acts as though the drain only went up to about 200V.
      For those who don't know: Internally a super junction MOSFET is a lot like a normal one but some P doped silicon extends further down into the bulk of the device. This P doped silicon looks like the gate of a great big JFET wired in cascode with the MOSFET. This spreads out the voltage gradient in the silicon making 1600V parts possible and also means that the full drain voltage happens at a place further from the gate.

  • @tomapc
    @tomapc 5 місяців тому

    Nicely explained.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому

      Thank you!

    • @tomapc
      @tomapc 5 місяців тому

      @@smartpowerelectronics8779 You are welcomed, always.
      I am not very good at explaining ...

  • @RicardodeSena
    @RicardodeSena 5 місяців тому

    Great!!! Thanks.

  • @JessieKropp
    @JessieKropp 5 місяців тому +2

    Thank you for the clear and concise explanations. Great examples! Any recommendations for a non-inverting mosfet drive circuit?

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +5

      Thank you JessieKropp!...well only one more Transistor at the input, but that causes extra delay. To prevent starup flash I choose a GPIO which has no other function and set it to high first thing in your setup(), works OK for ESP8266 and AVR arduino boards.

    • @Scrogan
      @Scrogan 5 місяців тому +3

      I’d add a weak pull-up on that GPIO pin too.

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 4 місяці тому

    Thank You

  • @jensschroder8214
    @jensschroder8214 5 місяців тому +1

    Excellent! I often have a 3.3V logic level and have difficulty driving a MOSFET with it.
    For the third circuit I would connect a 12V Zener diode to the collector of the BC547 and cathode of the 1N4148 to GND. This would limit the voltage to around 12V.
    The base of the upper transistor does not go above 12V and therefore neither does the emitter.
    The upper transistor would also not become saturated and would therefore switch off more quickly.
    But it is difficult to predict the current through the Zener diode.

    • @kensmith5694
      @kensmith5694 5 місяців тому

      I like your solution. The zener current is best predicted with a "if the current doesn't go elsewhere" sort of thinking. The current in the pull up resistor always has to go somewhere.
      Also: If you use two resistors in series as the pull up and run a small capacitor from the mid point over to the emitter of the upper transistor, you can use a much higher value resistor for the upper one. You only need much base drive to the upper transistor when you are in the process of turning on the MOSFET. The small capacitor stops the base drive from decreasing right at the time you dealing with the miller effect.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +1

      Good tip, I expect that will work!

  • @manulectric
    @manulectric 5 місяців тому +2

    Fantastic video and discussion. Would be great to compare the discrete bipolar circuits to a dedicated MOSFET driver IC.

    • @soupflood
      @soupflood 5 місяців тому

      Or compared to a 555 in buffer mode

  • @Oleksandr2005
    @Oleksandr2005 5 місяців тому

    Very nice! Can you also make simillar video instruction for H-bridge drive?

  • @sirousmohseni4
    @sirousmohseni4 5 місяців тому

    Very good video for me.

    • @sirousmohseni4
      @sirousmohseni4 5 місяців тому

      What is the software that you use to analyze your circuits?

  • @Graham_Langley
    @Graham_Langley 5 місяців тому

    Came up with that cascode cct for a commercial product back in 1981 and was rather pleased with it. Then a bit later I found it in a Philips publication that may have just predated it.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +1

      Really!? Cool I used "real" cascode in CFL's at the company you just mentioned: a low voltage MOSFET switching off the emitter of a power bipolar which has its base connected to 12V with a resistor.

  • @germanGGGG72
    @germanGGGG72 5 місяців тому

    Thanks so much, …do you have any video with P-MOS output system?

  • @sampamnl.8964
    @sampamnl.8964 4 місяці тому

    ขอบคุณมากครับ

  • @TT-it9gg
    @TT-it9gg 5 місяців тому

    Thanks for the video.
    Instead of using mosfet driver, how about the 74F or HC series IC? Thanks!

  • @zoonvanhetuni7993
    @zoonvanhetuni7993 5 місяців тому

    BRAVO !

  • @tsmwebb
    @tsmwebb 5 місяців тому

    Nice! The speedup cap is interesting. I wonder what the current and power on the io pin looks like.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +2

      Thank you! The IO should be ok, the 220pF causes a minor extra loss of 0.5*C*V^2*freq ~ about 30µW? There is another solution called "baker Clamp" with a Schottky Diode over b-c but I did not try that.

    • @kensmith5694
      @kensmith5694 5 місяців тому +1

      @@smartpowerelectronics8779 I have done Baker Clamp circuits. They do get rid of the storage delay but they don't help on the miller. Also just a schottky means that you now have the added capacitance of the schottky in the miller effect. Baker clamps end up complicated in real life.
      Also if you have a TN0629-N3 in place of the lower NPN, you can save some parts.

  • @LaboussoleNano
    @LaboussoleNano 4 місяці тому

    Hello, thanks for your video
    can you explain the choice of the BJTs for this push pull, I am trying with BJTs that have Ic=10A and I can't get a good signal at the output.
    2SCR582D3 for the NPN and 2SAR582D3 for the pnp.
    Thanks

  • @Scrogan
    @Scrogan 5 місяців тому +1

    Folllow #3 with a totem-pole for even more current, up into the 10A range even. That’s better than most monolithic gate drivers, though there’s nothing stopping you from just putting a totem-pole (or ZXGD300_) after a monolithic gate driver.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +3

      Thx ScroganY. You are absolutely right, the totem pole will not add much delay and can further boost the gate current. By the way BC547/557's are not the best switching bjts, I was surprised how well they stood up to the task ;-)

  • @JB-fh1bb
    @JB-fh1bb 5 місяців тому

    Can you go in to the 25kHz - 300kHz range? With the ESP32’s LED PWM circuit it’s finally possible to have truly flicker-free dimming even at low brightnesses but it’s difficult to match the other components in order to make it happen.

  • @Enigma758
    @Enigma758 5 місяців тому

    Nice circuits! My only concern is that these are all negative true, so when power is first applied and the Arduino hasn't yet fully booted, there may be a momentary period where the output is on. Any thoughts on how to prevent that?

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +2

      You are right, so you need to check the starting conditions. You can also add a pull up resistor to the base of the transistor connected to the arduino to make sure it is high at startup.

  • @zhangzq71
    @zhangzq71 5 місяців тому +1

    Thank you for your explaination. What is simulation software are you using?

  • @shovnikpaul3297
    @shovnikpaul3297 15 днів тому

    hi, great tutorial. I apologize if this is very basic knowledge I'm missing, but why can't we directly connect the MCU's GPIO pin to the gate of the MOSFET? MOSFETs have insulated gates so they won't draw any (or perhaps very little) current, right? much less than the base of a bipolar transistor for sure; so why go through the trouble of connecting a separate NPN for example in the first circuit? Thanks.

  • @Spark-Hole
    @Spark-Hole 3 місяці тому

    Hi prof, May I ask what is better between using 220p and using 1K connect base to emetter

  • @MasterIvo
    @MasterIvo 5 місяців тому +1

    #4 gate driver IC with logic input

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +1

      Haha, no no, that is too easy...but for sure they will outperform these circuits 🙂

  • @user-jr5uk8tt5b
    @user-jr5uk8tt5b 5 місяців тому

    Thanks, a great lesson! What program do you use to model circuits?

    • @GluonToo
      @GluonToo 5 місяців тому

      It is probably the MPLAB Mindi Analog Simulator program from Microchip. A free version of this program exists, but it has limited capabilities.

    • @user-jr5uk8tt5b
      @user-jr5uk8tt5b 5 місяців тому

      @@GluonToo Thank You

  • @craigs5212
    @craigs5212 5 місяців тому

    Thanks for the video. What simulator are you using?

  • @michaelhawthorne8696
    @michaelhawthorne8696 5 місяців тому +1

    Nice video and thanks for uploading.
    Just one question though. You say these circuits invert the logic signal.... but...
    If the input voltage is high with respects 0V then the MOSFET is off and the output voltage is high with respects to 0V too.
    Doesn't that mean the circuit Does not invert the signal? (In terms of Voltage)

    • @RexxSchneider
      @RexxSchneider 5 місяців тому +1

      The signal driving the mosfet gate is inverted with respect to the MCU signal driving the first transistor. Of course, the mosfet will also invert the signal applied to its gate, which means its drain will go high when the input from the MCU goes high. The two stages together indeed do not invert the signal.
      It's hopefully obvious, though, that the drain is high when the mosfet is off, and therefore no current passes through the load.

  • @jesseontiveros5377
    @jesseontiveros5377 5 місяців тому

    💯

  • @tvdylan
    @tvdylan 18 днів тому

    so ive got my hall sensor triggering my arduino and then arduino into a gate driver chip and then gate driver chip into a mosfet.
    but the coils are being turned on for wayy to long and its over heating the coils very quickly and not even getitng up to speed, very un smooth, i have a 100 ohms resistor between gate and driver output and10k across gate/source. and a 4k7 ohm reisstor between arduino out and gate driver logic input. can you suggest what im doing wrong here ??

  • @sachinkapatkar
    @sachinkapatkar 5 місяців тому +1

    Please share the simulator used by you. Really nice explanation with simulation.

  • @poptartmcjelly7054
    @poptartmcjelly7054 5 місяців тому +1

    That cascode drive is smart but has big issues, especially when done in a pullup like this.
    1. The output is high when no input is present, so your gate will be high until your MCU boots up. This can be fixed by connecting a pullup resistor to your gate driver input. Also that means it's inverted.
    2. BJT's saturate and make high speed drive for dc-dc converters a pain. (high dead time, delay and all that)
    3. The drive is non symmetrical, so you can have good turn off and bad turn on and vice versa.
    I've played with these gate drives a lot and push-pull is my go-to for now if i want predictable timings ;)

    • @kensmith5694
      @kensmith5694 5 місяців тому

      On #2 part of the fun of electronics is working out how to make that not matter in the design.

  • @shrawankhatri6083
    @shrawankhatri6083 5 місяців тому

    How much voltage the mosfet will be able to deliver at 1% duty cycle at 10khz can ve able to detect that voltage or not.

  • @richardneal3841
    @richardneal3841 4 місяці тому

    I like your presentation but may I suggest a 12v sorce as most, if not all, projects with the Ardunio and Rasberry PI are 9 to12 voll supplies and I want to learn how to control mosfets with those controllers. Thanks and I hope to see some examples... Rick

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  4 місяці тому

      Thank you richaredneal384! The circuit works with 12V, I used 24V because it is commonly used for LED flextapes and to show it is suitable for higher voltages 🙂

  • @gkasprow
    @gkasprow 4 місяці тому

    This circuit was used in old russian TVs to steer vertical deflection coils :)

  • @alocin110
    @alocin110 4 місяці тому

    Thank you for this very informative and practical circuit with critical analysis. I would like to know if inductive load can be triggered with high side switching. Here the MOSFET is used as Low Side Switching. Any idea? or can you kindly do a high side switching, meaning the source of MOSFET is connected to an inductive load and +24 feeds directly to the Drain of MOSFET. Thank you sho much for sharing your knowledge. I am a second year studen in Electric and Electronics Engineering.I am working on a higher frequency design, say from 45KHz to 2MHz. If there is a gate driver IC, please give some ideas of practical circuit. I searched couldn't find one except your video is very helpful and gives engineering details. Thank you so much.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  4 місяці тому

      .I am working on a video for high side drive of N-MOS which would work for you, but it may take a few weeks before I publish. This pdf from TI may be helpful for you. /slua887a.pdf?ts=1705275507968&ref_url=https%253A%252F%252Fwww.bing.com%252F

  • @VitalySarychev
    @VitalySarychev 5 місяців тому

    А разве в схеме с двумя bc547, верхний транзистор не сгорит? Если у него большой h21e, то ему кабзда.

  • @paulmeynell8866
    @paulmeynell8866 5 місяців тому +1

    Just use a IRLZ44 it’s the upto 5v gate version.
    I run it straight off of the arduino pin and common ground. It only uses voltage to se itch on or of so no issues with current.

    • @TheLordNemesis
      @TheLordNemesis 5 місяців тому +1

      There is always a little current required to overcome the gate capacitance, but charging and discharging a few picofarads directly from the Arduino is usually fine, I've done it to around 30kHz without issues.

    • @paulmeynell8866
      @paulmeynell8866 5 місяців тому

      @@TheLordNemesis the video is very interesting,and your use of the simulator is excellent thank you

  • @ruslankadylak2999
    @ruslankadylak2999 5 місяців тому

    Thank you for the great video.
    I have a question. Can these circuits be used to enfage/disengage an engine battery? And what MOSFET would be up for the job?
    Mind that when engaged, current should be able to flow in both directions: from the battery (engine is starting), to the battery (engine is charging the battery).

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому +1

      For car 12V car battery applications I suggest a relay. The MOSFET can not handle a short circuit. If the current is limited you can use a MOSFET and circuit #1 is a good choice.
      If you use a relay --do not forget the flyback diode 🙂 electronics.stackexchange.com/questions/110574/how-to-choose-a-flyback-diode-for-a-relay

    • @ruslankadylak2999
      @ruslankadylak2999 5 місяців тому

      @@smartpowerelectronics8779 Thank you very much for responding.

  • @ngakeo_anan
    @ngakeo_anan 2 місяці тому

    Hello Mr T's. What is the simulator did you use to simulate in your video?

  • @richardneal3841
    @richardneal3841 4 місяці тому

    PS some examples of resistor calculations would be great.

  • @mikejones-vd3fg
    @mikejones-vd3fg 5 місяців тому

    Ahh so thats why you need to drive them, I only used a mosfet in a battery capacity tester that switched on and off once every few hours, I had no idea you'd need more voltage / current to switch them fast. I was going to say why cant you just drive them directly from the arduino, now i know, would have been interesting to see the performance anyhow. I coincidentaly salvaged some "logic level gate drive" mosfets today (D30NF06L) and was trying to make sense of of the difference before seeing this video.

    • @PainterVierax
      @PainterVierax 5 місяців тому

      Well it's a good practice to not use the signal directly from the microcontroller. The output mosfets of those little guys are not meant to drive more than a few milliamps (this is even worse with the most recent ones) and it's better to fry a cheap and easy to replace discrete component than having to deal with a fried pin (or a fried microcontroller).
      This also ensure your transistor is completely saturated and way outside of the linear range. And putting some darlington circuit with a small signal transistor driving a larger one allows better efficiency.
      Finally, BJTs are a good security measure even when driving low current since they gracefully go in safe failure instead of short circuit.

  • @MartinRoth-sta
    @MartinRoth-sta 4 місяці тому

    Great video! But unfortunately, i was not able to find out where i can find this Elements circuit simulator. It seems, that all components are already included in the library. Does anybody know where to get. Thanks!

  • @billglass5160
    @billglass5160 5 місяців тому

    Very interesting explanation. Can you please tell me what your simulator is and where I can obtain one. Thank You!

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому

      simetrix, free version, max 140 nodes.
      www.simetrix.co.uk/
      There are also real free simulators like LTSpice, but I happen to be a little familiar with this one.

    • @billglass5160
      @billglass5160 5 місяців тому

      @@smartpowerelectronics8779 Thank You!

    • @billglass5160
      @billglass5160 5 місяців тому

      I tried it. A great tool. Thanks again!

  • @nelsonrod2
    @nelsonrod2 5 місяців тому +1

    Excuse me sir, what software are you using to simulate the designs?

  • @eglintonflats
    @eglintonflats 5 місяців тому

    Have you ever tried LTspice to simulate circuits?

  • @berntolovhellstrom8891
    @berntolovhellstrom8891 4 місяці тому

    One thing that can be done is to NOT shut-off the bipoar transistors totally. Keep them biased just a little and the charge time on the base will decrease. If you do so, the circuits can run easily 10x faster. I have made circuts with BC107 with respond time in nano second region by just letting them be biased instead of having the gate totally discharged.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  4 місяці тому +2

      Yes you are right, bipolar transistors can run really fast if they are not saturated, I mean, you can make FM transmitters at 100MHz with them! For power supplies, you do want to drive them in saturation to get as much current out of them as possible, this will slow down switch-off but it is still fast enough for the "low" switching frequencies of power supplies of 50-100kHz. So it is a trade off.
      By the way I have good memories of BC107's in metal can, I used 2 to solder my first blinky-light as a kid, no idea how it worked, just followed the magazines' instructions but that was what sparked my interest in electronics 🙂

    • @berntolovhellstrom8891
      @berntolovhellstrom8891 4 місяці тому

      ​@@smartpowerelectronics8779 Thanks for your excellent videos. It wasn't intended as criticism on your video, it was purely intended for the viewers do go further in their own investigations.

  • @ghlscitel6714
    @ghlscitel6714 5 місяців тому +1

    One comment on the schematics for rather figurative reasons hinting at an engineering necessity: the emitter of the lower BC547 should be drawn with a line directly to the source of the iRFZ44. The idea behind it: The electric connection should also be as short as possible to minimize ground spike effects.
    Very nice solution though. Congrats!

  • @2Fast4Mellow
    @2Fast4Mellow 5 місяців тому +1

    Stupid question: What would occur if we introduce a parallel capacitor to the resistor on the PWM signal line? In the second diagram, you've shown that the capacitor diminishes the switching delay, so couldn't we enhance the first diagram by including a basic capacitor? This would also ensure that the signal logic is consistent across all three diagrams...

    • @kensmith5694
      @kensmith5694 5 місяців тому

      When you do this with a logic signal from a micro, the edges on the micro's pin get slower while the driven circuit gets faster.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому

      Your logic is right, The capacitor will speed up the 1st circuit too, but the switch on is sooooo slow that it would not make a big difference.

  • @mumbaiverve2307
    @mumbaiverve2307 4 місяці тому

    In the first circuit, the capacitor across the gate drive resistor would not make any difference ?

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  4 місяці тому

      yes, but only a very, because most of the delay is caused by the resistor charging the gate slowly. The 2 delays add up.

  • @torsion89
    @torsion89 5 місяців тому

    Hi, good video, what is the circuit simulator ?

  • @etmax1
    @etmax1 Місяць тому

    1. Running from 24V as shown blows up the MOSFET because its maximum Vgs is only 20V
    The same issue is with the presentation frame circuit which is essentially No. 3 but with 24V on the gate drive as well.
    Let me stress, MOSFET's do not like excess gate voltage, and note that some MOSFET's have a Vgs Max of only 8V.
    Note also that the fast drive supply should be bypassed at close to the top BC547 and the source of the IRFZ44 because the switching speed is around 150ns.
    For the same reason the lower BC547 emitter should be connected to the IRFZ44 source with short connections.
    Note also that they make special high current gate driver IC's that can supply as much as 6A and switch in as little as 10ns.

  • @upper_deck
    @upper_deck 5 місяців тому

    👍

  • @donramonramirez5141
    @donramonramirez5141 5 місяців тому

    Todo muy bien, cuando se trata de un MOSFET de canal N ...
    Quiero verte trabajando con MOSFET de canal P y tensiones de 24 Vcc ... 😎👍🇦🇷

  • @edwardgilmour9013
    @edwardgilmour9013 4 місяці тому

    Please list what CAD software you're using?

  • @user-lb8bg6kj9m
    @user-lb8bg6kj9m 5 місяців тому

    Long live the Fast Push-Pull Drive !

  • @tvdylan
    @tvdylan 21 день тому

    i have another question for you master of mosfets ! now i have my mosfet, 600V CoolMOSª P7 Power Transistor
    IPA60R08, im not using gate driver yet, but i have my pulse motor that the mosfet is triggering a coil on and off for.
    the voltage for the gate/source is coming from a trigger coil. the magnets spin passed it and create a voltage etc.
    And the coil is getting a bit hot, is there a solution to keep my coil COOLER? the coil is significantly hot.
    the mosfet is a bit warm, but only a little bit, with a small heat sink.
    but its normally cool when i run the pulse motor at 12 volts. i would like to figure out how to keep things cool at 24 volts.
    because i get a much better output @ 24 volts input.
    what i am doing is charging battery's on the output of my motor with the energy pulses that occur when the coil turns ON and off.
    the transient spikes.
    do you have any ideas about keeping my motor coil cool in this situation ?
    its always been a challenge for me.
    would my coils stay cooler with a higher power rating of mosfet? or is this not how things work ?
    and do you think the ON time of the mosfet is too long and is perhaps whats causing the excess heat ?
    the mosfet says 4volts is the max gate voltage, but my trigger coil generates a higher voltage than that, 7 - 17 volts
    is this naughty to give the mosfet gate a higher voltage than the datasheet says is its maximum?
    should i be limiting the voltage to the recommended maximum voltage for the gate ?
    i plan to replace the trigger coil, with a hall sensor and gate driver soon !
    thanks for your help so far ! : )

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  20 днів тому

      I am not sure why the motor coil gets hot, reducing the on time will for sure help. A MOSFET will die very quickly if the gate-source voltage exceeds its maximum, there is some margin but not much, if you exceed, it is gone instantly. Is the trigger coil a seperate coil? Or part of the motor? Sorry I am not a motor expert ;-)

    • @tvdylan
      @tvdylan 20 днів тому

      @@smartpowerelectronics8779 i see ! my data sheet says the maximum voltage is 4volts of Vgs. but i have more than 8 volts and its still working. its a little warm, but it is pushing 1.5 amps through the drain/source. so i thought maybe thats normal. and yes ! its a sperate trigger coil. so it produces more and more volts the faster the motor spins ! so it will be good to replace the trigger coil with a lovely hall sensor / arduino / gate driver situation !! : ) i tried connecting my two motor coils in series and that makes them cooler, which is most likely because i am halfing the current draw on each coil. but then this makes motor slower, so i put the two coils bakc in parrallel and this is faster for better output. but coils are a bit warm now. but soon i can test the shorter on/off times ! i can make a video when i have succeeded with my hall sensor ! thank you !

  • @patil9919
    @patil9919 5 місяців тому

    😊👌👍

  • @tvdylan
    @tvdylan 22 дні тому

    the cascode circuit: Is the 100nf cap connected to the arduino ground ? and im slightly confused about the 12v arrow, where do i get the 12 volts ? i understand if my source voltage is 24 volts for my main load then i have 24 volts for my mosfet drain/source but im not sure what the 12 volts is ?

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  21 день тому

      Hi TVDylan, Yes the 100nF is connected to the Arduino ground.
      The 12V you need to make from the 24V or any other high voltage you have in your circuit. For example, from 24V use a 2k2 resistor and a 12V zener diode, or a 7812/LM317 voltage regulator as you wish. Most MOSFETs do not allow more than 20V on the gate, so 24V is too much.

    • @tvdylan
      @tvdylan 21 день тому

      @@smartpowerelectronics8779 i see, thank you !! i can do that ! and..so if mysource is 24 volts, two batterries in series, can i connect inbetween the two batterries for the 12 volts ? : )

  • @bruceclothier8238
    @bruceclothier8238 5 місяців тому

    Should you not have a resistor between the base of the BC547 and ground. Does this not turn the transistor off much faster?

    • @kensmith5694
      @kensmith5694 5 місяців тому

      Adding that resistor can help a bit but the speed up capacitor does more.

    • @bruceclothier8238
      @bruceclothier8238 5 місяців тому

      @@kensmith5694 Yes, of course, but I learned that you always clamp the base to ground. Leaving the base connection floating isnt good practise.

    • @kensmith5694
      @kensmith5694 5 місяців тому

      @@bruceclothier8238 The chip's pin pulls all the way to ground when low. The base is not floating.

    • @bruceclothier8238
      @bruceclothier8238 5 місяців тому

      @@kensmith5694 OK

  • @knightsun2920
    @knightsun2920 5 місяців тому

    Question, dose the circuit need to have a 24V power source or can it be used with 12v and 5v?

    • @kensmith5694
      @kensmith5694 5 місяців тому +1

      If you need to work at 12V the circuit is very much the same.
      At 5V you will have to be careful about what MOSFET you use because you can only pull its gate up to 5V

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому

      The drive circuit needs 12V, the 24V is only for the load in the demonstration because I use it for 24V LED strip dimming.

    • @knightsun2920
      @knightsun2920 5 місяців тому

      @@kensmith5694thanks

  • @ChrisSmith-tc4df
    @ChrisSmith-tc4df 5 місяців тому

    I wonder how a 2N7002 N-channel MOSFET would fare in place of the inverting level shifter transistor in Circuit #2. Its base could be directly connected to the uC PIO pin. Might need a small series resistance in the drain to limit the peak pulse current.

    • @kensmith5694
      @kensmith5694 5 місяців тому

      There are better options than the 2N700x series. There are MOSFETs with quite a low VGS(th) smaller input capacitance and a lower on resistance but your thought is a sound one. A small MOSFET can save you parts in the circuit.

    • @ChrisSmith-tc4df
      @ChrisSmith-tc4df 5 місяців тому

      @@kensmith5694 The Toshiba T2N7002BX is a quite reasonably priced enhanced version, but I doubt that anyone has that lying around.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  5 місяців тому

      Thank you for your tip! Using a small signal MOSFET for the first transistor will speed up the circuit.
      I would recommend a pull down resistor on the gate to make sure it is off.

    • @ChrisSmith-tc4df
      @ChrisSmith-tc4df 5 місяців тому

      @@smartpowerelectronics8779 Coupling the small MOSFET with the active pull-up transistor in your 3rd circuit might further speed things up while reducing the continuous power draw from the passive pull-up. Then decide whether complimentary emitter following buffering is necessary to get the desired slew rate.

    • @ChrisSmith-tc4df
      @ChrisSmith-tc4df 5 місяців тому

      @@smartpowerelectronics8779​​⁠ Could also a small MOSFET for the active pull-up transistor as in your 3rd circuit. A further optimization is to use a gate pull-up resistor to 24V, but then clamp that gate to 12V with a diode. As the gate can then rise to one diode forward voltage above 12V, this hides a portion of that MOSFET’s higher VGS compared to the favorable VBE of an NPN BJT.
      This optimization could also improve a BJT as the base current wouldn’t diminish as much as it approaches 12V.

  • @mathewcherrystone9479
    @mathewcherrystone9479 5 місяців тому

    I wonder if you could get rid of the invertion issue, by changing the NPN transistor at the logic level input to a PNP transistor. Would that work or does this break something else?

    • @Spark-Hole
      @Spark-Hole 4 місяці тому

      There can be a mirror circuit using pnp of that, but the component count will be the same...

    • @mathewcherrystone9479
      @mathewcherrystone9479 4 місяці тому

      @@Spark-Hole For my application I was just worried, that if the uC loses power the circuit will fail in an open position, which is not what I want. It should fail closed.

  • @LaboussoleNano
    @LaboussoleNano 4 місяці тому

    Is it mandatory using bjt pushpull for high switching like 200kHz?

  • @klausbrinck2137
    @klausbrinck2137 4 місяці тому

    For me, the 2nd would be the most suitable, cause of the lowest on/off-delays. Other people, who don´t publicate their schematics, say, that their mosfets don´t survive for long (30-40kHz), so I thought, I´ll use an igbt instead of a mosfet. Is that a good idea, or would that mean, that your schematic isn´t suitable (in its basic principle, and not the exact values of resistors/caps/diodes themselves, I mean) ???????
    The purpose is to use the pwm-signal to turn on-and-off a circuit with 60v, letting sparks spring over a gap, for ED-machining, edm... I know almost nothing about electronics, but I still can easily follow you, and I know, that those other makers also use some simple mosfet-drivers for their circuitries, but no-schematics, and low-resolution-videos don´t help figure out their driver-circuits... Thanks á priori for any answer

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  4 місяці тому

      For 60V MOSFET's should be fine. IGBT's are used for high voltage.
      I do not know the circuit you use, is it a transformer or an only a choke? The choke can make high voltages and destroy your MOSFET.

  • @perceptron9834
    @perceptron9834 4 місяці тому

    is it possible to use this mosfet to drive a motor (because of inductance) ?

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  4 місяці тому

      yes you can , but put a diode in parallel with the motor to prevent the voltage spike from the inductance to damage the MOSFET (similar as I did for circuit #2 testing with the load)