REAL-TIME STATE OF CHARGE ESTIMATION FOR LITHIUM-ION BATTERIES USING NARX NEURAL NETWORK WITH HARDWARE-IN-THE-LOOP VALIDATION
Accurate State of Charge (SOC) estimation is important for the safe and reliable operation of lithium-ion batteries. This study introduces a Nonlinear Autoregressive Network with Exogenous Inputs (NARX) for real-time SOC estimation using battery current, voltage, and surface temperature as input signals. NARX, Feedforward Neural Network (FFNN), Long Short-Term Memory (LSTM), and Gated Recurrent Unit (GRU) models are evaluated using the same experimental battery dataset. In the offline evaluation, the NARX model showed strong prediction accuracy and effective tracking of the dynamic SOC behavior, with regression coefficients close to 1.0 across the training, validation, and testing datasets. It also showed a lower computational complexity than the LSTM and GRU models, supporting its use for embedded implementation. The trained NARX model is subsequently validated through a real-time Hardware-in-the-Loop (HIL) experiment. The model was deployed on an embedded platform and tested under charging, discharging, and rest conditions. The real-time results showed close agreement between the simulated and real-time SOC outputs over 1842-logged samples. No appreciable cumulative drift was observed during the tested operating period as the comparison resulted in an RMSE of 3.47×10-15 percentage points. These results in the offline and real time deployment phases demonstrate the feasibility of implementing NARX-based SOC estimation for real-time Battery Management System (BMS) applications and provide a practical link between offline model development and embedded operation.
Authors
- Almoataz Youssef Abdelaziz (ORCID: https://orcid.org/0000-0001-5903-5257)
- Walaa Ibrahim Gabr (ORCID: https://orcid.org/0000-0003-4685-5728)
- mahmoud Raafat Ebead (ORCID: https://orcid.org/0009-0003-0833-016X)
- El Sayed F. Tantawy
Institutions
- Ain Shams University (EG)
- Benha University (EG)
Publication Details
- Journal
- Journal of Al-Azhar University Engineering Sector
- Published
- 2026-11-26
- DOI
- https://doi.org/10.21608/auej.2026.494958.2145
- Primary Topic
- Battery Modeling and Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00