Sub topic 8
Choosing a driver: bipolar versus MOSFET, integrated versus discrete
This chapter assumes you know how an H-bridge's four switches set direction, why shoot-through must be avoided, and how flyback paths protect the switches. It also assumes you can read a datasheet's electrical table. Here you will choose a driver for a given motor, using four numbers: motor voltage, continuous current, stall current, and voltage drop.
What you are choosing between
Two choices define most drivers.
- Switch technology. The four switches are either bipolar junction transistors (BJTs, often in Darlington pairs) or MOSFETs.
- Packaging. The bridge is either an integrated circuit or breakout module with the switches, protection, and often gate drive built in, or a discrete bridge that you build from separate transistors plus gate-drive circuitry.
Each choice affects voltage drop, heat, supply range, and how much design work falls on you.
Bipolar drivers: L298N and L293D
The L293D and L298N are the classic parts on cheap Arduino modules. Both use bipolar output stages.
A bipolar output stage has a saturation voltage. Current flows through a high-side transistor and a low-side transistor in series, and each one drops voltage. The L298N datasheet specifies a combined drop of roughly 1.8 V to 3.2 V depending on current. The drop is largely constant with current, so power lost as heat grows in direct proportion to motor current.
Consider a 6 V motor on an L298N module drawing 1 A:
- Voltage lost in the driver: about 2 V or more.
- Voltage actually reaching the motor: about 4 V.
- Heat in the driver: about 2 V × 1 A = 2 W.
The motor loses a third of its supply voltage, and the chip must shed 2 W. At 12 V the proportional loss is smaller, but the 2 W of heat remains. That is why L298N modules carry large heatsinks and still run hot.
Bipolar drivers also have a minimum supply voltage. The L298N needs the motor supply well above the voltage you want at the motor, and its logic supply is separate. Many modules include a 5 V regulator that you enable with a jumper. Check that the jumper setting matches your supply, because the onboard regulator is limited at higher motor voltages.
| Property | L293D | L298N |
|---|---|---|
| Continuous current per channel | 600 mA | 2 A |
| Peak current per channel | 1.2 A | 3 A |
| Motor supply range | 4.5 V to 36 V | up to 46 V |
| Internal flyback diodes | Yes | No, add external diodes (modules usually include them) |
| Typical voltage drop | about 1.4 V to 2.6 V total | about 1.8 V to 3.2 V total |
Verify these figures against the datasheet of the exact part you buy. Module makers sometimes quote the chip's absolute maximum instead of a realistic continuous rating.
MOSFET drivers: low drop, low heat
A MOSFET behaves like a resistor when it is on. Its on-resistance, written RDS(on), is listed in the datasheet. The voltage drop is current times resistance, so it falls as current falls. Heat follows I² × R.
Consider a bridge with two MOSFETs in the current path, each with an RDS(on) of 0.1 Ω, carrying 1 A:
- Total resistance in the path: 0.2 Ω.
- Voltage drop: 1 A × 0.2 Ω = 0.2 V.
- Heat: 1 A² × 0.2 Ω = 0.2 W.
Compare 0.2 W with the 2 W of the bipolar example. Modern drivers such as the DRV8871, TB6612FNG, and DRV8833 have lower RDS(on) than this example, so the gap is often larger. A MOSFET driver also works at low supply voltages. Battery-powered robots with 3.7 V or 6 V packs gain the most, because a fixed 2 V loss is a large share of a small supply.
The trade-offs of MOSFET drivers:
- Lower maximum voltage in cheap parts. Many small MOSFET drivers top out at 10 V to 12 V. The TB6612FNG allows up to 13.5 V. Check the maximum against your supply, including any voltage spikes.
- Gate drive. A MOSFET needs its gate driven well above its source. High-side N-channel switches need a charge pump or bootstrap circuit, which integrated drivers include.
- Static sensitivity and cost. Boards are slightly more expensive, though the difference is now small.
Integrated versus discrete
An integrated driver puts the four switches, level shifting, and usually the protection into one package. A discrete bridge uses separate parts that you select and wire.
Integrated drivers
Integrated drivers usually provide:
- Logic-level inputs that accept 3.3 V or 5 V directly.
- Built-in dead time, which prevents shoot-through if both inputs on one side are driven at once.
- Thermal shutdown and often overcurrent protection.
- A single package that you can solder or buy on a breakout board.
The limit is the package. Its current rating and heat dissipation set a ceiling you cannot change. Datasheet continuous-current numbers also assume good heatsinking, such as copper area on the board. A breakout with no copper pour will not reach the headline figure.
Discrete bridges
A discrete bridge uses four power MOSFETs plus gate drivers. It is the right choice when:
- Motor current is beyond what integrated drivers handle, for example tens of amps.
- Supply voltage is high, such as 24 V or 48 V.
- You need a specific RDS(on) or heatsinking arrangement.
It is also much more work. You must supply:
- Dead-time logic, either in a dedicated gate-driver IC or in your code.
- Gate drive with correct voltage and enough current to switch fast.
- Layout that keeps high-current loops short.
- Protection against overcurrent and overvoltage.
A common compromise is a half-bridge or full-bridge gate-driver IC paired with external power MOSFETs. The gate driver handles level shifting and dead time, and you pick MOSFETs sized for the load.
Selecting a driver step by step
Work from the motor's numbers, not from the driver's.
- Find the motor's rated voltage. The driver's supply range must include it, with margin for the voltage drop (bipolar) and for transients.
- Find the continuous current. Use the running current at your expected load, not the no-load current on the label.
- Find the stall current. Divide the supply voltage by the winding resistance. A motor that stalls draws this current until something fails.
- Compare with the driver. The driver's continuous rating should exceed your running current with at least 30 percent margin. Its peak or current-limit rating should exceed the stall current, or the driver must limit current itself.
- Compute the drop and heat. For a bipolar driver, use the datasheet drop times current. For a MOSFET driver, use I² × RDS(on) for the two switches in the path.
- Check logic levels and control pins. A 3.3 V board needs a driver whose input threshold is below 3.3 V.
Worked example: a gearmotor rated 6 V with a winding resistance of 3 Ω.
- Stall current: 6 V ÷ 3 Ω = 2 A.
- Running current under load: about 0.5 A.
- Candidate A, L298N: 0.5 A is within its rating, but the drop of about 2 V leaves roughly 4 V at the motor and 1 W of heat. The motor will be weak.
- Candidate B, TB6612FNG: 1.2 A continuous and 3.2 A peak cover both figures, and the drop is under 0.5 V. This is the better fit.
The thresholds in the diagram are rules of thumb, not limits. Always compare against the datasheet.
Common selection mistakes
- Choosing by the peak rating. Peak current is for short pulses. Size for continuous current, and treat the peak as the stall allowance.
- Ignoring stall. A jammed motor draws stall current. If the driver has no current limit, a stall can burn it out in seconds.
- Forgetting the bipolar drop on a low supply. A 5 V pack on an L298N leaves about 3 V at the motor.
- Trusting breakout-board headline ratings. The module may omit the heatsink or copper area the chip's rating assumes.
- Supplying logic and motor from one source without checking. The next chapter covers power and grounding, but you need to know now that the driver's logic and motor supply ranges are separate specifications.
- Mixing up channel and bridge ratings. Some datasheets give current per channel, others for the whole package. Running two motors from one chip may split the thermal budget.
Quick reference
| Situation | Better choice |
|---|---|
| Battery supply under 9 V | MOSFET driver |
| Small motor under 1 A at 12 V, lowest cost | L293D or L298N module |
| Motor with stall current above 3 A | MOSFET driver with current limit, or a discrete bridge |
| Need heat to stay low | MOSFET driver |
| Supply at 24 V or higher | Check the driver's voltage maximum; likely a gate-driver IC and discrete MOSFETs |
| Learning, with parts you already own | Whatever is on hand, with the limits above in mind |
Exercise
A 9 V motor has a winding resistance of 4.5 Ω and draws 0.8 A while running under load. You are choosing between an L298N module (total drop about 2.5 V) and a MOSFET driver with 0.25 Ω total RDS(on) in the current path and a 2.5 A continuous rating. For each driver, find the voltage reaching the motor while running and the heat in the driver. Then say which driver you would choose and what concern remains for each.
Show answer
Stall current is 9 V ÷ 4.5 Ω = 2 A for both. L298N: the motor gets about 9 V − 2.5 V = 6.5 V. Heat is about 2.5 V × 0.8 A = 2 W. The motor runs at roughly 72 percent of its rated voltage, so it will be slower and weaker. The 2 A stall current is within the 2 A continuous rating but leaves no margin, and 2 A of stall would dissipate about 5 W. MOSFET driver: the drop is 0.8 A × 0.25 Ω = 0.2 V, so the motor gets about 8.8 V. Heat is 0.8² × 0.25 = 0.16 W. Stall current of 2 A is under the 2.5 A rating, and the stall heat is 2² × 0.25 = 1 W. Choose the MOSFET driver. Remaining concern: confirm its maximum supply voltage covers 9 V plus transients, and that the board has enough copper area for the stated rating.
Exercise
Why does an integrated driver with a 3 A continuous rating sometimes overheat at 2 A on a small breakout board?
Show answer
The datasheet rating assumes the package is mounted on a board with enough copper area or a heatsink to carry heat away. A small breakout may have little copper, so the chip's temperature rises faster than the test conditions assumed. Thermal shutdown then trips, or the part runs hot well below its headline current. Check the thermal resistance figure and the conditions under which the rating applies.