Lithium battery-based electric vehicles (EVs) are gaining global popularity as an alternative to combat the adverse environmental impacts caused by the utilization of fossil fuels. State of charge (SOC) and state of health (SOH) are vital parameters that assess the battery’s remaining charge and overall health. Precise monitoring of SOC and SOH is critical for effectively operating the battery management system (BMS) in a lithium battery. This article presents an experimental study for the artificial intelligence (AI)-based data-driven prediction of lithium battery parameters SOC and SOH with the help of deep learning algorithms such as Long Short-Term Memory (LSTM) and bidirectional LSTM (BiLSTM). We utilized various gradient descent optimization algorithms with adaptive and constant learning rates with other default parameters. Compared between various gradient descent algorithms, the selection of the optimal one depends on mean absolute error (MAE) and root mean squared error (RMSE) accuracy. We developed an LSTM and BiLSTM model with four hidden layers with 128 LSTM or BiLSTM units per hidden layer that use Panasonic 18650PF Li-ion dataset released by NASA to predict SOC and SOH. Our experimental results advise that the selection of the optimal gradient descent algorithm impacts the model’s accuracy. The article also addresses the problem of overfitting in the LSTM/BiLSTM model. BiLSTM is the best choice to improve the model’s performance but increase the cost. We trained the model with various combinations of parameters and tabulated the accuracies in terms of MAE and RMSE. This optimal LSTM model can predict the SOC of the lithium battery with MAE more minor than 0.0179%, RMSE 0.0227% in the training phase, MAE smaller than 0.695%, and RMSE 0.947% in the testing phase over a 25°C dataset. The BiLSTM can predict the SOC of the 18650PF lithium battery cell with MAE smaller than 0.012% for training and 0.016% for testing. Similarly, using the Adam optimization algorithm, RMSE for training and testing is 0.326% and 0.454% over a 25°C dataset, respectively. BiLSTM with an adaptive learning rate can improve performance. To provide an alternative solution to high power consuming processors such as central processing unit (CPU) and graphics processing unit (GPU), we implemented the model on field programmable gate Aarray (FPGA) PYNQ Z2 hardware device. The LSTM model using FPGA performs better.
The swift progress of Electric Vehicles (EVs) and Hybrid-Electric Vehicles (HEVs) has driven advancements in Battery Management Systems (BMS). However, optimizing the algorithms that drive these systems remains a challenge. Recent breakthroughs in data science, particularly in deep learning networks, have introduced the Long Short-Term Memory (LSTM) network as a solution for sequence problems. While GPUs and ASICs have been used to improve performance in AI-based applications, Field Programmable Gate Arrays (FPGAs) have gained popularity due to their low power consumption and high-speed acceleration, making them ideal for AI implementation. One of the critical components of EVs and HEVs is the BMS, which performs operations to optimize the use of energy stored in lithium-ion (LiB) batteries. Due to the nonlinear electrochemical nature of these batteries, estimating States of Charge, States of Health (SOH), and Remaining Useful Life (RUL) is challenging. This paper proposes an advanced AI-based BMS that uses LSTM to accurately estimate Lithium-ion Battery states, providing crucial information for battery performance optimization. The proposed design is implemented in Python for training and validation. The hardware prototype is synthesized using Xilinx Vitis High-Level Synthesis (HLS) and implemented on Xilinx Zynq System-on-Chip (SoC) PYNQ Z2 board, achieving low RMSE values of 0.3438 and 0.3681 in training and validation, respectively.
Predicting the State of Health (SoH) and Remaining Useful Life (RUL) is crucial in lithium‐ion batteries (LiBs) used in electric vehicles (EVs). The rapid growth of EVs has created a strong demand for an advanced battery management system (BMS). The BMS plays a critical role in maintaining battery health, safety, and efficiency, which are the heart of EV technology. By monitoring and controlling battery parameters, BMS can optimize charging, prevent degradation, and mitigate risks, providing a reliable EV experience. To address the limitations of conventional methods in capturing complex degradation dynamics, this paper proposes a novel hybrid deep learning framework, TransLSTM, which integrates long short‐term memory (LSTM) networks with a Modified Transformer Encoder. Extensive testing with the National Aeronautics and Space Administration (NASA) Ames Prognostics Centre of Excellence (PCoE) Battery Dataset demonstrates the superior accuracy of our method, surpassing traditional BMS approaches. The LSTM network with the Modified Transformer Encoder (TransLSTM) model achieved exceptional performance, with a root mean squared error (RMSE) of 0.0354%, mean squared error (MSE) of 0.0012%, and mean absolute error (MAE) of 0.0209% on test datasets, demonstrating significant advancements in predictive accuracy and reliability. This research highlights the potential of artificial intelligence (AI) to revolutionize EV battery management, leading to improved efficiency, reliability, and cost‐effectiveness.
The growing demand for energy-efficient and real-time biomedical signal processing in wearable devices has necessitated the development of application-specific and reconfigurable embedded hardware architectures. This paper presents the register transfer level (RTL) design and simulation of a custom reduced instruction set computer-V (RISC-V) based hardware architecture tailored for real-time electrocardiogram (ECG) feature extraction, focusing on R-peak detection and heart rate (HR) calculation. The proposed system combines ECG-specific functional blocks including a specialized ECG arithmetic logic unit and a finite state machine-based ECG control unit with a compact 16-bit RISC-V control core. Hardware optimized algorithms are used to carry out pre-processing activities such high-pass and low-pass filtering as well as feature extraction processes including moving average filtering, derivative calculation, and threshold based peak identification. Designed to reduce memory footprint and control complexity, a custom instruction set architecture supports modular reconfigurability. Functional validation is carried out by Xilinx Vivado simulating RTL components described in very high speed integrated circuit (VHSIC) hardware description language (VHDL). The present work shows successful simulation of important architectural components, complete system-level integration and custom ECG data validation. This work provides the basis for an application-specific, reconfigurable, power efficient hardware solution for embedded health-monitoring devices.