All courses › Embedded Systems and Instrumentation › PWM
PWM
A PWM signal switches rapidly between a high and a low voltage with a given duty cycle, the fraction of the period the signal is high. The load or filter after the signal effectively only sees the average voltage, which is proportional to the duty cycle – this is used to control everything from LED brightness to motor speed.
average voltage from duty cycle D
Symbols
| duty cycle (fraction of the period the signal is high) | ||
| voltage level when the signal is high | V | |
| average voltage | V |
Example
5 V PWM with 25% duty cycle:
V.
Duty cycle is the pulse length divided by the whole period, not by the time the signal is low.
Practise microcontrollers for free →
← Pull-Up Resistor · Serial Communication →
Part of Embedded Systems and Instrumentation: Microcontrollers.