Week 7 Challenge
vehicle model here is nothing but the equation of forces which comes under velocity ie. when vehicle moves from its rest position for motorized vehicles such as automobiles aircraft and watercraft, vehicle dynamics is the study of vehicle motion. e.g. how a vehicle's forward movement changes in response to driver inputs, propulsion system outputs, ambient conditions air/surface/water conditions etc. Below image shows the force acting on a vehicle
Ftr= Tractive Force, Fa= Aerodynamic drag resistant force,
Fg= Gradient Resistance force, Fr= Rolling resistance force, Fi= Inertial resistance force
Tractive force is the force applied/produced by the vehicle powertrain we will now see the equation of three main forces and will implement this sing matlab Fcn block
Aerodynamic Drag is a force which the oncoming air applies on a moving body. its is the resistance offered by the air to the movement of the body. So when a car is moving it displaces the air However it affects the car's speed and performance Technically it is the aerodynamic drag or the friction offered by the air to a vehicle Aerodynamic Drag= 1/2*p*Cd*A*V2
The acceleration force refers to the vehicle resistance to speed variations This force holds you back when you increase your speed and also moves you forward when you slow down in other words it means that you consume energy to accelerate up to as certain speed but can recover part of that energy when you decelerate allowing you to drive a certain distance without consuming fuel in equations it is simply written F=ma
SIMULINK Model

model shown above shows driver block too but our focust is on vehicle block only, Driver block is used here because we need accleration value to overcome the integral windup happeneing while converting tractive force into velocity Hence only vehicle block system and its explanation is
Subsystem of driver

Subsystem of vehicle

Results
