Project 1
Project 1
Ans:
The project aims to help you understand the modeling process, simulation, data analysis, and generating plots related to vehicle performance. Here's a summarized breakdown of the tasks:
Project Overview:
- Develop a fuel consumption model for a conventional vehicle using MATLAB and Simulink.
- Use data from the ADVISOR database for a midsize car with a 1.9L engine and 4-speed automatic transmission.
- Simulate the vehicle on different drive cycles (UDDS, HWFET, FTP, NEDC).
Steps to Follow:
-
Load Project1 Folder:
- Set the Project1 folder as the Current Folder in MATLAB.
-
Run "Project1_InitFile.m":
- Execute this MATLAB script to initialize variables and select the drive cycle.
-
Complete Simulink Model ("Project1_VehicleModel.slx"):
- Build the Simulink blocks for the engine and vehicle dynamics based on course materials and provided block images.
- Use 'Scope' blocks for debugging and visualize model outputs.
- Add 'To Workspace' blocks to transfer desired simulation data to the MATLAB workspace.
-
Modify "Project1_ProcessingFile.m":
- Adapt this MATLAB script to perform required calculations and generate desired plots based on simulation data.
- Rename variables if needed, perform post-process calculations.
-
Analyze and Generate Plots:
- Tabulate fuel economy (kmpl) for UDDS and HWFET cycles.
- Plot time traces for engine speed, transmission input/output speed, and wheel speed on a single plot.
- Create subplots for engine torque, power, fuel rate, and consumption.
- Plot accelerator/brake pedal positions, gear command, desired/actual vehicle speed, and distance.
- Plot engine operating points on the engine fuel map.
- Provide comments describing vehicle behavior in each plot.
-
Write Project Report:
- Summarize the project objectives, methodology, and steps taken.
- Include tabulated fuel economy results for UDDS and HWFET cycles.
- Present the generated plots with appropriate labels and captions.
- Add comments explaining vehicle behavior based on plotted data.
- Consider including any challenges encountered and how they were addressed.
MATLAB scripts:
Used to load all the variables required for running the Simulink model and for post-processing. The drive cycle selection is also done here. Before running the Simulink vehicle model, run this initialization script.
lets see simulink model of conventional vehicle,
1.9L ADVISOR data base developed by NREL, USA. Transmission shift map and controller taken Matlab/Simulink example database.
developed capability simulate the vehicle different cycles like HWFET, FTP, etc.
"Project1_InitFile.m" Matlab variables required Simulink post-processing. cycle selection also done here. Before running the Simulink vehicle model, this initialization script
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.
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
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.
n 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.
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. 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:
vehicle dynamics is a multidisciplinary field that encompasses various aspects of vehicle behavior and control. It plays a crucial role in designing, analyzing, and optimizing vehicles for performance, safety, and comfort.
CONCLUSION