Sean Murphy
The electric vehicle (EV) traction inverter is the core of the EV. It converts DC from the high-voltage battery to multiphase (usually three-phase) AC to drive the traction motor, and also controls power regeneration from braking. EV electronics are shifting from 400-V to 800-V architectures, which promise:
In a traction inverter, the microcontroller (MCU) is the brains of the system, performing motor control, sampling voltage and current with analog-to-digital converters (ADCs), computing the field-oriented control (FOC) algorithm with the core, and actuating the power field-effect transistors (FETs) with pulse-width modulation (PWM) signals. For the MCU, the shift to an 800-V traction inverter creates three challenges:
In this article, I’ll discuss how devices such as the Arm®-based Sitara™ AM2634-Q1 and C2000™ MCU address these challenges.
In order to control the torque and speed of the traction motor, the MCU uses a combination of peripherals (ADCs, PWMs) and computation cores to complete the control loop. With the move toward 800-V systems, traction inverters are also moving toward wide-bandgap semiconductors such as SiC given their greatly increased efficiency and power density at 800 V. In order to achieve the higher switching frequencies that SiC requires, such control-loop latency becomes a priority. A low-latency control loop also enables engineers to run the motor at a higher rpm, which can reduce both size and weight of the motor. To understand and reduce control-loop latency, you must understand the control-loop signal chain and its individual stages, as shown in Figure 1.
For the best real-time control performance, you must optimize the whole signal chain, including both hardware and software. The time it takes from ADC sampling (input from the motor) to writing the PWM (output to control the motor) is the fundamental measure of real-time control performance. Starting with ADC sampling, inverter systems need accurate and fast sampling – meaning a high sample rate, at least 12 bits of resolution and a low conversion time. Once the sample is available, it needs to be transferred to and read by the processor through an interconnect, with low latency from an optimized bus and memory access architecture. At the processor, the cores need to compute the next PWM step based on phase currents, speed and the position of the motor, using an FOC algorithm.
To minimize this computation time, the core needs a high clock speed and must execute the number of instructions efficiently. Additionally, the core needs to execute a range of instruction types, including floating-point, trigonometric and integer math instructions. Finally, the core writes the updated duty cycle to the PWM generator, again using a low-latency path. Applying deadband compensation on the PWM outputs will prevent a short circuit when switching the high- and low-side FETs, preferably applied at a hardware level to reduce software overhead.
TI MCUs have traction inverter control-loop latency as low as 2.5 µs, with the AM2634-Q1 demonstrating latency <4 µs. This level of control-loop latency will future-proof future designs, including SiC architectures.
Because traction inverters deliver power to control the motor, they are inherently a critical system for functional safety. And because 800-V systems have the potential for higher power, torque, speed or all three, traction systems demand the Automotive Safety Integrity Level (ASIL) D level of functional safety. A critical piece of the functional safety system is the MCU, as it needs the intelligence to make decisions to safely respond to system faults. For this reason, the MCU trend is to be ASIL D-certified as a safety element out of context.
To make it easier for engineers to meet system safety requirements specific to traction inverters, TI MCUs have additional functionality. For example, the phase current feedback represents information about the torque of the motor, which makes those signals safety-critical. Therefore, many engineers prefer redundant sampling for the phase currents, which means that the MCU must have multiple independent ADCs.
Another challenge for engineers is to be able to quickly put the motor into a safe state, such as freewheeling, in the event of faults. In the AM2634-Q1 device, a fault general-purpose input (for overcurrent, overvoltage or high-speed faults) routes to an innovative programmable real-time unit (PRU). Firmware executed in the PRU can correctly assess and respond to the type of fault and perform the desired PWM protection sequence, as shown in Figure 2, and then directly put the PWMs into a safe state as needed. These actions occur in little as 105 ns. Additionally, since the firmware is user-programmable, engineers can add additional custom logic if necessary to meet their application requirements.
With the production of more EVs, design trends will shift toward SiC and 800-V technologies, along with the need to increase motor-control performance and meet functional safety requirements in traction inverters. As the world drives towards electrification, innovation in performance and efficiency will be critical to help auto manufacturers engineer the next generation of EVs.
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated