Arduino-Based Battery Monitoring System With State of Charge and Remaining Useful Time Estimation
Arduino-Based Battery Monitoring System With State of Charge and Remaining Useful Time Estimation
Abstract
This paper presents a battery management system for lead-acid battery banks used in e-vehicle. It is incorporated with a
diagnostic, measurement, and monitoring system for improving Lead-acid battery performance up to its efficiency and
conservation. This matter calls the need for research on traction batteries as an insatiate demand exists for smaller
vehicles with lightweight and portable equipment. It is extensive that batteries are strictly assessed and diagnosed before
having them rented or exchanged for their condition to be highly maintained. The measurement of the battery’s State-of-
Charge and State-of-Health is derived from its load voltage, no-load voltage, load current, and temperature during
experimentation. The estimation of State-of-Charge, State-of-Health, Discharge Rate, and Remaining Useful Life are
then derived by utilizing the concept of correlation and regression from the yielded real-time parameters recorded to the
SD card module. This study paves the approach for the comprehensive and continuous progress of battery identification,
monitoring, and diagnosis that is a thorough advancement in the E-Vehicle industry.
Keywords
Battery management system, Lead-acid, Arduino-based management system, Electric vehicle, State of charge, State of
health, Remaining useful time, Discharge rate.
The construction of the cell is formed by two acquire real-time parameters with computational
schemes: design each part as an electrical element or analysis in obtaining the battery’s internal resistance,
set up the cell behavior as a black box. The approach SoC, SoH, Discharge Rate, and Depth-of-discharge
of a black box is the analysis of the terminal’s (DOD). In addition to the indicator installed on the
measurements [4]. Battery modeling can be collected device, which includes the proposed system, with the
from artificial intelligence which fuzzy logic is data acquisition specification of the device the
utilized to layout discharging of lead-acid batteries. researchers developed a user interface to extract and
The data of discharging are acquired through interpret data from the SD card installed in the
controlling the network among the battery’s open- device.
circuit terminal voltage, the output currents, and the
state of charge [5]. The general objective of this study is to develop a
smart Arduino-based e-vehicle battery management
Battery identification and diagnosis is a technology system with the remaining useful time prognosis
that is still not accessible to e-trike owners and e-trike deployed on an e-tricycle battery shop. Specifically,
battery shops in the Philippines. It is significant for this study aims: (1) to design and develop an
batteries to be diagnosed before engaging them into electronic circuit for the Arduino-based data
business for maintaining their good quality. Even acquisition system for the battery’s no-load voltage,
this, owners of e-trike and e-trike battery shops are load voltage, current, and temperature, (2) to develop
only capable of diagnosing the battery by visual an Arduino-based identification and diagnostic
observation for any physical deformity and using a system for batteries that stores and validates battery
common voltmeter for checking the battery’s health. performance through information storage for the
State of Charge (SOC) is commonly confused with initialization, reading, and writing of the battery’s
State of Health (SOH). Both stated techniques are performance history, and (3) predicting its remaining
inadequate assessment and resolution-making would useful life in terms of time.
be at risk.
The study only considered the sets of lead-acid
As a solution, the researchers of the study proposed a batteries in an E-bike Shop used for public utilization
system that exerts a profound understanding in Bacoor, Cavite, Philippines. The output of the
regarding the parameters to scrutinize in diagnosing a study was proposed to e-trike battery shops and even
battery like the Lead-acid battery. The researchers e-trike owners who offer battery renting and/or
specifically aims to: (1) design and develop an swapping. This study was focused on the
electronic circuit for the Arduino-based data identification, diagnosis, and monitoring of lead-acid
acquisition system for the battery’s no-load voltage, batteries that are available within the area. This study
load voltage, current, and temperature, and (2) dealt with the use of SD Card technology for security
develop an Arduino-based identification and over authentication in each-and-every battery
diagnostic system that stores and validates battery available. The goal of the proposed SD Card
performance through information storage for the Identification System is to be able to store large
initialization, reading, and writing of the battery’s amounts of data from the analog signal over a long
performance history used for the battery. period of time so that it can stay unattended for a
long time. Physical battery defects, such as wears and
A Management System solution is proposed to tears or smudges, are not considered as factors for
showcase how important measuring and monitoring diagnosis and monitoring. This study required
the battery SOH and SOC for life span predictions. manpower to ensure the security of data from the SD
Nowadays, lead-acid batteries for e-vehicle are Card till it makes to the database on the shop owner’s
widely used because of their versatility and low cost personal computer.
but degrade their performance without proper
management, measurement, and monitoring. As the The success of the study will be a source for the e-
lead-acid battery ages, its SOH and SOC are trike battery shops for improved diagnosis of battery
susceptible to a lot of factors affecting its life span. and business exhortation. In addition to that, it will
The software development of the proposed system provide a reference for the continuous progress of
used the application of Arduino IDE for Lead-acid battery identification and diagnosis that is
programming the microcontroller of the system, a profound upgrade for the e-vehicle industry.
MySQL for database, and Python for the system user
interface. The microcontroller is programmed to
433
Melbern C. Maltezo et al.
This paper is organized as follows: Section 2 pertains You et al. [10] an illustration about the recurrent
to the gaps and limitations of the related researches, neural network (RNN) which is very suitable in
Section 3 defines the materials and methods used by working with sequential data like the ratio of current
the researchers, Section 4 explains the detection and and voltage during the charge cycle is carefully
database results of the study, and Section 5 declares constructed. There are many advantages with the use
the conclusion and enumerates possible future works of long-short term memory neural networks as the
of the research. improved variant of the standard recurrent neural
network. For the former data's neural network, the
2.Related works performance of a battery is used to gather samples
Recognizable battery degradation assessments have and is necessary to minimize the noise effect.
emerged even before the creation of electric vehicles.
Various methods and variables were introduced for Yang et al. [11] introduce a dynamic Peukerts law-
the estimation of measurements of the battery’s SOC based SOH estimation of batteries. The estimation
and SOH. In [6], researchers introduce a method that method is correlating Peukerts coefficient to the
adopts known cell-balancing circuits for individual battery’s capacity loss. It is computed that the
estimation of cell’s voltage and current from a battery Peukerts coefficient is a function of the battery’s
bank or battery string terminal. The methods include capacity loss. They experimented with seven samples
control strategies and algorithms by manipulating using one type of battery and compared the results
balancing circuits to observe battery subsystems. It is using the proposed method to the same number of
concluded that a large balancing current circuit is sample history data of the same battery type. The
ideal for accurate measurement. proposed method is eligible for direct SOH
estimation with missing data.
Diao et al. [7] determined if batteries have reached
their limit by using internal resistance to evaluate the Dong et al. [12] estimation for short-term SOH and
state of health (SOH). However, due to capacity long-term RUL was proposed using Brownian
independence from the internal resistance, it can Motion and Particle Filter. This study utilizes the
bring about contradicting outcomes for the SOH of degradation modeling using Brownian Motion with
the battery. The SOH is more accurately defined as drift and scale and Particle Filter is used for
the present battery status with relation to the capacity estimation of the drift parameters. Two sets of
and power SOH, in which degradation, internal different capacity of battery degradation in terms of
resistance, and inconsistency of capacity are all distance traveled were experimented for validating
considered. With the use of this method, a clear the results of the method. The proposed forecasting
advantage can be seen by analyzing data and by of the mentioned two parameters was verified to be
comparing it to other methods. accurate. The limitation of the method is that the
parameters are initialized off-line with the use of
Liu et al. [8], researchers utilized probability available measurements.
distribution and adopted the concept of Monotonic
echo sate Networks or MONESNs algorithm for Qu et al. [13] proposed a model for estimation of
tracking nonlinear degradation patterns of battery- SOH and prediction of RUL using a synergy of long
RUL estimation. A correlation model between health short-term memory (LSTM) network and particle
index and battery capacity is developed. Two sets of swarm. The optimization of key parameters of the
data of lithium-ion batteries are used to prove the particle swarm was employed. In forecasting of RUL
efficiency of the proposed method. of the lithium-ion batteries, the Complete Ensemble
Empirical Mode Decomposition with Adaptive Noise
Hou et al. [9] propose calculation and monitoring of (CEEMDAN) method is utilized to denoise raw data
the electric vehicle's SOH, SOC, and state of function for extracting the downtrend of SOH. Real-life
(SOF). The estimation of SOC shows that the datasets from NASA of the lithium-ion batteries life
maximum error is 0.334%. The present maximum cycle were used for validation. The results from the
capability to minimize the error of the SOC experimentation present that the proposed method is
estimation will therefore be redefined. Furthermore, better than the predictions of RNN, LSTM, and RVM
this article states that the SOF is established based on in monitoring SOH and prediction of RUL of
the SOC and the SOH will yield the system's driving lithium-ion batteries. The application of an accurate
power. and low computational demanding state-of-health
(SOH) estimation algorithm represents a key
434
International Journal of Advanced Technology and Engineering Exploration, Vol 8(76)
challenge for the battery management systems in impedance. Dung proposed a time-constant-ratio
electric vehicle (EV) applications. Stroe and Schaltz measurement to improve issues on different SOH
proposed the suitability of the incremental capacity estimations that were mentioned.
analysis (ICA) technique for estimating the capacity
fade and subsequently the SOH of LMO/NMC-based 3.Methodology
EV Lithium-ion batteries. During the eleven months In this research, the battery management system was
of testing, ageing results were collected and they deployed in a battery rental shop for public
were able to accurately relate the capacity fade of the transportation. Figure 1 shows the block diagrams of
studied batteries to the evolution of the voltage value, the entire system. Batteries, with and without the
which corresponds to one of the incremental capacity proposed device for identification and measurement,
(IC) valleys, obtained using the ICA technique [14]. are subjected to be manually operated by the
personnel of the battery shop. The specifications of
Topan et al. [15] avoiding battery failure and keeping new batteries are stored in the database by the user
the battery lifespan, a system should be controlled by interface, from the user interface a new SD card will
considering several parameters of Battery undergo decoding for the battery specifications. The
Management System (BMS) such as State of Charge SD card module is applied as the battery
(SOH) and State of Health (SOH). The State of identification that collects data for every charging
Charge in Battery Management System provides the and discharging of the battery. The measuring system
percentage of battery capacity, while the State Of is an Arduino-based circuitry designed as a
Health measures the battery health. Polarization voltmeter, ohmmeter, ammeter, and thermometer. In
characteristic, dynamic behaviour of the battery and the diagnostic system, the data from the SD card
estimation through Kalman Filter (KF) are defined by module, battery specifications and the measured
the use of Thevenin battery model. Parameters in the parameters were all transferred to the database of the
model were accumulated using Recursive Least system. The computation and prediction of the
Square. remaining useful time of the battery were taken from
a mathematical model using the measured values.
Dung et al. [16] Dung proposed an SOH estimation The monitoring system comprises a display of real-
system based on time constant-ratio measurement. time measured parameters, the produced critical
Time-constant represents the response speed of parameter, the SOC and the estimation of the battery
terminal voltage during charging and discharging and useful time by means of hours and minutes. The data
the change of internal chemical reactions. There have acquired from the Lead-acid battery over time is also
been different issues regarding traditional SOH presented in the display to show the performance of
estimations. The first SOH estimation is a full- the battery in every charging and discharging cycle.
charge-capacity (FCC) estimation. Unfortunately, to The Figure 2 is the system architecture that illustrates
access FCC information, it required a long-term the connectivity of the technology to be used in this
charging and discharging tests and therefore failed on study.
estimation speed. The second estimation is internal
impedance estimation. However, this SOH estimation
may cause large error because of environmental
437
Melbern C. Maltezo et al.
SOC = ( – )x 100%
(10)
where, Figure 6 BattMan front view
QO, Original Charge Capacity of the battery
where,
tremaining, Remaining time of the battery in hours and
mintes
taverage, Average Operation of the battery
Figure 7 BattMan right side view
Another parameter to be calculated for assessing the
health of the battery is the SOH. There are various
ways to calculate the SOH such as using internal
resistance, voltage, or charge.
SOHR
(12)
where,
REOL, End-of-Life Resistance of the battery
RIR, Rated Internal Resistance of the battery
439
Melbern C. Maltezo et al.
440
International Journal of Advanced Technology and Engineering Exploration, Vol 8(76)
4.2Data of report
In addition to the indicator installed on the device The Second experimentation is about the
with the data acquisition specification of the device measurement of battery degradation between
the researchers developed a user interface to extract BattMan1 and BattMan2 using high current. Just like
and interpret data from the SD card installed in the the first experimentation, BattMan N1 had 60% DOD
device. Stated technologies: MySQL and Python and BattMan N2 had 90% DOD. Both BattMan N1
were used for interface development. The interface is and BattMan N2 are brand new but have undergone
programmed to diagnose the data for the prediction series of charge and discharge. For a better
of EOL as presented on Table 4. comparison of the said batteries, data were gathered
simultaneously. It is observed that the SOH of
5.Discussion BattMan N2 decreased greater than BattMan N1.
Calculating the Remaining Useful Life of the e- With high current applied, the Decrease in SOH
vehicle battery in terms of cycle and time using between the two batteries is different as well as
SOHR is used, since the degradation of the battery is DOD.
proportional to the number of cycles used. Cycles 1,
5 and 10 were chosen to serve as the initial, middle In the third experimentation, two used batteries (3-
and final experimental setup. The first month old) were utilized. Both batteries also
experimentation is to make a comparison of the displayed different DOD like BattMan N1 and
battery’s degradation; for BattMan1, BattMan2, and BattMan N2. The data gathered from the used
BattMan3, using low current. Each battery has a batteries and the brand-new ones were almost the
different average Depth of Discharge. In each battery, same. The measurement acquired was validated
three (3) SOH samples were taken on different against a multimeter as no government body or
cycles. It is greatly observed that the Decrease in private entity available for checking. Since the study
SOH is very little among the three batteries due to the is a pioneer in the battery industry, its reference or
small difference in current. Also, the big difference in standards being followed are basically from a
the DOD among the three batteries didn’t affect the multimeter.
Decrease in SOH.
441
Melbern C. Maltezo et al.
442
International Journal of Advanced Technology and Engineering Exploration, Vol 8(76)
443
Melbern C. Maltezo et al.
444