Know your load: current and power

Know the load before the transistor. Its steady current, switch-on peak, RMS current under PWM and turn-off behaviour decide the switch. This chapter computes each load’s current and picks switch ratings with margin.

FundamentalsChapter 01

Why the load first?

A transistor is only a switch. The load sets its current, voltage and heating. Instead of “the IRLZ44N is rated 47 A, it drives anything”, ask four questions:

  • What is the steady current? Ohm’s law, datasheet or measurement.
  • What is the peak current and how long does it last? Cold filament, motor start, capacitor charging.
  • Under PWM, what is the RMS current? Heating follows RMS.
  • What happens at turn-off? Motors, relays and solenoids produce a voltage spike.
I = V / R     P = V · I = I² · R = V² / R Double the current and the power quadruples. That is why we treat transistor loss as I²·R.
Lab

Load calculator

The suggestion is a rough start. Voltage: supply × 1.5 (× 2 if inductive), next standard rating. Current: steady × 2; IDM must cover the peak. Check heating in Chapter 13. LED Vf is assumed fixed.

Resistive loads: heaters, resistors, fixed loads

This is the easy one. The current is simply V/R; there is no surge at turn-on and no spike at turn-off.

  • Nichrome heater wire barely changes resistance with temperature.
  • Tungsten lamps and some PTC heaters have a very different resistance when cold.
  • Wiring is part of the load: 2 m of 0.5 mm² there and back ≈ 0.14 Ω, dropping 0.7 V at 5 A.

LEDs: the series resistor

Feed an LED a current, not a voltage. Above Vf its current rises exponentially. A series resistor takes up the difference between supply and LED voltage.

R = (VS − n · Vf) / If     PR = If² · R n = LEDs in series. Typical Vf: red 1.9–2.1 V; green, blue, white 2.8–3.3 V. Rate the resistor with at least 2× margin.

An LED strip repeats the same idea. On a 12 V strip each segment is 3 LEDs + 1 resistor, all segments in parallel.

No shared resistor on parallel LEDs The LED with the lowest Vf takes most of the current and heats up. Its Vf then drops further, and it dies first.

Lamps: the cold filament and inrush

An incandescent lamp draws ≈ 10× its running current at switch-on. A cold tungsten filament has 1/10–1/15 of its hot resistance. The peak dies within tens of ms, but switch and fuse must survive it.

Lamp12 V, 5 WRcoldRhot / 10
  1. Hot resistanceR = 12² / 528.8 Ω
  2. Running currentI = 12 / 28.80.42 A
  3. Cold resistanceR = 28.8 / 10≈ 2.9 Ω
  4. Switch-on currentI = 12 / 2.9≈ 4.2 A
Switch and fuse must survive a 4.2 A peak. Even though the steady current is only 0.42 A.
Animation

Lamp switch-on: a cold filament draws ≈ 10× current

Model: 12 V 5 W lamp, Rcold = Rhot/10, thermal time constant ≈ 200 ms. Animation runs ≈ 6× slower. Limiting inrush: Chapter 11.

DC motors: start, running and stall current

A motor draws 5–10× its running current at start. At standstill only the winding resistance limits the current.

  • A brushed motor = winding resistance R + inductance L + back-EMF E = k·ω.
  • At standstill ω = 0, so the current is V/R. This is the start / stall current.
  • As the motor speeds up, back-EMF approaches the supply and the current falls.
I(t) = (V − k · ω(t)) / R     Istall = V / R     T = k · I k: motor constant, the same number in V·s/rad or N·m/A. Measure the winding resistance at a few shaft positions and take the lowest.
Lab

Motor start: how back-EMF brings the current down

Model: R = 2 Ω, k = 0.02 V·s/rad, J = 2·10−5 kg·m², τm = J·R/k² = 100 ms. Friction and inductance neglected. “Replay” sweeps time in slow motion.
Size the switch for stall current At every start the motor briefly draws Istall. If the shaft jams, that current becomes continuous. Continuous stall needs current limiting (Chapter 12).

Relays and solenoids: coil current

Coil current is small, but turn-off produces hundreds of volts. Every coil needs a flyback diode (Chapter 08).

  • DC current is again V/R: 5 V coil ≈ 70 Ω → 71 mA; 12 V coil ≈ 400 Ω → 30 mA.
  • At turn-on the current rises slowly with L/R; the peak never exceeds the steady value.
  • At turn-off the current cannot stop instantly; the coil voltage flies up.
  • On a solenoid, PWM can cut the hold current to 30–50 % once the armature has moved.

Capacitive loads: the hidden inrush

Any module with big input capacitors draws a large current at switch-on. The current is i = C·dV/dt; with a fast switch only wiring and ESR limit it. Chapter 11 controls it by slowing the gate.

C1000 µFV12 VΔt1 ms
  1. Average charging currentI = C · ΔV / Δt = 1000 µF · 12 V / 1 ms12 A
Even a 1 ms soft start needs 12 A. A nanosecond switch-on peaks far higher.
LoadSteady currentPeak currentAt turn-offChapter
Resistor / heaterV/R≈ V/Rno issue13
LED (+R)(V − nVf)/R≈ sameno issue06, 09
Incandescent lampP/V10–15 × (ms)no issue11
DC motorload-dependentV/Rwinding (5–10 ×)inductive spike08, 12
Relay / solenoidV/Rcoil≈ same (rises slowly)hundreds of volts08
Capacitive inputmodule-dependentC·dV/dt (very large)no issue11

Steady, peak and RMS current; under PWM, average ≠ RMS

Under PWM the average current on a meter drops. Heating in the switch, however, follows the square of the RMS current. For a rectangular current:

Iavg = D · I     Irms = I · √D     Pcond = Irms² · RDS(on) = D · I² · RDS(on) D = duty cycle, 0…1.
On-current4 AD25 %
  1. AverageIavg = 0.25 · 41 A
  2. RMSIrms = 4 · √0.252 A
  3. Loss ratio(2 / 1)²× 4loss computed from the average comes out 4× too small
Always compute heat with Irms. Using “1 A” underestimates the loss 4×.
Lab

PWM: average and RMS current

Ideal rectangular current, switching times neglected. With a motor the load current is smoothed, but the switch current is still a pulse, so the formula holds.

Choose switch ratings with margin

Voltage: × 1.5–2

VDS/VCE ≥ 1.5 × supply; 2 × for inductive loads and long cables. 12 V → 30 V part, 24 V → 40–60 V part.

Current: × 1.5–2

The front-page ID assumes a 25 °C case on an infinite heatsink. Heat sets the real limit: pick 2 × the steady current and compute the heat.

Peak: pulsed rating

Check start-up and inrush peaks against IDM and the SOA. For a 100 ms motor start use the near-DC SOA line.

Heat ties it together

The final check is junction temperature: P = Irms²·RDS(on)(hot), Tj = Ta + P·RθJA. Chapter 13.

Worked example: 4 m of 12 V LED strip
Strip12 V, 60 LEDs/mSegment3 white LEDs + 150 ΩVf3.0 VLength4 m
  1. Segment currentI = (12 − 3 · 3.0) / 15020 mA
  2. Resistor powerP = 0.02² · 15060 mW
  3. Segments4 m · 20 / m80
  4. Total currentI = 80 · 20 mA1.6 Aalso the RMS at 100 % PWM
  5. Strip powerP = 12 · 1.619.2 W
  6. Switch voltageV ≥ 1.5 · 12 = 18 V30 V class
  7. Switch currentI ≥ 2 · 1.63.2 A
  8. AO3400A lossP = 1.6² · 0.04 Ω≈ 0.1 WRDS(on) ≈ 40 mΩ at 2.5–4.5 V
A SOT-23 MOSFET that fully enhances at 3.3 V is enough. The AO3400A dissipates only 0.1 W.
Worked example: a 12 V fan motor
V12 VRunning current0.25 AWinding resistance8 Ω
  1. Start currentI = 12 / 81.5 A6× running
  2. Switch voltageV ≥ 2 · 12 (inductive)30 V class
  3. Steady current ratingI ≥ 2 · 0.250.5 A
  4. Peak currentIstall1.5 A
A small MOSFET plus a flyback diode is enough. A 100 mA BJT like the BC547 is not.