0
\$\begingroup\$

I am using this MOSFET driver (FAN7392) for the dual H-bridge MOSFET circuit I am building for a BLDC motor. I need to use PWM in order to control the speed of my motor.

Here is a diagram of how the FAN7392 datasheet recommends you set up your circuit:

High Side N-Channel Mosfet Driver Circuit

I can either PWM HIN (which will PWM the gate of Q1), or I can PWM LIN (which will PWM the gate of Q2), but I'm not sure which one is the right choice.

My thought is that I should PWM Q1 because if I PWM Q2 then the CBoot capacitor will average out the PWM signal which leads to a lower voltage on the Q1 gate which will make it harder to fully turn on Q1.

If I PWM Q1 gate directly, I don't think it would have any effects on CBoot which is the reason I think that I should PWM Q1 gate instead of Q2 gate. Is this thinking correct, or is there a better way to PWM a dual N-channel MOSFET driver?

\$\endgroup\$
3
  • 1
    \$\begingroup\$ You need to alternatingly drive both LIN and HIN, thus turning on the lower and top MOSFET in an alternating manner. The reason there's a separate input for each is so you can easily control dead time. I think you misunderstand how the bootstrap works. Look at my answer here \$\endgroup\$ Aug 18, 2022 at 18:53
  • \$\begingroup\$ Whichever one is on, surely! You know they do different things. This seems to me like "if I want to turn off the lights, should I turn them off in the kitchen or the living room?" \$\endgroup\$
    – user253751
    Aug 18, 2022 at 19:42
  • \$\begingroup\$ There are some half-bridge drivers with complementary (inverting and non-inverting) inputs, presumably so that a single PWM drive can achieve the same action as two separate signals. Such driver like infineon.com/cms/en/product/power/gate-driver-ics/ir2103s generally have built-in cross-conduction and dead time functions. \$\endgroup\$
    – PStechPaul
    Aug 18, 2022 at 20:20

1 Answer 1

4
\$\begingroup\$

You need to control both HIN and LIN, they're not optional inputs you can choose between.

When your controlling PWM signal is low, you want the bottom MOSFET to be on and the top one off (LIN high, HIN low). When the PWM signal is high you want the opposite, bottom MOSFET off and top one on (LIN low, HIN high).

The reason there are 2 inputs, each controlling a single MOSFET, is that you want a small period of time where both MOSFET's are off between each switchover. This is called "dead time" and it is required to make sure both FET's don't conduct at the same time, causing a short ("shoot trough"). Having 2 separate inputs allows you to control this.

There's also gate drivers with a single PWM input that handle dead time for you. Be sure to carefully study their datasheets if you're interested in those because there's different systems (fixed - programmable dead time, smart - adaptive dead time,...) Each with their own pro's and con's.

I think you also misunderstand how the bootstrap works. When the top MOSFET is turned on, it's source will rise towards the bus voltage as it starts to conduct. To keep the MOSFET fully on, its gate needs to be kept at a higher voltage then the source, so you need a voltage larger then the bus voltage. The bootstrap is a charge pump mechanism to provide this voltage.

When the bottom MOSFET is on, Vs is at ground potential so the bootstrap capacitor can charge up to VCC trough the bootstrap diode (Dboot). When the top FET has to be turned on the gate driver will connect Vb to HO, essentially placing the bootstrap capacitor in parallel with the top FET's gate-source. So the bootstrap capacitor becomes a "floating supply" that "rides up" along with the source voltage and keeps the gate at source + bootstrap capacitor voltage.

\$\endgroup\$
6
  • \$\begingroup\$ do you have an example circuit when the PWM signal is low the lower mosfet is on and the upper mosfet is off? And when the PWM signal is high the upper mosfet is on and lower is off? I’m not sure how to do that with one pwm signal. \$\endgroup\$
    – Trev347
    Aug 18, 2022 at 21:20
  • 1
    \$\begingroup\$ @Trev347 Can't you use two synchronized PWM outputs, so that the dead time can be controlled on the MCU side of things? \$\endgroup\$ Aug 18, 2022 at 22:37
  • 1
    \$\begingroup\$ The mouser.com/datasheet/2/609/ltc7060-1829915.pdf has a single PWM input that controls both high and low side MOSFETs with programmable dead time, but is only good up to 100V. \$\endgroup\$
    – PStechPaul
    Aug 18, 2022 at 23:08
  • \$\begingroup\$ @Kubahasn'tforgottenMonica Yeah I think that would work. I think I could actually just use 1 PWM signal from my micro controller, then have the PWM signal go to both the HIN and LIN and use an inverter on the LIN signal so that it will be “on” when the PWM signal goes low. \$\endgroup\$
    – Trev347
    Aug 18, 2022 at 23:50
  • \$\begingroup\$ @Trev347 That would leave you with no dead time. Remember, you need a short period of time where both FET's are off during each switchover... \$\endgroup\$ Aug 19, 2022 at 0:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.