M A T L A B T E C H

BMS Sensory Architecture: Engineering Voltage, Current, and Temperature Measurement

A deep dive into the hardware and mathematics of data acquisition. Explore Analog Front Ends, sensor topologies, and signal processing for advanced EV powertrains.

Advanced algorithmic models—such as Extended Kalman Filters for State of Charge (SOC) estimation—are completely reliant on the quality of their input data. In an Electric Vehicle (EV), the Battery Management System (BMS) acts as a high-speed data acquisition hub. It must sample hundreds of data points every second with near-perfect precision, all while surviving extreme electromagnetic interference (EMI) and high-voltage isolation challenges.

This technical guide dissects the three foundational pillars of BMS data acquisition: Voltage, Current, and Temperature measurement. We will explore the hardware topologies, the governing physics of the sensors, and the mathematical transformations required to feed clean data into your control logic.

1. Cell Voltage Measurement: The Precision Challenge

Measuring the voltage of a single 18650 or 21700 cell on a workbench is trivial. Measuring the voltage of 96 cells wired in series within a 400V automotive pack is an extreme engineering challenge. The BMS must measure individual cell voltages to extreme precision (often $\pm 1mV$) to enable effective cell balancing and accurate SOC estimation, particularly for flat-curve chemistries like Lithium Iron Phosphate (LFP).

The Analog Front End (AFE) and Common-Mode Voltage

Because the cells are in series, the “ground” reference for each cell shifts. Cell 1 is measured relative to 0V. Cell 96 might be measured relative to 396V. This creates a massive Common-Mode Voltage problem.

Modern EV battery packs utilize specialized ICs known as Analog Front Ends (AFEs). These are usually deployed in a modular, distributed architecture. An AFE chip sits locally on a battery module (e.g., monitoring 12 cells). It utilizes highly precise 16-bit or 24-bit Analog-to-Digital Converters (ADCs) combined with rapid multiplexers to sweep through the cells, taking synchronized voltage snapshots.

Simulation Insight: Modeling ADC Quantization

If you are building an Equivalent Circuit Model in an environment like MATLAB R2018b, do not feed perfect, continuous voltage values into your BMS logic block. You must insert a Quantizer and a Gaussian Noise block to simulate the finite resolution (e.g., $1mV$ steps) and thermal noise of a real AFE. If your control logic fails under this simulated signal noise, it will fail in a real vehicle.

Galvanic Isolation

To prevent the high-voltage pack from destroying the low-voltage microcontrollers (and the vehicle’s 12V system), the data collected by the AFE must cross an isolation barrier. This is achieved using Digital Isolators or internal transformers, ensuring data (via isolated CAN or proprietary daisy-chain protocols) can pass through without a physical electrical connection.

2. Current Measurement: Tracking the Flow of Energy

Accurate current measurement is the backbone of Coulomb Counting ($SOC = SOC_0 – \int I dt$). Any offset error in current measurement will accumulate over time, leading to severe SOC drift. Automotive engineers primarily choose between two sensing technologies: Shunt Resistors and Hall Effect Sensors.

Shunt Resistors (Direct Measurement)

A shunt is an ultra-low resistance, high-precision resistor placed directly in series with the battery pack. The AFE measures the tiny voltage drop across the shunt to calculate current using Ohm’s Law ($I = \frac{V}{R}$).

  • The Challenge: Joule Heating. At 300 Amps of acceleration, even a $100\mu\Omega$ (micro-ohm) shunt dissipates 9 Watts of heat ($P = I^2 \cdot R$).
  • Temperature Coefficient of Resistance (TCR): As the shunt heats up, its resistance changes slightly. High-end automotive shunts use specialized alloys like Manganin to achieve a near-zero TCR, ensuring the resistance remains stable regardless of pack temperature.

Hall Effect Sensors (Isolated Measurement)

A Hall Effect sensor measures the magnetic field generated by the high-voltage cable passing through a magnetic core. It provides absolute galvanic isolation because there is no physical connection to the high-voltage line.

Metric Shunt Resistor Hall Effect Sensor
Accuracy / Precision Extremely High (Excellent linearity) Moderate (Susceptible to magnetic noise)
Isolation None (Requires complex isolated ADCs) Built-in Galvanic Isolation
Offset Drift Near Zero High (Requires constant zero-calibration)
Cost Low (for the resistor itself) High

Industry Trend: Many modern high-performance EVs utilize redundant architectures—pairing one shunt and one Hall sensor to leverage the precision of the former and the isolation/redundancy of the latter.

3. Temperature Measurement: The Thermal Safety Net

Lithium-ion cells are highly sensitive to thermal gradients. When designing thermal logic for vehicles operating in hot, high-traffic urban environments—such as the stop-and-go commutes of Bangalore—sensor latency and accuracy can literally be the difference between safe operation and thermal runaway.

NTC Thermistors and the Steinhart-Hart Equation

The standard temperature sensor in an EV pack is the Negative Temperature Coefficient (NTC) Thermistor. As temperature increases, the resistance of the NTC drops significantly. However, this relationship is highly non-linear.

NTC Thermistor Non-Linear Response Curve

100 kΩ 10 kΩ 1 kΩ 0 Ω -20°C 25°C 60°C 100°C Temperature (°C) Resistance (Log Scale) Standard 25°C Reference

Figure 1: The exponential decay of resistance in an NTC thermistor as temperature increases.

To convert the measured resistance back into a usable temperature variable for your BMS logic, the microcontroller must process the raw data using the Steinhart-Hart Equation, an empirical model that translates the semiconductor’s non-linear behavior into accurate Kelvin measurements:

$$ \frac{1}{T} = A + B \ln(R) + C (\ln(R))^3 $$
Where:
• $T$ = Temperature (in Kelvin)
• $R$ = Measured resistance of the thermistor (in Ohms)
• $A, B, C$ = Steinhart-Hart coefficients (provided by the sensor manufacturer)

Sensor Placement and Latency

A thermistor placed on the plastic casing of a battery module has immense thermal mass between it and the actual cell jellyroll, leading to high measurement latency. High-performance packs place sensors directly on the cell busbars or tabs, as copper is an excellent thermal conductor and reflects internal cell temperatures much faster than the exterior casing.

Conclusion

Data acquisition is the bedrock of electric vehicle safety and performance. A BMS is only as intelligent as the data it receives. By utilizing precision shunts with near-zero TCR, architecting isolated Analog Front Ends to manage high common-mode voltages, and processing non-linear NTC data via Steinhart-Hart algorithms, engineers can build robust hardware foundations ready to support the most advanced powertrain simulation logic.