Project 1
ANSWERS:
%% 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
%% Powertrain Parameters
FDR = 3.73; % Final Drive Ratio / Diff Ratio
DiffEff = 0.99; % Differential efficiency (assumed independent of operating conditions)
NumGear = 4; % Number of gears in transmission
TransGear = [1:NumGear]; % Transmission Gears
TransRatio = [3.06, 1.62, 1, 0.7]; % Corresponding Transmission ratios
TransEff = 0.90; % Transmission efficiency (assumed independent of operating conditions)
TC_SR = [0, .5, .6, .7, .8, .87, .92, .94, .96, .97, 1]; % Torque Converter Speed Ratio (Matlab default) -> TurbSpd/PumpSpd
TC_TR = [2.232, 1.5462, 1.4058, 1.2746, 1.1528, 1.0732, 1.0192, 1, 1, 1, 1]; % Torque Converter Torque Ratio (Matlab default) -> TurbTrq/PumpTrq
TC_Cf = 1e-4 * [.72558, .66322, .63463, .59042, .51331, .4144, .29287, .22444, .12186, .04386, 0]; % Torque Converter Capacity Factor (Matlab default) -> PumpTrq/PumpSpd^2 [Nm/rpm^2]
load Vehicle_Data/Engine_data_1_9L_Saturn_95kW
load Vehicle_Data/Trans_Shift_map
%% Driver Parameters
Kp = 10; % P gain for driver PI model
Ki = 1; % I gain for driver PI model
Drive_Cycle_Select = 1; % Drive cycle selection
% Drive cycle values in m/s
if Drive_Cycle_Select == 1
load DriveCycles/UDDS;
elseif Drive_Cycle_Select == 2
load DriveCycles/HWFET;
elseif Drive_Cycle_Select == 3
load DriveCycles/FTP;
elseif Drive_Cycle_Select == 4
load DriveCycles/US06;
elseif Drive_Cycle_Select == 5
load DriveCycles/NEDC;
elseif Drive_Cycle_Select == 6
load DriveCycles/WLTP;
end
Simulink Modeling:
Driver Model:

Driver Modeling is the basic generates accelerator and brake pedal output.
Controller Model:

Controller model consists of engine control unit,transmission control unit,brake control unit.
Engine control unit:

Idle speed controller:

Transmission control Block:


The gear shifting is used to control the vechile speed and throttle input.
Brake control unit:

Brake control unit is used to control the brake pedal.
Power train model:

Power train is used to convert the power of engine to vechile motion.
Engine model:

Transmission Model:

Torque Converter:

Differential Model:

Wheel model:

Vehicle dynamics:

SIMULATION RESULTS:
1. UDDS Drive Cycle
Drive Cycle and Actual Velocity :

Control Signal (Engine Torque, Transmission Gear and Brake Torque) :

Engine Fuel Rate and Fuel Consumption :

Engine Troque :

Gear Ratio, Transimission Input and Output Speed :

Different Road Load :

Tractive Force, Road Load and Acceleration :

2. HWFET Drive Cycle
Drive Cycle and Actual Velocity :

Control Signal (Engine Torque, Transmission Gear and Brake Torque) :

Engine Fuel Rate and Fuel Consumption :

Engine Troque :

Gear Ratio, Transimission Input and Output Speed :

Different Road Load :

Tractive Force, Road Load and Acceleration :

CONCLUSION
- Hence, the forward energy-based fuel consumption model of a conventional vehicle has been successfully
- Simulated using MATLAB and Simulink.
- Successfully calculated vehicle fuel efficiency numbers (kmph) for the given city cycle (UDDS) and highway cycle (HWFET).