Chapter 3 Electric Vehicle Modeling and Simulation Using MATLAB SIMULINK
Chapter 3 Electric Vehicle Modeling and Simulation Using MATLAB SIMULINK
Chapter 3
Electric Vehicle Modeling and Simulation Using MATLAB
SIMULINK
Selvamuthukumar M a*, D.Vinay Kumar b, Lokesh Madineni a
aAssistant Professor, Department of Applied Engineering, Vignan's Foundation for Science,
Technology and Research, Guntur, Andhra Pradesh
bAssociateProfessor, Department of Mechanical Engineering, Vignan's Foundation for Science,
Technology and Research, Guntur, Andhra Pradesh
*Corresponding Author: [email protected]
Abstract:
In this design, we design the electric vehicle model by using MATLAB SIMULINK
tool blocks. Conventional vehicles give good performance and long range. But due to
low energy frugality and exhaust gas emigrations causing environmental pollution,
interest in electric vehicles is adding. The range of electric vehicles is short and they
cannot reach high speed. Longer-distance vehicles are being produced as electric
motor and battery technology advances. Thus, the performance of these vehicles can
be optimized by opting for the motors and batteries depending on the region and the
drive cycle. The dynamic model of an electric car was constructed utilizing MATLAB
SIMULINK in this study. The energy consumption values of the electric vehicle and
their range were determined for drive cycles similar to WLTP, NEDC, and HWFET.
The factors of the Battery electric vehicle (BEV) frame were bandied then, and that
model was dissembled on MATLAB SIMULINK and also the affiliated factors
associated with the electrical systems.
1. Introduction
Energy conservation is one of the most pressing issues confronting the world's climate.
The global energy climate is also under threat. No one correctly predicts the future of
energy; we believe that transportation will play a significant role in saving future
energy. EVs are currently products of technological innovation that have contributed
to making our lives easier and safer. EVs not only consume energy, but they also
generate, store, and transport it. As a result, they are an excellent fuel vehicle option.
The recent growth of hybrid and electric vehicles is strongly related to the need for
highly efficient machines able to meet the most recent pollutant emissions regulations.
In the automotive industry, electric propulsion is now a mature technology that is
Page | 24
M. Selvamuthukumar et al., 2023,
Electric Vehicle Modeling and Simulation Using MATLAB SIMULINK
already available on the market and capable of meeting pollutant emission regulations
based on the most recent testing process. In recent days, Electric vehicles represent the
most viable alternative to the IC engines. Batteries can perform differently depending
on the operating temperature, actual capacity, and aging state [1].
It consists the following main blocks, 1.)Vehicle body, 2.)DC Motor, 3.)Power
converter, 4.)Battery, 5.)Drive controller, 6.)Drive cycle
Page | 25
Recent Development in Multidisciplinary Science and Technological fields - Volume I
Vehicle Body: The Vehicle Body block represents a straight-line moving two-axle vehicle
body. For example, two front axle wheels and one rear axle wheel. For example, two front
axle wheels and one rear axle wheel. The block considers body mass, aerodynamic drag,
road incline, and weight distribution between axles due to acceleration and road profile.
Optionally include pitch and suspension dynamics. The vehicle's axles are parallel and
form a plane. The longitudinal direction, x, is perpendicular to the axles and lies in this
plane. If the vehicle is traveling on an inclined slope, the normal, z, direction is never
parallel to gravity but always perpendicular to the axle-longitudinal plane [6-8].
The vehicle motion is a result of the net effect of all the forces and torques acting
on it.
The weight mg of the vehicle acts through its center of gravity (CG).
Fx = n(Fxf + Fxr)
Page | 26
M. Selvamuthukumar et al., 2023,
Electric Vehicle Modeling and Simulation Using MATLAB SIMULINK
Pitch acceleration depends on three torque components and the inertia of the
vehicle
a = (f∙h)+(Fz𝐹a)−(Fzrb)
J
Where:
ɑ is the pitch acceleration.
f is the longitudinal force.
h is the height of the center of gravity when measured parallel to the z-axis.
J is inertia.
Tire: The tire's longitudinal direction is the same as its motion as it rolls on the
pavement. Based on the Tire-Road Interaction (Magic Formula) block, this is a
structural component. You can specify tire compliance, inertia, and rolling resistance
to improve the fidelity of the tire model. These properties, however, add to the
complexity of the tire model and can slow down the simulation. If you are simulating
the model in real-time or preparing it for hardware-in-the-loop (HIL) simulation,
consider ignoring tire compliance and inertia.
DC Motor: The DC Motor block uses the following equivalent circuit model to
represent the electrical and torque characteristics of a DC motor. The resistor R is
equivalent to the resistance specified in the Armature resistance parameter. The
inductor L is equivalent to the inductance specified in the Armature inductance
parameter.
The permanent magnets in the motor cause the armature to experience the
following back emf vb.
vb=kvω
where kv denotes the Back-emf constant and angular velocity motor produces the
following torque, which is proportional to the motor current I
TE=kt
Where, kt is the Torque constant
H-Bridge: The H-Bridge block represents an H-bridge motor driver. The block's
simulation mode options are as follows: 1) PWM, 2) Mean The H-Bridge block's output
is a controlled voltage determined by the input signal at the PWM port. When the
input signal exceeds the Enable threshold voltage parameter value, the H-Bridge block
Page | 27
Recent Development in Multidisciplinary Science and Technological fields - Volume I
output is activated and has a value equal to the Output voltage amplitude parameter
value. The averaged model is the other mode. Smoothed and unsmoothed load
current characteristics are available in this mode. The Smoothed option assumes that
the current is nearly continuous due to load inductance.
Battery: A high-fidelity battery model is represented by the Battery block. The block
computes no-load voltage as a function of charge level and includes several modelling
options. 1). Self-discharge, 2) Battery Fade, 3) Charge Dynamics, and 4) Charge
Dynamics Ageing by the calendar. The Battery (Table-Based) block has four modelling
variants, which can be accessed by right-clicking the block in your block diagram and
then selecting the appropriate option from the context menu, which can be found
under Simscape > Block choices. Uninstrumented Instrumented No thermal port,
Unistrumented show thermal port, Instrumented show thermal port. The
instrumented models have an additional physical signal port that outputs the internal
state of charge. Use this functionality to change load behaviour as a function of charge
state without having to build a charge state estimator. The fundamental battery model,
the self-discharge resistance RSD, the charge dynamics model, and the series
resistance R0 comprise the battery equivalent circuit [11].
Simple Gear: The Simple Gear block represents a gearbox that constrains the
connected driveline axes of the base gear, B, and follower gear, F, to corotate with a
Page | 28
M. Selvamuthukumar et al., 2023,
Electric Vehicle Modeling and Simulation Using MATLAB SIMULINK
specified fixed ratio. You can specify whether the follower axis rotates in the same
direction as the base axis or in the opposite direction. The angular velocity of the
follower, ꞷF, and the angular velocity of the base, ꞷB, have the same sign if they rotate
in the same direction. ꞷF and ꞷB have opposite signs if they rotate in opposite
directions. Backlash, faults, and thermal effects can be easily added and removed [12-
13].
The kinematic constraint that the Simple Gear block imposes on the two connected
axes is
𝑟𝐹 𝜔𝐹 = 𝑟𝐵 𝜔𝐵
where:
rF is the radius of the follower gear.
ωF is the angular velocity of the follower gear.
rB is the radius of the base gear.
ωB is the angular velocity of the base gear.
3. Proposed Model
Page | 29
Recent Development in Multidisciplinary Science and Technological fields - Volume I
After designing and modeling the MATLAB SIMULINK was used to create an electric
vehicle. Some simulation has to be performed in order to assess the electric vehicle
battery capacity, range, speed, and time for acceleration and deceleration, idle time,
and cruise time. Also, according to the model, the main parameter is to plot the
difference in the rated speed of the vehicle and the actual speed of the vehicle by taking
feedback from the vehicle body [14].
Simulation results of given input drive cycles are shown in figures A1 and A2.
Simulation results of the PWM voltage signal are shown in Figures B1 and B2.
Simulation results of the velocity of rated and actual velocity for a given input
drive cycle are shown in Figures C1, and C2
Page | 30
M. Selvamuthukumar et al., 2023,
Electric Vehicle Modeling and Simulation Using MATLAB SIMULINK
4. Conclusion
Modeling an electric vehicle system makes it simple to figure out how much battery
capacity an electric car with specified specifications needs to travel a certain distance.
Page | 31
Recent Development in Multidisciplinary Science and Technological fields - Volume I
References
[1] K. Venkata Rao, Bachina Harish Babu, V. Umasai Vara Prasad, A study on effect of dead
metal zone on tool vibration, cutting and thrust forces in micro milling of Inconel 718,
Journal of Alloys and Compounds, Volume 793, 2019, Pages 343-351, ISSN 0925-8388,
https://doi.org/10.1016/j.jallcom.2019.04.194.
[2] Babu, B.H., Rao, K.V. & Ben, B.S. Modeling and optimization of dead metal zone to
reduce cutting forces in micro-milling of hardened AISI D2 steel. J Braz. Soc. Mech. Sci.
Eng. 43, 142 (2021). https://doi.org/10.1007/s40430-021-02861-5.
[3] M. Selvamuthukumar, B. Harish babu, Sujith bobba, S. Baskar, Nivin Joy, Investigation
on the lubricating behavior of cashew nut shell liquid oil as a renewable and reliable
petrochemical product, Materials Today: Proceedings, Volume 44, Part 5, 2021, Pages
3583-3588, ISSN 2214-7853, https://doi.org/10.1016/j.matpr.2020.09.458.
[4] Palakuru Mahesh , Sirisha Adamala , Harish Babu Bachina, Application of Space-Born
Remote Sensing To Analyze Forest Cover in Chittoor (India) Area, International Journal
for Research in Applied Science & Engineering Technology (IJRASET) ISSN: 2321-9653;
IC Value: 45.98; SJ Impact Factor :6.887 Volume 6 Issue I, January 2018- Available at
www.ijraset.com.
[5] Krishna Reddy, Y.V., Sirisha Adamala and Bachina Harish Babu. 2017. Case Study on
Performance Evaluation of Drip Irrigation Systems in Selected Villages of Guntur
District, Andhra Pradesh, India. Int.J.Curr.Microbiol.App.Sci. 6(2): 437-445. doi:
http://dx.doi.org/10.20546/ijcmas.2017.602.049
[6] MAHESH PALAKURU, SIRISHA ADAMALA, & HARISH BABU BACHINA. (2020).
Modeling yield and backscatter using satellite derived biophysical variables of rice crop
based on Artificial Neural Networks. Journal of Agrometeorology, 22(1), 41–47.
https://doi.org/10.54386/jam.v22i1.120.
[7] P. Manoj Kumar , Bachina Harish Babu, S. Gowtham & K. Rajesh, Development And
Study Of Tribological Properties Of Bio composite For Brake Pad Application,
International Journal of Mechanical and Production Engineering Research and
Development (IJMPERD) ISSN (P): 2249-6890; ISSN (E): 2249-8001 Vol. 7, Issue 6, Dec
2017, 263-270.
[8] M Shri, Bachina Harish Babu, V. Harish, Syed Riyaz Ahammed, R Hushien, Manoj
Kumar, Optimized Water Pumping System Using Arduino For Home Automation,
International Journal of Mechanical Engineering and Technology (IJMET) Volume 8,
Issue 8, August 2017, pp. 1412–1416, Article ID: IJMET_08_08_145 Available online at
http://iaeme.com/Home/issue/IJMET?Volume=8&Issue=8 ISSN Print: 0976-6340 and
ISSN Online: 0976-6359.
[9] Bobba, S., Selvamuthukumar M.,, Harishbabu, B., & Leman, Z. (2022). Solar-Based
Mosquito Trap for Household Purposes. International Journal of Social Ecology and
Sustainable Development (IJSESD), 13(1), 1-10. http://doi.org/10.4018/IJSESD.288536
[10] Sujith Bobba, Z. Leman , B. Harish Babu, Environmental effects on the mechanical
properties of E-glass and S-glass fiber epoxy composite ring specimens used in aircraft
fuel pipes, Incas Bulletin, Volume 13, Issue 4/ 2021, Pp. 17 – 24 (P) Issn 2066-8201, (E)
Issn 2247-4528.
[11] Bobba, S., Mukkollu, S. R., Leman, Z., & Bachina, H. B. (2021). Experimental
Page | 32
M. Selvamuthukumar et al., 2023,
Electric Vehicle Modeling and Simulation Using MATLAB SIMULINK
https://doi.org/10.5281/zenodo.7632858
SCIENTIFIC RESEARCH REPORTS
www.srrbooks.in
Page | 33