PEN – NPC phase-leg
Table of Contents
The PEN block is a simulation model included in the Imperix Power library. It models the imperix NPC phase-leg PEN8018 in Simulink and PLECS simulation.
For more information regarding the Imperix Power library, please read Getting started with Imperix Power library.
• Simulink R2016a or newer.
• Plexim PLECS 4.5 or newer.
Modeling of PEN
The schematic of the PEN model is depicted on the right. It has two modeling levels:
- (A) Simple
- (B) Detailed
For more detailed model parameters and measurement results, please contact [email protected].
DC bus
The schematic of the equivalent DC bus is shown below.
The simulation model is relevant within a given frequency range. The frequency validity range is 0-4 kHz for the (A) Simple level and 0-100 kHz for the (B) Detailed level. In that range, the impedance and transfer function of the model are reasonably close to the modeled system, which can be seen along with the plots of the proposed models. The model parameters are also displayed below.
C_1 [uF] | ESR_1 [mΩ] | |
(A) | 258.5*2 | 0 |
(B) | 258.5*2 | 80/2 |
Embedded sensors
A generic sensor can be approximately modeled by an ideal sensor in series with an optional first-order Low-Pass Filter (LPF). The relationship between sensor’s bandwidth \(f_{BW}\) and the time constant \(\tau\) of the LPF follows \(\tau = \frac{1}{2\pi f_{BW}}\).
A sensor is modeled as a first-order LPF only if its bandwidth lies within the frequency range of a given modeling level. Otherwise, it is modeled as an ideal sensor. The following table summarizes the information on all the sensors in the PEN.
Sensor | Bandwidth [kHz] | (A) Simple | (B) Detailed |
---|---|---|---|
PEN voltage sensor | 25 | Ideal | LPF |
PEN current sensor | 450 | Ideal | Ideal |
Power transistors
The PEN block offers two options for modeling the power transistors:
- Switched The transistors are modeled by individual power semiconductors. The control inputs are instantaneous logical gate signals.
- Averaged The transistors are modeled by controlled voltage and current sources. The control inputs are the relative on-times of the semiconductors with values between 0 and 1. The gate signals can be either instantaneous (using only values 0 and 1) or time-averaged.
Although the functionality is practically the same, these options are named differently in PLECS and Simulink Simscape to be consistent with their naming conventions.
In Simulink Simscape only the Switched model is available, which is named:
- Switching devices
In PLECS they are named:
- Switched
- Sub-cycle average
Simulink PEN block
Port specification
- The input
g0,2
andg1,3
are the gate signals. There are 4 signals in total, and the order is shown in the schematic.- For
Switching devices (switched)
model,g0,2
andg1,3
are the 0/1 PWM signals. - For
Switching Function (averaged)
model,g0,2
andg1,3
can be either the 0/1 PWM signal or the duty cycle between 0 and 1.
- For
- The output
V
is the measured voltages across each half of the DC bus. - The output
I
is the measured output current. - The connection port
DC+
is the electrical port connected to the positive pole of the DC bus. - The connection port
DC-
is the electrical port connected to the negative pole of the DC bus. - The connection port
N
is the electrical port connected to the midpoint of the DC bus. - The connection port
AC
is the electrical port connected to the AC output.
Parameters
Use global configurations
is ticked when the block receives global configurations from theConfig
block.Modeling level
selects the modeling level of the peripheral circuits.Initial voltage across each half of DC Bus [V]
is a 2×1 array that defines the initial voltage across each half of the DC bus when the simulation starts.
PLECS PEN block
Port specification
- The input
g0,2
andg1,3
are the gate signals. There are 4 signals in total, and the order is shown in the schematic.- For
Switched
model,g0,2
andg1,3
are the 0/1 PWM signals. - For
Sub-cycle average
model,g0,2
andg1,3
can be either the 0/1 PWM signals or the duty cycles between 0 and 1.
- For
- The output
V
is the measured voltages across each half of the DC bus. - The output
I
is the measured output current. - The connection port
DC+
is the electrical port connected to the positive pole of the DC bus. - The connection port
DC-
is the electrical port connected to the negative pole of the DC bus. - The connection port
N
is the electrical port connected to the midpoint of the DC bus. - The connection port
AC
is the electrical port connected to the AC output.
Parameters
Modeling level
selects the modeling level of the peripheral circuits.Transistor model type
selects the model of the power transistors.DC Bus midpoint terminal visible
shows or hides the portN
.Initial voltage across each half of DC Bus [V]
is a 2×1 array that defines the initial voltage across each half of the DC bus when the simulation starts.
Probe signals
The following signals can be monitored by a Probe block in PLECS.
Gate signals
monitors the gate signals present at the inputg
.DC Bus voltages true value [V]
monitors the true value of the DC bus voltages in Volt.DC Bus voltages sensor output [V]
monitors the physical output of the DC bus voltage sensors in Volt.Output current true value [A]
monitors the true value of the output current in Amp.Output current sensor output [V]
monitors the physical output of the output current sensor in Volt.