EV Motor Current Sensors: How Inverters Control Torque
EV inverters use shunts or magnetic sensors to measure motor current. Accurate readings help control torque, manage heat, and detect electrical faults.
The short answer: EV inverters measure motor current using either the voltage drop across a precision shunt resistor or the magnetic field around a conductor. The controller uses those readings to adjust switching and regulate torque, so measurement accuracy, timing, and temperature stability all matter.
EV inverters measure motor current with precision shunt resistors or magnetic current sensors, then use those measurements to adjust the electrical power reaching the motor. Shunts reveal current through a small voltage drop; magnetic sensors detect the field created by current. Accurate readings help the controller deliver the requested torque, limit unwanted heating, and recognize electrical faults.
Accuracy involves more than choosing a precise sensor. The complete measurement path must preserve a useful signal despite rapid switching, changing temperatures, electrical interference, and processing delays. A reading can be accurate in magnitude yet still mislead the controller if it arrives too late or captures a switching disturbance.
Why motor current matters for torque
The inverter converts the battery's direct current into controlled alternating currents in the motor windings. Its power switches repeatedly connect those windings to the battery rails. By adjusting the switching pattern, the controller changes the effective voltage applied to the motor and, consequently, the current flowing through it.
Those winding currents create magnetic fields that interact with the rotor to produce torque. In common traction-motor control systems, the controller combines phase-current measurements with rotor-position information to distinguish current that produces torque from current that controls magnetic flux. The relationship between current and torque depends on motor design and operating conditions.
The controller compares the measured currents with its targets and adjusts the inverter's switching commands to reduce the difference. This feedback loop responds to changing accelerator requests, motor speed, and electrical conditions. Measuring current closes the gap between commanding a voltage and knowing how the motor actually responds.
How a shunt measures current
A shunt is a deliberately low-resistance component placed in the current path. Current creates a voltage drop across it, following Ohm's law: voltage equals current multiplied by resistance. If the resistance is known, measuring that voltage allows the electronics to calculate current, including its direction.
The resistance must balance competing needs. A larger resistance creates a stronger measurement signal, which is easier to distinguish from electrical noise. It also creates more heat and electrical loss. A smaller resistance reduces that loss but produces a smaller signal, placing greater demands on the amplifier and surrounding circuit.
Separate sensing connections help measure the voltage across the intended resistance without adding the voltage drops in current-carrying connections. These are commonly called Kelvin connections. Their placement matters because even small unwanted resistances can distort a signal that is already small.
The shunt's resistance can also change as it heats. Unless that change is sufficiently small or compensated, the same actual current produces a different voltage at a different temperature. Mechanical layout, heat flow, and the amplifier's own temperature behavior therefore contribute to measurement accuracy.
How magnetic current sensors work
A magnetic current sensor measures the magnetic field associated with current flowing through a conductor. Hall-effect sensors are one common approach. Depending on the design, the sensor may use a magnetic core to concentrate the field or sense the field close to the conductor without a core.
Because the sensing element does not need a direct conductive connection to the measured circuit, magnetic sensing can support electrical isolation between the power conductor and control electronics. The complete device and its installation still need appropriate insulation. A magnetic sensing principle alone does not establish an assembly's isolation capability.
Some designs use feedback to oppose the conductor's magnetic field and infer current from the compensation needed. This can improve aspects of accuracy and response, although it adds circuitry. Magnetic sensing also brings its own error sources, including temperature-dependent offset, external magnetic fields, and sensitivity to conductor placement. Designs with magnetic cores must account for core behavior as well.
Where the inverter measures current
Sensor location determines what the controller can observe. Measuring individual motor phases gives direct information about winding currents. Measuring current in an inverter switching leg or in the DC link can also support motor control, but the controller must interpret those readings according to which switches are conducting.
In a three-phase motor without a neutral current path, the phase currents sum to approximately zero over the frequency range relevant to current control. That relationship lets the controller calculate one phase current from the other two. Fast interference currents and measurement errors can complicate the relationship at switching edges.
A DC-link measurement needs particular care because the current visible there changes with the inverter's switching state. Some states reveal useful information about a motor phase; others do not. Reconstructing phase currents therefore requires coordinated sampling and enough time for the signal to settle. Battery current alone does not continuously describe every winding current.
Why sampling time is part of accuracy
Inverter switching creates abrupt changes in voltage and can introduce brief disturbances into the current-measurement circuit. Sampling during a disturbance can produce an incorrect reading even when the underlying sensor is precise. Controllers coordinate analog-to-digital conversion with switching to capture current during useful measurement windows.
The signal also needs time to settle after a switching transition. An amplifier that has been disturbed or driven outside its normal range may not immediately return to an accurate output. This makes recovery behavior important alongside nominal precision, especially when the available sampling window becomes short.
Filtering can reduce noise, but it also delays the measurement. Excessive delay means the controller responds to an earlier current value while the actual current continues changing. Sensor response, filtering, conversion, and software timing must work together to preserve both a clean signal and a stable control loop.
How measurement errors affect the motor
Offset error means the measurement reports current when the actual current is zero, or shifts every reading by a similar amount. The controller may respond by creating real current to cancel an error that exists only in the measurement. Depending on the control system and operating point, this can contribute to unwanted torque variation or additional heating.
Gain error means the reported current changes by the wrong proportion. If the sensor underreports current, the controller may drive more current than intended while trying to reach its target. If it overreports, the controller may reduce current prematurely. Either can affect torque accuracy and the relationship between commanded and actual operation.
Errors that differ between phases can distort the controller's calculated torque-producing and flux-controlling currents. Noise and timing errors can make those calculated values fluctuate. Possible consequences include torque ripple, vibration, audible noise, or increased losses, although the outcome depends on the error and how the controller responds.
Calibration and protection complete the system
Calibration can correct predictable offset and gain errors. Temperature compensation can address changes that follow a known thermal pattern. A zero-current calibration is useful only when the system can establish that current is actually zero; otherwise, it risks treating real current as a sensor error.
Current protection also needs a suitable response path. Normal torque control uses processed measurements, while some inverter designs include a faster hardware path for detecting excessive current. These functions have different timing needs: a stable control signal and a rapid protective decision may require different filtering.
The practical result is that accurate motor-current measurement depends on the whole chain: sensor, connections, isolation where needed, amplifier, sampling, calibration, and control software. Shunts and magnetic sensors can both serve that chain. Their effectiveness depends on how well the design handles heat, interference, and timing throughout the motor's operating range.
Frequently asked questions
How does an EV inverter measure motor current?
It can measure the voltage drop across a precision shunt resistor or detect the magnetic field around a current-carrying conductor. The controller converts the sensor signal into a current reading and uses it to adjust inverter switching.
Why does current-sensor accuracy affect torque?
Motor current creates the magnetic fields that produce torque. If the controller receives an incorrect current reading, it can adjust switching in a way that causes actual current and torque to differ from their targets.
Are magnetic current sensors always better than shunts?
Neither approach is universally better. Shunts involve resistive heating and small voltage signals, while magnetic sensors must address effects such as offset, external fields, and conductor placement. Both require careful integration.
Why must current measurements be synchronized with inverter switching?
Switching transitions can disturb the measurement signal, and some sensor locations reveal useful phase-current information only during particular switching states. Coordinated sampling helps capture a settled, meaningful reading.
Can battery current reveal every motor phase current?
Battery current alone does not continuously describe each motor winding's current. Reconstructing phase currents from a DC-link measurement requires knowledge of the switching state and suitable measurement windows.
Related stories
How EV Regenerative Braking Sends Power Back to the Battery
During regenerative braking, an EV’s motor acts as a generator. The inverter controls the motor’s three-phase output and converts it into DC power the battery can accept.
How EV Inverter Controls Keep Power Switches Apart
EV inverters use carefully timed gate signals, dead time and fault protection to keep opposing power switches from conducting together and creating a damaging short.
How EV Inverters Monitor Heat to Protect Power Electronics
EV inverters switch high electrical currents to control motor power. Temperature monitoring helps them respond to heat that can limit semiconductor operation and damage power electronics.

