Project 1
Projet - 1;
Development Of a Forward Energy-Based Fuel Consumption Model Of a Conventional Vehicle
Aim:
- Computes fuel consumption values for a given vehicle (kmpl) in city cycles (UDDS) and highway cycles (HWFET). It also analyzes and understands the vehicle's operating point in terms of engine speed, torque, transmission speed, pedal position, gear, mileage, and more.
- To create the simulink model using the block as per needed and completed the Engine and Vehicle dynamics
- Then return the script file for the matlab and load all variable need to run the simulation file
Objectives:
- Tabulate the fuel economy numbers (kmpl) for UDDS and HWFET cycle
- 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
Theory:
- Conventional Vehicle:
- A car or automobile is a motor vehicle with wheels. Most definitions of a car are that it drives primarily on roads, carries one to eight people, has four wheels, and primarily carries people (not things).
- Conventional vehicles use an internal combustion engine powered by gasoline or diesel to drive the wheels. A heat engine utilizes the principle of burning fuel along with an oxidant in a combustion chamber to release heat to produce expanding gases that push a piston, producing power and torque.
- Energy and performance of the vehicle:
- In this system the power demand at the wheels must be provided immediately by the powertrain. In other words, the power from the drivetrain determines the power demand of the wheels (after power, i.e. acceleration, speed, etc., is determined by it).
- In this vehicle, the powertrain consists of the engine connected to the wheels via a gearbox, so power from the engine is delivered through the gearbox
- System Dynamics:
- Address the modeling of multidomain systems using a unified approach based on ordinary differential and algebraic equations describing 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:
- There are basically two approaches to modeling the internal physical properties and losses of elements.
1. Map based models:
Elements are modeled using maps that characterize the relationships between inputs and outputs, outputs and losses, and so on.
2. Analytical models:-
Elements are modeled using physical equations that describe their internal dynamics. These are extremes, most models are a combination of both, and some models use dynamics models analytically or for maps.
- Forward Model:
- Forward model otherwise called as dynamic simulation. These were used for the detailed simuation
- Force/Torque/Power are the input and the Vehicle state variable velocity and accleration are output
- Model and Simulation are more realistic due to physical construction hence appropriate for control development
- There is a feedback loop to meet the desired vehicle state and there are slower simulation due to the dynamics
- Approach's mainly used to simulate a vehicle on a drving cycle to analyse the dynamic behavior of the system, helps signigicantly in control development
- Below image reperesent about the architeccture of the forward conventional vehicle model
Vehicle Model:
- The project envisions a typical medium-sized car with a 1.9-liter engine and a 4-speed automatic transmission. Data are taken from the ADVISOR database developed by NREL, USA. The gear schematic and controller are taken from the Matlab/Simulink sample database.
- The developed models can simulate vehicles in different driving cycles such as UDDS, HWFET, FTP, NEDC.
- Pre-Processing:
"Project1_InitFile.m" is a Matlab script used to load all the variables required for running and post-processing the Simulink model. The drive cycle is also selected here. Run this initialization script before running the Simulink vehicle model.
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
- Simulink Model:
- A Simulink model of the convection model is built with three main sub-blocks: the driver model, the control model, and the powertrain block.
- Actual vehicle speed is provided as feedback to the driver block, which provides the required acceleration or braking force to the controller block, and the controller block provides control signals for engine torque, gear shift, and braking torque to the powertrain model. To do.
- Driver:
- The driver model is a basic PI controller that generates accelerator and brake pedal outputs to match the desired and actual vehicle speed.
- Based on these consumption and emissions results, the vehicle uses a certified driving cycle and forms a uniform standard for evaluation. It is based on time and speed, all integrated to generate the output accelerator and brake pedals.
- Controller Unit:
The "controller" block is the brain of the vehicle and represents the electronic control unit. Based on driver input, it produces the desired engine torque, desired transmission gear, and desired brake torque. These inputs are sent to the "Powertrain" block, which represents the vehicle's powertrain.
1. Engine Control Unit:
- Engine Controller Compares engine speed to the maximum and minimum torque curves in the lookup table and gives the required torque command to the engine block.
- The throttle input is combined with the idle speed throttle and the torque output from the lookup table is used to increase the gain to estimate the required torque input to the engine.Gas input, idle gas and their totals can be obtained from this block.
- Ideal Speed Controller
2. Transmission Control Unit:
- This block conntrol the gear shifting using study flow variable chart
- Controls shifting according to vehicle speed and throttle input.
- Shift Logic
3. Brake Control Unit:
- Brake Control Unit Generates the required braking torque in response to brake pedal input and transmits braking torque to the wheel blocks in the transmission model.
- Powertrain Unit:
- This unit do conversion of the given input to the desired output like we given input as the fuel in the form of chemical energy that convert into the mechanical energy in the form of the vehicle movement
- This block consist of the Engine, Transimission, Differential, Wheels, and also Vehicle Dynamics
1. Engine:
- Based on engine speed, the required torque from the controller saturates between the maximum and minimum torque curves, passing engine torque to the transmission block.
- A 2D lookup table is used to calculate fuel flow based on engine speed and torque. The fuel flow is then integrated to determine fuel consumption.
- The estimated fuel flow, fuel consumption, engine torque, and engine speed are passed to the MATLAB workspace using the To Workspace block.
- Engine fuel flow and fuel consumption are recorded.
2. Transmission:
- The Engine block has connected through the transmission block it has automatic transmission system were it has torque convertor. it convert the engine power into torque in the vehicle movement stage
- In this block, the transmission-controlled gear selection is multiplied by the engine torque and the torque converter efficiency and engine dynamics are transferred to this model.
- Torque Convertor
3. Differential:
- In this block, the transmission output torque is multiplied by the differential ratio and the differential efficiency, and the resulting torque is transmitted to the wheels as axle torque.
4. Wheels:
- The brake torque from the control model is subtracted from the axle torque and divided by the turning radius to determine tractive force.
- Wheel speed is calculated from vehicle speed and saved in workspace.
5. Vehicle Dynamics:
- The "Vehicle Dynamics" block shows the longitudinal dynamics of the vehicle along with the road load
- Tractive Force and Road loads are used to calculate the vehicle velocity
- Where
ρ a - Air Density
A f - Frontal Ares
C d - Drag Coefficient
C r - Rolling Coefficient
M - Mass of Vehicle
g - Acceleration due to gravity
θ - Slope
- Simulation Result:
1. UDDS Drive Cycle:
- Drive and Velocity Cycle
- Controller Signal like Engine torque, Gear Cammand, and Brake torque
- Engine fuel rate and Fuel consumption
- Engine Torque
- Gear ratio, Transmission Input Speed, and Transmission Output Speed
- Aerodynamic drag, Gradient load,Rolling load
- Tractive force, Road Load, and Accleration
2. HWFET Drive Cycle:
- Drive and Velocity Cycle
- Controller Signal like Engine torque, Gear Cammand, and Brake torque
- Engine fuel rate and Fuel consumption
- Engine Torque
- Gear ratio, Transmission Input Speed, and Transmission Output Speed
- Aerodynamic drag, Gradient load,Rolling load
- Tractive force, Road Load, and Accleration
- Post-processing:
Another file were created and given named as 'Project1_FinialFile.m',it has do some basic post process for the evalute the model and some of ouput were created and show in form of the graph
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
<![endif]-->
- Result:
1. Drive Cycles:
- UDDS Drive cycle:
- HWFET Drive cycle:
2.Fuel economy numbers (kmpl)
- UDDS Fuel Economy
- HWFET Fuel Economy
3.The time trace for engine, transmission input, transmission output and wheel speed
- UDDS
- HWFET
4.Engine torque, engine power, fuel rate and fuel consumption
- UDDS
- HWFET
5. Accelerator and brake pedal, gear command, vehicle desired and actual speed, vehicle distance
- UDDS
- HWFET
6.The engine operating points on the engine fuel map
- UDDS
- HWFET
- Conclusion:
- Analyze and understand your vehicle's operating point based on engine speed, torque, transmission speed, pedal position, gear and mileage.
- Post-processing calculations have been performed and the required figures have been drawn successfully.
- You have successfully calculated fuel efficiency values (kmpl) for vehicles for the specified city cycle (UDDS) and highway cycle (HWFET) '
- Files:
- The Model files were uploaded in named has "Project1_VehicleModel.slx"
- There also uploaded files were the pre-processing and post processing in the name as "Project1_InitFile.m" and "Project1_FinialFile.m"
- The output also uploaded in the image formate
- Then Drive cycle file also uploaded in named as "UDDS.mat" and "HWFET.mat"