A Faster Current Loop

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

A faster current loop

reduces the size of


EV motors

Sang Chon
Automotive marketing manager
C2000™ Real-time MCU
Texas Instruments
Introduction
When it comes to the design and manufacturing of electric vehicles, the goal of
automotive OEMs is to provide an ownership experience that meets or exceeds
ICE-based cars today.

One major goal for OEMs is to reduce size and weight of mechanical components
within the EV vehicle in order to save on cost and due to the limited space available.
One novel way to reduce the physical size of the EV traction motor while maintaining
the same rated power level is by improving the overall performance of the EV traction
inverter. And by improving traction inverter performance, this will also improve overall
efficiency for the motor drive system. Therefore the next major step in advancing EV
motor system design is to significantly increase the speed of the motor in order to
achieve smaller motor size with higher efficiency.

Motor power = torque x speed Only one solution in particular can optimize or eliminate
the design trade-offs involving expensive FPGAs
The key to reducing motor size but maintaining
or increased CPU speeds. This solution, which is
its power level is to reduce the amount of torque
based on TI’s C2000™ real-time microcontrollers
needed for the motor system and increase speed.
(MCUs) and the enhanced MotorControl Software
Since the power (size) of the motor is a product of
Development Kit, increases the bandwidth of a
the torque times motor speed, OEMs and Tier 1s
EV traction motor drive’s current control loop.
can aim to double motor speed (rpm) in order to cut
the amount of torque needed by ½.
Current loop close-up
However, as motor speed increases, motor
The current loop controls the torque in an EV
frequency increases as well which will require
traction motor by manipulating the pulse-width
higher system current-loop performance (or
modulator (PWM) outputs that drive an inverter. The
torque response) and thus pushes the need for
motor currents are monitored and fed back to the
higher PWM switching frequencies that challenge
current-loop controller and the controller updates
traditional IGBTs.
the PWM outputs if necessary. The current-loop
The current control loop bandwidth becomes the feedback path quantifies the analog output of the
linchpin upon which the rest of the traction inverter motor current sensor with a high-precision analog-
drive system depends. In order to improve current to-digital converter (ADC), and then feeds the result
loop bandwidth, more OEMs and Tier 1s are either to the current-loop controller. Several different
considering adding costly FPGAs to the system or modules of field-oriented control (FOC) algorithms
demanding more CPU MIPS from MCU supplier to process this sample before the controller makes any
improve performance. adjustments to the PWM’s outputs.

A faster current loop reduces the size of EV motors 2 November 2018


Many conventional proportional integral (PI) current- Clearly, the historical solutions for increasing
loop controllers limit the current-loop bandwidth current-loop bandwidth come with strings attached.
to approximately 10 percent of the PWM carrier The cleanest, most effective architecture would
frequency, which is typically in the 10kHz – 20kHz simultaneously address the need for improved
range. This would yield a current-loop bandwidth of processing capabilities to accommodate shorter
1 to 2 kHz. To increase the bandwidth, some drive feedback cycles and retain a lower carrier frequency to
systems increase the carrier frequency to 30kHz avoid the undesirable power and thermal trade-offs.
or higher, which can indeed increase the current
loop’s bandwidth but will wear on the IGBTs in Fast Current Loop (FCL) technology
the system while increasing the inverter switching TI has harnessed two decades of real-time industrial
losses. Increasing carrier frequency will also control system design experience when applying
demand higher processing performance from the C2000 real-time MCUs to the development
digital control system. A higher switching frequency of a new Fast Current Loop (FCL) technology.
requires increased gate-drive power, which then FCL, quite simply, breaks many of the long-held
increases the size and complexity of the system’s design assumptions in current-loop design. For
power supply. Plus, the higher switching losses will instance, designers of motor control applications
mean additional heat dissipation, necessitating more have for years placed limitations on the current-
extensive thermal-management strategies such as loop bandwidth because they assumed that the
larger, heavier and more expensive heat sink, controller could update the PWM only once every
fan or coolant. cycle of the control loop. Now, with an integrated

Less than 1 microsecond current loop


From start of Conversion to PWM update

Loop control Computations Actuation, Protection

PI Control
PI Control Q Current Inverse Space PWM PWM Isolated
Speed Park Vector Driver HW Gate
PI Control Transform Modulation Drive
D Current Three
PI Control Phase
Position Trip Config PWM Trip Inverter

Sensing
Isolated Shunt
Park Clarke ADC Driver ADC Current Buffer
Transform Transform Comparator Comparators Fluxgate
Config Sensors
ΔΣ Filter
Driver ΔΣ Filters
ΔΣ Comp Comparators PM
Config Motor

Position
Software Incremental eQEP Sensor
Registers
Hardware

Figure 1. Less than 1 uS current loop with FCL (replace “QEP” with “Resolver” in the picture).

A faster current loop reduces the size of EV motors 3 November 2018


high-performance successive approximation register
Current loop bandwidth
(SAR) ADC, ADC post-processing hardware,
trigonometric math instructions, and other cycle- m
a
scavenging resources, C2000 MCUs can sample g
motor currents, convert them to digital data, f
process the data and update the PWM generator f
in less than 1µs. (Figure 1.) The field-oriented f
control (FOC) processing and PWM update takes
less than 500ns. Because of FCL technology and More than 3 kHz bandwidth
on 10 kHz carrier
C2000 MCU ePWM’s immediate mode capabilities,
sub-cycle PWM updates occur as soon as possible, Figure 2. Improving current loop bandwidth while maintain
carrier frequency.
instead of waiting for an entire control loop cycle to
transpire.

Conventionally, designers assume that increasing controller at high speeds. Digital or transport delays

the current-loop bandwidth will require higher carrier progressively reduce the phase margin of the current

frequencies. So, for example, increasing the current- control loop at higher speeds, eventually leading to

loop bandwidth by a factor of 3 from 1kHz to 3kHz a loss of control. Traditional controllers in the current

will require increasing the carrier frequency from loop do not model these digital delays well.

10kHz to 30kHz. However, FCL software includes an efficient algorithm

But C2000 real-time MCU’s ability to perform that assumes a more appropriate system model,

sub-cycle PWM updates in less than a microsecond compensating for the inherent transport delay of the

improves the current-loop bandwidth, making system. This is embodied in the complex controller

it possible to reduce or optimize the switching (CC) and results in perfect pole-zero cancellation at

frequency for a given bandwidth requirement. Tests all times, ensuring stability at high speeds.

have shown that FCL can increase the current-


Conclusion
loop bandwidth by a factor of 3 from 1kHz to
The TMS320F2837xD MCUs are highly integrated
approximately 3.3kHz while maintaining a carrier
real-time MCUs for EV traction drive systems. On-
frequency of 10kHz. This avoids the trade-offs
chip features such as sigma delta filters, analog
of increased power consumption, greater heat
comparators, and PWM protection circuits save
dissipation, and more complex and expensive
system level costs when compared to adding these
thermal-management strategies, all of which
components externally.
become a non-issue with FCL. Therefore, in order
to meet a certain desired bandwidth in closed-loop The technology breakthrough that contributes to
current control, FCL makes it possible to reduce FCL have emerged from more than 20 years of
the PWM frequency dramatically and eases IGBT experience in embedded processing and motor-
control and thermal design. In other words, FCL control algorithm development by C2000 MCU motor
enables the motor to run at a higher speed with the engineers. Certainly, the MCUs themselves have
same PWM frequency. been endowed with powerful, high-performance
processing units, coprocessors; and specialized
Another challenge of high-performance current-loop
instruction sets; but the C2000 MCU’s architecture
design has been keeping stability of the current-loop

A faster current loop reduces the size of EV motors 4 November 2018


is just as essential because it enables a high processing as jitter-free as possible, cycles are not
degree of real-time parallel processing through very wasted recovering from timing issues or running
low latencies and high processing determinism. error-correction routines. There are no data-transfer
Ultimately, this makes a C2000 MCU in an EV motor latencies between the ADC and the C28x cores,
drive application a cycle scavenger, saving processor or between the cores and the PWM. Transferring a
cycles over the entire loop and transforming what sample from the ADC to the C28x cores or updating
may have been longer sequential steps into shorter the PWM takes only a single cycle. See Figure 3.
simultaneous processes. Several C2000 real-time MCUs, such as the
For example, 200MHz C28x cores are, of Delfino™ TMS320F2837xD, include a powerful ADC
course, critical for breaking apart the workload post-processing block capable of performing certain
to optimize parallel processing, but so is the real- sample-preparation routines in dedicated hardware
time deterministic architecture that surrounds the that the C28x cores would normally have executed,
CPUs. Because the architecture keeps the system’s saving cycles on the main CPUs and freeing

Figure 3. C2000 MCU architecture for real-time motor control

A faster current loop reduces the size of EV motors 5 November 2018


them to perform other tasks in parallel. The cores The Motor Control SDK developers kit features the
themselves have been equipped with coprocessors latest enhancement, FCL software. Taking advantage
and specialized processing units that prove useful of a real-time cycle-scavenging architecture,
in motor control applications. For instance, the main high-performance processing resources and the
processing cores can offload resolver feedback fast data throughput of C2000 MCUs to significantly
processing to the control law accelerator (CLA) increase the current control loop bandwidth, FCL
coprocessor, which excels at high-level mathematical software achieves subcycle updates of the PWM in
processing. Moreover, both the FOC processing less than 1µs and without the assistance of external
and the complex controller (CC) use a specialized processing elements like an FPGA or ADC. And
processing unit, the trigonometric math unit (TMU). in addition, compared to traditional MCU-based
With the aid of the TMU, you can improve Park systems, FCL can potentially double an EV traction
transform cycle performance by a factor of 8 over motor’s maximum speed without increasing the
comparable MCUs in the industry. In addition, carrier frequency thus reducing the size of an EV
the C28x core’s 32-bit floating-point instructions traction motor while maintaining its power level.
accelerate the execution of several different types of This is how OEMs can save space in an EV vehicle
mathematically intense calculations used by the FCL with faster current loop.
algorithms, such as minimum/maximum, compare
and square root. For more information
During the design development of an EV motor For additional information about Fast Current
traction drive application, designers face a diverse Loop software, visit our www.ti.com/c2000ev
set of subtle trade-offs, many times placing high
performance, cost-effectiveness, power efficiency
and other factors in direct opposition with one
another. Simple yet effective solutions may be hard
to come by, but fortunately, the experience and
expertise in real-time motor drive control systems
that TI has amassed over the last 20 years has led to
many enhancements to the C2000 family of
real-time MCUs.

Important Notice: The products and services of Texas Instruments Incorporated and its subsidiaries described herein are sold subject to TI’s standard
terms and conditions of sale. Customers are advised to obtain the most current and complete information about TI products and services before placing
orders. TI assumes no l­iability for applications assistance, customer’s applications or product designs, software performance, or infringement of patents.
The publication of information regarding any other company’s products or services does not constitute TI’s approval, warranty or endorsement thereof.

The platform bar, C2000 and Delfino are trademarks of Texas Instruments. All other trademarks are the property of their
respective owners.

© 2018 Texas Instruments Incorporated SWAY019


IMPORTANT NOTICE AND DISCLAIMER

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 © 2018, Texas Instruments Incorporated

You might also like