Table of Contents

Simulink Model to Calculate Vehicle Speed

JOIN US ON WHATSAPP TO RECEIVE DAILY UPDATES AND JOB NOTIFICATIONS

Table of Contents

Objective

Develop a Simulink model to display Vehicle Speed and distance covered for any electric vehicle.

 

Here I am considering the Ola S1 electric scooter.

 

 Ola S1 Specs:

Mass (kerb + passenger), m 120 + 80 = 200kg
Air drag coefficient, Cd 0.6
Frontal area, A 0.712 * 0.116 = 0.83 m^2
Rolling resistance coefficient, Crr 0.015
Tyre radius, r 0.3 m  (110/70 – R12)
Motor torque (max), T 58 Nm

Theory behind

                                      Fig 1. Forces acting on a vehicle

The total tractive force acting on a EV can be represented as below:

Ftrac = Faero + Fgrad + Facc + Froll

Here,

Faero = aerodynamic drag force =   0.5 * ρ * V^2 * A * Cd

where, 

ρ = Air density, that is normally 1.25 kg/m^3. 

A = Frontal area of the vehicle in m^2 

Cd = Air drag co-efficient of the vehicle (It depends on frontal area, shape, protrusions, ducts, air passage etc.) 

V = Velocity of the vehicle in m/s

Fgrad = force due to gradient = m * g * sinφ 

where, 

m = Total mass of the vehicle(vehicle mass + payload) in kg 

g = Gravitational constant that is 9.8 m/s^2 

φ = up gradient angle or inclination angle in radian In this case up gradient angle(φ) = 0, as there is no inclination.

Froll = force due to rolling resistance = Crr * m * g

where, 

Crr= Rolling resistance co-efficient (It depends on the tire material, tire structure, tire temperature, road roughness, road material etc.) 

m= Total mass of the vehicle( Vehicle mass+ payload) 

g = gravitational constant , that is 9.8 m/s^2

Facc = acceleration force = m * a

Where,

m = Total mass of the vehicle(vehicle mass + payload) in kg 

a = vehicle acceleration in m/s^2 

 

Torque & force relation

 

Torque, T = Ftrac * r

Where,

Ftrac = total tractive force

r = tyre radius

 

Software used

MATLAB-Simulink

 

Simulink Model

          Fig 2. Variable values assigned for model simulation

 

                                 Fig 3. Simulink main model

 

                         Fig 4. Subsystem for rolling resistance calculation

 

                           Fig 5. Subsystem for gradient force calculation

 

                          Fig 6. Subsystem for aerodynamic drag force calculation

 

Result

Simulation output for 500 seconds duration:

                          Fig 7. Logged simulation signal waveforms

Final speed of the vehicle = 82.62 km/hr

Total distance covered = 11.03 km

Conclusion

Here we have designed a closed loop system to derive the speed of the vehicle based on the given parameter values. Dividing the Motor torque by wheel radius we are able to calculate the traction force of the vehicle, then subtracting other forces from the total tractive force we have calculated Inertia of the vehicle. From there we derived the acceleration of the vehicle. Then after that after integrating the acceleration we are able to get the speed and finally after 2nd integration we have calculated the distance covered by the vehicle. 

 

JOIN US ON TELEGRAM TO RECEIVE DAILY UPDATES AND JOB NOTIFICATIONS

Share on Facebook
Share on Twitter
Share on Linkdin
Share on Whatsapp

Over 1.2 Million+ learners impacted worldwide

Learners from 170+ countries have grown in their career through our programs

Explore Programs  

Global Presence

Get in touch to learn more about how you can make the best of your talent

Spend less time worrying about job availability, and more time growing your knowledge. Join DIYguru Program today.

If you’re a current student, please get in touch through the DIYguru dashboard to ask about more details of this Program.

Please note, eligibility for this course is reserved to students who have done related projects and have relevant profiles matching with the pre-requisite of this course.

The DIYguru team hold the right to cancel your admisssion into the program without any explanation via email if found unsuitable and unfit.

Our 7-day money-back guarantee starts from the moment of signup and runs through the free week. Cancellations between days 7 and 30 will get a prorated refund.

Fees for the program is charged only when the admission is approved.

Flag
PARTNERSHIP

Colleges and Institutions

We're growing rapidly across the country, don’t miss out.

Partner with Us

Fog
UPSKILL

Corporates and Industries

Have workforce requirement or employee upskilling!

Get in Touch

Folder-solid
OPPORTUNITY

Career@DIYguru

Work with a team that’s transforming future mobility.

DIY with Us

Book Your Free Session Now

Avail free Guidebook and Expert Mentorship in EV domain curated by Industry experts.

Register to continue..