Frequently Asked Question

Video: 4.3.4. Power loss calculation
Last Updated 3 years ago


Press "Ctrl + F" to find the keyword of your interest.

If you wish to have a direct link access to the video timestamps, please follow these instructions.

Found this video helpful? Why not take the whole HIL Specialist course? A Certificate is waiting for you for free at HIL Academy.

Would you or your organization benefit from having these videos narrated in your native language? Contact us and let us know if you wish to contribute.

TRANSCRIPT

00:00:02

Hello and welcome to the Power Loss calculationlesson.

00:00:05

This lesson will cover different approacheswithin the Typhoon HIL software to calculate

00:00:09

power losses in your models.

00:00:12

Including power loss calculations is one wayyou can increase simulation fidelity.

00:00:17

First, let s discuss the advantages of simulatingpower losses in real time in comparison to

00:00:23

offline simulations.

00:00:25

Knowing losses in real time allows you toemulate thermal behavior in real time which

00:00:29

is useful to test thermal management systems.

00:00:32

Additionally, including forward voltage dropin your converters can affect the power stage

00:00:37

behavior allowing you to better assess therobustness of your converter controller under

00:00:41

test.

00:00:42

In comparison to other HIL applications, C-HILapplications benefit the most from power loss

00:00:48

calculation since it provides a clearer overviewof the control algorithm s impact on power

00:00:52

losses.

00:00:53

There are several requirements that have tobe fulfilled before you can simulate power

00:00:59

losses.

00:01:00

First, the Power Loss Calculation toolboxmust be active.

00:01:04

For more information about the Power LossCalculation Toolbox, please refer to the link

00:01:08

in the materials tab.

00:01:10

There you will also learn which converterssupport power loss calculation.

00:01:16

The next requirement is that your HIL deviceis set to an appropriate firmware configuration.

00:01:21

This is best demonstrated with an example.

00:01:24

On the screen, you can see a drive model whichhas been used previously in this course.

00:01:29

We ll use this model to demonstrate the powerloss calculation feature.

00:01:34

By checking the device configuration table,you can see which firmware configurations

00:01:38

support Power Loss calculation.

00:01:41

As you can see in the Converter Power losscalculation row, the HIL404 supports Power

00:01:47

Loss Calculation in all configurations exceptconfiguration 4.

00:01:51

Since we are not using configuration 4, ourconfiguration supports power loss calculation.

00:01:58

Now, let s go to the converter and reviewthe properties related to power loss calculation.

00:02:04

These properties can be found in the Lossestab of the properties window for every converter

00:02:08

that supports power loss calculation.

00:02:11

In this window you can see two checkboxesone for forward voltage drop and another for

00:02:17

losses calculation.

00:02:19

Here we will be focusing on power loss calculation.

00:02:22

Forward voltage drop will be reviewed in greaterdetail in the next lesson.

00:02:28

Enabling the losses calculation checkbox revealsa number of properties related to power losses.

00:02:33

These power loss properties can be importedin two ways automatically from xml files,

00:02:39

sometimes referred to as PLECS format, ormanually by referencing datasheet information.

00:02:44

If you are interested in automatic importationof power loss data, more information about

00:02:51

this is provided in the tutorial called TutorialMOSFET power loss calculation linked in the

00:02:56

materials tab.

00:02:57

Automatic importation of power loss data isfurther demonstrated in the High Fidelity

00:03:02

EV Drive HIL Simulation webinar also linkedin the materials tab.

00:03:07

The second method of importing power lossdata is manual importation, meaning that you

00:03:13

will populate all the properties in the windowmanually.

00:03:16

The first three properties in the window arecurrent, voltage, and temperature values.

00:03:21

These values define the points on the axesin the 3D space or 2D plane, based on which

00:03:26

you later define the voltage drop or energylosses.

00:03:29

It is common to define these axis points byinspecting graphs in the datasheet being referenced.

00:03:35

Let s open the datasheet we ll use for thisdemonstration and start by inspecting the

00:03:39

conduction characteristics.

00:03:43

In Figure 1 you can see the values of voltagedrop, shown on the x axis, in relation to

00:03:50

conduction current, shown on the y axis.

00:03:53

In this figure, current values range from0 to 300 amperes.

00:03:58

You can select values in this range to populatethe Current values list in the losses calculation

00:04:03

properties.

00:04:04

For this example, we ll take 7 values 0, 50,100, 150, 200, 250, and 300 amperes.

00:04:14

Remember that these values don t have to beequidistant.

00:04:17

It is recommended that you include more pointswhere graphs are more curved and fewer points

00:04:22

in the parts where they are less curved.

00:04:25

You can also see that there are multiple curveson the graphs which correspond to different

00:04:30

temperatures.

00:04:31

You can enter these temperature values asan array in the Temp values property for loss

00:04:35

calculation.

00:04:36

For simplicity, this example will only usetwo temperatures: 125 C and 175 C.

00:04:43

Moving to Figure 5, you will see curves forswitching losses.

00:04:49

You can see in the legend that this data wasgathered at a voltage of 900 V. You can enter

00:04:54

this voltage value in the Voltage values entryfor loss calculation.

00:05:00

These current, voltage, and temperature valueswill define the axes for energy loss and voltage

00:05:06

drop data which you will enter into the model.

00:05:08

Since only one voltage value is specified,all loss data must be approximated assuming

00:05:13

a constant 900 V voltage.

00:05:17

In cases like this, there is a simple wayto introduce voltage dependence and increase

00:05:22

the fidelity of the power loss calculationfor different voltage values.

00:05:27

This is done by adding an additional datapointfor 0 V at the beginning of the voltage array.

00:05:33

Let s do that.

00:05:34

With the additional voltage value, the powerloss calculation algorithm will take into

00:05:39

consideration different voltage values onthe switch.

00:05:43

With axes points defined, it is now time toenter loss and voltage drop data.

00:05:48

Let s start with the voltage drop for theswitch.

00:05:54

As mentioned earlier, we ll include data forthe 125 C and 175 C curves.

00:06:09

For the collector current value of 0 amperes,the forward voltage drop is approximately

00:06:14

0.6 V for 125 C and 0.5 V for 175 C. At 50amperes, the voltage drop is around 1.55 V

00:06:26

for 125 C and 1.6 V for 175 C.

00:06:33

This process should be repeated, recordingvoltage values for all previously defined

00:06:37

current and temperature values.

00:06:46

You can see the appropriate format for enteringvoltage drop data on this slide.

00:06:51

If only one temperature value is entered,you should enter voltage drop values as a

00:06:55

1D array.

00:06:56

If there are multiple temperatures, you canenter voltage drop data as a 2D list.

00:07:09

Using this format, the forward voltage dropdata for this device should be entered as

00:07:13

the 2D list shown here.

00:07:16

You can enter these data into the Vt tableproperty on the losses tab of the converter.

00:07:25

Next, let s inspect the forward characteristicsof the diode.

00:07:34

On this datasheet, Figure 14 presents theforward voltage drop behavior for the diode.

00:07:39

As before, let s collect information for forwardvoltage drop at 125 C and 175 C. The procedure

00:07:48

is the same as for the forward voltage dropfor the switch.

00:07:53

The diode forward voltage data are shown onthis slide using the same 2D list format that

00:08:00

was used for the device forward voltage dropcharacteristics.

00:08:05

You can enter these data into the Vd tableproperty on the losses tab of the converter.

00:08:16

The next three properties Et on table, Etoff table and Ed on table describe switching

00:08:24

losses for the device.

00:08:26

You can also extract these switching lossvalues from the datasheet.

00:08:29

Let s start with switching energy losses inthe switch.

00:08:37

Switching energy curves are presented in Figure5 on this datasheet.

00:08:41

In the figure, there are four curves in total.

00:08:46

Two of them are for the energy loss when theswitch turns on, marked Eon, while the second

00:08:50

two are for the energy loss when the switchturns off, marked Eoff.

00:08:56

For both turn-on and turn-off losses, thereis one curve for 125 C and another for 175

00:09:05

C.Switching loss data should be formatted in

00:09:11

a 2D or 3D list, depending on the number ofvoltages you ve defined.

00:09:16

If there is only one voltage, you would usea 2D look up table.

00:09:21

For the 2D look up table approach, each entryof the list contains loss information defined

00:09:26

for one predefined current value.

00:09:28

Each entry comprises a list which itself hasone entry for each temperature you have previously

00:09:33

defined.

00:09:36

If there are multiple voltages, you woulduse a 3D look up table.

00:09:40

In this approach, each list entry containsinformation for one predefined current value.

00:09:45

Each entry comprises a list with one elementfor each defined voltage.

00:09:49

Each element in the nested list itself comprisesa list which has one entry for each temperature

00:09:54

you have previously defined.

00:09:56

These nested list structures are depictedvisually on this slide.

00:10:01

Now that we have covered the format for describingswitching loss data, let s extract some values

00:10:06

from the datasheet.

00:10:09

Here you can see Figure 5 from the datasheet.

00:10:12

Next to the figure, you can see the data thatis extracted.

00:10:15

On top, you can see the 3D list for switchinglosses during turn-on of the switch.

00:10:19

Below that, you can see the 3D list for switchinglosses during turn-off of the switch.

00:10:25

Notice that the structure is made up of nestedlists as described previously.

00:10:33

Each element of the outer list is itself alist.

00:10:35

These nested lists contains two lists, whereeach one is dedicated to one fixed voltage

00:10:40

value.

00:10:41

In this case, these voltages are 0 V and 900V.

00:10:47

You can see that the first list in each paircontains the same entry, [0, 0].

00:10:51

This is because there are no losses in thecase of switching at 0 V. Including these

00:10:57

zero values enables the power loss calculationalgorithm to calculate losses when switching

00:11:02

at voltages between 0 V and 900 V.You can enter these data into the Et on table

00:11:06

and Et off table properties on the lossestab of the converter.

00:11:08

The last property to add is the switchingpower losses for the diode.

00:11:09

For the diode, you only need energy loss valuesduring turn-off.

00:11:10

These values are presented in the reverserecovery characteristics shown in Figure 12.

00:11:11

The property of interest in this figure isenergy loss during diode recovery, referred

00:11:12

to here as Erec.

00:11:13

The procedure for extracting data is the sameas before.

00:11:14

Here you can see the extracted energy lossdata for the diode.

00:11:15

Diode energy loss data should follow the sameformat as the energy losses for switches switching

00:11:16

on and off.

00:11:17

You can enter the extracted values into theEd off table property on the losses tab of

00:11:18

the converter.

00:11:19

Now that you have entered all the data inthe power loss properties, you can click OK

00:11:28

to save the data and exit the properties window.

00:11:32

You can see that the converter now has anadditional input port to accept an input for

00:11:37

the junction temperature.

00:11:39

It is possible to model thermal behavior ofthe switches, but for this example we will

00:11:43

control the temperature from a SCADA input.

00:11:52

The next lesson will cover thermal behaviormodeling in more depth.

00:12:12

You can also see that the converter has twoadditional output ports one for switching

00:12:16

losses and one for conduction losses.

00:12:19

Let s add a probe to each of the outputs andthen compile the model.

00:12:35

In SCADA, you can add widgets to control thejunction temperature and monitor losses.

00:13:20

When you start the simulation, you can seethat the converter is now computing and reporting

00:13:54

energy loss information.

00:13:56

By varying the temperature set point, youcan observe the effect that temperature has

00:14:00

on device losses.

00:14:05

In the properties window of the converter,you can also see that there is a property

00:14:17

for Switch type.

00:14:18

If you want to perform power loss calculationfor a MOSFET instead of an IGBT, you can change

00:14:23

the switch type to MOSFET.

00:14:26

Configuring power loss calculations for MOSFETsfollows a very similar process to that for

00:14:32

IGBTs.

00:14:33

Since MOSFETs are bidirectional switchingelements, the Current values vector must consist

00:14:38

of both positive and negative currents.

00:14:41

This means that you should specify forwardvoltage drop for both the first and third

00:14:45

quadrant of operation.

00:14:48

Power loss calculation for MOSFETs supportsinternal current sharing, which means that

00:14:52

when current flows from Source to Drain, thepower loss calculation algorithm will consider

00:14:57

power loss created by current passing throughthe MOSFET channel as well as through the

00:15:01

antiparallel diode.

00:15:03

During this lesson, data was collected fromdatasheet figures by inspection.

00:15:09

This method may not provide sufficiently precisedata values, therefore it is recommended to

00:15:13

use a data extraction tool for data extractionfrom figures.

00:15:17

The LUT Extraction tool within the TyphoonHIL software has been developed for this purpose.

00:15:23

If you are interested in using this tool,please refer to the video tutorial linked

00:15:27

in the materials tab.

00:15:29

This concludes the lesson on power loss calculation.

00:15:34

The next lesson will cover more informationabout thermal modeling.

00:15:37

Thank you for your attention.

00:15:38

Typhoon HIL HIL Specialist module template

00:15:39

www.typhoon-hil.ch 8

Please Wait!

Please wait... it will take a second!