PWM (pulse-width modulation)

Definition: What is PWM?

PWM stands for pulse-width modulation and describes a method for controlling the average power of an electrical signal. A digital square-wave signal is generated that switches between two states—usually “on” and “off.” What matters is not the amplitude of the signal, but the duration of the on phase within one period.

The ratio between on-time and the total period is called the duty cycle. By varying this duty cycle, the average power of a system can be influenced without changing the supply voltage itself.

Synonyms / related terms:

  • pulse-width modulation (PBM)
  • pulse-duration modulation (PDM)
  • pulse-length modulation (PLM)
  • subharmonic method

Features: What distinguishes PWM?

  • Digital control method for power regulation
  • Use of a periodic square wave signal
  • Control via duty cycle
  • Constant signal voltage with variable average power
  • Often integrated into microcontrollers
  • Energy-efficient control of electrical loads
  • Suitable for motor control, lighting, and power electronics
  • Rapid signal switching between “on” and “off”
  • Good compatibility with digital controls

Important metrics / key data

  • Signal form: square wave
  • Main parameters: frequency and duty cycle
  • States: typically logical “0” and “1”
  • Main purpose: power or signal control
  • Typical applications: motor control, LED dimming, voltage regulation

How it works: How does PWM work?

PWM works with a periodic signal whose on and off times are deliberately varied.

  • Capture / Input
    A controller, such as a microcontroller, generates a digital square-wave signal with a constant frequency.
  • Processing / Logic
    The duration of the on-phase within the signal period is changed.
  • Output / Response
    A connected device receives a signal that switches quickly between “on” and “off”.
  • Management / Communication
    By varying the duty cycle, the average power is changed.
  • Update / Safeguarding
    Systems such as motors or LEDs respond to the average power, so that speed or brightness adjust accordingly.

Applications: Where is PWM used?

  • LED dimming: Control of the brightness of LED lights
  • Motor control: Regulation of speed in DC motors
  • Power electronics: Control of voltage converters and power supplies
  • Microcontroller systems: Generation of analog-like output signals
  • Heating and ventilation systems: Power control of heating or fan elements
  • Robotics: Control of servo motors

Differences from Similar Technologies

Feature PWM Analog Voltage Regulation
Function Control of average power via duty cycle Control via continuous voltage changes
Architecture Digital square-wave signal Analog signal variation
Flexibility Very well suited for combination with microcontrollers Requires analog control technology
Real-time / Power Energy-efficient, low power loss Higher power loss possible
Lifecycle Common in modern power electronics Classic analog circuits
Typical Use LED dimming, motor control Analog amplifiers, classic control systems

Deep Dives: A Holistic Exploration of the Topic

"

  • Duty cycle as a key parameter

The duty cycle describes the ratio of the on-time to the total period duration. A duty cycle of 50%, for example, means that the signal is on for half of the time. This variation makes it possible to precisely control the average power.

  • PWM and LED dimming

LEDs are sensitive to voltage changes and usually operate stably only in an on or off state. PWM makes it possible to switch LEDs on and off very quickly. To the human eye, the resulting light intensity appears to be continuously dimmed.

  • Energy efficiency of PWM

One advantage of PWM is its high energy efficiency. Since the signal is usually fully on or off, there is less power loss compared with linear control methods.

  • PWM in microcontroller systems

Many microcontrollers have integrated PWM modules. These enable precise control of signals and are often used in embedded systems, for example for motor control, lighting, or voltage regulation."

Advantages and Disadvantages

Advantages

  • High energy efficiency
  • Good controllability with digital systems
  • Precise power regulation
  • Suitable for many electronic applications

Disadvantages

  • Can cause electromagnetic interference
  • Requires filters in analog applications
  • Possible signal noise in sensitive systems

Practical Examples

  • LED dimmer: PWM controls the brightness of lighting systems.
  • Electric motors: Speed control in fans or robots.
  • Switch-mode power supplies: Efficient voltage regulation in electronic devices.
  • Servo motor control: Position control in robotic systems.
  • Industrial automation: Power control in electric drives.

Related terms

  • Control engineering: A field concerned with the automatic adjustment of technical systems.
  • Microcontroller: Integrated circuits for controlling electronic systems.
  • Power electronics: Electronics for controlling and converting electrical energy.
  • Analog signal: A continuous electrical signal, as opposed to digital signals.
  • Servomotor: An electric motor with integrated control for precise movements.
38