Pulse-Width Modulation (PWM)

Implement algorithms for controlling electrical power using pulse-width modulation (PWM)

Proper control of pulse-width modulation (PWM) ensures efficiency and accuracy in applications such as brushless motor control, solar power inverter control, and voltage regulation. A common challenge with these applications is evaluating the correctness of the control architecture early—before committing to the expense of hardware testing.

To develop and implement accurate algorithms for regulating pulse-width modulation, you should consider performing the following tasks:

  • Designing and testing PWM control algorithms in a simulation environment
  • Generating ANSI C code for real-time testing and implementation
  • Integrating pulse-width modulation control algorithms into an existing code base
To learn more about how PWM is implemented with Simulink ®, see the video Speed Control of a DC Motor Using PWM (7:27).

See also: Simulink, Simscape Power Systems, Simscape Electronics, Simulink Control Design, Embedded Coder, motor control, pulse-width modulation videos