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 fit | L298, TB6612FNG, DRV8833 |
|---|---|
| L298 | fits. 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) |
| TB6612FNG | fits. Drop 250 mV typ (350 mV max), motor gets 5.75 V, heat with both channels driving a motor 250 mW |
| DRV8833 | fits. 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.
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
- Motor power supply calculator: Vsupply ≥ Vmotor + Vdrop(Istall)
- Robot battery runtime calculator: avg = (Imotors + Ielec) × share + Ielec × (1 − share)
- Transistor base resistor calculator: Ib = (Ic ÷ hFE) × overdrive
More calculators
- Resistor color code calculator
- LED resistor calculator
- Voltage divider calculator
- RC time constant calculator
- Ohm's law calculator
- Series and parallel resistor calculator
- 555 timer calculator (astable)
- PCB trace width calculator
- Battery life calculator
- RC filter calculator (low-pass)
- Capacitor code calculator
- Servo power supply calculator
Want a whole circuit rather than one value? Describe it and the AI designs and simulates it.