MOSFET 48V Inverter (Digital adapter slot)

../../../_images/3D_View_Top_UZ_D_Inverter_Variant_V1_Rev03.png

Functionality

The UltraZohm digital inverter consists of three half-bridges with MOSFETs. It is equipped with bi-directional current measurement for each phase and the DC-link current, measurements for the phase and DC-link voltages, and temperature measurements for each semiconductor. The voltage measurement is equipped with a 1st order low-pass filter. The current measurement is realized with shunt resistors. The inverter has a dedicated PWM enable pin. If the PWM_EN is set to false, both semiconductors of each half-bridge are disabled. An over current protection for the three phases and the DC-link is included. The OCP is not designed for half-bridge shorts and will only be triggered if the phase or DC-link currents exceed the safe operating window. The OCP, when triggered, only flags a FAULT bit in the corresponding software driver. The inverter will not shut down automatically. Each half-bridge is designed in a non-bootstrap configuration. Each voltage and current measurement signal of the three phases and the DC-link are converted from single-ended into differential transmission to reduce the susceptibility to interference. The measurement signals are transmitted via ethernet cables and are directly compatible with the Analog LTC2311-16 Rev05 and Rev06, Analog LTC2311-16 3v01 and Analog LTC2311-16 2vXX cards. To increase heat dissipation and keep the switches cooler an additional heatsink can be installed. For additional information or an in-depth look into the circuit design, check the schematics in the References section.

Absolute maximum ratings

Warning

  • Current up to \(I_{peak}=\pm33.94\ A\) or \(I_{rms}=\pm24\ A\)

  • Voltage up to \(V_{peak}=48\ V\) or \(V_{rms}=33.94\ V\)

  • Operating temperature of the MOSFET \(T_{j,max}=175°C\)

Additional ratings

Note

  • Current measurement up to \(I_{peak,meas}=\pm35\ A\)

  • Voltage measurement up to \(V_{peak,meas}= 60\ V\)

  • Temperature measurement up to \(T_{meas}=105°C\)

  • Temperature measurement is not built into the MOSFET. Therefore the heat of the PCB close to the semiconductors is measured. The measured temperature will always be significantly lower than the max operating temperature of the semiconductors.

  • DC-link capacitance \(C_{DC} = 570\mu F\)

  • OPC trigger point \(I_{OCP}=\pm29.85\ A\)

  • Cutoff frequency for voltage measurement \(f_g = 2170\ Hz\)

  • Operation up to a PWM frequency of \(f_{PWM} = 100\ kHz\) has been verified

Pinout

Table 113 Defined pin mapping uz_d_inverter

Adapter Card Pin

Net Name

Signal Description

Signal Type

Direction seen from Adapter Board

DIG_IO_00

PWM H1#

Gate H1

PWM/Direct

Input

DIG_IO_01

PWM L1#

Gate L1

PWM/Direct

Input

DIG_IO_02

PWM H2#

Gate H2

PWM/Direct

Input

DIG_IO_03

PWM L2#

Gate L2

PWM/Direct

Input

DIG_IO_04

PWM H3#

Gate H3

PWM/Direct

Input

DIG_IO_05

PWM L3#

Gate L3

PWM/Direct

Input

DIG_IO_06

unused

DIG_IO_07

H1 Temp

Temperature feedback H1

PWM

Output

DIG_IO_08

unused

DIG_IO_09

L1 Temp

Temperature feedback L1

PWM

Output

DIG_IO_10

unused

DIG_IO_11

OC P1

Over current indicator for phase A

Level, low active

Output

DIG_IO_12

unused

DIG_IO_13

OT L1

Over temperature indicator L1

Level, low active

Output

DIG_IO_14

PWM EN

Enable Gate signals

Level, high active

Input

DIG_IO_15

OC P2

Over current indicator for phase B

Level, low active

Output

DIG_IO_16

unused

DIG_IO_17

OT H1

Fault indicator H1

Level, low active

Output

DIG_IO_18

H3 Temp

Temperature feedback H3

PWM

Output

DIG_IO_19

H2 Temp

Temperature feedback H2

PWM

Output

DIG_IO_20

L3 Temp

Temperature feedback L3

PWM

Output

DIG_IO_21

L2 Temp

Temperature feedback L2

PWM

Output

DIG_IO_22

unused

DIG_IO_23

OC P3

Over current indicator for phase C

Level, low active

Output

DIG_IO_24

OT L3

Over temperature indicator L3

Level, low active

Output

DIG_IO_25

OT L2

Over temperature indicator L2

Level, low active

Output

DIG_IO_26

unused

DIG_IO_27

OC DC

Over current indicator for DC-link

Level, low active

Output

DIG_IO_28

OT H3

Over temperature indicator H3

Level, low active

Output

DIG_IO_29

OT H2

Over temperature indicator H2

Level, low active

Output

Compatibility

This digital adapter inverter board is directly compatible with the Inverter Adapter IP-Core. It can be used in any of the D1-D4 digital adapter card slots in the UltraZohm, provided the correct CPLD is flashed. The card is directly compatible with the Analog LTC2311-16 Rev05 and Rev06, Analog LTC2311-16 3v01 and Analog LTC2311-16 2vXX cards.

Switching behavior

In the figure below the general switching behaviour of the inverter with a PMSM as load is shown. The plots were capture during routine operation with the PMSM running with \(i_q = 5\ A\). The PWM frequency was \(20\ kHz\) with a deadtime of \(150\ ns\). The gate resistance has been tuned to such a degree, that there is practically no overshoot and only a minimal degree of oscillation for the drain source voltages. Whilst there is further optimization potential, the resulting switching behaviour shows a robust enough solution.

Figure made with TikZ

Components

Heatsink

The PCB is prepared for a heatsink installation. Four holes are placed to allow screws with a maximum of M3 diameter to be used. Intended design is, that the heatsink has the appropriate bore holes with threads into which the screws can be screwed. For further information about the dimensions of the heatsink and the placement of screw holes check out the schematic below. The dimensions take account the safety margin required in respect to the mounting rails in the UltraZohm. A simple passive heatsink is sufficient for operation. An advanced actively cooled heatsink, either with air or water, can be installed as well if desired.

Figure made with TikZ

Fig. 224 Heatsink dimensions

Setup before first use and implementation with Inverter Interface IP-Core

CPLD

Make sure, that in the corresponding digital adapter slot the correct CPLD is flashed. For this adapter card the uz_d_3ph_inverter CPLD has to be flashed. Download this CPLD from the UltraZohm CPLD Repository. Follow this guide on how to flash the correct CPLD onto the UltraZohm.

Software implementation

This adapter card interacts with the user via the highly sophisticated Inverter Adapter IP-Core and its corresponding driver. Follow this guide on how to integrate the IP-Core in the FPGA and how to set up the software driver. Whilst following this guide, make sure to adjust the linear interpolation parameters for the inverter_adapter_config. For this inverter card they should be:

Listing 212 linear interpolation parameters for config struct
.linear_interpolation_params = {-289.01f, 218.72f}

Set the deadtime in the uz_interlockDeadtime2L_staticAllocator.c file to an appropriate value. A safe value with a considerable safety margin is 200ns. No matter what, the deadtime should not be lower than 150ns.

Listing 213 set the deadtime in the uz_interlockDeadtime2L_staticAllocator.c file. Shown is an example for the D1 slot.
static uz_interlockDeadtime2L interlock_slotD1_pin_0_to_5 = {
   .base_address = XPAR_UZ_DIGITAL_ADAPTER_D1_ADAPTER_GATES_UZ_INTERLOCKDEADTIME_0_BASEADDR,
   .clock_frequency_MHz = 100,
   .deadtime_us = 0.2,
   .inverse_bottom_switch = false };

To enable respectively disable the PWM_EN for normal operation add the following code to the isr.c. It should always be ensured, that the PWM_EN is handled correctly. I.e. if the UltraZohm transitions into its error-state because e.g. the OCP is triggered, it must be ensured, that the PWM_EN is retracted. Pay attention to this during your error handling.

Listing 214 Additions for isr.c in regards to the PWM_EN
if (current_state == running_state || current_state == control_state) {
  // enable inverter adapter hardware
  uz_inverter_adapter_set_PWM_EN(Global_Data.objects.inverter_d1, true);
} else {
  // disable inverter adapter hardware
  uz_inverter_adapter_set_PWM_EN(Global_Data.objects.inverter_d1, false);
}

To read out the measured current and voltage signals both ethernet cables have to be connected to an ADC-Card. In the isr.c add the following conversion factors to the measured signals.

Listing 215 Additions for isr.c if the ADC-Card is in the A1 slot. For the A2/A3 slot adjust the code accordingly
struct uz_3ph_abc_t v_abc_Volts = {0};
struct uz_3ph_abc_t i_abc_Amps = {0};
float v_DC_Volts = 0.0f;
float i_DC_Amps = 0.0f;
v_abc_Volts.a = Global_Data.aa.A1.me.ADC_B8 * 12.0f;
v_abc_Volts.b = Global_Data.aa.A1.me.ADC_B7 * 12.0f;
v_abc_Volts.c = Global_Data.aa.A1.me.ADC_B6 * 12.0f;
v_DC_Volts = Global_Data.aa.A1.me.ADC_A1 * 12.0f;
i_abc_Amps.a = Global_Data.aa.A1.me.ADC_A4 * 12.5f;
i_abc_Amps.b = Global_Data.aa.A1.me.ADC_A3 * 12.5f;
i_abc_Amps.c = Global_Data.aa.A1.me.ADC_A2 * 12.5f;
i_DC_Amps = Global_Data.aa.A1.me.ADC_B5 * 12.5f;

In order to use the over current and over temperature protection, the following code has to be added to the isr.c as well. These are optional features and can be left out if they aren’t required.

Listing 216 Additions for isr.c if OCP or OTP are used
//Read out overtemperature signal (low-active) and disable PWM and set UltraZohm in error state
//Overtemperature for H1
if (!Global_Data.av.inverter_outputs_d1.FAULT_H1) {
   ultrazohm_state_machine_set_error(true);
}
//Overtemperature for L1
if (!Global_Data.av.inverter_outputs_d1.FAULT_L1) {
   ultrazohm_state_machine_set_error(true);
}
//Overtemperature for H2
if (!Global_Data.av.inverter_outputs_d1.FAULT_H2) {
   ultrazohm_state_machine_set_error(true);
}
//Overtemperature for L2
if (!Global_Data.av.inverter_outputs_d1.FAULT_L2) {
   ultrazohm_state_machine_set_error(true);
}
//Overtemperature for H3
if (!Global_Data.av.inverter_outputs_d1.FAULT_H3) {
   ultrazohm_state_machine_set_error(true);
}
//Overtemperature for L3
if (!Global_Data.av.inverter_outputs_d1.FAULT_L3) {
   ultrazohm_state_machine_set_error(true);
}
//Read out overcurrent signal (low-active) and disable PWM and set UltraZohm in error state
//Binding of the signals to the driver is slightly unintuitive
//Overcurrent for Phase A
if (!Global_Data.av.inverter_outputs_d1.OC_L1) {
   ultrazohm_state_machine_set_error(true);
}
//Overcurrent for Phase B
if (!Global_Data.av.inverter_outputs_d1.OC_H1) {
   ultrazohm_state_machine_set_error(true);
}
//Overcurrent for Phase C
if (!Global_Data.av.inverter_outputs_d1.OC_L2) {
   ultrazohm_state_machine_set_error(true);
}
//Overcurrent for DC-link
if (!Global_Data.av.inverter_outputs_d1.OC_H2) {
   ultrazohm_state_machine_set_error(true);
}

References

Known issues

As of this moment, no issue in Rev03 is known.

Designed by

Dennis Hufnagel (THN)

Acknowledgments

Special thank you for their support during the design and testing phase goes to Eyke Aufderheide (TUM), Michael Hoerner (THN) and Tobias Schindler (THN).