PWM Reference Generator
Generate modulation signals, duty cycles, and phase voltages from reference voltages based on modulation method
Libraries:
Motor Control Blockset /
Controls /
Math Transforms
Motor Control Blockset HDL Support /
Controls /
Math Transforms
Description
The PWM Reference Generator block generates modulation signals, duty cycles, and phase voltages from reference voltages based on selected modulation method. The block provides an option to limit its output which can be used to achieve simplified overmodulation or prevent erratic switching behavior.
The block accepts either the phase voltages (Vabc) or the stator reference voltages (Vαβ) described by the α-β voltage components.
The block supports both the SI unit and per-unit (PU) systems (see Per-Unit System for more details).
Use this block to perform sinusoidal PWM (SPWM) and space vector modulation (SVM) along with these discrete pulse-width modulation (DPWM) methods that reduce switching losses:
60 DPWM — 60 degree discontinuous PWM
60 DPWM (+30 degree shift) — +30 degree shift from 60 DPWM
60 DPWM (-30 degree shift) — -30 degree shift from 60 DPWM
30 DPWM — 30 degree discontinuous PWM
120 DPWM — Positive DC component
120 DPWM — Negative DC component
For discontinuous PWM (DPWM), the block clamps the modulation wave to the positive or negative DC rail for a total of 120 degrees during each fundamental period per phase. During each clamping interval, the modulation discontinues.
The figure shows the sinusoidal PWM (SPWM) waveform.

The figure shows the space vector modulation (SVM) waveform.

The figure shows a 60-degree DPWM waveform with two 60-degree clamped intervals per fundamental period.

The figure shows a 60-degree DPWM waveform with a positive 30-degree phase shift.

The figure shows a 60-degree DPWM waveform with a negative 30-degree phase shift.

The figure shows a 30-degree DPWM waveform with four 30-degree clamped intervals per fundamental period.

The figure shows a 120-degree DPWM waveform with positive DC clamping.

The figure shows a 120-degree DPWM waveform with negative DC clamping.

Examples
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2020a

