Battery Management System for EVs
Battery Management System for EVs
VEHICLES
by
SATHYABAMA
INSTITUTE OF SCIENCE AND TECHNOLOGY
(DEEMED TO BE UNIVERSITY)
Accredited with Grade “A” by NAAC
JEPPIAAR NAGAR, RAJIV GANDHI SALAI, CHENNAI - 600 119
APRIL 2023
i
ACKNOWLEDGEMENT
We would like to express our sincere and deep sense of gratitude to our Project
Guide Dr. G. T. Sundar Rajan for his valuable guidance, suggestions and constant
encouragement paved way for the successful completion of our project work.
We wish to express our thanks to all Teaching and Non-teaching staff members of
the Department of Electrical and Electronics Engineering who were helpful in many ways
for the completion of the project.
iv
ABSTRACT
The Battery Management System (BMS) is a critical component in Electric Vehicles (EVs)
that ensures the safe and optimal performance of the battery pack. This abstract outlines
the importance of a BMS and burning prevention in EVs. The BMS monitors the state of
charge, temperature, and voltage of each battery cell and balances the cells to avoid
overcharging or discharging, which can lead to reduced battery life or even fire incidents.
The burning prevention system involves the use of sensors, software, and other safety
measures to detect and mitigate potential risks of battery fires in EVs. With the rapid
growth in the EV market, BMS and burning prevention systems are essential for ensuring
the safety and reliability of EVs.
Our system monitors and stores parameters that provide an indication of the lead acid
battery’s state of charge, voltage, current, and the remaining charge capacity in a real-
time scenario. Wireless local area network is used as the backbone network. The
information collect from all the associated battery clients in the system is analyzed. The
malfunction of the battery is monitored continuously and sudden charge & discharge
voltage of battery bank and battery conditions are viewed with help of IoT module. When
a temperature of the battery reaches the threshold, the battery output is suddenly cut off
and a buzzer sounds an alert.
v
TABLE OF CONTENTS
NO.
ABSTRACT v
LIST OF FIGURES x
1 INTRODUCTION
1.1 GENERAL 1
1.3 OVERVIEW 4
2 LITERATURE SURVEY
2.4 DISADVANTAGES 10
vi
3 AIM AND SCOPE OF THE PRESENT
INVESTIGATION
3.1 AIM OF THE PROJECT 12
3.3 OBJECTIVES 13
3.5 CONSTRAINTS 14
3.6 TRADEOFF 16
3.7 PREREQUISITES 18
3.8 ASSUMPTIONS 18
4.2 EXPLANATION 19
25
[Link] Power LED Indicator
25
[Link] TX RX LEDs 25
[Link] Main IC
25
[Link] Voltage regulator
vii
[Link] ATmega 328 26
4.3.6 Battery 33
4.3.7 LCD 34
[Link] Description 36
[Link] Pin 36
4.3.8 Buzzer 39
4.3.9 Relay 40
[Link] Features 43
4.4.2 Embedded C 46
4.4.3 Thingspeak 47
viii
4.5 BLOCK DIAGRAM OF BATTERY MANAGEMENT 49
SYSTEM
4.10 ADVANTAGES 54
4.11 APPLICATIONS 54
6.3 CONCLUSION 65
REFERENCES 66
ix
LIST OF FIGURES
4.5 RPS 28
4.10 Battery 33
4.17 Buzzer 39
4.18 Relay 41
x
4.22 State of health of a battery 52
4.23 Methodology 53
xi
LIST OF TABLES
xii
LIST OF SYMBOLS AND ABBREVIATIONS
xiii
CHAPTER 1
INTRODUCTION
1.1 GENERAL
The industrial process expansion has become very complex in the electronics
system. In such developing industrial field fault detection and fault isolation is very
important. This proposed work reduces the system in identifying the fault in the EV.
The vulnerable part in the EV is the battery. Battery performance is influenced by
factors such as depth of discharge (DoD), temperature and charging time. This paper
attempts to provide the current level and voltage level using Internet of Things. By
depending on the output of the battery fault can be analyzed.
The battery is a device that converts the chemical energy into electrical energy
through electrochemical reaction. Lead Acid battery is the most commonly used
battery in UPS. To know the present status of the battery some important parameters
are to be measured in regular interval. The important parameters are terminal voltage,
load current, discharge current, room temperature of each battery used in the battery.
The UPS that are used in the industries require electric power for smooth operation.
The systems are equipped with lead acid batteries as an alternate source of electric
power.
1
1.2 MOTIVATION FOR THE SELECTION OF PROBLEM
The motivation for selecting a battery management system (BMS) and burning
prevention system for electric vehicle (EV) batteries as a project can stem from several
key factors:
2
Compliance with standards and regulations: EVs and their batteries are subject to
various safety standards and regulations, such as those set by the IEEE, ISO, and
other regulatory bodies. The motivation for this project may arise from the need to
ensure compliance with these standards and regulations related to BMS and battery
burning prevention, which are crucial for the safe and reliable operation of EV
batteries, as well as for regulatory compliance and market acceptance of EVs.
Overall, the motivation for selecting a battery management system and burning
prevention system for electric vehicle batteries as a project can be driven by the need
for safety, reliability, battery performance optimization, compliance with standards and
regulations, innovation, technological advancement, and environmental sustainability,
with the ultimate goal of advancing electric vehicle technology and ensuring the safe
and efficient operation of EV batteries.
3
1.3 OVERVIEW
The BMS continuously measures and balances the cells' voltage, temperature,
and state of charge to ensure that all cells are operating within their safe limits. It also
communicates with the vehicle's electronic control unit (ECU) to determine the
available battery capacity and range.
• Thermal management: Monitors the temperature of the cells and controls the
cooling system to prevent overheating, which can cause fires or explosions.
To prevent burning or fire in an EV, the BMS and other safety measures should
be followed. The most important safety measure to prevent burning or overheating is
to maintain the battery pack's temperature efficiently. The battery pack temperature
should be kept between 20°C to 35°C. The cooling system should be properly
designed and installed to allow for an efficient heat management system.
4
kept at a safe level. This will prevent any charging current being applied to the battery
pack that may ignite the battery electrolyte.
5
CHAPTER 2
LITERATURE SURVEY
6
application value for diagnosis of LIB with different parameters. Therefore, it’s
concluded that the overcharge and over discharge faults of automotive LIB are likely
to jeopardize the using effect of the batteries, which should attract more attention of
relevant automobile manufacturers.
This paper presents a remote online monitoring system for the operation of lead-
acid battery group in telecommunication base stations. Combining the General Packet
Radio Service (GPRS) communications and Internet connections, the system realizes
data transmission between remote acquisition modules and data services center. The
collected data of battery parameters in the center are analyzed and processed, and
then it can be monitored by using any standard browser distributed worldwide if access
permission is given. Both battery users and battery manufactures can use the system
for the battery power management, maintenance and troubleshooting.
7
travel, it has also become a hazard in several ways. Therefore, a real-time tracking
device has been designed in this project to cater to the issues of monitoring of vehicles.
In this paper, we developed a system using Arduino Uno R3, Global System for Mobile
(GSM) device and Global Positioning System (GPS) to track the exact and accurate
position of the vehicle at a location. Arduino IDE software is utilized to code the Arduino
Uno R3 and its microcontroller. The system is also equipped with display facilities to
show the information to the user. The latitude and longitude of the vehicle’s location
are displayed on Liquid Crystal Display (LCD). Furthermore, two software is utilized to
display the data. ThingSpeak was used to display the trend of the vehicle’s motion by
using charts of latitude and longitude, and Freeboard is utilized to display the same
information in the form of a map. This map could easily be read by the user to pinpoint
the exact location of the vehicle at any given time. It will be highly useful to monitor the
exact locations of the delivery vehicle used by food-related businesses. Finally, by
having latitude and longitude, users can successfully track their vehicle location on
electronic maps using internet. Thus, the entire system has been tested thoroughly in
real time and it is said to function successfully in helping users to locate their vehicles
in the event of a theft.
8
challenge is therefore to find a suitable trade-off between inspection time and internal
and external quality costs to increase reliability benefits.
Yong Tian et; al (2017) proposes an optimal nonlinear observer for state-of-charge
estimation of lithium-ion batteries”, Industrial Electronics and Applications (ICIEA),
2017 12th IEEE Conference. State-of-Charge (SOC) information is very crucial for the
control, diagnostics and monitoring of Li-ion cells/batteries. Compared to conventional
data-driven or equivalent circuit models often employed in battery management
systems, electrochemical battery models have the potential to give physically accurate
the SOC information by tracking the Li-ion concentration in each electrode. In this
paper, two nonlinear observer designs are presented to estimate Li-ion battery State-
of-Charge based on reductions of an electrochemical model. The first observer design
uses a constant gain Luenberger structure whereas the second one improves it by
weighing the gain with the output Jacobian. For both observer designs, Lyapunov's
direct method is applied and the design problems are converted to solving LMIs.
Simulation results are included to demonstrate the effectiveness of both observer
designs.
9
2.3 OPEN PROBLEMS IN BATTERY MONITORING SYSTEM
To prevent battery fires, we should use advanced battery management systems with
improved thermal management capabilities. These systems monitor each cell in the
battery pack and adjust the charging and discharging rates to maintain safe
temperatures. In the event of a fault, such as a short circuit, the system can also
disconnect the battery pack to prevent further damage.
2.4 DISADVANTAGES
• IOT is not present which would be easy to get information through mobile.
10
• It must measure currents flowing through it.
• The BMS should communicate information to control units and undertake action
to ensure the battery will be operated within safety limits.
• The BMS should balance battery cells passively or actively.
• And, the BMS should provide thermal management.
11
CHAPTER 3
AIM AND SCOPE OF THE PRESENT INVESTIGATION
12
we can enhance the safety, performance and durability of the battery systems of
electric vehicles.
Lithium-ion batteries are commonly used as a power source in current electric
cars. In electric cars, nominal pack voltages will range from 300 to 800 volts.
Because batteries make up such a large part of an electric car, keeping the
voltages low and in order to ensure the safety of the electric vehicles, batteries are
critical.
The Battery Management System (BMS) is necessary to keep EV Batteries
safe from overheating. BMS is essential not only for the safe operation of electric
vehicles but also for their efficient operation.
3.3 OBJECTIVES
The objectives of the proposed work are as follows
• To monitor and store parameters that provide an indication of the state of
charge, state of health, voltage, current, temperature and the remaining charge
capacity in a real-time scenario.
• To automatically limit the power output of the vehicle when overheating of the
battery is observed.
IEEE 1725: "Standard for Rechargeable Batteries for Cellular Telephones": This
standard provides requirements for the design, testing, and use of rechargeable
batteries in cellular telephones, including BMS requirements for lithium-ion batteries
used in EVs. It covers aspects such as battery chemistry, cell protection, thermal
management, charging, and discharging.
13
IEEE 2464: "Guide for Capacity and Power Loss Characterization of Energy Storage
Devices in Electric Vehicle Applications": This guide provides guidelines for evaluating
the capacity and power loss characteristics of energy storage devices, including
batteries used in BMS for EVs. It covers measurement methods, data analysis, and
reporting for capacity and power loss characterization of batteries under various
operating conditions.
IEEE 2848: "Standard for Rechargeable Batteries for Electric Vehicle Energy Storage
Systems - IEEE/SA Battery Working Group": This standard provides requirements for
the design, testing, and use of rechargeable batteries in EV energy storage systems,
including BMS requirements. It covers aspects such as battery chemistry, cell
protection, thermal management, charging, discharging, and safety features.
IEEE 2030.5: "Standard for Smart Energy Profile Application Protocol - Application
Layer": This standard provides a communication protocol for interoperability between
EVs, EV charging stations, and utility grids. It includes provisions for BMS
communication and data exchange between EVs and charging stations, allowing for
efficient and safe charging and discharging of EV batteries.
3.5 CONSTRAINTS
Safety regulations and standards: Compliance with relevant safety regulations and
standards, such as those set by the IEEE, ISO, and other regulatory bodies, is a key
constraint for BMS and battery burning prevention systems. These regulations and
standards may cover aspects such as thermal management, voltage limits, current
limits, protection against short circuits, and other safety considerations.
14
Battery chemistry and characteristics: Different types of batteries, such as lithium-
ion, lithium-polymer, or solid-state batteries, have their own unique characteristics,
limitations, and constraints that need to be considered in the design and operation of
the BMS and burning prevention system. For example, the charging and discharging
rates, temperature limits, state of charge (SOC) and state of health (SOH) monitoring,
and protection mechanisms may vary depending on the battery chemistry.
System complexity and integration: BMS and burning prevention systems for EV
batteries may involve complex electronics, sensors, algorithms, and communication
interfaces, which can pose constraints related to system complexity, integration, and
interoperability. Ensuring seamless integration with the EV's power electronics, vehicle
control system, and other subsystems while maintaining reliability and performance
can be challenging.
Cost and budget: Cost considerations, including budget constraints, can impact the
design, development, and implementation of a BMS and burning prevention system
for EV batteries. Balancing cost-effectiveness with safety, reliability, and performance
requirements can be a constraint, especially in cases where cost reduction is a priority.
Energy efficiency: Maximizing the energy efficiency of the BMS and burning
prevention system is important to minimize energy losses, optimize battery
performance, and extend battery life. However, achieving high energy efficiency may
pose constraints related to system design, component selection, and operational
strategies.
15
Operational conditions: Operational conditions, such as temperature extremes,
humidity, vibrations, and other environmental factors, can impact the performance and
reliability of the BMS and burning prevention system. Meeting operational
requirements under different conditions can pose constraints on the system design
and performance.
It's important to carefully analyze and address these constraints during the design,
development, and implementation of a BMS and burning prevention system for EV
batteries to ensure that the system meets safety, performance, and reliability
requirements while being cost-effective and adaptable to different operational
conditions.
3.6 TRADEOFF
Sensing Accuracy vs. Cost: Higher accuracy in battery state estimation, such as
state-of-charge (SOC), state-of-health (SOH), and temperature sensing, may require
more sophisticated sensors and measurement techniques, which could increase the
cost of the BMS. Balancing the desired accuracy with the associated cost is important,
considering the specific safety requirements and budget of the project.
Early Warning vs. False Alarms: Implementing early warning systems and safety
mechanisms to detect potential battery overheating or thermal runaway events may
require sensitive detection algorithms and monitoring systems. However, there may
be tradeoffs between the sensitivity of the detection system and the potential for false
alarms, which could cause unnecessary disruptions or interventions. Striking the right
balance between early warning and false alarms is crucial for effective burning
prevention while minimizing disruptions.
16
performance, reliability, and cost is important to ensure effective burning prevention
without compromising other aspects of the EV system.
System Response Time vs. False Positives: Rapid response time in case of a
battery overheating or burning event is critical for effective burning prevention.
However, there may be tradeoffs between the response time and the potential for false
positives, where the system may trigger unnecessary interventions or shutdowns due
to false alarms. Optimizing the system response time while minimizing false positives
is crucial for effective burning prevention without causing unnecessary disruptions.
System Integration vs. Flexibility: Integrating the BMS and burning prevention
system with the overall EV architecture, including battery pack, power electronics, and
vehicle control systems, may require tight integration and customization. However,
there may be tradeoffs between system integration and flexibility, where customization
may impact the flexibility to adapt to potential changes in battery technology, EV
platforms, and regulatory requirements. Balancing system integration with flexibility is
crucial for ensuring effective burning prevention while maintaining adaptability to future
changes.
17
These are some potential tradeoffs that may need to be considered in a BMS and
burning prevention project for EV batteries. It's important to carefully analyze and
weigh the tradeoffs based on the specific safety requirements, project goals, and
constraints to make informed decisions during the development and implementation
process.
3.7 PREREQUISITES
3.8 ASSUMPTIONS
• The battery will be properly charged and maintained to ensure its longevity.
• The battery management system will be properly installed and calibrated to
prevent overcharging and overheating.
• The electric vehicle will be operated according to manufacturer's instructions
and safety guidelines.
• The battery will not be subjected to extreme environmental conditions such as
excessive heat or cold temperatures.
18
CHAPTER 4
HARDWARE AND PROJECT DESCRIPTION
4.2 EXPLANATION
Our proposed system uses Arduino microcontroller, Temperature sensor,
Voltage sensor, Current sensor, Lcd Display, Buzzer, Relay and Node MCU. The
circuit diagram is shown in the figure 4.1. Temperature sensor is used to measure the
temperature level of battery and display the temperature on LCD display then the
Current and Voltage sensor is used to measure the current and voltage level of the
battery. The buzzer alerts the user and the relay shuts off the battery output power if
the battery temperature level suddenly reaches a specified level or threshold limit. The
Node MCU is used to continuously upload battery information to an IoT webpage that
is available for viewing by the owner or other authorized users
Over the years Arduino has been the brain of thousands of projects, from
everyday objects to complex scientific instruments. A worldwide community of makers
- students, hobbyists, artists, programmers, and professionals - has gathered around
this open-source platform, their contributions have added up to an incredible amount
of accessible knowledge that can be of great help to novices and experts alike.
Arduino was born at the Ivrea Interaction Design Institute as an easy tool for fast
prototyping, aimed at students without a background in electronics and programming.
As soon as it reached a wider community, the Arduino board started changing to adapt
to new needs and challenges, differentiating its offer from simple 8-bit boards to
20
products for IoT applications, wearable, 3D printing, and embedded environments. All
Arduino boards are completely open-source, empowering users to build them
independently and eventually adapt them to their particular needs. The software, too,
is open-source, and it is growing through the contributions of users worldwide.
Arduino - ArduinoBoardUno Each of the 14 digital pins on the Uno can be used as
an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They
operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an
internal pull-up resistor (disconnected by default) of 20-50 kOhms.
The Uno is one of the more popular boards in the Arduino family and a great
choice for beginners. The Arduino uno diagram is shown in the figure 4.2.
21
Table 4.1: Arduino UNO specifications
Operating Voltage 5V
SRAM 2 KB
EEPROM 1 KB
22
Fig 4.3: Arduino UNO pinout
23
[Link] Pins (5V, 3.3V, GND, Analog, Digital, PWM, AREF)
The pins on your Arduino are the places where you connect wires to construct a
circuit (probably in conjunction with a breadboard and some wire.
They usually have black plastic ‘headers’ that allow you to just plug a wire right into
the board. The Arduino has several different kinds of pins, each of which is labelled
on the board and used for different functions.
GND (3): Short for ‘Ground’. There are several GND pins on the Arduino, any of which
can be used to ground your circuit.
5V (4) & 3.3V (5): As you might guess, the 5V pin supplies 5 volts of power, and the
3.3V pin supplies 3.3 volts of power. Most of the simple components used with the
Arduino run happily off of 5 or 3.3 volts.
Analog (6): The area of pins under the ‘Analog In’ label (A0 through A5 on the UNO)
are Analog In pins. These pins can read the signal from an analog sensor (like a
temperature sensor) and convert it into a digital value that we can read.
Digital (7): Across from the analog pins are the digital pins (0 through 13 on the UNO).
These pins can be used for both digital input (like telling if a button is pushed) and
digital output (like powering an LED).
PWM (8): You may have noticed the tilde (~) next to some of the digital pins (3, 5, 6,
9, 10, and 11 on the UNO). These pins act as normal digital pins, but can also be used
for something called Pulse-Width Modulation (PWM).
AREF (9): Stands for Analog Reference. Most of the time you can leave this pin alone.
It is sometimes used to set an external reference voltage (between 0 and 5 Volts) as
the upper limit for the analog input pins.
24
This can be very useful if your code doesn’t repeat, but you want to test it multiple
times. Unlike the original Nintendo however, blowing on the Arduino doesn’t usually
fix any problems.
[Link] TX RX LEDs
TX is short for transmit RX is short for receive. These markings appear quite a bit
in electronics to indicate the pins responsible for serial communication.
In our case, there are two places on the Arduino UNO where TX and RX appear once
by digital pins 0 and 1, and a second time next to the TX and RX indicator LEDs (12).
These LEDs will give us some nice visual indications whenever our Arduino is
receiving or transmitting data (like when we’re loading a new program onto the board).
[Link] Main IC
The black thing with all the metal legs is an IC, or Integrated Circuit (13). Think of
it as the brains of our Arduino.
The main IC on the Arduino is slightly different from board type to board type, but
is usually from the AT mega line of IC’s from the ATMEL company. This can be
important, as you may need to know the IC type (along with your board type) before
loading up a new program from the Arduino software. This information can usually be
found in writing on the top side of the IC. If you want to know more about the difference
between various IC’s, reading the datasheets is often a good idea.
25
an extra voltage that might harm the circuit. Of course, it has its limits, so don’t hook
up your Arduino to anything greater than 20 volts.
ATmega 328 has 1KB Electrically Erasable Programmable Read Only Memory
(EEPROM).
Moreover, ATmega-328 has 2KB Static Random Access Memory (SRAM). Other
characteristics will be explained later. ATmega 328 has several different features
which make it the most popular device in today’s market. These features consist of
advanced RISC architecture, good performance, low power consumption, real timer
counter having separate oscillator, 6 PWM pins, programmable serial USART,
programming lock for software security, throughput up to 20 MIPS etc. ATmega-328
is mostly used in Arduino.
ATmega328 is an eight (8) bit micro-controller as shown in pin diagram figure 4.4.
It can handle the data sized of up to eight (8) bits. It is an AVR based micro-controller.
Its built-in internal memory is around 32KB. It operates ranging from 3.3V to 5V. It has
an ability to store the data even when the electrical supply is removed from its biasing
terminals. Its excellent features include the cost efficiency, low power dissipation,
programming lock for security purposes, real timer counter with separate oscillator.
26
Fig 4.4: Pin diagram
The Circuit diagram of RPS with Led connection is shown in the above figure 4.6. The
main components that are used in the above figure are
• Transformer
• Bridge rectifier (Diodes)
• Capacitors
• Resistors
DHT11 is a low-cost digital sensor for sensing temperature and humidity. This
sensor can be easily interfaced with any micro-controller such as Arduino, Raspberry
Pi etc., to measure humidity and temperature instantaneously.
DHT11 sensor consists of a capacitive humidity sensing element and a thermistor for
sensing temperature. The humidity sensing capacitor has two electrodes with a
moisture holding substrate as a dielectric between them. Change in the capacitance
value occurs with the change in humidity levels. The IC measure, process this changed
resistance values and change them into digital form. The DHT11, a temperature
sensor is shown in the figure 4.7.
29
Fig 4.7: DHT11 sensor
DHT11 sensor has four pins- VCC, GND, Data Pin and a not connected pin. A pull-
up resistor of 5k to 10k ohms is provided for communication between sensor and
micro-controller.
A voltage sensor is an electronic device that measures and monitors the electrical
potential difference, or voltage, between two points in an electrical circuit. It is
commonly used in various applications, including power systems, industrial processes,
consumer electronics, and automotive systems. The voltage sensor plays a critical
role in ensuring the safe and efficient operation of electrical equipment by providing
accurate voltage measurements and transmitting the information to other devices or
systems for further processing or control.
30
A typical voltage sensor consists of several key components, including a sensing
element, signal conditioning circuitry, and an output interface as shown in figure 4.8.
The sensing element is the part of the voltage sensor that comes into contact with the
electrical circuit and converts the electrical voltage into a measurable signal, which is
then processed by the signal conditioning circuitry. The signal conditioning circuitry
amplifies, filters, and isolates the signal to ensure accurate and reliable
measurements. The output interface provides the means for transmitting the
processed voltage measurement to other devices or systems, such as analog or digital
output signals, communication protocols, or display interfaces.
A current sensor is an electronic device used to measure and monitor the flow of
electric current in a circuit. It is widely used in various applications, including power
systems, motor control, battery management, renewable energy systems, and
industrial processes. Current sensors play a crucial role in providing accurate current
measurements, which are essential for monitoring and controlling electrical systems,
ensuring safety, efficiency, and performance.
32
4.3.6 Battery
Lead-acid batteries are a type of rechargeable battery that uses lead plates and
sulfuric acid as the electrolyte. An IEEE 1725 standardized battery is used here.
Lithium-ion batteries are a type of rechargeable battery that uses lithium ions to
generate electrical energy. They are known for their high energy density, lightweight,
and long cycle life. Lithium-ion batteries are commonly used in portable electronics,
electric vehicles, and solar power systems due to their high-power density and
lightweight design. They are generally more expensive than lead-acid batteries but
offer higher performance and convenience in many applications.
4.3.7 LCD
To display accurate messages, we use the LCD Module. Analyzing a smart two-
line LCD display, 16 characters per line used to directors. A 2x16 Line Alphanumeric
LCD display is shown in the figure 4.11. Although D0 to D7th bit are Data lines, RS,
RW and EN pins only control rods and anchors remaining + 5V, - 5V and GND
should be provided to feed. Where RS is the Select Register, RW is Read Write and
EN pin Allow as shown in figure 4.12.
The most popular type t LCD regulator is a HITACHI 44780 that provides a visual
interface in the middle controller and LCD. These LCDs are very easy to work with
regulator as they have financial knowledge.
34
Fig 4.11: 2x16 Line Alphanumeric LCD display
The LCD requires three control lines (RS, R / W and EN) and 8 (or lines of
information. The number in the information lines depends on the operating system.
Whenever it works in 8-bit mode and then 8+ information lines and three control lines
for example 11 lines are required. In addition, whenever a 4-bit mode is used and
then 4+ information lines and three control lines for example 7 lines are required. How
can we choose which mode to use? It is straightforward with the possibility that you
have enough information lines to go in 8-digit mode and if there is a binding time.
The ENABLE pin is used to link existing information to information pins. A low-level
signal is needed to connect the data. LCD deciphers also make our order right now
the EN line is dropped down. If you do not lower EN, your lead will never be
implemented.
35
[Link] Description
This is the 16th feature in the 2-line display. Dark content on Green foundation. It
uses the same HD44780 optical chipset. Interface code is clearly accessible. We will
need 11 standard I / O pins to connect to this LCD screen. Includes LED backlight.
[Link] Pin
Most LCDs with 1 controller have 14 pins and LCDs with 2 regulators with 16 pins
(two pins are added to both LED backlights). The display of the pin appears in the
figure 4.15.
36
[Link] LCD Background
Fortunately, there is a popular standard that allows us to talk to many LCDs that do
not pay much attention to their manufacturer. The standard is referred to as the
HD44780U, which refers to the controller chip that receives data from an external
source (8051) and communicates directly with the LCD.
37
[Link] Circuit Description
38
We made no effort to include data transfer in exchange. So we tightened the cords
to the R / W line of the LCD board, into writing mode. This will not cause a conflict of
interest in the transportation of information lines. We are therefore unable to reverse
the interior of the LCD Busy Flag advising us if the LCD consents and threatened to
prepare for the final lead. This issue is being addressed by the known embedding
of our system.
4.3.8 Buzzer
There are two types are buzzers that are commonly available. The one shown
here is a simple buzzer which when powered will make a Continuous Beeeeeeppp....
sound, the other type is called a readymade buzzer which will look bulkier than this
and will produce a Beep. Beep. Beep. Sound due to the internal oscillating circuit
present inside it. But the one shown here is most widely used because it can be
customized with help of other circuits to fit easily in our application.
This buzzer can be used by simply powering it using a DC power supply ranging
from 4V to 9V. A simple 9V battery can also be used, but it is recommended to use a
39
regulated +5V or +6V DC supply. The buzzer is normally associated with a switching
circuit to turn ON or turn OFF the buzzer at required time and require interval.
• Communication equipments.
• Automobile electronics.
4.3.9 Relay
40
power control signal, making them essential components in many electrical and
electronic systems. The picture of a relay is shown in figure 4.18.
The contacts in a relay are the switching elements that control the flow of electrical
current. There are typically two sets of contacts in a relay, known as normally open
(NO) and normally closed (NC) contacts. In the resting state, the NO contacts are
open, and the NC contacts are closed. When the coil is energized, the armature
moves, and the contacts change their state. In a NO relay, the contacts close, allowing
current to flow through the relay, while in an NC relay, the contacts open, interrupting
the current flow.
41
the current, while SSRs use semiconductor devices to achieve the same function
without mechanical parts. Latching relays have two stable states and do not require
continuous power to maintain their state, while reed relays use a small hermetically
sealed glass tube with contacts that open and close based on the position of a magnet.
The ESP8266 NodeMCU CP2102 board has ESP8266 which is a highly integrated
chip designed for the needs of a new connected world is shown in the figure 4.19. It
offers a complete and self-contained WiFi networking solution, allowing it to either host
the application or to offload all Wi-Fi networking functions from another application
processor.
42
ESP8266 has powerful on-board processing and storage capabilities that allow it
to be integrated with the sensors and other application-specific devices through its
GPIOs with minimal development up-front and minimal loading during runtime. Its high
degree of on-chip integration allows for minimal external circuitry, and the entire
solution, including the frontend module, is designed to occupy minimal PCB area.
This board is pre-flashed with NodeMCU – a Lua-based firmware for the ESP8266
which allows easy control via a neat scripting language – Lua – so you’re ready to go
in just a few minutes.
The ESP-12 Lua NodeMCU WIFI Dev Board Internet Of Things with ESP8266 is
an all-inone microcontroller + WiFi platform that is very easy to use to create projects
with WiFi and IoT (Internet of Things) applications.
The board is based on the highly popular ESP8266 WiFi Module chip with the
ESP-12 SMD footprint. This WiFi development board already embeds in its board all
the necessary components for the ESP8266 (ESP-12E) to program and upload code.
It has a builtin USB to serial chip upload codes, 3.3V regulator, and logic level
converter circuit so you can immediately upload codes and connect your circuits.
[Link] Features
43
• Integrated TR switch, balun, LNA, power amplifier and matching network.
• Onboard USB to serial chip to easily program and upload codes from the
Arduino IDE.
• Has onboard 3.3V regulator to ensure enough power to function as your go-to
WiFi chip.
• ESP-12E Processor.
• Arduino IDE
• Embedded C
• Thingspeak
Arduino was born at the Ivrea Interaction Design Institute as an easy tool for fast
prototyping, aimed at students without a background in electronics and programming.
As soon as it reached a wider community, the Arduino board started changing to adapt
to new needs and challenges, differentiating its offer from simple 8-bit boards to
products for IoT applications, wearable, 3D printing, and embedded environments. All
Arduino boards are completely open-source, empowering users to build them
independently and eventually adapt them to their particular needs. The software, too,
is open-source, and it is growing through the contributions of users worldwide.
The Arduino software is easy-to-use for beginners, yet flexible enough for advanced
users. It runs on Mac, Windows, and Linux. Teachers and students use it to build low-
cost scientific instruments, to prove chemistry and physics principles, or to get started
with programming and robotics. Designers and architects build interactive prototypes,
musicians and artists use it for installations and to experiment with new musical
instruments. Makers, of course, use it to build many of the projects exhibited at the
Maker Faire, for example. Arduino is a key tool to learn new things. Anyone - children,
hobbyists, artists, programmers - can start tinkering just following the step-by-step
instructions of a kit, or sharing ideas online with other members of the Arduino
community.
There are many other microcontrollers and microcontroller platforms available for
physical computing. Parallax Basic Stamp, Netmedia's BX-24, Phidgets, MIT's
Handyboard, and many others offer similar functionality. All of these tools take the
messy details of microcontroller programming and wrap it up in an easy-to-use
package. Arduino also simplifies the process of working with microcontrollers, but it
45
offers some advantage for teachers, students, and interested amateurs over other
systems:
4.4.2 Embedded C:
4.4.3 Thingspeak
• Features: ThingSpeak offers several features that make it suitable for IoT
projects, including data collection and storage, data analysis, data visualization,
and support for various IoT protocols such as MQTT and REST API. It also
provides integration with other popular platforms such as MATLAB, which
allows for advanced data analysis and processing.
• Data Channels: ThingSpeak uses data channels to store and manage data
collected from IoT devices. Data channels are created based on specific fields,
and each field can store a single value at a time. Users can define their own
47
fields and specify data types such as numeric, string, or boolean, depending on
the type of data being collected.
• REST API: ThingSpeak provides a REST API that allows developers to interact
with the platform programmatically. This enables integration with other
applications and systems, making it easy to collect and analyze data from IoT
devices.
48
• Community and Support: ThingSpeak has an active community of users and
developers who share knowledge, ideas, and resources related to IoT and
ThingSpeak. The platform also provides documentation, tutorials, and technical
support to assist users in building their IoT projects.
• Pricing: ThingSpeak offers a free tier with limited features, as well as paid plans
with additional features and higher usage limits. The pricing model is based on
the number of data channels and the frequency of data updates.
49
4.6 BATTERY MANAGEMENT SYSTEM EXPLANATION
The proposed system for battery management and protection of electric vehicles
aims to improve the safety and performance of these vehicles. The block diagram of
the battery management and protection system is shown in the figure 4.20. The system
will include several components that work together to follow IEEE 2993 standard
(Recommended Practice for Functional Safety Analysis of Battery Management
Systems for Electric and Hybrid Electric Vehicles) and prevent any dangerous
accidents caused by combustion.
The battery management system (BMS) will be responsible for monitoring the
battery's state of charge, temperature, and overall health. This information will be
communicated to the vehicle's onboard computer, which will adjust the vehicle's
performance accordingly. The BMS will also be responsible for balancing the cells in
the battery pack to ensure that they are all charging and discharging at the same rate,
which is critical for maintaining the battery's longevity and safety.
The burning prevention system will be designed to detect any potential fires in the
vehicle and take immediate action to prevent them from spreading. This will happen
by monitoring temperature and smoke levels within the vehicle and shutting off the
power supply to any affected systems.
Overall, the proposed battery management and burning prevention system will be
critical in promoting the safety and performance of electric vehicles. By managing the
battery's health and preventing any potential fires, users can have peace of mind while
driving their electric vehicles, knowing that they are being protected by this
comprehensive safety system.
50
State of charge gives a crucial support to battery management system to
assess the state of the battery which helps the battery to operate within the safe
operating range by controlling charging and discharging. It also increases the life span
of the battery.
Where,
Q0/mAh = Initial charge of the battery.
Q/mAh = The quantity of electricity delivered by or supplied to, the battery. It follows
the convention of the current: it is negative during the discharge and positive during
the charge.
If the battery is new: Qmax = Cr and Q0 = 0.5Qmax generally. Cr is the rated capacity of
the battery as given by the manufacturer.
51
4.8 STATE OF HEALTH ESTIMATION
State of health estimation describes the state of the battery with respect to the
newly manufactured battery. It gives information regarding the available amount of
discharging capacity during its lifetime. The SOH in EV use to describe the ability to
drive the specific distance.
SOH is defined as the ratio of the maximum battery charge to its rated capacity.
Figure 4.22 depicts the state of health of a battery.
SOH/%=100(Qmax/Cr)
Where,
Qmax/mAh = The maximum charge available of the battery.
Cr = The rated capacity.
MODULE 1: All sensors (temperature, current, and voltage) gather data on battery
parameters and send to the Arduino microcontroller.
52
MODULE 2: The battery information, including temperature, voltage, current, SOC,
and SOH, is displayed on a Lcd display. IEEE 2848 standard is applied here.
MODULE 3: When a temperature reaches the threshold, the battery output is suddenly
cut off and a buzzer sounds an alert as shown in the methodology flowchart in the
below figure 4.23. IEEE 2993 standard (Recommended Practice for Functional Safety
Analysis of Battery Management Systems for Electric and Hybrid Electric Vehicles)
has been taken into account.
MODULE 4: All of the information is continuously uploaded on an IoT web page with
the support of NodeMCU.
53
4.10 ADVANTAGES
4.11 APPLICATIONS
• Automotive industry.
• Household application.
• Industrial application.
54
CHAPTER 5
RESULTS AND DISCUSSIONS
When high temperature is detected as shown in figure 5.1, the Microcontroller unit
in the NodeMCU sends a high signal to a relay module which turns off the power
supply which is indicated by turning off of LED.
55
Fig 5.2: Current and voltage sensor values
The current and voltage sensor values are detected from the respected sensors and
are displayed in the LCD screen as shown in figure 5.2.
56
The SOC and SOH values are calculated from the formulae and are displayed in
the LCD display as shown in figure 5.3.
The output of the simulation for Battery management and protection system has
been generated using Arduino IDE and proteus as shown in the above figure 5.4.
The NodeMCU plays a vital role in this system, which senses the data from
sensors and process the data. The Wi-Fi unit in the NodeMCU is used to send the
data to the cloud, this data can be monitored continuously from anywhere in the world
(where there is an active internet connection) and also whenever an excess current is
detected at the supply the buzzer is activated to alert the administrator.
The x-axis of the graph represents time, while the y-axis represents various
parameters related to the battery performance.
An IoT-enabled battery management system can provide valuable insights into the
current status of electric vehicle batteries, prevent potential safety hazards, and
ensure the optimal performance of the battery over its lifespan. The Current graph is
a critical component of this system, providing real-time data on the current status of
the battery to ensure the electric vehicle operates safely and efficiently. Figure 5.5
depicts the current graph using IOT.
58
Fig 5.6: Photocopy of voltage graph using IOT
When the parameter is voltage, the x-axis of the graph represents time, while the
y-axis represents the voltage of the battery pack, typically expressed in volts (V). The
graph may display the historical voltage values of the battery over time, showing how
the battery's voltage changes during different operating conditions.
The graph shows trends or patterns in the voltage values, providing insights into
the battery's electrical behavior. For example:
Charging and Discharging Events: The graph may show the voltage values during
charging events, indicating how the battery voltage increases over time as it is
charged. It may also show the voltage values during discharging events, representing
how the battery voltage decreases during EV operation as energy is drawn from the
battery.
Voltage Profiles: The graph may show the voltage profiles of the battery during
different stages of operation, such as during startup, normal operation, and shutdown.
This can help identify any abnormal voltage behaviors, such as voltage spikes or
drops, which may indicate issues with the battery's performance or health.
Voltage Range: The graph may show the voltage range of the battery, indicating the
upper and lower limits of the acceptable voltage levels. Monitoring the battery voltage
59
within the acceptable range is crucial to ensure safe and reliable operation of the EV,
as operating outside of this range may lead to overcharging, over-discharging, or other
undesirable effects on the battery's performance and lifespan.
When the parameter is battery temperature, the graph would display the current
temperature of the battery pack at different time points. It would show how the
temperature changes over time, indicating the current temperature status of the
battery as shown in the figure 5.7 and when the overheating occurs an alert will be
triggered based on the graph values.
Charging and Discharging Events: The graph may show the SOC values during
charging events, indicating how much the battery is being charged and how the SOC
increases over time. It may also show the SOC values during discharging events,
representing how much the battery is being discharged and how the SOC decreases
during EV operation.
SOC Fluctuations: The graph shows fluctuations in the SOC values during driving,
reflecting changes in driving conditions, regenerative braking, and other factors that
affect the battery's charge level. These fluctuations can help identify the energy usage
pattern of the EV and optimize driving behavior or charging strategies accordingly.
Charging and Discharging Efficiency: The graph shows the efficiency of charging and
discharging processes by comparing the amount of energy input during charging with
the amount of energy output during discharging. This can provide insights into the
overall efficiency of the charging and discharging processes and help optimize
charging strategies to improve the battery's performance and extend its lifespan.
The graph can provide real-time information on the current SOC of the battery,
enabling EV operators to make informed decisions about when and how to charge the
battery, plan driving routes, and manage energy consumption. It can also help detect
any anomalies or issues with the battery's SOC, such as overcharging or deep
discharging, triggering alerts or alarms in the IoT-based BMS for prompt action. By
monitoring and managing the SOC of the battery using an IoT-based BMS, it is
61
possible to optimize the EV's energy usage, extend the battery's lifespan, and ensure
reliable and efficient operation.
When the parameter being measured is SOH, the x-axis of the graph represents
time, while the y-axis represents the SOH of the battery pack, typically expressed as
a percentage. The graph as shown in figure 5.9 may display the historical SOH values
of the battery over time, showing how the battery's health changes and degrades as it
undergoes usage cycles and aging.
The graph shows trends or patterns in the SOH values, providing insights into the
long-term performance of the battery. For example:
Initial SOH: The graph may show the initial SOH of the battery when it is first put into
service. This provides a baseline reference for the battery's health at the beginning of
its operational life.
Aging Trend: Over time, the graph may show a declining trend in the SOH values,
indicating that the battery's health is gradually degrading due to usage, temperature,
and other factors.
62
This trend can help identify the rate of battery degradation and estimate its remaining
useful life.
Anomalies: The graph may show any significant changes or anomalies in the SOH
values, such as sudden drops or spikes, which may indicate unusual events or
conditions that have affected the battery's health. These anomalies can trigger alerts
or alarms in the IoT-based BMS, enabling prompt action to address potential issues.
The graph can provide valuable information for EV operators and maintenance
personnel to assess the health and performance of the battery pack over time. This
data can be used to optimize charging strategies, schedule maintenance activities,
and make informed decisions about battery replacement or refurbishment. By
monitoring and managing the SOH of the battery in real-time using an IoT-based BMS,
it is possible to maximize the lifespan, efficiency, and safety of the EV battery, ensuring
reliable and sustainable operation.
63
CHAPTER 6
SUMMARY AND CONCLUSIONS
6.1 SUMMARY
Battery management system (BMS) is an essential component in electric vehicles
(EVs) to monitor, control and maintain the state of the battery. It is responsible for
predicting range, preventing overcharging, detecting faults, balancing cell voltages,
and preserving the battery's life span. The BMS also ensures that the battery is used
in a safe and optimal manner to avoid any accidents or hazards.
Together, the BMS and burning prevention system ensure that EVs are safe,
efficient, and sustainable transportation options for the present and future generations.
The fully electrically operated vehicles will come in future because of depleting
fossil fuels and will definitely create an impact in everyone's life. At this time the battery
management system will be major phenomena that every electric vehicle
manufacturing company will be looking for. It is clear that an electric vehicle totally
depends on the source of energy from a battery.
In this work, the idea of monitoring the performance of the vehicle using IoT
techniques is proposed, so that the monitoring can be done directly. The system is
capable to detect degraded battery performance and sends notification messages to
the user for further action.
65
REFERENCES
[1] Hemaprithni . [Link] [Link] Rajan, “Three Level Integrated AC to DC
Converter fed DC Drive with Cascaded filter” International Journal of Applied
Engineering Research, Volume 10, Number 6, 2015, pp. 5140 – 5146.
[3] Sundar Rajan G. T. and C. Christober Asir Rajan, “A Novel Unity Power Factor
Input Stage With Resonant DC Link Inverter for AC Drives”, Journal of Electrical
Engineering, Volume 12 / 2012 - Edition: 4, pp. 62 – 66, 2012.
[4] Sundar Rajan G. T., “Power Quality Improvement at Input and Output Stages
of Three Phase Diode Rectifier using Artificial Intelligent Techniques for DC and
AC Drive Applications”, IEEE International Conference on Computational
Intelligence and Computing Research (ICCIC - 2014, 2014), PARK College of
Engineering and Technology, Coimbatore, Tamilnadu, INDIA, pp. 904 – 909,
December 18 to 20. 978-1-4799-3972-5/14.
[7] Yong Tian, Dong Li, Jindong Tian, “An optimal nonlinear observer for state-of-
charge estimation of lithium-ion batteries”, Industrial Electronics and
Applications (ICIEA), 2017 12th IEEE Conference.
66
68