PWM
Pulse width modulation (PWM) is a method for controlling the average voltage or power delivered to an electrical load by rapidly switching a signal on and off. The central parameter is the duty cycle, the fraction of each switching period that the signal is high. By adjusting the duty cycle while keeping the switching frequency constant, the load experiences a controllable average voltage without dissipating excess heat in the control element.
PWM can be generated with digital timers in microcontrollers, dedicated PWM controllers, or analog circuitry that
Applications include DC motor control, stepper motor drivers, buck and boost converters, class D audio amplifiers,