PWM Timing and Waveform Generator (Three-phase, Three-level)
Generate three-phase, three-level gating time information
Simscape / Electrical / Control / Pulse Width Modulation
The PWM Timing and Waveform Generator (Three-phase, Three-level) block controls switching behavior for a three-phase, three-level power converter. The block calculates on-gating and off-gating times and modulation waves based on these block inputs:
Three sinusoidal reference voltages
A DC-link voltage
A DC-link neutral point balance control signal
This block can be used with average converters to speed up the simulation.
This block allows you to choose natural, symmetric, or asymmetric sampling of the modulation wave.
The PWM Timing and Waveform Generator (Three-phase, Three-level) block does not perform carrier-based pulse width modulation (PWM). Instead, the block uses input signals to calculate the gating times.
Carrier-based PWM is, however, useful for showing how the sampling mode that you select relates to the switch-on and switch-off behavior of the pulses that the block generates. A generator that uses a three-level, carrier-based PWM method:
Samples a reference wave
Compares the sample to two parallel triangle carrier waves, separated by one level
Generates a switch-on pulse if a sample is higher than the carrier signal or a switch-off pulse if a sample is lower than the carrier wave
To determine switch-on and switch-off pulse behavior, a three-level carrier-based PWM generator uses these methods to sample each of the triangle waves:
Natural — The sampling and comparison occur at the intersection points of the modulation wave and the carrier wave.
Asymmetric — Sampling occurs at the upper and lower boundaries of the carrier wave. The comparison occurs at the intersection that follows the sampling.
Symmetric — Sampling occurs only at the upper boundary of the carrier wave. The comparison occurs at the intersection that follows the sampling.
Vabc — Three-phase sinusoidal reference signal
Sinusoidal voltages that you want the attached converter to output, specified as a vector of three elements, with one element for each phase.
vdc — DC-link voltage signal
Positive real number for the DC-link voltage of the converter, specified as a scalar.
vneutral — DC-link neutral point balance control
Output from a feedback-control loop that balances the DC supply,
specified as a real number between
TgabcON — Switch-on gating time
Switch-on gating time, returned as a vector of three elements, with one element for each phase.
TgabcOFF — Switch-off gating time
Switch-off gating time, returned as a vector of three elements, with one element for each phase.
SmallHexNum — Small hexagon number
Number of the small hexagon that composes the space–vector diagrams of conventional two-level inverters, returned as a scalar between 1 and 6. For more information, see the Simplified Space-Vector PWM Method section in the PWM Gate Signal Generator (Three-phase, Three-level) block.
ModWave — Modulation waves
Modulation waves, returned as a vector of three elements, with one element for each phase.
Continuous PWM — Continuous pulse width modulation method
SPWM: sinusoidal PWM (default) |
SVM: space vector modulation
Specify the waveform technique.
Sampling mode — Wave-sampling method
Natural (default) |
Wave-sampling method. The sampling mode determines whether the block samples the modulation waveform when the waves intersect or when the carrier wave is at one or both of its boundary conditions.
Switching frequency (Hz) — Switching rate
1e3 (default) | positive scalar
Rate at which the switches in the power converter switch.
 Chung, D. W., J. S. Kim, and S. K. Sul. “Unified Voltage Modulation Technique for Real Time Three-Phase Power Conversion.” IEEE Transactions on Industry Applications, Vol. 34, No. 2, 1998, pp. 374–380.
 Seo, J. H., C. H. Choi, and D. S. Hyun. “A new simplified space-vector PWM method for three-level inverters.” IEEE Transactions on Power Electronics, Vol. 16, No. 4, 2001, pp. 545-550.