What is pwm

Last updated: April 1, 2026

Quick Answer: PWM (Pulse Width Modulation) is an electrical technique that controls power delivery to devices by rapidly switching signals on and off at varying duty cycles. It's essential for motor speed control, LED brightness adjustment, and power supply efficiency.

Key Facts

What is Pulse Width Modulation?

Pulse Width Modulation (PWM) is a digital technique for controlling analog circuits and devices using a rectangular waveform. The method involves rapidly switching a signal between on and off states, with the duration of each state controlled to achieve desired average power output. By varying the duty cycle—the proportion of time the signal remains on—engineers can precisely control the amount of power delivered to a load.

How PWM Works

PWM operates by creating a repeating rectangular wave at a fixed frequency. Within each cycle, the signal is on for a variable duration (pulse width) and off for the remainder of the cycle. The average voltage delivered equals the peak voltage multiplied by the duty cycle percentage.

For example, a 50% duty cycle delivers an average of half the peak voltage. A 75% duty cycle delivers three-quarters of the peak voltage. By adjusting these duty cycles at frequencies far faster than human perception, PWM controllers can smoothly vary power levels while maintaining efficient operation.

Common Applications

Motor Speed Control: PWM is the preferred method for controlling DC motor speeds in fans, power tools, and electric vehicles. By adjusting the duty cycle, engineers can achieve precise speed control while maintaining torque.

LED Brightness: PWM dimming controls LED brightness without reducing color quality. This application appears in phone screens, computer displays, and lighting systems.

Power Supplies: Switching power supplies use PWM to regulate output voltage and current efficiently. Most modern power adapters and battery chargers rely on PWM technology.

Audio Amplification: Class D amplifiers use PWM techniques to achieve high efficiency while delivering clean audio output.

Advantages Over Linear Control

Frequency Considerations

PWM frequency selection depends on the application. Low frequencies (below 1 kHz) may cause audible buzzing in motors and flicker in LEDs. Mid-range frequencies (1-20 kHz) work well for motor control and most power supplies. High frequencies (above 50 kHz) are used where acoustic noise must be minimized or for specialized applications like inductive heating.

Limitations and Challenges

Very high PWM frequencies can generate electromagnetic interference (EMI). Inadequate filtering of the PWM signal may cause ripple in power supplies. Some loads respond poorly to rapid switching, requiring filtering or averaging circuits to extract smooth DC voltage from the PWM output.

Related Questions

What's the difference between PWM and analog voltage control?

PWM achieves power control through rapid switching at constant voltage, while analog control uses linear regulation at reduced voltage. PWM is more efficient because switching generates less heat, but analog control may be simpler for some applications. Modern designs favor PWM for its energy efficiency.

Why do LED displays use PWM dimming?

PWM dimming maintains full color saturation while reducing brightness, unlike voltage reduction which can distort colors. The rapid switching occurs faster than human eye perception, creating the illusion of dimmed light without the color degradation of analog dimming.

How is PWM frequency chosen for applications?

PWM frequency selection balances several factors: it must be high enough to avoid audible noise or flicker, low enough to reduce EMI and component costs, and matched to the load characteristics. Motor applications typically use 5-20 kHz, while LED backlighting often uses 100-200 kHz.

Sources

  1. Wikipedia - Pulse-width ModulationCC-BY-SA-4.0
  2. Electronics Tutorials - Pulse Width ModulationEducational