Skip to the main content.

3 min read

Improving H/Ev Motor Control Using Simulation in Labview

Improving H/Ev Motor Control Using Simulation in Labview
Improving H/Ev Motor Control Using Simulation in Labview
5:05

How to evaluate H/EV technology to improve motor control using simulation in LabView

One of the most integral elements of the Hybrid and Electrical Vehicle or H/EV is the control technology. Improving-H-Ev-Motor-Control-Using-Simulation-in-Labview-AS_198399832
Due to these vehicles operating in a vast range of environments the motor will regularly switch through various loads. With that said, the most important issue is improving motor control efficiency while maintaining performance and avoiding damage. It’s wise to test control algorithms for motor control through simulation before applying power to any circuit.  Especially when working with hundreds of volts and/or hundreds of amps of current. A simple mistake in your control algorithm can damage components or even worse cause collateral damage. 

 

Models for Simulation

Before creating your simulation, consider how you are going to create or obtain models for your inverter and motor.  Inverter models are usually less complex to create. High power switching transistors and diodes will have quite a few of their characteristics published in their manufacturer’s data sheet. These numbers can be plugged into the 3-phase inverter model VI in the LabVIEW Motor Simulation Toolkit.

Getting motor model parameters can be more difficult. If you are fortunate, the motor manufacturer can supply a JMAG-RT model (.rtt) or an ANSYS motor model file (it’s in a text format, so .txt).  Otherwise, you have three options: 1) You can make a custom model from scratch compatible with the parameters needed by the NI toolkit, 2) Model your motor using the ANSYS software, or 3) Model your motor using the JMAG-RT software. Fortunately, you do have the option of signing up for the free JMAG Express Online access and generating your own .rtt file.

This still isn’t ideal because you need to know quite a few details about the construction of your motors such as magnet shape, slot dimensions, and wire characteristics to name a few.

Simulation

With some form of parameters collected or models provided, these can be fed into the toolkit for different fidelity levels of models: constant parameter model/linear model, variable parameter model, and FEA model, with the fidelity increasing from constant parameter to FEA. Naturally, the number of resources required increases with fidelity.  Examples of simulation for different types of motors are included in the toolkit, notably: AC induction motors, permanent magnet synchronous motors, or switched reluctance motors.

 

Here is an example of a PMSM finite element analysis model simulation with the following settings and start speed of 0 RPM.

Conditions: 

 

 

Velocity Setpoint RPM

Here we can see the velocity ramp up to the setpoint over time:

Acceleration setpoint RPM

Under Acceleration, the current draw is quite large for the 3 phases.  Note how much it drops when reaching the RPM setpoint:

Electromagnetic torque

And how the electromagnetic torque settles to the load torque:

 

Electromagnitic Torque

 

The initial conditions can be adjusted dynamically during the simulation to see what happens.

 

 

Cracked ECU

Instead of using a simulated inverter or trying to replicate an existing control algorithm in LabVIEW, you could input the digital control signals from an actual ECU to an FPGA simulation of the inverter and motor to see what happens while changing the inverter and motor parameters. You could also create your control algorithm in LabVIEW and output the digital signals to actual transistor gates on a real inverter to control a physical motor.
New call-to-action

Summary

Though only a few of the simulation models were evaluated, there are various other simulation models offered through the highly accurate toolkit will allow you to approach your motor simulation confidently. Whether you are armed with hard data from manufacturers or creating a model from scratch you can get your motor running and be on your way in no time. For a more complete investigation, the many LabVIEW examples that ship with the toolkit as well as the help file should aid you greatly in your understanding of motor simulation.  

 

The Motor Simulation in Labview was shown at the recent Electric and Hybrid Vehicle Technology Expo in Novi, MI. 

If you missed the show, Contact Us and download the latest white paper to learn more about motor simulation and advanced testing needs. 

 

Learn more about how you can prepare for the shifting automotive industry by downloading our White paper: Adapting to New Testing Needs in the Shifting Automotive Industry  

 

DOWNLOAD NOW


[i] http://www.chicagotribune.com/classified/automotive/fuelefficient/sc-auto-cover-electric-vehicles-combustion-engines-20171018-story.html

[ii] IHS April 2016


Related Articles

Related Downloads

 

 

Adapting to New Testing Needs and Standards in the Automotive Industry

Adapting to New Testing Needs and Standards in the Automotive Industry

Recent events such as China’s plans to scrap pure internal combustion engines as soon as 2030, the release of Tesla’s Model 3, and announcements by...

Read More
A Cleaner Powertrain Design Driven by Stringent Emission Standards

1 min read

A Cleaner Powertrain Design Driven by Stringent Emission Standards

When Toyota launched the first Prius in 1997, many consumers probably didn’t imagine that just 20 short years later the electric- and hybrid-vehicle...

Read More
Increasing Efficiency in Hybrid Electric Vehicles by Reducing Switching Losses in Inverters

Increasing Efficiency in Hybrid Electric Vehicles by Reducing Switching Losses in Inverters

Increasing Efficiency in Hybrid Electric Vehicles by Reducing Switching Losses in Inverters In the ongoing effort to increase overall powertrain ...

Read More