EV Engineering & Infrastructure

  • News
  • Articles
    • Q&As
    • Tech Spotlight
  • Batteries
  • Charging
    • Wireless Charging
    • Vehicle-to-Grid (V2G)
  • Electrification
  • Testing and Safety
  • Learn
    • Learning Center
    • Tech Toolboxes
    • Webinars
  • Resources
    • Digital Editions
    • Diversity & Inclusion
    • Voices
  • Advertisers
    • Advertise
    • PR Submissions
    • Eblast Submissions
  • Subscribe

How do current-sensing errors propagate through EV motor control systems?

By Rakesh Kumar PhD | October 21, 2026

Torque decisions in an electric vehicle (EV) traction drive often start from two or three-phase current readings, which leaves little margin for current sensing errors. Field-oriented control (FOC) turns those readings into d-axis and q-axis currents. When one of them drifts, the controller treats the drift as a real change in motor current.

In this article, we discuss the kinds of errors that enter the measurement path and why the current loop cannot always correct them. We also cover their cost in terms of torque ripple and efficiency, and how compensation copes with temperature drift.

What types of errors enter the phase-current measurement path?

A phase-current reading passes through several stages before it reaches the controller. A Hall sensor or a shunt resistor produces the raw signal. A low-pass filter, a differential amplifier, and an analog-to-digital converter (ADC) then clean it up and digitize it.

Each stage adds a small error of its own, and aging and temperature variation move these errors over time. An EV traction drive also adds vibration, humidity, and wide temperature swings, which can disturb current sampling further. The errors that reach the controller take four basic forms, as Figure 1 shows with the actual versus sampled waveforms.

Figure 1. Actual and sampled phase current under four error types: random noise, pulse-width modulation (PWM) delay, low-frequency offset, and low-frequency gain error. (Image: Energies, MDPI)

Random noise and PWM delay are high-frequency errors, with harmonics near the switching frequency. Offset and gain are the low-frequency errors. An offset shifts the whole sampled waveform up or down.

These two low-frequency errors matter more for torque. They produce torque ripple at the fundamental electrical frequency and at twice that frequency, which brings additional loss and vibration. In an electric powertrain, they also show up as speed fluctuation and a mismatch between the phase currents.

Why doesn’t the current controller correct a sensing error?

Typically, a closed-loop controller corrects any deviation from its setpoint. However, the current controller only knows the value it measures. It drives that measured value to the setpoint, so the sensing error moves into the actual motor current.

A test on a small permanent magnet synchronous motor (PMSM) makes this visible. The test adds an offset equal to 5% of the measurement range to either the phase A or the phase B channel. Figure 2 shows three traces for that case, including the actual q-axis current, the measured q-axis current, and the regulator output.

Figure 2. Actual and measured q-axis current with the current regulator output for a 5% sensor offset in phase A or phase B, along with their spectra. (Image: Energies, MDPI)

The measured q-axis current stays nearly flat, so the controller sees nothing wrong. The actual q-axis current, which is the component that produces torque, swings widely once per electrical cycle. The regulator output swings with it, because it keeps correcting for an error it cannot see. At 500 rpm with four pole pairs, the spectrum peaks at 33.3 Hz, which is the fundamental electrical frequency for this motor.

That behavior gives you a practical diagnosis. An offset oscillates at the fundamental frequency, and its amplitude does not change with load. A gain error oscillates at twice the fundamental frequency, and its amplitude depends on the load. Across the full load range, offset errors disturb torque much more than gain errors do.

What does a current offset do to torque and efficiency?

The link between an offset and torque is simple. A PMSM’s electromagnetic torque is proportional to its q-axis current, measured in a reference frame that rotates with the rotor. A fixed offset in a phase reading turns into an ac oscillation once it moves into that rotating frame. So the q-axis current, and the torque with it, oscillate at the motor’s operating frequency. The size of the torque error grows with the offset, the number of pole pairs, and the magnet flux linkage.

A simulation of a surface-mounted PMSM shows what this does at the shaft. A 0.3-A offset enters the phase A reading at t=1 s, with the motor running at a 20 Hz reference frequency. Speed and torque before and after that moment appear in Figure 3.

Figure 3. Rotor speed and electromagnetic torque of a simulated PMSM before and after a 0.3-A offset is added to the phase A current reading at 1 s. (Image: Sensors, MDPI)

Before the offset, speed and torque hold steady. After it, both oscillate at the motor’s operating frequency. The q-axis current picks up 5.60% total harmonic distortion (THD), with the oscillation sitting near 20 Hz. This ripple increases loss and lowers the average torque the motor delivers. It also adds mechanical vibration.

Case study

Offset compensators depend on a motor model, and a motor model drifts with temperature. As the windings heat up, the stator resistance rises above the value used in the algorithm. One experimental study tested real-time offset compensation using a deliberately incorrect resistance value.

The test bench uses a 1.23-kW, 3.9-Nm PMSM on a 600-Vdc link, with FOC running on a dSPACE platform. The algorithm estimates all three phase offsets from a steady-state model of the motor and its control loop. It needs no extra hardware and settles in about 0.4 s.

In the run captured in Figure 4, the three sensors carry offsets of 1.2 A, 0.6 A, and 0.3 A. The motor runs at 3.9 Nm and 104 rad/s. At about t=0.8 s, the resistance value given to the algorithm jumps from the rated 3.7 Ω to 6 Ω. Compensation then switches on again at about 1.2 s.

Figure 4. Offset estimates and d-q current before and after compensation, with the stator resistance used by the algorithm stepped from 3.7 Ω to 6 Ω. (Image: IEEE Access)

That 62% resistance step emulates a stator winding temperature rise of about 150 °C. Even with that mismatch, the algorithm estimates the offsets within a 21% maximum error. Torque oscillation drops from 1.15 Nm to 0.23 Nm once compensation turns on.

Summary

Watch the current regulator output, not the measured current, when you suspect a sensing fault. The measured current can stay flat while the actual torque oscillates. A ripple at the electrical frequency points to an offset, and a ripple at twice that frequency points to a gain error. Calibrate the zero-current offset at every inverter start-up, with the lower switches turned on. Offset error disturbs the torque more than the gain error across the full load range.

References

  • Experimental Implementation of an Algorithm for Real Time Compensation of Phase Current Sensors DC Offset in Field Oriented Controlled PMSM Drives, IEEE Access
  • Analysis and Compensation of Phase Current Measuring Error Caused by Sensing Resistor in PMSM Application, Sensors, MDPI
  • Analysis and Compensation of Current Measurement Errors in Machine Drive Systems—A Review, Energies, MDPI
  • Current Sensor Fault Diagnosis in PMSM Drives Without Additional Hardware, Energies, MDPI

EEWorld Online related content

  • Basic current sensing considerations in power system design
  • How current sensing impacts electric vehicles: part 2
  • How current sensing impacts electric vehicles: part 1
  • Motor field-oriented control, Part 2: Implementation
  • Motor field-oriented control, Part 1: principles
  • Measuring current with shunt resistors

You might also like


Filed Under: Electric Motor, FAQs, Featured Contributions, Sensors
Tagged With: currentsensors, emotor, FAQ, sensors, tractionmotor
 

Next Article

← Previous Article
Next Article →


 
“ee
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EV professionals.

Tech Spotlight

  • How ceramifying coatings protect EV battery enclosures
  • How binders and coatings hold EV battery cells in place
More Tech Spotlight

Featured Contributions

  • How are EV battery packs designed for repairability?
  • What field failures reveal about heavy-duty e-axle validation
  • How ceramifying coatings protect EV battery enclosures
  • How has NACS evolved into the SAE J3400 EV charging standard?
  • How AI surrogate models can speed up EV battery cooling design
More Featured Contributions

EV TECH TOOLBOX

“ee
Explore the EV Engineering Tech Toolboxes: a collection of high-impact articles that break down the latest EV design trends and technologies. Download to stay aligned with today’s evolving EV design challenges.

Learning Center

EE Learning Center

Sponsored Content

  • Converting custom materials for EV applications
  • Advantech Powers Versatile Electric Vehicle Charging Systems

EV Training Days

ev
Q&A
EV Engineering & Infrastructure
  • 5G Technology
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • EDABoard Forums
  • Electro-Tech-Online Forums
  • Engineer’s Garage
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • Contact Us

Copyright © 2026 Arrowfly LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Arrowfly
Privacy Policy | Advertising | About Us

Search EV Engineering & Infrastructure

  • News
  • Articles
    • Q&As
    • Tech Spotlight
  • Batteries
  • Charging
    • Wireless Charging
    • Vehicle-to-Grid (V2G)
  • Electrification
  • Testing and Safety
  • Learn
    • Learning Center
    • Tech Toolboxes
    • Webinars
  • Resources
    • Digital Editions
    • Diversity & Inclusion
    • Voices
  • Advertisers
    • Advertise
    • PR Submissions
    • Eblast Submissions
  • Subscribe