AN002-Efficiency Map of 100-kW PMSM Drive
AN002-Efficiency Map of 100-kW PMSM Drive
AN002-Efficiency Map of 100-kW PMSM Drive
© Altair Engineering, Inc. All Rights Reserved. / altair.com / Nasdaq: ALTR / Contact Us
Altair PSIM Application Note / Efficiency Map of 100-kW PMSM Drive
Overview
The efficiency map of a motor drive system is important design information as it gives system
engineers a picture of the overall efficiency of the drive and what operating point to operate at for
maximum efficiency.
The generation of the efficiency map of a PMSM drive system, however, is a significant task. It
involves comprehensive load testing of the complete PMSM drive system with a motor dynamometer.
The workload, time, and cost prohibit such activity most times. It is particularly true for a large power
size PMSM drive system. The alternative way to obtain the efficiency map of a large power PMSM
drive system is often through simulation. The finite element analysis (FEA) based motor model with
accurate motor control as well as with automated simulations is required to obtain the efficiency map
of the complete PMSM drive system. The simulation setup of a motor control system for a FEA-
based motor is a non-trivial task by itself, and the script programming is also required for the
automation of simulations.
The Motor Control Design Suite and automation script features make this task considerably easier.
Pre-built design templates are provided for FEA based motors from JMAG (in JMAG-RT format) and
motor control functions. Based on minimum system specifications, the Motor Control Design Suite
automatically designs all the controllers for speed and current loops with properly specified crossover
frequencies and stability margins, and implements advanced control algorithms such as Maximum-
Torque-Per-Ampere (MTPA) control, field weakening control, and Maximum-Torque-Per-Volt
(MTPV) control. It will generate a complete system that is operational and ready to simulate in
minutes. The script programming code can help to automate numerous simulations without users’
intervention for generating efficiency data of the PMSM drive system.
This application note describes how to generate the efficiency map of a 100-kW PMSM motor drive
system using the PMSM (IPM) Drive (JMAG-RT)(torque control) template and the script code
efficiency map - speed-torque limit script code. Files for this application note can be found in the
folder “Application Notes\Efficiency map of 100-kW PMSM Drive” in PSIM.
Please refer to a companion application note Control Design of 100-kW PMSM Drive (AN001).pdf
for speed control design of the same motor.
In PMSM (IPM) Drive (JMAG-RT) template, the IPM motor is modeled in a JMAG-RT model. A
JMAG-RT model is derived from JMAG finite element analysis. It delivers a very high level of fidelity
and accuracy as compared to the actual motor, with all nonlinear effects (such as saturation, spatial
harmonics) included.
Unlike the motor in the linear PMSM drive system, the JMAG-RT motor in this system is nonlinear,
and d‐axis and q‐axis inductances are functions of the motor currents Id and Iq. The nonlinear
inductances Ld and Lq are conveniently obtained from the JMAG-RT model in real time, and are fed
back to various control blocks to achieve the optimal control performance.
The power losses of the PMSM motor including copper loss and core loss can be obtained from the
JMAG-RT model, and the power loss of the drive including switching loss and conduction loss can
also be obtained from IGBT thermal module during the simulation. Hence the PMSM drive system
power loss and efficiency can be easily derived from the power losses of the PMSM and its drive.
© Altair Engineering, Inc. All Rights Reserved. / altair.com / Nasdaq: ALTR / Contact Us 2
Altair PSIM Application Note / Efficiency Map of 100-kW PMSM Drive
System Specifications
The 100-kW PMSM is based on the JMAG-RT motor model PMSM RTML-034 available from
https://www.jmag-international.com/modellibrary/034/). It has the following parameters:
Model: 100k_D_C_IV Height: 89 mm
Model Name: PMSM Magnet: Neodymium sintered
Max. Power: 100 kW Mass: 83.55 kg
Voltage/Current: 500 Vdc/200 A Max. Motor Current: 283 A
Number of Poles: 12 Average Torque: 178 N*m
Number of Slots: 18 Ld: 0.24 mH
Number of Phases: 3 Lq: 0.36 mH
Rotor: IPM Inductance: 0.19 mH
Stator (outside dia.): 400 mm Torque Constant: 0.627 N*m/A
Stator (inside dia.): 260 mm Max. Speed: 9000 rpm
Stator: Distributed winding Inertia: 0.198 Kg*m^2
A 3-phase inverter with a 500-V dc bus and 283A current will be used to drive the motor.
© Altair Engineering, Inc. All Rights Reserved. / altair.com / Nasdaq: ALTR / Contact Us 3
Altair PSIM Application Note / Efficiency Map of 100-kW PMSM Drive
PMSM in JMAG-RT
Parameter Advanced
Panel Torque Control
The Input Parameter Panel of the template and the PMSM block in the JMAG-RT model are
highlighted in red. The advanced Torque Control block (also highlighted in red) includes MTPA,
field weakening, and MTPV control all in one.
Click on the Browse button (highlighted in red above). Select and load the correct JMAG-RT file for
the 100-kW PMSM, as shown below:
© Altair Engineering, Inc. All Rights Reserved. / altair.com / Nasdaq: ALTR / Contact Us 4
Altair PSIM Application Note / Efficiency Map of 100-kW PMSM Drive
For this JMAG-RT model, the spatial harmonics model is available. Set the Accuracy Type to Spatial
Harmonics to take into account the spatial harmonics effect.
DC Bus:
Inverter
Load:
Motor:
© Altair Engineering, Inc. All Rights Reserved. / altair.com / Nasdaq: ALTR / Contact Us 5
Altair PSIM Application Note / Efficiency Map of 100-kW PMSM Drive
P (number of poles): 12
Motor Controller:
One needs to decide the proper values of the switching frequency fsw, the sampling frequency fsam
of the current loop, and the sampling frequency fsam_w of the speed loop. One also needs to decide
the crossover frequencies fcr_i and fcr_Te of the current loop and the torque loop. Typically, fcr_i
should be roughly fsam/10 or less, and fcr_Te should be roughly fcr_i/10 or less.
For this motor, considering the power level of 100 kW, we choose fsw, fsam, and fsam_w to be 20
kHz, fcr_i to be 2kHz, and fcr_Te to be 200 Hz.
Click on the button Update Parameter File to update the system parameters for simulation.
Step 4: Run simulation to validate a functional and stable motor drive system.
Once the parameter file is updated, it’s ready to run the simulation. It is important that the system is
functionally stable and has reached the steady state.
Again, one may need to adjust fsw, fsam, fsam_w, fcr_i, fcr_Te, and the simulation time step to
achieve the desired performance. Also, adjust the simulation time so that motor torque and system
efficiency reach the steady state.
One key simulation waveform to watch is the modulation signal Vma at the input of the PWM block.
The waveform Vma should not be severely out of the range of the carrier wave.
Simulation results from this step are shown below.
© Altair Engineering, Inc. All Rights Reserved. / altair.com / Nasdaq: ALTR / Contact Us 6
Altair PSIM Application Note / Efficiency Map of 100-kW PMSM Drive
The waveforms show the start-up transient of the 100-kW IPM drive from 0 to 160 Nm at the speed
of 6000 rpm.
The traces in the first window are the motor currents.
The traces in the second window are the torque reference and the actual torque. It reaches 160 Nm
around 0.2 s.
The trace in the third window is the modulation signal Vma.
© Altair Engineering, Inc. All Rights Reserved. / altair.com / Nasdaq: ALTR / Contact Us 7
Altair PSIM Application Note / Efficiency Map of 100-kW PMSM Drive
Motor power
IGBT Thermal losses
Module
Motor torque
Efficiency
Calculation
In this example, we select the Infineon HybridPACK 2 IGBT FS800R07A2E3 for the inverter, and
two HybridPACK 2 connected in parallel are used.
The motor copper loss and iron loss are obtained from the JMAG-RT model. A low-pass filter is
used at each power loss output to smooth out the waveform.
The motor developed torque is also obtained from the JMAG-RT model. This torque contains a
significant amount of spatial harmonics, and a low-pass filter is used to smooth out the waveform.
The efficiency calculation subcircuit is given in the PSIM folder “Application notes\Efficiency Map of
100-kW”.
Simulation results from this step are shown below.
The waveforms show the steady state of the 100-kW IPM drive.
The trace in the first window is the motor speed (6000 RPM).
The trace in the second window is the steady state motor torque of around 160 Nm.
The trace in the third window is the steady state system efficiency of around 96.2%.
© Altair Engineering, Inc. All Rights Reserved. / altair.com / Nasdaq: ALTR / Contact Us 8
Altair PSIM Application Note / Efficiency Map of 100-kW PMSM Drive
Step 6: Run automated simulations with the script code and plot the efficiency map.
After the simulation is fully set up and ready to generate the efficiency map, one can run simulations
by sweep the torque command and the load speed, and record the system efficiency. In this example,
Te_cmd is set as 20, 40, …, 200 Nm (10 points), and nm_load is set as 1000, 2000, …, 9000 RPM
(9 points). For this example, a total of 90 simulations (i.e. 9x10) are required to capture the complete
system efficiency data over the entire speed-torque range, and this is a big and time-consuming task.
PSIM’s script function can be used to automate the process. A script code “efficiency map – speed-
torque limit.script” is prepared to run all the simulations, record the efficiency map data (system
efficiency eff_Drive, motor efficiency eff_motor and inverter efficiency eff_inv vs. the speed nm and
torque Tem), and create three Matlab m files for plotting the contour maps of the motor, inverter and
drive system efficiencies in the Matlab software.
Before running the script code, one needs to disable the speed and torque commands from the
parameter file in the simulation schematic as shown below:
© Altair Engineering, Inc. All Rights Reserved. / altair.com / Nasdaq: ALTR / Contact Us 9
Altair PSIM Application Note / Efficiency Map of 100-kW PMSM Drive
To run the script, load the script “efficiency maps - speed-torque limit.script” into PSIM, and select
Run >> Run Script as shown below.
© Altair Engineering, Inc. All Rights Reserved. / altair.com / Nasdaq: ALTR / Contact Us 10
Altair PSIM Application Note / Efficiency Map of 100-kW PMSM Drive
© Altair Engineering, Inc. All Rights Reserved. / altair.com / Nasdaq: ALTR / Contact Us 11
Altair PSIM Application Note / Efficiency Map of 100-kW PMSM Drive
To generate an efficiency map with finer resolution, more speed and torque points can be selected.
Conclusions
With the Motor Control Design Suite, JMAG-RT motor model, and the script function in PSIM, the
process of generating the efficiency map of a motor drive system, which is difficult, tedious, and time-
consuming, is made considerably easier. This greatly helps motor design engineers in evaluating
the motor performance in a motor drive environment, and helps system engineers in determining the
optimum operation of the motor drive system.
© Altair Engineering, Inc. All Rights Reserved. / altair.com / Nasdaq: ALTR / Contact Us 12