TPI PP-PWM – Helper block
Table of Contents
The TPI PP-PWM helper block is a wrapper that simplifies the use of the PP-PWM block with the all-in-one programmable inverter (TPI8032 22kW). Since the topology of the converter is fixed, the channel assignment and part of the modulators’ configuration are known beforehand.
The topology of the converter and the connection of the PWM channels are shown below. To prevent short-circuiting the DC bus, the upper and lower leg switches always use pseudo-complementary signals with a fixed dead-time of 124 ns. This value was chosen as low as possible to minimize the distortion introduced by the dead-time.

PWM channel | PWM lane | Description |
0 | 0 | PWM High – Phase A (M0) |
1 | PWM Low – Phase A (M0) | |
1 | 2 | PWM High – Phase B (M1) |
3 | PWM Low – Phase B (M1) | |
2 | 4 | PWM High – Phase C (M2) |
5 | PWM Low – Phase C (M2) |
Simulink PP PWM helper block
Signal specification
- The input \(\alpha\) contains the vector of angles between ]0; \(\frac{\pi}{2}\)[ that define the programmed pattern.
- The input signal
t
is a vector containing the transitions for each angle. - The input signal
f
defines the pulse frequency. - The
sim
output is a vector corresponding to the six generated PWM signals (phase A high and low, phase B high and low, and phase C high and low). They are only used in simulation. - The phase angle output \(\theta\) is the phase angle for grid synchronization

Parameters
Device ID
selects which TPI to address when used in a multi-device configuration.Number of angles
configures the number of angles per quarter period.Show "activate" input
makes theA
input visible. If not checked, the TPI CB PWM helper block is active by default.Simulate dead-time
toggles the option to simulate the effect of the dead-time.


PLECS PP PWM helper block
Signal specification
- The input \(\alpha\) contains the vector of angles between ]0; \(\frac{\pi}{2}\)[ that define the programmed pattern.
- The input signal
t
is a vector containing the transitions for each angle. - The input signal
f
defines the pulse frequency. - The target output port (only visible at the atomic subsystem level) is a vector corresponding to the six generated PWM signals (phase A high and low, phase B high and low, and phase C high and low). They are only used in simulation.
- The phase angle output \(\theta\) is the phase angle for grid synchronization

Parameters
Device ID
selects which TPI to address when used in a multi-device configuration.Number of angles
configures the number of angles per quarter period.Show "activate" input
makes theA
input visible. If not checked, the TPI CB PWM helper block is active by default.Simulate dead-time
toggles the option to simulate the effect of the dead-time.


C++ functions
There are no C++ helper functions for the TPI. Please refer to the generic PP-PWM functions.