Calculators

Motor driver calculator

A driver fits a motor when the motor voltage is inside its range, the running current is under its continuous rating, the stall current is under its peak rating, and the heat it makes stays under its limit. The voltage it loses is current × on-resistance for MOSFET drivers, and about 2.5 to 3.7 V for the bipolar L298.

MOSFET: Vdrop = I × RDS(on), P = I² × RDS(on)L298: Vdrop = VCEsat(H) + VCEsat(L), P = I × VdropTj = 25 °C + P × θJA
Drivers that fitL298, TB6612FNG, DRV8833
L298fits. Drop 2.55 V typ (3.2 V max), motor gets 3.45 V, heat with both channels driving a motor 2.55 W (about 114 °C)
TB6612FNGfits. Drop 250 mV typ (350 mV max), motor gets 5.75 V, heat with both channels driving a motor 250 mW
DRV8833fits. Drop 180 mV typ (300 mV max), motor gets 5.82 V, heat with both channels driving a motor 180 mW (about 32 °C)

The L298 runs hot at this current: fit the heatsink the board has, and keep air moving around it.

The circuit, running liveOpen in the playground →

One supply at the motor's rated voltage feeds two motors running at your current: the left through the L298's typical drop, the right through the TB6612FNG's. The voltmeters show what each motor gets.

Worked example

A 6 V motor running at 0.5 A with a 1.5 A stall current. The L298 drops 2.55 V (typical at 1 A, its lowest datasheet point), so on a 6 V supply the motor gets 3.45 V, and two channels make 2 × 0.5 × 2.55 = 2.55 W, about 114 °C without a heatsink. The TB6612FNG drops 0.5 Ω × 0.5 A = 0.25 V and makes 0.25 W; the DRV8833 drops 0.18 V and makes 0.18 W, about 32 °C. All three fit; the MOSFET drivers give the motor 2.3 V more.

Questions

Why are the drops different?

The L298 switches with bipolar transistors, which lose a fairly fixed voltage each (VCEsat), and current passes two of them. The TB6612FNG and DRV8833 use MOSFETs, which act as small resistors: half an ohm or less from high side to low side.

What does stall current have to do with the driver?

Every start draws the stall current for a moment, so it must be under the driver's short peak rating. A motor that stays blocked draws it continuously, which only the continuous rating covers: a stuck wheel can overheat a driver that is fine in normal running.

Does the supply voltage change the drop?

A little for the MOSFET drivers: their on-resistance rises at low supply voltage and when hot. The DRV8833's high-side switch is 200 mΩ at 5 V and 250 mΩ at 2.7 V, up to 325 mΩ at 85 °C. The calculator uses 5 V, 25 °C typical figures for the drop and heat, and the hot maximum for the worst case.

What about logic voltage?

The TB6612FNG takes 2.7 to 5.5 V logic and the DRV8833 inputs accept 3.3 V and 5 V, so both suit 3.3 V boards. The L298 needs a 4.5 to 7 V logic supply; its inputs read 2.3 V and up as high.

Sources: ST L298 datasheet (VCEsat, ratings, Rth j-amb 35 °C/W); Toshiba TB6612FNG datasheet (Vsat 0.5 V typ at 1 A, 1.0 A continuous, 2 A peak, 0.78 W); TI DRV8833 datasheet SLVSAR1E (RDS(on) 200 + 160 mΩ typ, 1.5 A RMS, 2.7 to 10.8 V).

Related calculators

More calculators

Want a whole circuit rather than one value? Describe it and the AI designs and simulates it.