Batch 9 Thesis
Batch 9 Thesis
A PROJECT REPORT
BACHELOR OF TECHNOLOGY
in
By
Mrs.K.SOWJANYA M.Tech
Assistant Professor of ECE dept
2
CERTIFICATE
3
DECLARATION
4
ACKNOWLEDGEMENT
5
INSTITUTION VISION
INSTITUTION MISSION
curricular activities.
6
DEPARTMENT OF ECE
7
PROGRAM SPECIFIC OUTCOMES (PSO’S)
8
PROGRAM EDUCATIONAL OBJECTIVES (PEO’S)
PEO1:
Develop a strong background in basic science and mathematics and
ability to use these tools intheir chosen fields of specialization.
PEO2:
Have the ability to demonstrate technical competence in the
fields of electronics and communication engineering and
develop solutions to the problems.
PEO3:
Attain professional competence through life-long learning
such as advanced degrees, professional registration, and other
professional activities.
PEO4:
Function effectively in a multi-disciplinary environment and
individually, within a global, societal, and environmental context.
PEO5:
Take individual responsibility and to work as a part of a team
towards the fulfillment of bothindividual and organizational goals.
9
PROGRAM OUTCOMES (PO’S):
10
7. Environmental and sustainability: Understand the impact of
the professional engineering solutions in societal and environmental
contexts, and demonstrate the knowledge of, and need for sustainable
development.
12. Life-long learning: Recognize the need for, and have the
preparation and ability to engage in independent and life-long learning
in the broadcast context of technological change.
11
COURSE OUTCOMES
12
Course Outcomes - Co-Po Mapping
13
CO-POs Mapping with Reasons
14
during and after completion of the project, documentation is needed
along with proper methods of presentation through understanding
and application of engineering and management principles, which
in turn needs well-defined communication between the team
members with all the ethical values. Even the project development
team defines future enhancements asa part of the project
development after identifying the scope of theproject.
15
CO-PSOs Mapping with Reasons
16
S.No Name of the Content
page no
1 I INTRODUCTION 2
2 II LITERATURE SURVEY 18
10
4 IV PROPOSED WORK 5
4.0 Design procedure 53
4.0.1 Aim 54
4.0.2 Objectives 54
4.0.3 Scope 55
4.0.4 Block diagram of proposed system 55
4.0.5 Working Description of Proposed Model 56
4.0.6 Conclusion 56
6 VI CONCLUSION 72
7 VII REFERENCES 75
11
LIST OF FIGURES
1.1 Antenna
5
1.2 Micro strip patch
antenna
8
1.3 Different forms of micro strip
antenna
9
1.4 Coaxial
feed
10
1.5 Micro strip
feed
11
1.6 Aperture coupled
feed
11
1.7 Proximity coupled
feed
12
1.8
12
1.8.1 UWB
14
1.9 HFSS
icon 15
2.1 VSWR
12
37
2.2 Return
loss
41
2.3 Radiation
pattern
43
3.1 Top View of Micro strip patch
antenna
47
3.2 Schematic view of orthogonal-Shaped patch
antenna
49
3.3 Partially stepped
ground
50
4.1 HFSS
Window
54
4.2 Validation check
window
58
4.3 Octogonal Microstrip UWB
Antenna
59
5.1 S-
Parameters
62
5.2 VSWR
graph
62
5.3 Radiation
Patterns
63
13
5.4 Simulation result of
Gain
64
14
ABSTRACT
The proposed system integrates various sensors and IoT devices to continuously
monitor key parameters such as battery temperature, voltage, current, and State of
Temperature (SOT). Real-time data from these sensors are collected and transmitted to a
central control unit via wireless communication protocols, allowing for remote
monitoring and analysis.
15
CHAPTER-I
1.0 INTRODUCTION
1
1.0.1 PROPOSED SYSTEM:
1.5.1: Methods
Electric vehicle (EV) batteries are critical components that require stringent
safety measures to prevent potential hazards such as explosions or thermal
runaway. Protecting EV batteries from such risks necessitates constant
battery monitoring, irrespective of the vehicle's operational state. A thorough
literature survey on this topic encompasses various aspects, including sensor
technologies, data acquisition techniques, communication protocols, remote
monitoring capabilities, early warning systems, challenges, and future
research directions.
Data acquisition techniques are critical for capturing and processing battery
performance data in real-time. This involves selecting appropriate sampling
rates, optimizing data storage and transmission protocols, and integrating
data acquisition systems with onboard vehicle systems or external
monitoring platforms. Advances in data acquisition technology enable
efficient handling of large volumes of data generated by multiple sensors,
facilitating timely analysis and decision-making. Additionally, research
efforts focus on developing data fusion algorithms to integrate data from
multiple sensors and enhance overall monitoring system performance.
Advanced Analytics and Algorithms: This section would delve into the
application of advanced analytics and algorithms for anomaly detection and
risk assessment in EV battery monitoring. It would survey research on
machine learning techniques, artificial intelligence algorithms, and statistical
models used to analyze sensor data, identify patterns, and predict potential
battery failures or safety hazards.
3.1: Introduction
4.2: Objectives
4.3: Scope
The scope for protecting EV batteries encompasses a
wide range of activities, technologies, and strategies aimed at
ensuring the safety, reliability, and longevity of battery systems in
electric vehicles. Some key aspects of the scope include:
ATMega328P
Processor
Memory
Peripherals
2x 8-bit Timer/Counter with a dedicated period register and
compare channels
1x 16-bit Timer/Counter with a dedicated period register, input
capture and compare channels
1x USART with fractional baud rate generator and start-of-frame
detection
1x controller/peripheral Serial Peripheral Interface (SPI)
1x Dual mode controller/peripheral I2C
1x Analog Comparator (AC) with a scalable reference input
Watchdog Timer with separate on-chip oscillator
Six PWM channels
Interrupt and wake-up on pin change
ATMega16U2 Processor
8-bit AVR® RISC-based microcontroller
Memory:
16 KB ISP Flash
512B EEPROM
512B SRAM
Debug WIRE interface for on-chip debugging and programming
Power:
2.7-5.5 volts
4.4.2 DS18B20 Sensor
Working Principle:
The DS18B20 sensor operates based on the principles of digital
temperature sensing. It utilizes the 1-Wire communication
protocol, which allows multiple DS18B20 sensors to be connected
to a single microcontroller pin. The sensor is powered through this
data line, which simplifies wiring and minimizes the need for
additional pins and components. When a temperature reading is
requested, the microcontroller sends a command to the DS18B20
via the data line. The DS18B20 responds by providing a digital
representation of the temperature, which includes a 12-bit value
that can be converted to degrees Celsius or Fahrenheit.
Internally, the DS18B20 contains a temperature-sensitive element
that changes its electrical resistance with temperature variations.
This change in resistance is converted to a digital signal, and the
sensor includes an onboard EEPROM to store its unique 64-bit
serial code, calibration data, and other information. To achieve the
highest precision, the DS18B20 can be configured to operate in 12-
bit resolution mode, providing temperature measurements with a
finer granularity. Its accuracy and ease of use make it a popular
choice for temperature monitoring and control in a wide range of
applications, from hobbyist projects to industrial systems.
he DS18B20 sensor relies on a digital conversion method known
as the Dallas Temperature Control Algorithm, which helps ensure
accurate temperature measurements. When a temperature reading
is requested, the DS18B20 sensor starts the temperature conversion
process. It measures the resistance of the internal temperature-
sensitive element and then converts it into a 12-bit digital value,
representing the temperature. This digital data is sent back to the
microcontroller through the 1-Wire protocol, where it can be
processed and interpreted as degrees Celsius or Fahrenheit using
provided libraries or custom code.
One notable feature of the DS18B20 is its ability to support
multiple sensors on the same 1-Wire bus, and each sensor has a
unique 64-bit serial code. This allows for the simultaneous
monitoring of multiple temperatures in a single system without
conflicts or interference. The DS18B20 is also capable of
generating temperature alarms. You can set high and low
temperature thresholds, and when these thresholds are crossed, the
sensor can trigger an alert, which is useful for applications where
temperature control and monitoring are critical.
The DS18B20 sensor works by converting the resistance of its
internal temperature-sensitive element into a digital temperature
value using the 1-Wire communication protocol. Its simplicity,
precision, and ability to handle multiple sensors on the same bus
have made it a popular choice for various temperature-sensing
applications.
4.4.5: RELAY
What is Relay?
A relay is an electromechanical switch that operates by using an
electromagnetic coil to control the switching of one or more
electrical circuits. It serves as an interface between low-voltage
control signals, such as those from microcontrollers or digital
logic circuits, and high-voltage or high-current loads, like motors,
lights, or appliances. When a small voltage is applied to the coil,
it generates a magnetic field that attracts a movable armature,
which is mechanically connected to one or more switch contacts.
This magnetic force causes the switch contacts to change position,
either opening or closing an electrical circuit. Relays are crucial in
situations where you need to isolate or protect low-voltage control
systems from high-voltage or high-current loads, making them an
essential component in automation, robotics, industrial control,
and many other applications. They provide a safe and reliable way
to control electrical devices remotely or based on specific
conditions.
Relay Symbol:
Working:
The operation of a relay is based on the principle of electromagnetic
induction and mechanical switching. Inside a typical
electromagnetic relay, there are two main components: an
electromagnetic coil and a set of switch contacts. When an
electrical current flows through the coil, it generates a magnetic
field around it. This magnetic field exerts a force on an armature or
movable iron core, which is connected to a set of switch contacts.
In its default or "de-energized" state, the relay's switch contacts are
open, meaning the electrical circuit they control is not connected.
However, when a sufficient voltage is applied to the coil, it
energizes and generates a magnetic force that attracts the armature.
This attraction causes the armature to move, closing the switch
contacts and completing an electrical circuit.
Conversely, when the coil voltage is removed or reduced below a
certain threshold, the magnetic field dissipates, allowing a spring
or other mechanical mechanism to return the armature to its
original position. This action opens the switch contacts,
interrupting the electrical circuit.
Relays are versatile devices because they can be used to control
high-power or high-voltage circuits with a relatively low-power or
low-voltage control signal. They provide electrical isolation
between the control circuit and the load circuit, making them
valuable for applications where safety, signal protection, or
galvanic separation is crucial. Electromagnetic relays are
commonly used in various industries and applications, including
automotive systems, industrial automation, telecommunications,
and home appliances, to name just a few.
4.6:Conclusion:
The Arduino IDE serves as the primary tool for writing, compiling, and
uploading code to Arduino boards. It is built on the Processing development
environment and provides a user-friendly interface for both beginners and
experienced developers. The IDE supports the Arduino programming
language, which is a simplified variant of C and C++, making it accessible
for those new to programming.
With the Arduino IDE, you can write code to control sensors, actuators, and
various other electronic components connected to an Arduino board. The
IDE comes with a comprehensive library of functions and examples that
simplify the process of working with different sensors and modules, reducing
the need for extensive low-level programming.
One of the key features of the Arduino IDE is its ability to interact with a
wide range of Arduino boards, including the popular Arduino Uno, Arduino
Mega, and many more. It also supports third-party boards that are compatible
with the Arduino framework. This flexibility makes it a versatile platform
for creating a multitude of electronic projects, from simple blinking LED
experiments to complex home automation systems and robotics projects. In
summary, the Arduino IDE is a user-friendly and versatile software tool that
empowers hobbyists, students, and professionals to develop and experiment
with a diverse array of electronic projects, making it a cornerstone of the
maker and open-source hardware communities.
Writing Sketches
Programs written using Arduino Software (IDE) are called sketches. These
sketches are written in the text editor and are saved with the file
extension.ino. The editor has features for cutting/pasting and for
searching/replacing text. The message area gives feedback while saving and
exporting and also displays errors. The console displays text output by the
Arduino Software (IDE), including complete error messages and other
information. The bottom right and corner of the window displays the
configured board and serial port. The toolbar buttons allow you to verify and
upload programs, create, open, and save sketches, and open the serial
monitor.
Arduino sketches are the core of programming for Arduino microcontroller
boards using the Arduino IDE. A sketch is essentially a piece of code written
in the Arduino programming language, which is based on C and C++. These
sketches are the instructions that tell the Arduino board what to do. Each
sketch typically consists of two main functions: setup ( ) and loop ( ).
The setup ( ) function is where you initialize variables, set up input/output
pins, and perform any one-time configuration for your project. For example,
you might configure a sensor, define the communication protocol, or set the
initial state of an output pin in this function. The code within the setup ( )
function runs once when the board is powered up or reset.
The loop ( ) function, on the other hand, is the heart of your Arduino sketch.
Code within the loop ( ) function is executed continuously in a loop after the
setup ( ) function completes. This is where you implement the main
functionality of your project. Whether it's reading data from sensors,
controlling actuators, or responding to user input, the loop ( ) function
ensures that your Arduino keeps performing its designated tasks repeatedly.
Arduino sketches are easy to write, thanks to the simplified and user-friendly
syntax. Users can make use of various built-in functions and libraries, and
they can also create custom functions to modularize their code. Debugging
and monitoring the execution of your sketch is made straightforward with
the Arduino IDE's built-in serial monitor, which helps in identifying and
resolving issues in your code.
In summary, Arduino sketches are the code written in the Arduino
programming languages that dictate the behavior of an Arduino board. These
sketches consist of the setup ( ) and loop ( ) functions, allowing users to
initialize their hardware and create continuous, looped operations, making
Arduino a versatile platform for a wide range of projects, from simple LED
blinkers to complex robots and automation systems.
Features of Arduino IDE
File
New Creates a new instance of the editor, with the bare minimum structure
of a sketch already in place.
Open Allows to load a sketch file browsing through the computer drives and
folders.
Open Recent Provides a short list of the most recent sketches, ready to be
opened.
Sketchbook Shows the current sketches within the sketchbook folder
structure; clicking on any name opens the corresponding sketch in a new
editor instance.
Examples any example provided by the Arduino Software (IDE) or library
shows up in this menu item. All the examples are structured in a tree that
allows easy access by topic or library.
Close closes the instance of the Arduino Software from which it is clicked.
Save saves the sketch with the current name. If the file hasn't been named
before, a name will be provided in a "Save as...” window.
Save as... Allows to save the current sketch with a different name.
Page Setup It shows the Page Setup window for printing.
Print sends the current sketch to the printer according to the settings defined
in Page Setup.
Preferences Opens the Preferences window where some settings of the IDE
may be customized, as the language of the IDE interface.
Quit Closes all IDE windows. The same sketches open when Quit was
chosen will be automatically reopened the next time you start the IDE.
Edit
Undo/Redo Goes back of one or more steps you did while editing; when you
go back, you may go forward with Redo.
Cut Removes the selected text from the editor and places it into the clipboard.
Copy Duplicates the selected text in the editor and places it into the
clipboard.
Copy for Forum Copies the code of your sketch to the clipboard in a form
suitable for posting to the forum, complete with syntax coloring.
Copy as HTML Copies the code of your sketch to the clipboard as HTML,
suitable for embedding in web pages.
Paste puts the contents of the clipboard at the cursor position, in the editor.
Select All Selects and highlights the whole content of the editor.
Comment/Uncomment Puts or removes the // comment marker at the
beginning of each selected line.
Increase/Decrease Indent Adds or subtracts a space at the beginning of each
selected line, moving the text one space on the right or eliminating a space
at the beginning.
Find Opens the Find and Replace window where you can specify text to
search inside the current sketch according to several options.
Find Next Highlights the next occurrence - if any - of the string specified as
the search item in the Find window, relative to the cursor position.
Find Previous Highlights the previous occurrence - if any - of the string
specified as the search item in the Find window relative to the cursor
position.
Sketch
Verify/Compile Checks your sketch for errors compiling it; it will report
memory usage for code and variables in the console area.
Upload Compiles and loads the binary file onto the configured board through
the configured Port.
Upload Using Programmer This will overwrite the Boot loader on the board;
you will need to use Tools > Burn Boot loader to restore it and be able to
Upload to USB serial port again. However, it allows you to use the full
capacity of the Flash memory for your sketch. Please note that this command
will NOT burn the fuses. To do so Tools -> Burn Boot loader command must
be executed.
Export Compiled Binary Saves a .hex file that may be kept as archive or sent
to the board using other tools.
Show Sketch Folder Opens the current sketch folder.
Include Library Adds a library to your sketch by inserting #include
statements at the start of your code. For more details, see libraries below.
Additionally, from this menu item you can access the Library Manager and
import new libraries from .zip files.
Add File... Adds a supplemental file to the sketch (it will be copied from its
current location). The file is saved to the data sub folder of the sketch, which
is intended for assets such as documentation. The contents of the data folder
are not compiled, so they do not become part of the sketch program.
5.3: Algorithm and Flow Chart Design
5.3.1: Algorithm
The provided flowchart outlines the operational steps of an EV Battery
moniter and Protection Measures.
Initialization
1. Initialize all the necessary libraries for LCD, GSM, and sensor
modules in your microcontroller's code.
2. Set up the LCD display to show messages and sensor readings.
3. Configure the temperature sensors for reading temperature and thermal
levels, respectively.
4. Initialize the GSM module to send SMS messages.
5. Connect to the Relay and set up the DC motor as cooling object for Battery
6. Initialize digital output pins connected to the Buzzer and the LCD is
constantly displaying the Thernal values.
Sensor Reading Process
1. Start a loop for the continuous operation of the system.
2. By using the Temperature Sensor to constantly set up the values needed .
- Read the Thermal level from the Temperature sensor.
- Display the thermal level on the LCD.
- If the thermal level is above 60:
- On the buzzer.
- Send a message to the mobile phone using the GSM
module.
- Else:
- No special action required.
- No message is sent to the mobile phone.
3. Then the switch is provides and it serves as the vehicle ON and OFF state.
- Read the Thermal level from the temperature sensor.
- Display thermal level on the LCD.
- If the thermal level is above 60:
- Buzz the Buzzer.
- Else:
- No action required.
- No message is sent to the mobile phone.
4. At any rate while the thermal level raises and exceed the limit then the DC
Motor as the Cooling fan switch on using relay. .
Loop Continuation
- Repeat the process for as long as the system is powered and levels of the
batteries is exceed its thermal limits.
Finalization
- Provide a way to safely shut down the system or put it in a standby mode
when not in use.
2. Initialization Block
- Rectangle labeled "Initialize Sensors, GSM, Relay, Buzzer,
and LCD".
3. EV Battery at Temperature Sensor
- Rectangle with the instruction "Battery is overheated".
7. End
- Oval indicating the end of the process.
Use arrows to denote the flow from one step to the next.
Keep the flowchart symbols standard (ovals for start/end, rectangles for
processes/actions, diamonds for decision points).
Label all arrows coming out of decision blocks clearly with "Yes" or "No"
to indicate the direction based on the decision.
Ensure that the flow is logical and there are no loose ends; every decision
point should have a clear path forward and backward.
5.4: CODE
#include <OneWire.h>
#include <DallasTemperature.h>
#include<LiquidCrystal.h> // Includes the PulseSensorPlayground
Library.
#include <SoftwareSerial.h>
#define ONE_WIRE_BUS A0
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
void loop() {
lcd.clear();
sensors.requestTemperatures();
tem_degree = sensors.getTempCByIndex(0);
//tempF = ((sensors.getTempCByIndex(0) * 9.0) / 5.0 + 32.0);
lcd.setCursor(0, 0);
lcd.print(" EV Battery ");
lcd.setCursor(0, 1);
lcd.print("Temperature:");
lcd.print(tem_degree);
delay(1000);
if(tem_degree >= 45.0)
{
digitalWrite(gled, LOW);
digitalWrite(relay, HIGH);
lcd.setCursor(0,0);
lcd.print("EV Battery Temp.");
lcd.setCursor(0,1);
lcd.print("Increase Alert! ");
buzzer_sound(3);
if(digitalRead(sms_pin)==LOW)
Send_temp_message();
}
else
{
digitalWrite(gled, HIGH);
digitalWrite(relay, LOW);
}
}
void Send_temp_message()
{
lcd.setCursor(0, 0);
lcd.print("Message sending ");
lcd.setCursor(0, 1);
lcd.print(" ");
Serial.println("AT+CMGF=1"); //Sets the GSM Module in Text Mode
delay(3000);
Serial.println("AT+CMGS=\"+918328072869\"\r"); // Replace x with
mobile number
delay(3000);
Serial.println("EV vehicle Increased please alert");// The SMS text you
want to send
delay(900);
Serial.println((char)26);// ASCII code of CTRL+Z
lcd.setCursor(0, 0);
lcd.print("Message Sent ");
lcd.setCursor(0, 1);
lcd.print(" ");
delay(3000);
lcd.clear();
}
void projectName(){
lcd.setCursor(0,0);
lcd.print("Electric Vehicle");
lcd.setCursor(0,1);
lcd.print("Battery Minitor ");
delay(3000);
lcd.clear();
}
5.5: Result Analysis with several Test Cases
5.5.1: Test Case 1: Temperature >45
The core objective of this project was to design and implement a real-time
monitoring system capable of monitoring and Protection of EV Battery life
o ensure their own host’s life. The methodology was meticulously planned,
beginning with the calibration and testing of temperature sensor, followed by
the development of a control system that initiates actions based on the
thermal concentration levels detected. The system's architecture was
designed to halt the produce for a precise duration under the sensors,
ensuring accurate readings. These readings were then processed to trigger
appropriate indicators: a buzz of buzzer and no action required . Moreover,
the GSM module facilitated immediate notification through SMS, whereas
the switch automatically resemble the vehicle ON and OFF state.
Throughout the project, several test cases were meticulously designed and
executed to validate the system's efficacy and reliability. The results were
promising, demonstrating the system's capability to distinguish between safe
and potentially contaminated produce effectively. The integration of
immediate alerts and real-time data logging introduces a significant
advancement in how data can be utilized for prompt decision-making and
long-term analysis, respectively.
However, the project also highlighted several challenges and areas for
improvement. The specificity and sensitivity of the temperature sensors to
thermal runways could potentially lead to false positives or negatives in
detecting pesticide residues. Future work could explore the integration of
more sophisticated sensors specifically designed for pesticide detection or
the use of sensor arrays to improve accuracy and specificity.
Moreover, the project opens avenues for further research into the
development of comprehensive models that can correlate specific gas
concentrations with particular types of pesticides. Such advancements could
pave the way for a more nuanced understanding and control of Batteries on
various Vehicles.
Additionally, the project's scope for scalability and integration with other
technological advancements, such as artificial intelligence and machine
learning algorithms, presents an exciting frontier. These technologies could
enhance the system's analytical capabilities, enabling it to predict potential
contamination events or optimize pesticide usage based on historical and
real-time data.