Pulse-width modulation (PWM) is a technique that controls the average power delivered to a load by rapidly switching a signal between on and off and varying the proportion of on-time, the duty cycle. Because the switching frequency is high relative to the load’s response, the load reacts to the average value, yielding efficient, near-lossless control of voltage, current, or position. It is ubiquitous in motor drives, power conversion, and digital generation of analogue-like outputs.

Overview

  • PWM encodes an analogue level into the width of digital pulses. At a fixed carrier frequency, increasing the fraction of each period that the signal is high raises the average delivered power; decreasing it lowers the average. The load’s inertia or a low-pass filter smooths the switching into a continuous effective value.
  • Because the switching element is either fully on or fully off, conduction losses are low, making PWM highly efficient compared with linear regulation. This efficiency, combined with simple generation from microcontroller timers, makes it the default method for driving motors and converting power.

Mechanisms

  • Duty cycle: the ratio of on-time to period sets the average output; carrier frequency is chosen above the load’s response band.
  • Generation: microcontroller timer/counter peripherals compare a counter against a threshold to produce the pulse train.
  • Power stage: transistor switches (MOSFETs/IGBTs) and, often, an H-bridge drive the load efficiently.

Applications

  • Speed and torque control of DC and brushless motors via motor drivers and H-bridges.
  • Servo positioning, where pulse width encodes a commanded angle.
  • Switching power supplies, LED dimming, and audio class-D amplification.

Provenance