Challenge

Project

AIM:-

To study and analyze the BAJA All Terrain Vehicle (ATV) model using Simulink and compare between different models.

OBJECTIVES:-

  • To Prepare a technical report explaining the functions of the subsystems & blocks used for preparing the model
  • To Explain in detail all the differences between all the five models provided
  • To undertand and comment on the results

TYPES OF MODEL studied:-

  • BAJA ATV model without Dashboard (cvtModel)
  • BAJA ATV model with Dashboard (cvtModel_dashboard)
  • BAJA ATV model - Mapped Lookup Table without Dashboard (cvtModel_mapped)
  • BAJA ATV model - Mapped Lookup Table with Dashboard (cvtModel_dashboard_mapped)

INTRODUCTION :-

*All Terrain vehicle:

An all-terrain vehicle (ATV), also known as a light utility vehicle (LUV),a quad bike, or simply a quad, as defined by the American National Standards Institute (ANSI); is a vehicle that travels on low-pressure tires, with a seat that is straddled by the operator, along with handlebars for steering control. As the name implies, it is designed to handle a wider variety of terrain than most other vehicles. ATVs are intended for use by a single operator, although some companies have developed ATVs intended for use by the operator and one passenger.

*BAJA SAE:

Baja SAE is an Collegiate Design Series competition run by the Society of Automotive Engineers International (SAE International). Teams of students from universities all over the world design and build small off-road cars. The cars all have engines of the same specifications. As of 2018 the engine has been an unmodified Briggs & Stratton Model 19 Vanguard engine single-cylender with a displacement of 305cc and power output of approximately 10 bhp (7.5 kW).

The goal in Baja SAE racing is to design, build and race off-road vehicles that can withstand the harshest elements of rough terrain. The vehicles used in Baja SAE racing are often similar in appearance to dune buggies. Before 2007, the events were called "Mini Baja."

*Continuously variable transmission (CVT):

A continuously variable transmission (CVT) is an automatic transmisson that can change seamlessly through a continuous range of gear ratios. This contrasts with other transmissions that provide a limited number of gear ratios in fixed steps. The flexibility of a CVT with suitable control may allow the engine to operate at a constant RPM while the vehicle moves at varying speeds.

*Main and Criticle blocks used:

1. Simple Gear:

The Simple Gear block represents a gearbox that constrains the connected driveline axes of the base gear, B, and the follower gear, F, to corotate with a fixed ratio that you specify.

The follower-base gear ratio is:

where:

  • NB is the number of teeth in the base gear.

  • NBF is the number of teeth in the follower gear.

Main Ports:

B-Base Rotational mechanical conserving port associated with the base, or input, shaft

F Follower: Rotational mechanical conserving port associated with the follower, or output shaft

2. Generic Engine block:

The Generic Engine block represents a general internal combustion engine. This block is a suitable generic engine for spark-ignition and diesel. Speed-power and speed-torque parameterizations are provided. A throttle physical signal input specifies the normalized engine torque. Optional dynamic parameters include crankshaft inertia and response time lag. A physical signal port outputs the engine fuel consumption rate based on the fuel consumption model that you choose. Optional speed and redline controllers prevent engine stall and enable cruise control.

Main ports:

1. B-Rotational Conserving Port :representing the Engine Block (should be connected to rotational motion

reference)

2. F Rotational Conserving Port representing the Engine Crankshaft

3. T-Physical signal input port :specifying the normalized engine throttle level

4. P- Physical signal output port: reporting the instantaneous engine power, in W

5.FC-Physical signal output port: reporting the fuel consumption rate, in kg/s

3. Variable Ratio Transmission block:

The Variable Ratio Transmission block represents a gearbox that dynamically transfers motion and torque between the two connected driveshaft axes, the base and the follower.

When you choose to have the block ignore the dynamics of transmission compliance, it constrains the driveshafts to corotate with a variable gear ratio that you control. You can choose whether the follower axis rotates in the same or opposite direction as the base axis. If the follower and base axis rotate in the same direction, ωF and ωB have the same sign. If the follower and base axis rotate in opposite directions, ωF and ωB have opposite signs.

Transmission compliance introduces internal time delay between the axis motions. Unlike a gear, a variable ratio transmission does not act as a kinematic constraint. You can also control the torque loss caused by transmission and viscous losses.

Main ports:

1. B- Base Pulley or Drive Pully

2. F- Follower Pulley or Driven Pulley

3. r- Variable Transmission Ratio (Input)

4.Vehicle Body block:

The Vehicle Body block represents a two-axle vehicle body in longitudinal motion. The vehicle can have the same or a different number of wheels on each axle. For example, two wheels on the front axle and one wheel on the rear axle. The vehicle wheels are assumed identical in size. The vehicle can also have a center of gravity (CG) that is at or below the plane of travel.

The block accounts for 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 does not move vertically relative to the ground.

The block has an option to include an externally-defined mass and an externally-defined inertia. The mass, inertia, and center of gravity of the vehicle body can vary over the course of simulation in response to system changes.

Limitation:

The Vehicle Body block lets you model only longitudinal dynamics, parallel to the ground and oriented along the direction of motion. The vehicle is assumed to be in pitch and normal equilibrium. The block does not model pitch or vertical movement. As such, the equations assume that the wheels never lose contact. This constraint can result in negative normal forces.

Input Ports:

1. Beta - Road Incline Angle (rad) physical signal input port for road incline angle

2. W-Head Wind Speed (m/s):physical signal input port for road incline angle

3. CG-center of gravity (m):physical signal input port of externally defined mass relative to the cg of vehicle(only available with externally defined additional mass is set to on)

1. M-mass (kg):physical signal input port for mass of the externally defined mass(only available with externally defined additional mass is set to on)

2. J-Externally defined moment of inertia (in kgm^2):physical signal input port of the externally defined mass

Output ports:

1. NR-Rear Axle Normal Force (N): physical signal output port for the rear axle which is considered positive acting downward

2. NF-Front Axle Normal Force (N):physical signal output port for the front axle which is considered positive acting downward

3. V-Longitudinal Velocity (m/s):physical output signal of vehicle velocity

Conserving ports:

H-Horizontal Motion: conserving port related to the horizontal motion of vehicle body(tyres should be connected to this port)

Double Shoe Brake Block:

The Double-Shoe Brake block represents a frictional brake with two pivoted rigid shoes that press against a rotating drum to produce a braking action. The rigid shoes sit inside or outside the rotating drum in a diametrically opposed configuration. A positive actuating force causes the rigid shoes to press against the rotating drum. Viscous and contact friction between the drum and the rigid shoe surfaces cause the rotating drum to decelerate.

Double-shoe brakes provide high braking torque with small actuator deflections in applications that include motor vehicles and some heavy machinery. The model employs a simple parameterization with readily accessible brake geometry and friction parameters.

Limitations:

• Contact angles smaller than 45° produce less accurate results.

• The brake uses the long-shoe approximation.

• The brake geometry does not self-lock.

• The model does not account for actuator flow consumption.

Input ports:

F-Physical signal input port associated with the applied actuating force

Conserving ports:

S-Rotational conserving port associated with the rotating drum shaft

Tire (magic formula) Block:

The Tire (Magic Formula) block models a tire with longitudinal behavior given by the Magic Formula [1], an empirical equation based on four fitting coefficients. The block can model tire dynamics under constant or variable pavement conditions.

The longitudinal direction of the tire is the same as its direction of motion as it rolls on pavement. This block is a structural component based on the Tire road interaction block.

To increase the fidelity of the tire model, you can specify properties such as tire compliance, inertia, and rolling resistance. However, these properties increase the complexity of the tire model and can slow down simulation. Consider ignoring tire compliance and inertia if simulating the model in real time or if preparing the model for hardware-in-the-loop (HIL) simulation.

Equivalent Model:

Limitations:

  • The Tire (Magic Formula) block assumes longitudinal motion only and includes no camber, turning, or lateral motion.
  • Tire compliance implies a time lag in the tire response to the forces on it. Time lag simulation increases model fidelity but reduces simulation performance.

Input ports:

N-Normal Force: Physical signal input port associated with the normal force acting on the tire. The normal force is positive if it acts downward on the tire, pressing it against the pavement

M- Magic formula coefficients: Physical signal input port associated with the Magic Formula coefficients. Provide the Magic Formula coefficients as a four-element vector, specified in the order [B, C, D, E).(Port M is exposed only if the Main Parameterize by parameter is set to Physical signal Magic Formula coefficients)

Common tyre parameters:

Magic Formula B coefficient: 10

Magic Formula C coefficient: 1.9

Magic Formula D'coefficient 1

Magic Formula E coefficient: 0.97

Output ports:

S-Tire Slip: Physical signal output port associated with the relative slip between the tire and road.

Conserving ports:

A-Axle: Mechanical rotational port associated with the axle that the tire sits on.

H-Mechanical translational port associated with the wheel hub that transmits the thrust generated by the tire to the remainder of the vehicle

Other Blocks used:

1. Solver Configuration - To specify the solver parameters before starting the simulation

2. Signal Builder - To input the Brake, Throttle and CVT Ratio

3. Simulink to PS Converter - To convert the Simulink signal to Simscape environment

4. PS to Simulink Converter - To convert Simscape signal to Simulink environment

5. Mechanical Reference - To make sure all the components are clamped to the ground

6. Rotational free end: The Rotational Free End block represents a mechanical rotational port that rotates freely, without torque.

7. Scope - To display different graphs

8. Display To view the calculated engine power

9. Inertia - To represent the solid inertia

10. Rotational Motion Sensor-To sense the rotational motion from the engine and give output as rpm

11. PS Terminator - Terminator for unconnected physical signal outputs 12. PS Constant-Generate constant physical signal

13. Rotational Free End - For mechanical component (Tire)

14. Custom Measure Gauge - To measure the brake and throttle input

15. Knob To increase, decrease and vice-versa of throttle and brake inputs

16. Lookup Table - To insert the CVT values from the workspace

17. Step - To increase or decrease an input value for a defined time interval

BAJA ATV MODEL WITHOUT DASHBOARD (cvt model)

Main Model

Steps:

i.The throttle signal is generated by signal builder block and inputted to generic engine.

ii.The torque and speed vector are inputted from the matlab workspace

iii.The engine will generate the output rpm which can be taken from the crankshaft output. This speed will be given to the Ideal Rotational Motion Sensor to sense the output rpm.

iv.The same output speed will be given to a simple gear mechanism to reduce the speed where the Gear Ratio is '4'.

v.Then the output speed from the gear reducer will be given to the Variable Ratio Transmission block (CVT).

vi.The CVT ratio is provided to the Variable Ratio Transmission (CVT) block through Signal Builder.

vii.The speed is controlled by the variable CVT ratios and the controlled output speed is inputted to the vehicle axle.

viii. The brake signal is generated by the signal builder and inputted to the vehicle body (Double Shoe Brake) for applying the brake to axle.Schedule Now

ix. The power from the CVT is inputted to the axle and the vehicle accelerates according to the speed.

x.Then the Velocity is taken as output from the vehicle body for further analysis.

Input Singnal:

Throttle Input signal & Brake Input signal :

Throttle start at 0.3 and then it's steps to a 1 at the 20th sec.

The brake input remains zero through the whole simulation.

Torque and speed matlab waorkspace input:

CVT Ratio Input :

CVT ratio start at 2.3,then 5 sec it gradually reduces until it reaches 1.8 at 35th sec and it remains so till the end of the simulation.

Engine sensor sub-Bblocks:

This Subblock measure engine rotational speed as it takes the output of the engine as its input and outputs engine Rpm .

CVT Subblock:

The CVT subblock provides input and the output shaft of the cvt with inertia, and measures the inpt shaft rpm and the output shaft rpm.

Vehicle Body sub-block:

The model shows that the vehicle is rear weel drive as the output from the gearbox is inputeed to the rear axle, then an inertia is added to simulate axle inetria, then the shoe brake converving port is connected to the axle, and then the same axle connects the two rear tyres while the front tyres is free to rotate on a rotational free end. All the tyres H hub ports is connected together and then connected to the vehicle H port, Also the rear tyres N port is connected together and then connected to the vehicle body Nr output ports, while the front are connected to the Nf vehicle body output ports, the vehicle body takes the road inclination and wind velocity from physical contstants.

RESULT:

Torque speed plot:

The torque and speed are inputted from the matlab workspace window to the generic engine block to generate the output RPM accordingly. This plot behavior is generic to all ICE.

CVT Speed reduction plot:

The engine reduced speed is controlled by various CVT Ratios. For verification the maximum RPM is calculated at 1.8 gear ratio which is applicable from the 35th seconds.

Maximum RPM (Before Reducing)= 958.25 rpm

CVT Ratio = 1:1.8

Gear Ratio = Driven/ Driver

1/1.8=Driven/958.25

Driven = 958.25/1.8

Driven = 532.36 RPM

The reduced maximum rpm is 532.36 rpm which can be verified from the plot.

Speed vs. throttle plote:

From the graph we can infer that the brake is not applide during the drive cycle and the Throttle is constant (0.3) till 20 sec and being increased from 0.3 to 1 from 20 sec where it remains constant throughout. With increase in throttle the vehicle speed increased from 30 to 55 kmph.

BAJA ATV MODEL WITH DASHBOARD (cvt Model_Dashboard):

In this model we have a dashboard which contains knobs to control the inputs. In this case, the inputs 'Throttle '&'Brake' are not provided using signal builder. A knob is provided to control both the parameters in real-time for the user.

Dashboard :

User Controls:

RESULT:

Vehicle speed

It can be observed from the graph that the velocity of the vehicle increases drastically from 0 to 50kmph when throttle value is 0.5 % brake input is 0. Once the braking value increases from 0.1 to 0.5, the velocity of the vehicle decrases to 0 at constant throttle value. this explains the direct relation of vehicle velocity with respect to threottle and brake inputs.

CVT Shaft RPM:

BAJA ATV model - Mapped Lookup Table without Dashboard(cvt Model_mapped):

The model workflow process is same as the process of 'BAJA ATV model without Dashboard' except that it used instead of Signal Builder Blocks for Brake and Throttle input step input blocks are used. At 35 sec the brake input will take a step of value '0' and at 20 sec throttle input will increases from 0.3-1 then remain constant throughout.

CVT SUBBLOCK:

The cvt subblock is the same as the previous model "BAJA ATV model without Dashboard" but insteade of Signal Builder Block for CVT Ratio the 2-D Lookup Table is used. The interpolations and extra[olation methods are set to linear. It needs to be loaded in the workspace having the file name as Lookuptsble_data.mat

Lookup Table: A lookup table is an array of data that maps input values to output values to output values, thereby approximating a mathematical function. Given a set of input values, a lookup operation retrieves the corresponding output values from the table. If the lookup table does not explicitly define the input values, simulink can estimate an output value using interpolation, extrapolation, or rounding, where:

- Interpolation is a process for estimating values that lie between known data points.

-Extrapolation is a process for estimating value that lie beyond the range of known rule.

- Rounding is a process for approximating a value by altering its digits according to a known rule.

A lookup table block uses an array of data to map input values to output values, approximating a mathematical function. Given input values, Simulink performs a "lookup"operation to retrieve the corrosponding output values from the table. If the lookup table does not define the input values, the block estimates the output values based on nearby table values.

At last the vehicle speed output is given as a feedback to the 2-D Lookup Table so that we can verify that the velocity of the vehicle is changing perfectly when the CVT Ratio changes. The vehicle speed is converted to m/s from kmph.

RESULT:

cvt ratio plot:

When we compare the above plot, the ratio varies from 2.3 - 1.8 within timespan of 80 sec which is same as the prious BAJA AVT Models. And from 32 sec in the first model. Also the reduction from 2.3 to 1.8 is not perfectl linear as in the first model.

CVT ratio vs. vehicle velocity:

0 to 20 km/hr, the CVT ratio is constant at 2.3

20 to 50 km/hr, the CVT ratio drops down to 2.03

30 to 50 km/hr, the CVT ratio drops down to 1.8

50 km/hr onwards, the CVT ratio is constant at 1.8

Hence, we can concluded that the vehicle accelerates, decelerates and remain constant when the CVT Ratio is being varied.

CVT shaft speed :

Speed vs. throttle plot:

It shows the same result as the first model.

BAJA ATV model - Mapped Lookup Table with Dashboard (cvtModel_dashboard_mpped):

Dashboard (simulation off):

Dashboard (simulation on):

User controls:

The model workflow process is same as the process of 'BAJA ATV model - mapped lokup table wthout Dashboard' but the Throttle and Brake inputs are controlled by the user with the knob followed by the vehicle speed is given as feedback to the CVT Ratio lookup table.

RESULT:

Vehicle Speed:

This graph is similar to that of cvt dashboard case. The variation in vehicle velocity can be observed with change in throttle and brake inputs. With increase in braking value, the speed of vehicle decreases. On the other hand, increasing the throttle leads to increased vehicle velocity.

CVT Shaft RPM:

This graph indicates the variation in rpm of primary and secondary shaft with respect to input parameter.

CONCLUSION:

Thus we have successfully analysed 4 different model of BAJA ATV WITH CVT and recorded the output: (Vehicle velocity & CVT shaft rpm) with respct to variation in input throttle and brake.

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.

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.