The main goal of this project is to get familiar with the modeling process, writing scripts in Matlab, modeling in Simulink, analyzing data and generating plots.
Task: The task of this project is to compute the fuel economy numbers for the given vehicle (kmpl) on the urban cycle (UDDS) and highway cycle (HWFET). Also, to analyze and understand the vehicle operating points in terms of engine speed, torque, transmission speeds, pedal positions, gear, distance traveled, etc
PROCEDURE:
1) Load the Project1 folder as the Current Folder in Matlab. 2) Run the “Project1_InitFile.m” Matlab script. 3) The provided vehicle Simulink model “Project1_VehicleModel.slx” is incomplete. The engine and vehicle dynamics block contents have been deleted. Build the Simulink blocks by referring to the course lecture and example block images provided. You can run the model and analyze the results using a ‘Scope’ for debugging. 4) Add additional ‘To Workspace’ blocks for transferring the desired Simulink vehicle data into the Matlab workspace. 5) Modify the “Project1_ProcessingFile.m” as per the desired plots and required calculations.
ENGINE BLOCK:
VEHICLE DYNAMICS:
Now running the “Project1_InitFile.m” Matlab script.
%% Skill-Lync -> Hybrid Drives Development
% Project 1 - Conventional Vehicle Model
% By - Ullekh Gambhira
% Description:
%% Initialization File
% Initialization file for loading the variables for the Conventional vehicle simulation model
%% Vehicle Parameters
M = 1500; % Vehicle weight [kg]
Cr = 0.015; % Rolling resistance coefficient
Rw = 0.35; % Rolling radius [m]
Cd = 0.33; % Drag coefficient
Af = 2; % Frontal area [m2]
rhoa = 1.225; % Air density [kg/m3]
Vwind = 0; % Wind velocity [kmph]
g = 9.81; % Gravitational acceleration [m/s2]
theta = 0; % Slope [deg]
myu_road_tire = 1; % Coefficient of friction between tire - road interface
From the 5.1.1 plot we can observe that acelerator and brake are evenly used to drive the vehicle. In this case both are non linear.
From the 5.1.2 plot transmission input and output also non linear and normally transmission input is more compare to transmission output speed due to engine operating speed. The time trace to reach that speed is high for input and output.
From 5.1.3 plot gear shifting is frequently changes due to uneven speeds of drive cycle,same thing we can see in the plot.
From the plot 5.1.4 actual speed and vehicle speeds are varying in different speeds. The difference between these two is very high.
From the plot 5.1.5 normally distance increase with time increase.
From the 4.1.1 , 4.1.2 and 4.1.3 we can see that engine torque, engine power and engine fuel rate are non linear with time they are varying with the time.
From the 4.1.4 plot we can see fuel consumption increasing with time.
ENGINE OPERATING AND FUEL EFFICIENCY MAP OF UDDS:
Engine fuel efficiency map is generated using Engine torque and Engine speed.
As Engine speed increases engine torque is also inceasing.
PLOTS FOR HWFET:
From the 5.1.1 plot we can observe that acelerator and brake are evenly used to drive the vehicle. In this case both are non linear.
From the 5.1.2 plot transmission input and output also non linear and normally transmission input is more compare to transmission output speed due to engine operating speed. The time trace to reach that speed is high for input and output.
From 5.1.3 plot gear shifting is frequently changes due to uneven speeds of drive cycle,same thing we can see in the plot.
From the plot 5.1.4 actual speed and vehicle speeds are varying in different speeds. The difference between these two is very high.
From the plot 5.1.5 normally distance increase with time increase.
From the 4.1.1 , 4.1.2 and 4.1.3 we can see that engine torque, engine power and engine fuel rate are non linear with time they are varying with the time.
From the 4.1.4 plot we can see fuel consumption increasing with time.
ENGINE OPERATING AND FUEL EFFICIENCY MAP OF HWFET:
Engine fuel efficiency map is generated using Engine torque and Engine speed.
As Engine speed increases engine torque is also inceasing.