Typhoon HIL Blog


HIL Testing EV Drive Units with Permanent Magnet Synchronous Motors

Posted by Cassiano F. Moraes and Heitor J. Tessaro on Dec 1, 2022 11:26:18 AM

Topics: e-Mobility, Technology Article

HIL Testing EV Drives with PMSM HERO IMAGE

 

The evolution of Electric Vehicles (EVs) is directly related to the development and use of more efficient and reliable components. Permanent Magnet Synchronous Motors (PMSMs) provide higher efficiency and power density in a smaller frame, which contributes to achieving targets set forth for EVs. This article outlines the benefits of PMSMs in the e-Mobility sector and how Typhoon HIL solutions can help test and validate the complex controllers required by PMSM-based drive units using ultra-high-fidelity simulations of finite element method (FEM) models.

 

Introduction | PMSM performance advantages in EV drive units


The path to making electric vehicles competitive with gas-powered ones has been full of roadblocks, mainly regarding efficiency, driving range, and cost. To overcome them, innovations in every aspect of the electrified powertrain are constantly emerging. In the drive unit, in particular, Permanent Magnet Synchronous Motors (PMSMs) are a trending technology to reduce the motor size and weight while boosting efficiency and power density. But why exactly have they been considered a silver bullet for EV drive units lately?


A key advantage of PMSMs is that they use permanent magnets to generate rotor excitation, with essentially no electrical current circulating in the rotor. This reduces core losses and means that more power can be generated with a smaller motor volume. On average, PMSMs are two to three times more power dense than induction motors, providing an efficiency gain of 2-5% depending on motor nominal power and weight reduction. Other benefits include improved heat management, higher efficiency for a larger frequency range, and better torque control.


However, as promising as these benefits sound, there are some challenges in adopting PMSMs that are related to development costs and the complexity of controlling these machines.

 

Challenges | Complex controls and costs of PMSMs


Permanent magnets used in PMSM rotors are composed of expensive rare earth materials, such as neodymium-iron-boron, making PMSMs more expensive than induction motors. In addition, Neodymium magnets should not operate above a certain temperature threshold, since their magnetism drops as the temperature rises. This can affect motor efficiency and sometimes result in permanent rotor demagnetization. Therefore, temperature control is vital for PMSM applications.


In addition, the PMSM stator must be driven with a pure sinusoidal voltage with no torque ripple to achieve high efficiencies, requiring more complex control techniques, such as Field Oriented Control (FOC), flux weakening, and sensorless control. These controllers rely on precise speed measurements to ensure efficiency related to synchronous operation. Thus, angular position, measurement, or estimation is required - adding one more piece to this complex control solution.


Taken together, this means that developing PMSMs for EV applications requires highly accurate control development testing to ensure reliability prior to building costly physical prototypes. To overcome these challenges, electric car manufacturers can take advantage of real-time Hardware-in-the-Loop (HIL) simulation and finite element modeling (FEM) to validate controls for PMSMs more efficiently.

 

HIL Testing | PMSMs for EV drivetrains


The Typhoon HIL Component Library offers several drag-and-drop options to easily create a digital twin model of PMSMs (See Fig. 1). The first (Fig. 1a) is the Three Phase Permanent Magnet Synchronous Machine component, which requires you to provide data from the motor datasheet. The second option (Fig. 1b) is the Three Phase Permanent Magnet Synchronous Machine (JMAG), which takes advantage of Typhoon-JMAG integration to achieve ultra-high model fidelity. To configure this component, you must upload the model files generated by the JMAG-RT finite element analysis (FEA) tool (see Fig. 2). FEA-based models provide more accurate mechanical, electrical, and thermal operational data of motors, making test results more impactful and realistic.

 

Figure 1-new

Figure 1. Examples of PMSM models available in the Typhoon Component Library: (a) Three Phase Permanent Magnet Synchronous Machine (JMAG), (b) Three Phase Permanent Magnet Synchronous Machine.

 

Figure 2-1

Figure 2. Illustration of steps to import and use FEM models in the Typhoon HIL Toolchain. Find more information in this video tutorial.

 

Test relevance is highly dependent on the power electronics model fidelity. To help with that, the Typhoon HIL Component Library provides an extensive selection of power converter components (i.e. three-phase inverter), which you can drag and drop to start using them in your drive unit application. With these models, you can individually measure the power losses and operational temperatures of semiconductors. Figure 3 presents the results of temperature and losses shown in a SCADA interface of a three-phase inverter.

 

Figure 3-2

Figure 3. SCADA panel with temperature and losses data from a three-phase inverter.

 

After setting up the high-fidelity models for the drive unit components, it's time to add the control system for the PMSM. Typhoon HIL gives you multiple options to implement controllers, including signal-processing components, C function, or running the controller in the Digital Signal Processor (DSP) that will be used in the final product. Figure 4 presents an example SCADA of a PMSM application using a three-phase inverter controlled by an external Texas Instruments DSP running a Field Oriented Controller.

 

Figure 4

Figure 4. SCADA panel of a PMSM application controlled by a Field Oriented Controller.

 

Combining FEM models with powerful Typhoon HIL solutions gives you information about temperature, losses, spatial harmonics, and efficiency from the motor and power electronics. The benefits do not stop there though. You can take advantage of automated tests to continuously test PMSM control through a wide range of operating scenarios, providing meaningful reports, and accelerating product development.   

 

Interested in learning more about EV drive testing? 
Register for our webinar.

xEV Motor Drive ECU testing

 

Exploring how to adopt HIL in your work?
Contact us to schedule a free demo.

Schedule a demo

 

Interested in adding FEM models to your simulation?
Watch the Typhoon-JMAG webinar.

Better way to design and test EV motor  drives

 

Text | Cassiano F. Moraes, Heitor J. Tessaro
Visuals | Typhoon HIL Documentation, Karl Mickei, Milica Obradovic
Editor | Sergio Costa, Debora Santo

Recent Posts