Project 1
Deals with the development of a forward energy-based fuel consumption model of a conventional vehicle.
Aim:-
1.Build Simulink model using blocks and complete the vehicle model.
2. Writting scripts in MATLAB to load all the variables required for running the Simulink model.
3. Tabulate the fuel economy numbers (kmpl) for UDDS and HWFET cycle.
4. Plot the time trace for engine, transmission input, transmission output and wheel speed on one plot.
5. Plot engine torque, engine power, fuel rate and fuel consumption using subplots.
6. Plot accelerator and brake pedal, gear command, vehicle desired and actual speed, vehicle distance using subplots.
7. Plot the engine operating points on the engine fuel map.
8. Generate the plots for both drive cycles.
9. Study of Conventional vehicle simulink model and creates graphs.
Conventional Vehicle:-
Conventional vehicles use an internal combustion engine fueled by gasoline or diesel to power the wheels. In this the heat engine uses the principle of heat release through combustion of a fuel with an oxidizer in a combustion chamber to create expanding gases which pushes against a piston creating forcce and torque output.In this vehicle engine converts chemical energy stored in the fuel into heat which is used to produce useful work. Typically use fossil fuels like petroleum (petrol and diesel).
The most popular type of engine is used in this system is 4 stroke reciprocating engine. Engine in cyclinder process can be represented by ideal thermodynamic cycles such as Otto cycle, Diesel cycle. Otto cycle is a ideal cycle thet describes the cycle process for spark ignited SI engine. and the Diesel cycle is the ideal cycle thet describes the cycle process for a compression ignited CI engine.
Energy and performance of vehicle:-
In this system trge power demand on the wheel need to instant supplied by the powertrain. In otyher word the power coming from the powertrain dictates the power demand on the wheels (as per performance viz, acceleration, speed etc is determined by it.In tis vehicle the powertrain is consists of an engine connected to the wheels through a transmission therefore the power comes from the engine through the transmission.
Conventional powwertrain efficiency:-
The engine generates power by converting chemical energy stored into the mechanical energy by the process of combustion. This process of energy conversion also has an efficiency and the energy input is in the form of fuel consumption.
Engine power:-
Pe=Te*We
where
Pe=engine power
Te=engine torque
We=engine speeed
Mass fuel Rate:-
Mf=Pe/Ne*Qlhv
wnere:-
Mf =mass flow rate
Pe=engine power
Ne=engine efficiency
Qlhv=lower calorific value
System Dynamics:-
It deals with the modeling of multi domain systems through the use of a unified approach based on a ordinary differential and algebraic equation describing the static and dynamic effects.
Each systems has are two generalised variables-
1] Efforts:- It is generalised force variable. ex- torque, force, voltage, heating value.
2] Flow:- It is the generalised flow/velocity variable. ex:- velocity, current, mass flow rate.
3] Power:- It is the product of the effort and flow variable. It is interchangeable between energy domains.
Energy based models- Element models
To models the internal physical properties of the element and the losses there are basically two kinds of approach.
1] Map based models:- Elements are modeled using maps which characterized the relationship between the input and output , output and losses etc.
2] Analytical models:- Elements are modeled using physical equation that represent the internal dynamics. These are the two extremes most models are a combination of the two with some dynamics models analytically and for some using maps.
In this model We use Forward Model:-
It also known as dynamic simulation. Dynamic models are used for detailed simulations. In this model force/torque/power is the input and the vehicle state variable velocity and acceleration are outputs. The models and simulatios are more realistic due to phhysical casualty hence appropriate for control development. There is feedback loop to meet the desired vehicle state. It is mainly used to simulate a vehicle on a driving cycle to analyse the dynamic behaviour of the system helps significantly in control development.

NOW START MATLAB CODING:-
INIT_FILE.M
PROCESSINGFILE.M
Control Model:-The ‘Controller’ block is the brains of the vehicle, representing the electronic controls units. It is based on the driver inputs, it generates desired engine torque, desired transmission gear and desired brake torque. These inputs are fed to the ‘Powertrain’ block which represents the drivetrain of the vehicle.
Engine control Unit:-In this control model We use engine control unit in that give input Engine speed through creating look up table. in that table we give input Maximum torque and map speed then also create 2nd look up trable in that give input ct torque and map speed then it substracts and multiplied. the engine speed also give to ideal contro speed to integrate from this we meet output of engine required torque.
Transmission Control Unit:-In this unit we create steadfy flow variable state for controlling of gears of vehicle as in ascending and descending order with respect to time, speed, distance. and give input to this steady state is vehicle speed in m/s to mph.
PowerTrain:-The powertrain encompasses every component that converts the engine's power into movement. This includes the engine, transmission, the driveshaft, differentials, axles; basically anything from the engine through to the rotating wheels.
Engine:-In this model we used map based model to model the fuel consumption of engine. It is based on maximum Torque and minimum torque from the controller. and then it saturated torque and give output then saturated torque and speed map give fuel consumption takes the speed and torque then the output goes into saturated then its integrated.
Transmission:-In these model we take engine torque, gear selector from controllerb for transmission of gear ratio. The ratio is multiply by transmission input torque and then the transmission efficiency positive torque and negative torque gives transmission input speed. In this case torque converter connects the engine to transmission it is part of transmission. In it basically engine dynamics and that is decoupled.
Differential:-In this taking input is the transmission output then its going to the differential ratio multiplied the output and input torque then meet axle torque. The axle torque is a lower than the transmission torque and differential ratio.
Wheels:-In this model we take the axle torque from differentail and brake torque from controller. it is substracts and multiplied rolling radius and velocity then we meet the tractive force from axle and brake torque. and the wheelspeed is meet using velocity.
Vehicle Dynamics:-In this takes tractive force and road load. It is dictates vehicle speed based on tractive force and road load.
the dynamic equation for calculating road load is
FORCE IN AERODYNAMIC
F_aero=1/2*rhoa*Af*Cd*(Vv+-Vw)^2
Where
F_aero=force in aerodynamic in N
Rhoa=air density
Af=frontal area
Cd=drag coefficient
Vv=velocity in vehicle m/s
Vw=velocity of wind m/s
FORCE IN ROLLING RESISTANCE:-
F_rr=Cr*M*g*cos(theta)
Where
F_rr=roling resistance force in N
Cr=rolling coefficient
M=total mass in kg
G=gravitional acceleration m/s^2
Theta=slop angle
ACCELERATION FORCE:-
F_a=M*a
Where
F_a=acceleration force N
M=total mass in kg
a= acceleration m/s^2
GRADING FORCE:-
F_g=M*g*sin(theta)
Where
F_g=grading force
M=total mass in kg
G=gravitional acceleration m/s^2
Theta=slope angle
TOTAL FORCE:-
F_t=F_aero+F_rr+F_a+F_g
We compute the Fuel economy numbers using UDDS and HWFET cycle:-
1] UDDS Drive cycle
1] Time VS Speed:- In this the speed is increasing continuously.

2] Aerodyanamic drag:- Drag as increase when the power increase.

3] Rolling Resistance:- Its also increase when power is increase wrt time.

4] Total power = aerodynamic drag+rolling resistance+inertial resistance

Conclusion:-
Total Power is increase slowly as increasing rolling resistance, aerodynamic drag and inertial resistance.
2] HWFET Drive Cycle:-
1] Time VS Speed:- Speed is continuosly increase wrt time.

2] Aerodynamic Drag:- Drag as increase when the power increase.

3] Rolling Resistance:- In this resistance is decrease wrt time.

4] Total Power:- aerodynamic drag+rolling resistance+inertial resistance

Conclusion:-
Total Power is increase slowly as increasing aerodynamic drag and inertial resistance. but in this drive cycle bad impact occurs due to decreasing rolling resistance.
Result:-
As comparing both cycles we used to UDDS drive cycle. Its best for asses of fuel consumption and Pollutants emission of vehicle in a normalised way.