What is pwm signal

Last updated: April 1, 2026

Quick Answer: A PWM (Pulse Width Modulation) signal is an electrical signal that encodes information through the width of regularly timed pulses, commonly used to control power delivery, motor speed, and brightness in electronics.

Key Facts

Overview

A PWM (Pulse Width Modulation) signal is an electrical signal that represents data by varying the width of regularly repeating pulses while maintaining a constant frequency. This technique has become ubiquitous in modern electronics because it provides an efficient way to control power, regulate voltage, and modulate signals across diverse applications.

Signal Characteristics

A PWM signal is characterized by several key parameters: frequency (how often the signal cycles), duty cycle (percentage of time the signal is in the HIGH state), and amplitude (voltage level). The duty cycle is the most important parameter because it directly determines the effective output. A 25% duty cycle means the signal is HIGH for one-quarter of each cycle and LOW for three-quarters. This variation in duty cycle is how PWM encodes information.

How PWM Signals Work

PWM operates by rapidly switching a signal between two states: HIGH (typically 5V or 3.3V in digital circuits) and LOW (typically 0V or ground). By controlling the duration of the HIGH state relative to the total cycle time, the average voltage delivered to a load can be precisely controlled. For example, a 50% duty cycle delivers half the average voltage of a 100% duty cycle. This rapid switching is what makes PWM different from simple on/off control.

Frequency and Duty Cycle

Two parameters define a PWM signal's behavior: frequency determines the cycle time (measured in Hz), and duty cycle determines the proportion of time spent in the HIGH state (expressed as a percentage from 0% to 100%). A typical PWM signal might cycle at 1 kHz with a variable duty cycle. Higher frequencies appear smoother to human perception and reduce audible noise in audio applications.

Common Applications

PWM signals are used extensively in modern electronics:

Advantages of PWM

PWM offers several advantages over linear regulation: it is highly efficient because power losses occur only during switching transitions rather than continuously, it allows precise control with simple digital circuits, and it's easily implemented in microcontroller-based systems. These advantages have made PWM the standard for power control in modern electronics.

Related Questions

What is the difference between PWM frequency and duty cycle?

Frequency determines how fast the signal cycles (measured in Hz), while duty cycle is the percentage of time the signal spends in the HIGH state. Frequency affects smoothness and noise, while duty cycle controls the average output level.

How does PWM control motor speed?

By varying the duty cycle of the PWM signal sent to a motor, the average power delivered increases or decreases, directly controlling the motor's speed. Higher duty cycles deliver more power and increase speed.

What frequency should I use for PWM signals?

Frequency depends on the application. Motor control typically uses 1-20 kHz, LED dimming often uses 1-10 kHz, and audio amplifiers use 20-48 kHz or higher to avoid audible noise.

Sources

  1. Wikipedia - Pulse-width modulation CC-BY-SA-4.0
  2. Electronics Tutorials - Pulse Width Modulation CC-BY-SA-4.0