Challenge

Week 7 Challenge

Traction Force:

Forces act on vehicle while it's going against the slope.

Fa = Aerodynamic Drag

Fr = Rolling Resistance

Fg = Grade Resistance

Forces act on vehicle while it's going along the slope.

Here we have designed a simulink model where traction force and total resistances are calculated.

We know that, F=m*a

a = F/m

Here F= Traction force - Total resistance

Now we will go through the model [with all susbsytems]

Blocks Used:

  • Constant
  • Drive Cycle Source
  • Terminator
  • Scope
  • Signal Builder
  • Add
  • Product
  • Memory Block
  • Saturation
  • Gain
  • To Workspace
  • Switch
  • Derivative
  • Integrator
  • Goto/From
  • MATLAB Function
  • atan

The entire model with the above requirements is:

Inside the driver block:

Inside Vehicle Model:

All the resistive forces are fed to a sum block and have been subtracted from the traction force to get the actual force.

**atan block is used to convert angle in degrees to radians as MATLAB couldn't analyse the input in degrees.

Data fed in to the signal builder:

Parameter change done for blocks:

  • Enabled "External Reset" as level to reset the "integrator" block while vehicle comes to rest position.
  • Accel saturation block is set to "1-upperlimit and 0-lowerlimit" as acceleration would en positive all the time.
  • Brake saturation block is set to "0-upperlimit and -1-lower limit" as braking is a negative phenomenon.

Rolling Resistance function block:

**Interpreted function block should be used for MATLAB 2021a and above versions

Aerodynamic Drag Block:

Grade Resistance:

Here we supplied actual force to Vehicle by "Traction force - Total Resistive Forces = Actual Force"

Variables taken in to consideration:

M = 1900

Frontal Area = 2.86

Drag Coeff = 0.4170

Roll Coeff = 0.15

Grade = 1

g = 9.81

Density of air = 1.13

Output of the model:

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.