ANPC Leg

Description of the ANPC Leg component in Schematic Editor

A block diagram and input parameters for an ANPC Leg block are given in Table 1.

Table 1. ANPC Leg block in the HIL Toolbox
component component dialog window component parameters

ANPC Leg

  • General
    • Control(Digital inputs, Model)
    • S1 (1..32(64))
    • S2 (1..32(64))
    • S3 (1..32(64))
    • S4 (1..32(64))
    • S5 (1..32(64))
    • S6 (1..32(64))
    • gate_logic (active high, active low)
    • Gate control enabling (enables usage of external digital signal to enable the switching)
    • Sen (digital input selection for PWM enable)
    Weight = 1

A schematic block diagram of the inverter switching block is given in Figure 1 with corresponding switch arrangement and naming.

Digital inputs, when selected as the Control parameter, enables you to assign gate drive inputs to any of the digital input pins (from 1 to 32(64)). For example, if S1 is assigned to 1, the digital input pin 1 will be routed to the S1 switch gate drive. In addition, the gate_logic parameter selects either active high (High-level input voltage VIH turns on the switch), or active low (Low-level input voltage VIL turns on the switch). The gate drive logic depends on your external controller design.

Model, when selected as the Control parameter, enables you to set the IGBTs' gate drive signals directly from the signal processing model. The input pin gates appears on the component. It requires a vector input of six gate drive signals in the following order: [S1, S2, S3, S4, S5, S6]. When controlled from the model, the logic is always set to active high.

Gate control enabling, when checked, enables use of an external PWM enabling digital signal.

Figure 1. A schematic block diagram of an ANPC Leg block diagram with corresponding switch naming

Losses calculation

When the Losses calculation property is enabled, the component will calculate switching and conduction power losses for all switching elements (IGBTs and Diodes or MOSFETs). In the case of MOSFET switching elements, the diode characteristic represents the internal MOSFET body diode. Switching power losses are calculated as a function of current, voltage, and temperature using 3D lookup tables. Also, 2D input for losses is supported. When a 2D losses table is inserted, it assumes only current (I) and temperature dependence. Conduction power losses can be defined as a function of current and temperature using Vt and Vd lookup tables (LUTs). These LUTs can be 1D or 2D tables. If the LUT is a 1D table, forward voltage drop depends only on the current, but if LUT is a 2D table, forward voltage drop dependence on the junction temperature is also considered. In the MOSFET case under reverse current conduction, a current sharing calculation between the MOSFET channel and the internal body diode is performed. Import options and an explanation how to correctly fill all necessary power losses parameters is described in the Importing power losses data section.

In the case of the IGBT switch type, input/output terminals for power losses receive/generate vectors of 12 elements (indexes 0-11, where every index in the vector represent one switching element). The ordering of switching elements is described in Table 2:

Table 2. Switching elements ordering for power losses terminals in the case of IGBT switch type
Offset Switching element
0 S1_igbt
1 S1_diode
2 S2_igbt
3 S2_diode
4 S3_igbt
5 S3_diode
6 S4_igbt
7 S4_diode
8 S5_igbt
9 S5_diode
10 S6_igbt
11 S6_diode
In the case of the MOSFET switch type, input/output terminals for power losses receive/generate vectors of 6 elements (indexes 0-5, where every index in the vector represent one switching element). The ordering of switching elements is described in Table 3:
Table 3. Switching elements ordering for power losses terminals in the case of MOSFET switch type
Offset Switching element
0 S1_mosfet
1 S2_mosfet
2 S3_mosfet
3 S4_mosfet
4 S5_mosfet
5 S6_mosfet
Available Mask properties are:
  • Current values - Switching elements current axis [A]

  • Voltage values - Switching elements voltage axis [V]

  • Temp values - Switching elements temperature axis [°C]

  • Vt table - Switch forward voltage drop, f(I,T) [V]

  • Vd table - Diode forward voltage drop, f(I,T) [V]

  • Et on table - Switch switching ON losses, output energy, f(I, V, T) [J]

  • Et off table - Switch switching OFF losses, output energy, f(I, V, T) [J]

  • Ed off table - Diode switching OFF losses, output energy, f(I, V, T) [J]

Temperatures calculation

When the Temperatures calculation property is enabled, the component will calculate the combined power losses (P_loss) and junction temperatures (T_junctions) for all switching elements (IGBTs and diodes). Combined power losses represent the sum of the calculated switching and conduction losses transfered through the internally generated Thermal network component. The internally generated Thermal network component also calculates junction temperatures from power losses, input case temperatures and provided thermal model parameters. Input/output ports for temperature calculation are vectors of 12 elements for the IGBT switch type and 6 for the MOSFET switch type. They are indexed in the same way as explained in Losses calculation. Additional temperature calculation mask properties are:
  • Thermal networks type - Defines type of internal thermal network
  • Rth switch - List of thermal resistance for the IGBT switch
  • Tth switch / Cth switch - List of thermal time constants or thermal capacitances for the IGBT switch
  • Rth diode - List of thermal resistances for the diode
  • Tth diode / Cth diode - List of thermal time constants or thermal capacitances for the diode
  • Calculation execution rate - Execution rate in [s] for the losses and temperature calculation logic

Digital Alias

If a converter is controlled by digital inputs, an alias for every digital input used by the converter will be created. Digital input aliases will be available under the Digital inputs list alongside existing Digital input signals. The alias will be shown as Converter_name.Switch_name, where Converter_name is name of the converter component and Switch_name is name of the controllable switch in the converter.