The idea
A MOSFET is either fully on or fully off. To give a motor some of the power, switch it on for part of each cycle, thousands of times a second. The motor is far too slow to notice the flicker, so it responds to the average voltage. This is pulse width modulation (PWM).
The definitions
| Symbol | Meaning |
|---|---|
| Period: the time for one on-plus-off cycle, | |
| Frequency: cycles per second, | |
| Duty cycle: fraction of the time it’s on, , from 0 to 1 |
Why: for a fraction of the time the motor sees , and for the rest it sees 0 V. The average is .
Worked example
A 24 V battery drives a motor with PWM at 20 kHz and 30% duty. Find , and the average voltage.
Answer
µs. µs, so µs. V.
Why the frequency matters
- Too low (under ~1 kHz) and you can hear the motor whine, and the current ripples a lot.
- Higher frequencies give smoother current and smaller converter parts, but every switch costs energy, so switching loss rises with frequency.
Check yourself
1. What duty cycle gives 9 V from a 12 V supply?
, so 75%.