Sub topic 10
Current ratings, voltage drop, and heat
This chapter shows how to estimate the current your motor draws, the voltage the driver takes from it, and the heat the driver must shed. It assumes you have read the earlier chapters on motor basics (stall and back-EMF), the H-bridge, and driver selection. You should also be comfortable with Ohm's law and with power as P = V × I.
Three currents to know
A motor does not draw one current. It draws a different current depending on its load, and the driver has to survive all of them.
- Running current is what the motor draws at its normal load and speed. Back-EMF (the voltage the spinning motor generates against the supply) holds it down.
- Starting current is the surge when the motor begins to turn. Back-EMF is still near zero, so the current is close to the stall value for a moment.
- Stall current is the current when the shaft is held still. With no back-EMF, only the winding resistance limits it: Istall = V / Rwinding.
A 6 V motor with a 2 Ω winding stalls at 3 A. Its running current might be only 0.4 A. If the driver is chosen for 0.4 A, a jammed shaft can destroy it.
Datasheets give the driver's side of the same story with two ratings:
- Continuous current is what each channel can carry indefinitely, usually under stated conditions such as a heatsink or a given board area.
- Peak current is what it can carry briefly, for example for a single pulse or a fraction of a duty cycle. Treat it as a limit for starts and short overloads, not as a working current.
Check the conditions printed next to each number. A continuous rating that assumes a large heatsink does not hold on a bare chip.
Where the voltage goes
Current flows through two switches in series: one high-side switch and one low-side switch, with the motor between them. Each switch drops some voltage. The motor receives the supply voltage minus both drops.
How large the drop is depends on the switch technology:
- Bipolar (BJT) drivers behave like a fixed voltage drop, a saturation voltage of roughly 0.7 to 1.5 V per switch. The total is about 2 to 3 V and changes little with current.
- MOSFET drivers behave like a resistor, the on-resistance R_DS(on). The drop is I × R, so it is small at low current and grows with load.
The table gives approximate figures for common parts. Always confirm them in the datasheet for your exact part and conditions.
| Driver | Technology | Continuous per channel | Peak | Typical total drop |
|---|---|---|---|---|
| L293D | Bipolar | 0.6 A | 1.2 A | about 2.5 V |
| L298N | Bipolar | 2 A | 3 A | about 2 to 3 V |
| TB6612FNG | MOSFET | 1.2 A | 3.2 A | about 0.5 Ω total (0.6 V at 1.2 A) |
| DRV8871 | MOSFET | about 3 A | 3.6 A | about 0.57 Ω total |
A lost 2.5 V matters on low supplies. A 6 V motor on a 6 V supply and an L298N module gets about 3.5 V. It runs slowly and has little torque, and no code change fixes that. Either raise the supply, so that the motor sees its rated voltage after the drop, or use a MOSFET driver.
Where the heat comes from
Every volt dropped across a switch while current flows becomes heat. For one switch, P = I × Vdrop for a bipolar part, and P = I² × RDS(on) for a MOSFET. The total is the sum over the two switches in the current path.
Two details matter:
- Average, not peak. With PWM (pulse-width modulation, covered earlier), the switches carry current only part of the time. The average heat follows the average current, so a motor running at a lower duty cycle heats the driver less. The motor's average current at the lower voltage is also lower.
- Switching losses. Each PWM edge briefly passes through a partly-on state, which wastes extra energy. This loss grows with PWM frequency, a point to remember when you raise the frequency to remove whine.
The heat raises the chip's junction temperature (T_j, the temperature of the silicon). It rises above the surrounding air in proportion to the dissipated power:
Tj = Tambient + P × θ_JA
θJA is the junction-to-ambient thermal resistance in °C per watt, from the datasheet. A smaller θJA means the heat escapes more easily, and a heatsink or copper area lowers it. Keep T_j well under the absolute maximum, which is typically 125 to 150 °C. Many drivers also have thermal shutdown that switches the output off when the die gets too hot. A motor that runs, then stops after a minute and restarts after cooling, is a typical sign of it.
Worked example
Take a 12 V supply, an L298N with about 2.5 V total drop, a motor drawing 1 A at the working point, and θJA of about 35 °C/W. This θJA is a datasheet-style figure for a Multiwatt package without a big heatsink.
- Heat: P = 1 A × 2.5 V = 2.5 W
- Rise: 2.5 W × 35 °C/W = 87.5 °C
- Junction at 25 °C ambient: 25 + 87.5 = 112.5 °C
That is close to the limit, from a motor that is only half the "2 A rating". A heatsink lowers the θ_JA and keeps it safe. The same motor on a MOSFET driver with 0.57 Ω total gives P = 1² × 0.57 = 0.57 W, about a quarter of the heat.
The script below repeats this calculation so that you can try your own numbers.
def stall_current(supply_v, winding_ohms):
"""Current with the shaft held still: only the winding limits it."""
return supply_v / winding_ohms
def driver_heat_bipolar(current_a, total_drop_v):
"""Watts lost in a bipolar bridge (two saturation drops in series)."""
return current_a * total_drop_v
def driver_heat_mosfet(current_a, total_rds_ohms):
"""Watts lost in a MOSFET bridge (two R_DS(on) values in series)."""
return current_a ** 2 * total_rds_ohms
def junction_temp(ambient_c, power_w, theta_ja_c_per_w):
return ambient_c + power_w * theta_ja_c_per_w
if __name__ == "__main__":
print("Stall current (6 V, 2 ohm):", stall_current(6.0, 2.0), "A")
p_bjt = driver_heat_bipolar(1.0, 2.5)
p_fet = driver_heat_mosfet(1.0, 0.57)
print("Bipolar heat at 1 A:", round(p_bjt, 2), "W")
print("MOSFET heat at 1 A:", round(p_fet, 2), "W")
print("Bipolar Tj at 25 C ambient:",
round(junction_temp(25, p_bjt, 35), 1), "C")
print("Delivered to motor from 12 V (bipolar):", 12 - 2.5, "V")Choosing and protecting for the real load
Use these rules when you pick a driver or check an existing design.
- Find the stall current of the motor at your supply voltage, from the datasheet or by dividing the voltage by the measured winding resistance.
- Pick a driver whose continuous rating is at least 1.5 to 2 times the expected running current. Leave extra room if the enclosure is warm or has no airflow.
- Compare the stall current with the driver's peak rating. If stall is higher, the driver must limit current (many MOSFET drivers have a current-limit pin or built-in limiting), or your code must detect the stall and stop. Chapter 14 covers current sensing for this.
- Compute the delivered voltage, supply minus the drop, and confirm the motor still reaches its needed speed and torque.
- Estimate the heat and compare T_j with the limit. Add a heatsink, copper area, or airflow if the margin is thin.
Common mistakes
- Sizing for running current only. A stall or a hard start then trips the thermal shutdown or damages the driver.
- Ignoring the drop on low-voltage supplies. A 5 V battery pack behind a bipolar driver leaves little for the motor.
- Judging heat by touch. A chip at 70 °C case temperature feels very hot, and the junction is hotter still. Compute it or measure it.
- Fixing whine by raising PWM frequency without a heat check. Switching losses rise with frequency, so recheck the temperature after the change.
Exercise
A 12 V motor has a winding resistance of 4 Ω and runs at 0.5 A under its normal load. You drive it from a 12 V supply with a bipolar driver that drops 2.4 V in total. (a) What is its stall current at the full 12 V, ignoring the driver drop? (b) How much power does the driver dissipate at the running current? (c) What voltage does the motor receive?
Show answer
(a) I_stall = 12 V / 4 Ω = 3 A. (b) P = 0.5 A × 2.4 V = 1.2 W. (c) The motor receives 12 V − 2.4 V = 9.6 V, so it runs below its rated speed. If a driver with a continuous rating of 1 A is chosen, it still has no margin for the 3 A stall, so the design needs current limiting or stall detection.
Exercise
A MOSFET driver has a total RDS(on) of 0.3 Ω and θJA of 40 °C/W. It carries 2 A continuously in a 30 °C enclosure. Estimate the heat and the junction temperature.
Show answer
P = I² × R = 2² × 0.3 = 1.2 W. The rise is 1.2 W × 40 °C/W = 48 °C, so T_j = 30 + 48 = 78 °C. This is well under a typical 125 to 150 °C limit.