Project 1
Aim :
- Development of a forward energy-based fuel consumption model of a conventional vehicle.
Objective:
- Tabulate the fuel economy numbers (kmpl) for UDDS and HWFET cycle. This forms the baseline numbers for comparing with the future hybrid version.
- Plot the time trace for engine, transmission input, transmission output and wheel speed on one plot.
- Plot engine torque, engine power, fuel rate and fuel consumption using subplots.
- Plot accelerator and brake pedal, gear command, vehicle desired and actual speed, vehicle distance using subplots.
- Plot the engine operating points on the engine fuel map.
- Write down appropriate brief comments on each of these plots, describing the vehicle behavior throughout the drive cycle.
- Generate the plots for both drive cycles.
Introduction –
Conventional fuel vehicles are vehicles that are powered by an internal combustion engine and run on fossil fuels such as petrol or diesel. These vehicles are the most common type in the world and emit significant amounts of carbon dioxide and other pollutants into the atmosphere.

The engine-to-wheel, rear-to-front, and cause-and-effect methods are other names for the forward modelling methodology. Calculation flows from engine to wheel in the same direction as positive power flow.
This method is based on equations for vehicle dynamics, the behavior of individual powertrain parts, and their dynamic interplay.
Moreover, a driver controller is necessary to set the calculation start time and operate the vehicle to follow a chosen speed. The controller is set up to simulate how the driver will operate the brakes or the accelerator to match the intended speed, allowing for the study of driver behavior. The controller is utilized as a feedback loop component to calculate the energy necessary to power the vehicle.

Conventional Powertrain Efficiency:
For a Conventional IC engine vehicle, the wheel power is supplied by the engine through the transmission drivetrain efficiency.

The engine generates power by converting chemical energy stored in the liquid fuel into mechanical energy by the combustion process
This process of energy conversion also has an efficiency vehicle, the wheel power is supplied by the engine through the transmission drivetrain efficiency and the energy input is in the form of fuel consumption.

For an IC engine vehicle, even if the power at the wheels is zero, the engine is idling and still consumes some fuel to overcome the engine drag loss and keep it spinning. This is the idling fuel consumption and known as idling losses
Therefore, the formula mentioned previously is applicable only when the wheel power is strictly positive.
When the wheel power is negative, either the engine is disengaged and idling or the engine is engaged and providing some engine braking due to the engine drag losses.
The engine is consuming fuel when it is idling, but even for engine braking, the engine might be consuming some fuel.
In modern engines, fuel is cut-off when decelerating/engine braking to reduce fuel consumption.
Forward energy-based 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 simulations are more realistic due to physical 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 analyze the dynamic behavior of the system helps significantly in control development.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Skill-Lync -> Hybrid Drives Development
% Project 1 - Conventional Vehicle Model
% By - Ganeshram D
Simulink model of conventional vehicle: In this project, a typical midsize car with a 1.9L engine and a 4-speed automatic transmission is considered.
The Simulink model for the convection vehicle model having 3 main subsystem for the driver model, control model and powertrain block.
The actual vehicle speed is given as feedback to the driver block, and the driver block gives the controller block the required acceleration, torque, brake and power output, while the controller block provides control signals for engine torque, gear shifting and brake torque to the Powertrain model.

Driver Model:
Driver Model is a basic PI controller that generates accelerator and brake pedal outputs to match the desired and actual vehicle speeds. The Proportional and integrator controls the error between desired output and actual speed through feedback controls

Controller Model:
The Controller subsystem having engine, transmission and brake control unit which is act a heart of the conventional vehicle. Based on the driver input appropriate signal is transmitted to the all the sub system to deliver the desired engine torque, desired speed, desired brake torque. these signals are transmitted to powertrain to deliver driver desired outputs.

Scope Results of Controller:

Engine Control Unit &
Engine Control Unit Compare engine speed with the maximum torque and minimum torque curves of the lookup table and give the required torque command to the engine block.

Idle Speed Controller:
The throttle input is combined with the idle speed throttle and gains with the torque output from the lookup table to estimate the torque input required for the engine.

Transmission Control Block:
The transmission control block controls the gear shifting using the study flow Variable chart. The Gear shifting is Controlled according to the vehicle speed and throttle input. The gear command is passed to the Transmission block to select the desired gear ratio.


Brake Control Unit:
Brake Control unit Produce required brake torque according to the brake pedal input and passes the brake torque in to the wheel block in the transmission model.

Powertrain Model:
The powertrain model includes all the components that convert the power of the engine into vehicle motion. This includes Engine, Transmission, Differential, Wheels and the vehicle body dynamics subsystems.

Engine Model:
Based on the Engine speed The required torque from the controller is saturated between Max torque curve and min torque curve and passes the Engine torque to the Transmission block
The 2D lookup table is used to calculate the fuel flow rate based on engine speed and engine torque. The fuel flow rate is then integrated to find the fuel consumption.
Estimated fuel flow rate, fuel consumption, engine torque and engine speed are passed to the MATLAB workspace using the to-workspace block.

Scope Results of Engine:

Transmission Model:
The engine block is connected to the automatic transmission via a torque converter. The output of the transmission is connected to the differential.

Scope Results of Transmission:

Torque Converter:
The gear selection from the transmission control unit is multiplied by the engine torque in this block, and the efficiency and engine dynamics of the torque converter are applied in this model.

Differential Model:
The transmission output torque is multiplied by the differential ratio and differential efficiency in this block and the torque is transmitted to the wheel as the axle torque.

Wheel Model:
The brake torque from the control model is subtracted from the Axle torque and divides from the rolling radius to determine the Tractive force. The Wheel speed is calculated from the vehicle velocity.

Vehicle Dynamics Model:
The longitudinal dynamics of the vehicle along with the road load is represented in the ‘Vehicle Dynamics’ block

Scope Results of Vehicle Dynamics:

Listing forces different applicable as per the scenario
Tractive effort and resistance are the two main forces that oppose one another and determine the performance of roadway vehicles. Tractive effort is the force exerted against the roadway surface to allow a vehicle to move forward. Resistance encompasses all forces that push back and impede motion. Both of these are in units of force.

Rolling Resistance
Rolling resistance is caused by the interaction of tires with the roadway surface. Three main causes exist that create this resistance. The first is the rigidity of the tire and the roadway surface. The second is tire pressure and temperature. The third is vehicular operating speed.

Aerodynamic Resistance
Aerodynamic resistance is a force that is produced by turbulent air flow around the vehicle body. This turbulence is dependent on the shape of the vehicle, as well as the friction of air passing over the vehicle's surface. A small portion of this resistance comes from air flow through vehicle components, such as interior ventilation.

Grade Resistance
Grade resistance is the simplest form of resistance. It is the gravitational force acting on the vehicle. This force may not be exactly perpendicular to the roadway surface, especially in situations when a grade is present. Angle created between horizontal and the slope is θ. Several industrial vehicle manufacturers call the ability of the vehicle to run on a slope as Gradeability. Unit for gradeability is percent. Gradeability is calculated by multiplying tan θ with 100%.


Acceleration –
Inertia is force that inhibits the vehicle to reach a certain speed in a certain time. It is impossible for vehicle to achieve a certain speed from its idle position without acceleration. Therefore, to get to certain speed, the vehicle should be able to perform acceleration.

Power required at wheels is given by:
The power required at the wheels of a vehicle can be calculated using the formula P = Fv, where P is power, F is force, and v is velocity.

Modified MATLAB Script for Post Processing:
The given MATLAB script is modified to analyze data and generate plots. Here we rename the variables loaded from the model, do some basic post-process calculations and generate results and plots.
Output Results:
#1 Tabulate the fuel economy numbers (kmpl) for UDDS and HWFET cycle.
UDDS Drive Cycle -

HWFET Drive Cycle -

#1 Comments -
The fuel economy of the typical midsize car having a 1.9L engine and a 4-speed automatic transmission is higher in the highway driving condition compare to urban driving condition where frequent stoppage of vehicle can experience.
#2 Plot the time trace for engine, transmission input, transmission output and wheel speed
UDDS Drive Cycle -

HWFET Drive Cycle -

#2 Comments -
In UDDS drive cycle, Due to the frequent stoppage and idle loss, the input speed is facilitated by the torque converter and the transmission input speed fluctuates according to the engine torque required to achieve the drive cycle. But in Highway drive cycle, the speed flotation is comparatively less (almost nil) and no idle losses. Wheel speed and transmission output speed vary according to gear and differential ratio.
#3 Plot engine torque, engine power, fuel rate and fuel consumption:
UDDS Drive Cycle -

HWFET Drive Cycle -

#3 Comments -
In UDDS drive cycle, Due to the frequent stoppage and idle loss, torque, Power requirements are less compared to the HWFET drive cycle which has high torque and power requirements
#4 Plot accelerator and brake pedal, gear command, vehicle desired and actual speed, vehicle distance
UDDS Drive Cycle -

HWFET Drive Cycle -

#4 Comments –
In UDDS Drive cycle, Brake requirements are higher, less accelerator pedals and gear shifts often occur because this drive cycle is running with fluctuating speed, but in HWFET drive cycle Brake requirements are lower, more accelerator pedals are applied on the highway drive cycle, and gear shifts often occur because the drive cycle is smoother
#5 Plot
the engine operating points on the engine fuel map
UDDS Drive Cycle -

HWFET Drive Cycle -

#6 Generate the plots for both drive cycles
UDDS Drive Cycle -

HWFET Drive Cycle -

#6 Comments -
In UDDS drive cycle, velocity/speed of the vehicle is fluctuating over the time due to running in urban roads where the frequent stoppage and idle losses are more compare to High drive cycle.
In HWFET drive cycle, velocity/speed of the vehicle is comparatively less (almost nil) and no idle losses. Hence the distance covered by the high way driven condition vehicle is more compare to urban driven condition driven
Conclusion:
- The forward energy-based fuel consumption model of a conventional vehicle has been successfully Simulated using MATLAB and Simulink.
- Analyses and understands vehicle operating points based on engine speed, torque, transmission speed, pedal positions, gear, and distance travelled.
- Post process calculations were performed and the required graphs were successfully plotted.
- Successfully calculated vehicle fuel efficiency numbers (kmpl) for the given urban drive cycle (UDDS) and highway cycle (HWFET).