1. Introduction
Personal transportation has been a crucial means of travelling for humans for decades. However, with current petrol vehicles not being eco-friendly, as they pollute the air, the demand for greener transport, like electric vehicles (EVs), has increased. However, world institutions have not been able to drastically adopt EVs because the Li-ion batteries used in EVs are not fully stable and efficient, as the battery overheats and degrades over time from usage. The global demand for Li-ion batteries is increasing exceedingly, and it is expected to increase from the required 700 GWh in 2022 to around 4.7 TWh by 2030 [
1]. Hence, research on technologies such as battery management systems (BMSs), which will play major role in meeting this market demand, has become a hot topic; this report evaluates these technologies. The main subject of this report is to design and build a BMS for EVs, a system that monitors battery condition and critical parameters, such as voltage (V), current (I), temperature (T), state of charge (SOC), and state of health (SOH), and alerts the end-user when the battery conditions are abnormal through a user-interface display [
2,
3]. Current challenges in the development of a BMS for electric vehicles include ensuring accurate estimation of battery states (SOC and SOH) under dynamic operational and environmental conditions, such as varying temperatures and load profiles. Additionally, balancing the computational demands of advanced algorithms with real-time constraints and maintaining cost-effectiveness while integrating features like the IoT and thermal management systems remain significant hurdles. This research addresses these challenges by developing a robust BMS that integrates UKF-based estimation for high precision, IoT-enabled remote monitoring for predictive maintenance and adaptive thermal management to enhance safety and efficiency. The findings aim to provide a scalable and practical solution for optimising EV battery performance and lifespan.
The main reason that BMS technology is relevant for the EV industry is it can improve the battery safety by monitoring and managing it so that it is not being overcharged or discharged. This also optimises battery usage and minimises energy loss, increasing the battery’s reliability for giving a constant smooth high performance. This further leads to the battery having a longer life span, as its health degrades far slower, thereby reducing the cost of battery service and maintenance.
This paper aims to critically analyse and evaluate various existing BMSs to develop and simulate the most optimum BMS for EVs which is robust and adaptive at accurately estimating the battery’s critical parameters in real-time and managing the battery for optimum performance by efficiently conserving battery energy and health throughout its operational life cycle. To achieve this, a comprehensive review of the literature was conducted on the scientific theories and methods that can be used to monitor and estimate battery parameters in BMSs, such as the traditional and modern estimation methods. A BMS simulation and physical model were created with an IoT-based user interface that consisted of an interface between the BMS simulation program and the Arduino board.
The relevant previously developed BMS is presented in [
4], which consists of a BMS that has a load connected to a battery, being measured by an INA219 sensor for monitoring current and a MAX6675 sensor for measuring temperature. The INA219 sensor has range to measure a maximum of 26 V and 3.2 A. The MAX6675 sensor is a K-type thermocouple which can measure in a range from 0 to 1024 C. It has an ESP32 microcontroller which processes the sensors data and uses a coulomb counting method to calculate the SOC. The long range (LoRa) module is used for the wireless transmission of data to another LoRa, which then passes it to another ESP32, which then transfers the data to an OLED screen and on to an IoT cloud for data display. The LoRa module is a technology that allows communication through a wide area network (WAN), which is used to receive and send data from sensors through a wide area wirelessly. The LoRa sends its data through radio waves at a frequency of 869 MHz. Another wireless data transmission technology available is a Wi-Fi module, which allows for wireless communication using a Wi-Fi network.
Another slightly different developed BMS, illustrated in [
5], consists of a BMS which has the battery being monitored by a voltage sensor and DHT11 sensor for measuring temperature. The voltage sensor uses a potential divider to measure voltage and has a range of a maximum of 25 V. The DHT11 sensor can measure to a range from −40 to 125 °C. It has an ATMEGA 328P microcontroller and uses a coulomb counting method for estimating the SOC. The data is directly transferred to an LCD and is also wirelessly transferred to an IoT cloud using MQTT which is a commonly used messaging protocol for communication between a machine and an IoT device. An IoT devices is an appliance or sensor that is capable of exchanging data by sending and receiving information wirelessly through a network, such as the internet; hence, it is interconnected. IoT is commonly used for monitoring data from sensors and remotely controlling the device. The cloud in the network, which supports the IoT, is the place where the transferred data is stored, processed and remotely viewed by the user.
The key contributions of this paper can be summarised as follows:
Innovative integration of advanced estimation techniques: This paper introduces a novel BMS that integrates advanced KFs and other cutting-edge, data-driven estimation techniques, providing a more accurate and adaptable method for monitoring the state of a battery. This approach not only enhances precision across battery cycles but reduces the error margin significantly, demonstrating a marked improvement over traditional techniques.
Real-time BMS implementation with IoT and Simulink integration: The proposed BMS uniquely combines real-time data processing through a Simulink model with physical implementation using an Arduino board and an IoT platform. This integration creates a robust and adaptive BMS capable of real-time battery management, offering a practical and scalable solution that bridges the gap between theoretical models and real-world applications.
Comprehensive benchmarking and analytical comparison: The paper conducts an extensive benchmarking of traditional versus modern estimation techniques within the BMS context, offering a detailed analytical comparison. This evaluation not only highlights the effectiveness of advanced methods but provides a clear academic and practical framework for selecting the most appropriate techniques for different BMS applications.
The main motivation behind this research was to further critically analyse and enrich the available knowledge on BMSs, which can act as a catalyst to further accelerate the adoption of EVs in modern society and preserve our planet for future generations. Other reasons were to socially improve society’s perception and acceptance of battery powered EVs by improving the safety of the battery during high stress conditions and operations commonly known for creating malfunctions and safety risks in the battery. This mitigates any personal risk or risks to the surrounding environment, like explosions or fire caused by the battery. This further enhances the safeguarding of public health and well-being and helps in promoting the transition to green energy by increasing the awareness and a social ideology shift towards the use of cleaner energy solutions, like battery powered EVs. Vast inspiration was taken from the current pioneers in this field paving the path, companies like Tesla, Mercedes, Toyota, and BYD.
3. Results
Figure 7 shows the graphs of the measured battery parameters using the dedicated sensors, such as voltage and current. Its shows that, when the battery is charging, it ranges from 3.7 V to a maximum voltage of 4.3 V; when the battery is discharging, it ranges from 4.3 V to 2.9 V. When the battery is charging the maximum current being supplied is 15 Amps.
Figure 8 demonstrates the battery’s calculated SOC graphs, which consists of the measured real SOC and the estimated SOC graphs of the battery. The real SOC is the yellow-coloured graph; the CC method-based estimated SOC is the blue-coloured graph; the EKF method-based estimated SOC is the red-coloured graph; and the UKF method-based estimated SOC is the green-coloured graph. The real SOC graph starts plotting the battery charging graph from 0.30 which, in the percentage format, is 30 precent, and it goes up to 90%, at which point the battery is fully charged. Whereas the battery discharging graph goes from 90% to 30%, at which point the battery is fully discharged. The battery repeats this charging and discharging cycle for five cycles. It also shows that the estimated SOC graphs are trying to track and follow the real SOC graph. It is evidently presented from the results that the SOC estimation method which achieved the worst results in accurately tracking the real SOC graph is the CC method; the method which was most accurate at tracking the real SOC is the UKF method, which can be seen by the green-coloured UKF-based SOC graph overlapping the yellow-coloured real SOC graph. The EKF-based SOC graph is also giving very accurate results, but it can also be seen that it has some unwanted spikes that appear at some places in the red-coloured SOC graph, due to errors or disturbances in the system.
Figure 9 presents the zoomed-in graph of
Figure 8 that focuses on only the first and second cycles of the battery for a closer look at the battery SOC graph and to obtain a better understanding of the battery dynamics.
Figure 10 presents the battery’s estimated state of health (SOH) graphs, which consists of the estimated SOH based on the EKF method that is the yellow-coloured graph, and the estimated SOH based on the UKF method which is the blue-coloured graph. The plotting of the SOH graph starts from 1 which, in the percentage format, is 100%; hence, the battery being fully healthy, which means it is basically a brand new battery. Then, as the time increases while the battery performs multiple charging and discharging cycles, the battery’s SOH level starts to decrease causing battery degradation from the excessive usage such that the SOH level drops between the range of 70% and 80%. It also shows that the UKF-based SOH estimation graph is smoother and more accurate as it narrows the SOH level range to as close to the real SOH of the battery. While the EKF-based SOH estimation graph is more widespread and covers a large range and fluctuates a lot, thus being less accurate than the UKF-based SOH graph and being just a rough estimate of the battery’s SOH level.
Figure 11 demonstrates the battery’s estimated internal resistance (R0) graphs, which consists of the estimated R0 based on the EKF method, which is the yellow-coloured graph, and the estimated R0 based on the UKF method, which is the blue-coloured graph. The plotting of the R0 graph starts from 0.008 ohms resistance, which represents the initial resistance of the battery. Then, as the time increases while the battery executes multiple cycles, the battery’s R0 level starts to increase from battery usage along with an increase in the battery temperature to the R0 level being between the range of 0.010 and 0.015 ohms resistance. It also shows that the UKF-based SOH estimation graph is smoother and more accurate, while the EKF-based R0 estimation graph is fluctuating more and is less accurate then UKF-based R0 graph.
Figure 12a presents the battery’s measured temperature graph with no cooling system turned on, in the Kelvin unit (K), which is the top graph, and in the Celsius unit (C), which is the bottom graph. The Kelvin unit was used because the SOC estimators required it to function properly; the Celsius unit was used because it is the most common temperature unit used by the public. Hence, it is for the user to read. The graphs show that, as the number battery cycles completed increases by time, so does the battery temperature increase. Temperature increased from 298 K to 308 K or from 24 °C to 34 °C.
Figure 12b illustrates the battery’s measured temperature graph with the cooling system turned on. It shows that, as the battery temperature reached 299 K or 25.8 C, the cooling system turns on automatically, which drops the battery temperature and prevents it from exceeding the assigned limit of 299 K or 28 °C, hence the battery’s cooling system is operating exceptionally at keeping the battery operating safely.
Figure 13a,b displays the transmitted battery parameters on the IoT “ThingSpeak” platform in the visualised format such as the LEDs indictor which shows the green LED being turned on, indicating that the battery is operating safely. The platform uses the LCD display to display the measured battery voltage of 3.82 V, current of 15 Amps, temperature of 26.75 °C, and the SOH level of 100% as its first cycle to indicate the battery is brand new; the real SOC level is approximately 30% and the estimated SOC is 35% because the initially given SOC level to the SOC estimator is 35%. Hence, in start estimations, there is a slight error but the BMS will adjust to more accuracy with more battery cycles; the internal resistance of 0.008 ohms is also measured.
Figure 14 presents the BMS’s battery overheating alert indicator system functioning properly, which can be seen as the battery is overheating: the red LED has been turned on and the green LED has been turned off, which informs and alert the end-user of the battery overheating status. Even the battery overheat alert LED graph shows a spike of value being 1 when red LED is turned on.
4. Discussion
Aspects of the BMS which were analysed are the SOH, the battery temperature, the efficiency of the BMS performance, and the error margin of the BMS at tracking the real SOC level. Further investigation of the battery’s estimated SOH graph, as shown in
Figure 10, has revealed a relationship of SOH level drop over time which is shown that in the initial time from 0 to 2000 s, the drop in the SOH is significantly high; but in the later time, from 2000 s to 3500 s, the SOH drop reduces excessively. The SOH at time 0 s is 100%; the SOH at time 500 s is 90%; the SOH at time 1000 s is 87%; the SOH at time 1500 s is 85%; the SOH at time 2000 s is 78%; the SOH at time 2500 s is 77%; the SOH at time 3000 s is 76%; and the SOH at time 3500 s is 75%. This is because, at the initial time, the battery must undergo a conditioning phase in order to stabilise the internal chemical process, this adds a sufficiently high level of stress on the battery which increases the battery degradation, hence reducing the SOH level faster [
22,
23]. Whereas, in the later period of the battery after some cycles, the battery’s internal components are stabilised, providing a consistent performance with a slower battery degradation rate thereby reducing the SOH level slower.
Inspection of the battery’s measured temperature graph, which is presented in
Figure 12a, has demonstrated the pattern of the battery temperature dropping when the battery is charging; when the battery is discharging, the battery temperature increases. It also shows that, as the number of discharge cycles of battery increases, so does the battery’s temperature increase significantly. The reason for this is that, during the charging process, the battery tends to store electrical energy by converting its internal chemical energy into stored electrical energy through electrochemical reactions, and these reactions by nature tend to be endothermic, which means that they absorb the heat from the surroundings; and the charging process, with it ions migrating and redistributing, can also introduce a cooling effect on the battery. All these effects led to the battery temperature dropping [
24,
25]. During the discharging process, the battery’s chemical energy is converted to electrical energy and this process involves exothermic electrochemical reactions, which means that the battery releases heat in its surroundings, thereby increasing the battery temperature. Further utilising this information, it is possible to improve the BMS performance by enhancing the battery cooling system through creating better thermal management strategies and protocols by specifically considering and tackling the cooling of the battery during its discharge cycle period for a more robust and effective cooling response on the battery in a more energy efficient way.
The BMS efficiency at tracking and estimating the SOC level at the conducted five charging and discharging cycles of the battery under the BMS management shows that the first battery cycle SOC estimation graph does start with a slightly higher error margin, but that is understandable as the input initial SOC level condition to the SOC estimators is fully accurate, hence the BMS takes a bit of time to adjust; however, from the second to fifth battery cycles, it is shown to provide an average of 90% SOC for a fully charged battery; for a fully discharged battery, it provides a 30% SOC level, which is identical to the real SOC levels measured. Hence, the BMS proves its high efficiency in providing a constant smooth performance and energy transfer, which is also evident from the minor error margins presented in
Table 2. The proposed BMS achieves a balance between computational complexity and energy efficiency by selectively processing data. Power consumption measurements indicate that the energy used by the BMS for running advanced algorithms is negligible compared to the improvements in battery performance achieved through accurate SOC and SOH estimations.
During analysis it is also seen in
Figure 8 that, during the battery discharge, the SOC graphs are rougher and have more fluctuations compared to when battery is charging, which smoother. The reason for this is that, during the charging process, the battery’s electrochemical reactions are controllable and predictable and even the charging current to the battery is supplied externally, which can also be precisely controlled; hence, the battery having a smooth SOC level increase during charging. Whereas, during the discharging process, the battery is the one providing the discharge current from its internally stored energy and this discharge process can be affected by factors, like varying load resistance being introduced to the battery, introduced random white noise, changing internal resistance, and battery conditions, which could lead to a rough SOC level graph during battery discharge [
23,
25].
The system’s robustness to noisy sensor data is demonstrated by the UKF’s low error margins, even under simulated inaccuracies. Noise modelling and covariance tuning in the Kalman filters ensured reliable SOC and SOH estimations, maintaining error margins as low as 0.32% during discharge cycles despite the introduced noise.
Table 2 shows the comparison of results of the battery’s measured real SOC level vs. the estimated SOC levels based on the CC, EKF and UKF methods. The error margin is calculated, which informs by how much the estimated SOC levels diverge from the real SOC measured; this is performed to find the most accurate SOC estimation method: it shows the SOC levels measured over five battery charging and discharging cycles. The average calculated error margin for the CC-based SOC is 5%, for the EKF-based SOC is between 1.6% and 1%, and for the UKF-based SOC is between 1% and 0.32%, which is the lowest. The SOC estimation performance of the proposed BMS was evaluated against industry standards, such as IEC 62660-2 and ISO 12405-4, which specify acceptable error margins for the SOC tracking in electric vehicle applications. These standards typically set thresholds around 1–2% error for advanced systems. The results of this study, with error margins ranging from 0.32% to 1%, demonstrate compliance with and surpass these guidelines, emphasising the robustness and accuracy of the proposed approach. Testing under simulated real-time conditions has shown that the delay introduced by the Kalman filters is negligible for typical EV operations. The system’s design prioritises critical actions, such as thermal management and fault detection, over non-critical SOC and SOH updates, ensuring responsiveness in high-demand scenarios.
Table 3 presents the comparison of results of the battery’s real SOC vs. estimated SOC levels, when different initial SOC levels are given as the initial condition to the SOC estimators. At 40%, the initial SOC level given, the average calculated error margin for the CC-based SOC is 10%; for the EKF, it is between 2.7% and 1%; and for UKF, it is between 1.68% and 0.7%. Whereas, at the 50% initial SOC level, the average calculated error margin for the CC-based SOC is 20%; for the EKF, it is between 4.8% and 0.8%; and for the UKF, it is between 2.4% and 1.8%.
This shows that, as inaccuracy of the BMS’s SOC estimators is increased purposely to test how the estimator algorithms react to it, the modern methods which are the EKF and UKF methods have proven to be more resilient, adaptive, and robust at minimising the error margin and more accurate at the SOC and SOH estimations. Whereas the traditional method, which is the CC method, has shown to be less accurate and adaptive to this system initial condition changes, which can be seen by the significantly excessive increase in the error margins of SOC estimation; as the SOC estimation worsens, so does the SOH estimation accuracy drop.
This analysis of the SOC level parameter of the BMS, through this comparison of the used estimation methods which is shown in
Table 1 and
Table 2, meets the aim and objective of conducting a comprehensive review of the traditional and modern estimation methods. This concludes that, when comparing the traditional estimation methods with the modern methods, it is evident that the advanced versions of the KF methods are preferred as they are more accurate and adaptive in estimating the SOC and SOH in real-time with frequent variances in the system to work with. While the proposed BMS demonstrates effective real-time tracking, future enhancements could explore lightweight or hybrid filtering techniques to further minimise latency. Such improvements would enhance the system’s applicability in scenarios with exceptionally high demands on response time, such as high-congestion environments.
It is recommended that, based on the research conducted and the promising results shown in this project report, the modern estimation method is preferable as an advanced BMS for use in an EV if the user requires extremely accurate tracking and estimation of the battery parameters. As the KF-based EKF method is more accurate than the CC method, but not compared to UKF, as the EKF handles the non-linear system by linearising it but tends to lead to more errors appearing in the system when faced with high levels of non-linearities in the system. Whereas the UKF is more robust at handling high non-linearities, hence being more accurate and efficient at handling complex behaviours in the system. The UKF method also shows consistency in estimation and stability compared to the EKF when faced with high non-linearity. It also presents better accuracy when it comes to dealing with high dimensional systems which consist of dealing with large number of data points. Currently, based on the research conducted and the achieved results, the UKF is the most optimum method for SOC and SOH estimation as it is more robust and adaptable than the other proposed methods. However, the modern estimation method can also be complex to implement as it is a mathematical model-based method. The KF-based methods EKF and UKF use complex computations such as Jacobian matrix and unscented transformation sigma points which demand high computation power, and these increase the cost of the manufacturing and operating costs of the BMS. If the user wants a cost-efficient option, then a good alternative can be the traditional estimation approach of the CC method which is commonly used because it is simple to implement and use, requiring the least computational power compared to the modern estimation approaches; this excessively reduces the expenses of the physical implementation of it. However, they are not ideal for EV battery state calculation applications as they cannot estimate the SOC and SOH with accuracy and their estimation accuracy further extensively decreases as the battery age increases. Compared to other modern filtering methods, it is prone to error accumulation in it when high variations are introduced in the system and its accuracy is highly dependent on the accuracy of the given previous SOC value. All these characteristics of the traditional estimation method make it not an ideal option if the user is looking for a highly advanced BMS.
While the proposed BMS demonstrates significant advancements in accuracy, adaptability, and integration with the IoT, it is important to recognise certain practical implications and limitations. For instance, the increased computational demands of advanced algorithms may affect system efficiency, and the integration of the IoT and advanced sensors may elevate costs. Additionally, while simulation results validate the system’s performance, real-world testing under diverse operational conditions, such as extreme temperatures and high vibrations, remains necessary. These considerations highlight opportunities for future research to further refine and validate the system’s capabilities.
5. Future Recommendation
For this project, a single battery cell was used but, in practical application, a larger battery pack is required; hence, the next, future step would be to expand the number of battery cells in the battery pack. However, there are challenges to using a larger battery pack, including the irregularities and inconsistency of constant performance between the large number of cells; some cells may perform better, while others might lag behind. Due to this, there are uneven charge accumulations throughout the cells in the battery pack. Hence, to tackle this problem, a battery cell balancing system (BBS) is essential for a multi-cell Li-ion battery pack used in EV applications, as it plays a critical role in ensuring the uniformity, safety, and longevity of the battery pack while in operation, and it works in conjunction with the BMS to further optimise the battery performance and health, thereby enhancing its reliability and efficiency in energy storage. A BBS tracks the multi-battery cells, which are charging or discharging at different rates, having different SOC levels and redistributing the charge evenly among all the cells to have a similar charge so that the battery can provide a constant smooth performance; hence, before the BBS, the cells charge and the SOC levels are uneven, but after the BBS they are even. The reason charge redistribution is important is to prevent the dominant SOC level cells from overcharging or discharging and accumulating excessive heat which badly affects the battery performance and lifespan. It also increases the risk of battery explosion or damage.
The BBS consists of sensing battery cells using algorithms or controllers for routing charging or discharging current to the cell which is typically conducted by using ASICs (battery sense chips and a system charge controller). The types of battery balancing methods are passive and active battery balancing. In passive battery balancing (PBB), the charge distribution consists of discharging current from one battery cell which has most dominant SOC level to all the other battery cells, producing a naturally balanced charge across all cells in the battery, which will distribute charge even to cells which do not require it. Hence, there is energy wastage. Whereas, in active battery balancing (ABB), it uses an intentionally routed path from the most dominant SOC level cell to the lowest SOC level cell and, due to this selective cell path method and controlled balancing, the battery’s charge is more efficiently distributed. Thus, ABB is preferable for large battery applications [
26].
6. Conclusions
In conclusion, the significance of a robust and adaptive BMS for EV battery management application that can measure and estimate battery critical parameters for the optimised management of an enhanced battery for performance, safety, and lifespan is emphasised. The critical parameters of a battery, such as the SOC and SOH levels, are estimated by using various estimation techniques, including the traditional technique, the CC method, which tracks and integrates the current of battery to estimate the SOC level, and modern techniques, the KF-based methods which are data-driven approach algorithms which predict the state of system to estimate the SOC and SOH levels. The novelty of the developed BMS is characterised in this paper as robust, adaptable, optimised for performance and enhanced longevity, sustainable, cost-efficient, and conducts a comprehensive evaluation of the various estimation techniques. The BMS continuously updates the new estimated state of the battery while extensively adapting to improve the accuracy of the BMS. Additionally, it also minimises the degradation of the battery’s internal components throughout its operational lifespan to enhance its performance and its lifespan, thereby reducing battery wastage and reducing costs related to battery maintenance and replacement. The results the comprehensive and analytical evaluation of the developed BMS with the Simulink simulation and ThingSpeak IoT platforms demonstrated that, compared to traditional estimation techniques, the modern technique, the UKF method, achieves a higher level of accuracy at estimating the battery SOC and SOH levels. For battery SOC level estimation, the average estimated SOC for a fully charged battery is 90% and for a fully discharged battery is 30%. The error margin for the UKF method-based BMS in tracking the real battery SOC level, compared to the estimated SOC level, is 1% for a battery charging state and 0.32% for a battery discharging state. Overall, the UKF method is the proposed estimation technique for an advanced and robust BMS for application in real-world scenarios for optimum and efficient EV battery management application. Future studies will focus on evaluating the proposed BMS across different EV categories, including passenger vehicles, commercial fleets, and heavy-duty applications. Such an exploration will ensure that the system meets the diverse operational and performance needs of various EV types.