H-Bridge: Difference between revisions

From Adam Colton
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:


== Discrete Driver ==
== Discrete Driver ==
The bridge itself is pretty simple, but driving it is awful.


Low side is fairly easy. At low voltages, a BJT can be used. At higher voltages, we need to raise the gate voltage because it should only be 10-20v lower than the high side.
=== All ===
Need protection diodes for inductive loads, so just always include them. A smoothing cap is also a good idea.


The high side driver is a pain because high side N-Chan driving is always a pain. As long as it will never go high for long periods, a bootstrap cap can be used.
=== BJT  ===
Uses PNP high side and NPN low side.
 
The microcontroller can simply provide the driver logic, though this will need 4 pins and require a little code. Something like an ATTiny can be used as a dedicated driver.
 
Driver Logic
* Input: F (forward), On, V, G
* Output: FH, FL, RH, RL (forward/reverse high/low)
 
Needs deadtime, enforced with shcmitt triggers.
* B: transistor buffer
* N: transistor not
* S: schmitt trigger
* Von = B(V, On)
* X = B(Von, F)
* Y = N(Von, F)
* F = S(V,X)
* R = S(V,Y)
* X' = N(Von, F)
* Y' = N(Von, R)
* F' = S(V,X')
* R' = S(V,Y')
 
The whole thing takes 25 resistors and 13 transistors.
 
For low power, this should be able to directly drive the HB, but I need to look at it to make sure there's not an Emitter/Base path through the circuit. For higher power circuits add a buffer before.
 
=== Voltage Range ==
If a narrow voltage range is used, circuits can be made quite simple. If a wide voltage range is needed, the circuit gets more complex to compensate.
 
Opto-isolators need current regulation. For small voltage ranges, resistors can be used. For wide ranges, two transistors and two resistors can form a current regulator.
 
=== Mosfets ==
Using a combination of P-channel and N-channel mosfets produces a fairly simple circuit. But the P fets will be more expensive, have a higher resistance and a lower max voltage.
 
To use all N-channel, a high side driver is needed. If the circuit can be pulsed, bootstrapping can drive the high side. But the caps will drain slowly so it can't be left on. To have a high side that can be left on, a charge pump is needed. For both, voltage regulation is needed to make sure the gate never exceeds its rated voltage.


== VFD ==
== VFD ==
3 half bridges can be used to create a VFD for a 3 phase induction motor.
3 half bridges can be used to create a VFD for a 3 phase induction motor.
[[Category:Electronics]]
[[Category:Electronics]]

Revision as of 23:23, 11 June 2020

These end up getting tricky to build discretely, but high power versions get costly.

I think DRV8701 allows you to mount your own mosfets, which may allow me to increase the power capacity. look for "Full-Bridge Gate Driver" or "full-bridge pre-driver"

Discrete Driver

All

Need protection diodes for inductive loads, so just always include them. A smoothing cap is also a good idea.

BJT

Uses PNP high side and NPN low side.

The microcontroller can simply provide the driver logic, though this will need 4 pins and require a little code. Something like an ATTiny can be used as a dedicated driver.

Driver Logic

  • Input: F (forward), On, V, G
  • Output: FH, FL, RH, RL (forward/reverse high/low)

Needs deadtime, enforced with shcmitt triggers.

  • B: transistor buffer
  • N: transistor not
  • S: schmitt trigger
  • Von = B(V, On)
  • X = B(Von, F)
  • Y = N(Von, F)
  • F = S(V,X)
  • R = S(V,Y)
  • X' = N(Von, F)
  • Y' = N(Von, R)
  • F' = S(V,X')
  • R' = S(V,Y')

The whole thing takes 25 resistors and 13 transistors.

For low power, this should be able to directly drive the HB, but I need to look at it to make sure there's not an Emitter/Base path through the circuit. For higher power circuits add a buffer before.

= Voltage Range

If a narrow voltage range is used, circuits can be made quite simple. If a wide voltage range is needed, the circuit gets more complex to compensate.

Opto-isolators need current regulation. For small voltage ranges, resistors can be used. For wide ranges, two transistors and two resistors can form a current regulator.

= Mosfets

Using a combination of P-channel and N-channel mosfets produces a fairly simple circuit. But the P fets will be more expensive, have a higher resistance and a lower max voltage.

To use all N-channel, a high side driver is needed. If the circuit can be pulsed, bootstrapping can drive the high side. But the caps will drain slowly so it can't be left on. To have a high side that can be left on, a charge pump is needed. For both, voltage regulation is needed to make sure the gate never exceeds its rated voltage.

VFD

3 half bridges can be used to create a VFD for a 3 phase induction motor.