PWM · duty cycle · fans and pumps

PWM control wiring: how to control a fan or pump

A relay gives a fan two speeds: off and full. Pulse-width modulation switches the power on and off many times a second, and the share of “on” time — the duty cycle — sets the speed. Here is how the two are wired and when PWM is worth it.

Open the editor · ▶ Run the live demo

Relay vs PWM

RelayPWM
SpeedsOff / fullAny, from the duty cycle
Switching elementMechanical contactTransistor (MOSFET) in a controller or the ECU
Typical useFans, pumps, lightsFans and fuel pumps with a PWM controller, boost and idle valves
Noise and inrushFull inrush at every startSoft start, quieter at low speed

How duty cycle works

Wire and fuse: size for 100 %

PWM lowers the average current, not the current while the switch is on — and at some point the controller runs at 100 %. Size the fuse and the wire for full speed: a 300 W fan on 12 V draws 25 A, takes a 35 A fuse and 4 mm² over 1.5 m.

Size the circuit in WireForge

  1. The simulator calculates steady-state DC, so it models the fan at full speed (100 % duty) — which is exactly the case you size the wiring for.
  2. Draw Battery → Fuse → Relay or a Custom block “PWM controller” → Cooling Fan → Ground.
  3. Set the fan power and the wire lengths, simulate and click the fan wire to read the current.
  4. Pick the fuse and the cross-section so the simulator shows no overload or voltage-drop warning.

Questions

Can I PWM a fan through its relay?

No. A relay is too slow and its contacts arc at every switching. Use a PWM controller or an ECU output with a suitable power stage.

What frequency is used?

It depends on the load and the controller — from tens of hertz for valves to a few hundred hertz or more for motors. Use what the fan or pump maker specifies.

Can every fuel pump be PWM-controlled?

Brushed pumps usually can; brushless pumps with their own electronics need their own speed input. Check the pump’s documentation first.

More guides

WireForge.pro · Українською