Development of Electric Vehicle Model in Matlab Simulink
Development of Electric Vehicle Model in Matlab Simulink
Abstract- Many experts are looking for alternative energy Vehicles powered by fuel oil are on the rise, thanks to
sources to power cars due to the depletion of oil reserves low world oil prices and an excess of fuel oil supplies.
in the world and the problem of air pollution caused by Fuel consumption for vehicles is on the rise.
motor vehicles. An electric car, which replaces a Transportation accounts for more than half of global
combustion engine with an electric motor, is one promising
energy usage. Energy conservation is one of the most
option. In this project, I choose to use MATLAB Simulink
to create a comprehensive electric vehicle model. And pressing issues confronting the world's ecology. Our
determining which crucial aspects have the most impact global energy environment, too, faces numerous
on the vehicle's energy use and devising a remedy. In challenges. While no one can predict the future of
addition, all simulation findings were taken into account. energy, we believe that transportation will play an
This study lays the groundwork for future investigation. important role in reducing future energy consumption.
Internal combustion engine (ICE) technology has
Key words: Electric vehicle, Simulink, ICE, MATLAB, SOC, evolved over the past 100 years and will primarily focus
on increasing fuel efficiency and reducing emissions
I. INTRODUCTION [1].
Energy conservation is one of the most pressing issues The key obstacles to tackle in EVs are battery-related
confronting the world's ecology. Our global energy issues, such as the high initial cost, limited driving
environment, too, faces numerous challenges. Internal range, and extended battery charging time [2]. During
combustion engines have dominated as the primary the simulation, a driving cycle is a set of vehicle velocity
source of propulsion for automobiles for a long time, values that the electric car must attain [3]. In uncertain
resulting in greater exploitation of fossil fuels, which are driving situations, PHEV power management has been
rapidly depleting. Electric vehicles are the way of the improved. Compared to regular cars that utilize [4], it is
future. more cost-effective and environmentally beneficial.
The current trend of reducing energy consumption and Electric vehicles (EVs) are one of the technological
environmental impact has led to the electrification of advancements that have made our lives easier and safer,
vehicles of the future. Despite the fact that internal and they continue to do so. Because electric vehicles not
combustion engine (ICE) technology has evolved over only consume but also produce, store, and transport
the past 100 years. It will mainly focus on increasing energy. This is what makes it a great alternative to
energy efficiency and reducing emissions. Many have gasoline-powered cars. MATLAB simulation model of
advocated battery electric vehicles (EVs) as one of the an electric vehicle, this study can be used to model a
aforementioned responses because they are highly vehicle using formulas [5].
efficient, quiet, zero-emissions and can be managed by In addition, studies of electric vehicles [6] provide
grid operators. With a large capacity battery, electric simulations of battery electric vehicles with discussions
vehicles run on onboard batteries. Electric motors and on various factors. The e-bike system's subsystem
all onboard electronics run on their batteries. Electric models, such as motor (permanent magnet synchronous
vehicles are non-hazardous and emit no toxic pollutants. motor), controller (field direction control) and battery
As a result, in the not-too-distant future, electric (lithium ion), have been discussed separately. The
vehicles are projected to be the most reliant kind of dynamics of the bicycle have also been investigated in
transportation. order to give the essential road reaction for accurate
With a large capacity battery, electric vehicles run on modeling [7]. The MATLAB model is based on
onboard batteries. Electric motors and all onboard mechanical equations, and the power source is a built-in
electronics run on their batteries. A car is one of the model for the Lithium-ion (Li-ion) battery [8]. Other
modes of transportation utilized in cities and villages. research [9] offer the simulation of a basic electric car
The vehicle is usually utilized with oil in Indonesia. motor-drive system and dynamics, which were used to
∗ ∗ ∗ cos (3)
m is the total mass of the system.
g is gravity.
Alpha is the angle of the slope in °.
Cr is the rolling coefficient and is equal to 0.1071.
0:47 (P is wheel pressure in kPa).
Authorized licensed use limited to: International Institute of Information Technology Bhubaneswar. Downloaded on August 25,2023 at 17:17:38 UTC from IEEE Xplore. Restrictions apply.
2022 8th International Conference on Smart Structures and Systems (ICSSS)
III. MATLAB SIMULINK PROPOSED SYSTEM Gearing is done by simple gear, where B and F connects
For this Model the maximus speed of the vehicle is both DC motor and differential respectively.
restricted to 25KMPH and gradeability is of 5 degrees. Second subsystem contains DC motor which is
And asper the block diagram subsystems are created. controlled by H-Bridge and which is getting pulses from
We have four main subsystems. They are controlled pulse width modulator (PWM) voltage.
1. Vehicle body PWM getting signal from longitudinal driver through
2. Motor and Controller controlled voltage sources.
3. Driver Input DC motor model with electric and torque characteristics
4. Battery and SOC (state of charge) and fault model. Here in proposed model motor rating
For this model H and NR connected to each tire and S1, are 250W and 48V permanent magnet dc motor with
S2 connected to axles of rear and front tires respectively.
rated load and speed parameterization. A mechanical
Inside that we will give mass of vehicle which is 45 KG.
The horizontal distance from front and rea axel distance rotational reference is also connected. Controlled
from CG are 539 mm and 681 mm respectively. Frontal voltage sources will give the required signal from the
area about 3.15 m^2, drag coefficient 0.29 and air Longitudinal driver it may be acceleration or
density 1.18 KG/m^3. deceleration based on the feedback.
In this model, we are following load dependent magic Third subsystem of the model is Drive input.
formula for tires and rolling radius of 0.3m. But rolling In longitudinal driver we give the input as Velocity
resistance considered to be zero. Nominal load is around reference and feedback. Gradeability for the model is
561N with passenger and 806N with load and given which is 5 degrees. Based on the feedback the
passenger. The differential block represents a gear longitudinal driver will give the acceleration or braking
mechanism that allows the drive shafts to rotate at action which is transmitted to PWM. Maximum velocity
different speeds. Differentials are common in cars, is restricted to 25 KMPH. Using signal builder, given
where they allow different wheels to turn at different the drive pattern here which is given below. The drive
speeds when cornering. Differential will easily add and input signal is velocity for 1000 seconds.
remove backlash, faults, and thermal effects.
Differential allow us to reduce the losses and friction.
Authorized licensed use limited to: International Institute of Information Technology Bhubaneswar. Downloaded on August 25,2023 at 17:17:38 UTC from IEEE Xplore. Restrictions apply.
2022 8th International Conference on Smart Structures and Systems (ICSSS)
Fig
Fig 4. Vehicle body subsystem 7. Drive signal
Authorized licensed use limited to: International Institute of Information Technology Bhubaneswar. Downloaded on August 25,2023 at 17:17:38 UTC from IEEE Xplore. Restrictions apply.
2022 8th International Conference on Smart Structures and Systems (ICSSS)
the maximus speed is 100 KMPH and gradeability given output in scopes to check the parameters. The controlled
as constant zero. Velocity reference is given from signal current source from power system fundamental blocks
builder and feedback taken from the Vehicle body itself. act as a controlled voltage source. The same current
Based on the feedback acceleration and deceleration which flows from battery to motor during acceleration
commands are given which is passed to PWM using and motor to battery during braking.
both controlled voltage source and Simulink-PS The actual speed and reference speed are connected to
converter. These blocks have the ability to give same scopes and gives the clear view how they are related.
voltage. For calculating manually, the average speed, use basic
Similar to proposed model, a battery and state of charge formula speed*distance. To calculate distance, do the
subsystem made with Li-ion battery and. LI-ion battery integration of velocity and dividing this value by 3600
is of 50V nominal and rated voltage. Also, the initial seconds (1 hour). So, by this simulation done for 1000
SOC is of 100% response time is 30s. By using a bus seconds.
selector selecting the signals we wanted and giving their
V. SIMULATION RESULTS AND ANALYSIS For both curves, the x-axis represents time, the Y-axis
Following are the main points when considering the represents voltage and speed on the respective curves.
results obtained from the simulation. Mainly we are Both reference speed and actual speed are obtained.
considering the State of Charge (SOC) and Speed Main point to note down from the results is that average
(Velocity) in results. From SOC results it is clear that speed around 50kmph. The voltage of battery is 50v.
for the first 400 seconds battery discharges non linearly Also, it is clear that actual speed is following the
and further 200 seconds discharges linearly. Further 400 reference speed. Actual maximum speed is not meeting
seconds based on feedback it is charging and the reference maximum speed but still it’s
discharging. approximately reaching around the reference value
based on the given drive signal.
Authorized licensed use limited to: International Institute of Information Technology Bhubaneswar. Downloaded on August 25,2023 at 17:17:38 UTC from IEEE Xplore. Restrictions apply.
2022 8th International Conference on Smart Structures and Systems (ICSSS)
VI. CONCLUSION
A study over electric vehicle simulation, both
mechanical and electrical areas covered in the study.
More literature survey needed for the upgraded version
and isolation of factors. Here the 2-wheeler simulation
of electric vehicle is done and did some optimization
studies over the soc and speed. Also note down the
changes needed to be done for the exact vehicle
simulation. Started three-wheeler simulation and in the
next phase this could be done with the studies based on
different factors and different drive cycles. And now the
speed is limiting to 25kmph and voltage of battery to be
of average 48v. Also, studies shows that the model can
be upgraded with BLDC motor which is readily used in
current Electric vehicles as well as can use different
drive cycles available. So that it can conserve the energy
Fig 10. Actual speed V/S Reference speed as well.
ACKNOWLEDGEMENT
REFERENCES
[1] Chan, C.C. 2007. The State of the Art of Electric, Hybrid, and
Fuel Cell Vehicles. Proceedings of the IEEE. 95(4): p. 704-718.
[2] Schaltz, E. 2011. Electrical Vehicle Design and Modeling, in
Electric Vehicles - Modelling and Simulations, S. Solyu, (Editor),
In Tech.
[3] McDonald, D. 2012. Electric Vehicle Drive Simulation with
MATLAB/Simulink. In: Proceedings of the 2012 North-Central
Section Conference. Ohio Northern University, United States.
[4] VOL. 10, NO 19. T. A. T. Mohd, M. K. Hassan, Ishak Aris, A.
Che Soh, B. S. K. K. Ibrahim and M. K. Hat. Simulation Based
Study of Electric vehicle Parameters. ARPN Journal of
Engineering and Applied Sciences. October, 2015.
[5] Z. Chen, R. Xiong, and J. Cao, “Particle swarm optimization-
based optimal power management of plug-in hybrid electric
Fig 11. State of charge of battery vehicles considering uncertain driving conditions,” Energy, vol.
96, pp. 197–208, 2016
25KMPH vehicle [6] A.A. Abulifa, A Che Soh, A Che Soh, R.K. Raja Ahmad and
It is much more clearly visible the SOC and regenerative M.A.M. Radzi. “Modelling and Simulation of Battery Electric
breaking working in the 48v- 25KMPH system. Actual Vehicle by Using MATLAB-Simulink”. IEEE 15th Student
maximum speed of 25Kmph is achieving in this system. Conference on Research and Development (SCOReD), 2017.
Still the system trying to reach the drive signal.
Authorized licensed use limited to: International Institute of Information Technology Bhubaneswar. Downloaded on August 25,2023 at 17:17:38 UTC from IEEE Xplore. Restrictions apply.
2022 8th International Conference on Smart Structures and Systems (ICSSS)
[7] Geethanjali Thejasree, Ranjith Maniyeri. “E-bike System [9] In`es JORGE, Tedjani MESBAHI, Th´eophile PAUL, Ahmed
Modeling and Simulation”. IEEE International Conference on SAMET.” Study and simulation of an electric scooter based on a
Intelligent Systems and Green Technology (ICISGT) 2019. dynamic modelling approach”. Fifteenth International
[8] Filip Krastev, Nikolay Hinov and Hristiyan Kanchev. A Web- Conference on Ecological Vehicles and Renewable Energies
Based Matlab Application for E-Learning and Simulation of (EVER)2020.
Electric Vehicle Performance. 7th International Conference on
Energy Efficiency and Agricultural Engineering (EE&AE), 2020
Authorized licensed use limited to: International Institute of Information Technology Bhubaneswar. Downloaded on August 25,2023 at 17:17:38 UTC from IEEE Xplore. Restrictions apply.