Project 2
AIM:
To Develop a model for forwarding Energy based fuel consumption model of a P1 type Hybrid Vehicle.
Objectives:
- Tabulate the fuel economy numbers (kmpl) for UDDS and HWFET cycle. Compare these numbers with the baseline numbers for conventional vehicle.
- 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.
- Plot motor speed, torque, motor input power using subplots.
- Plot pack voltage, current and SoC using subplots.
- Plot the motor operating points on the motor input power map, with the motor max motoring and generating torque curves.
- Generate the plots for UDDS and HWGET drive cycles.
Theory:-
P1 Mild Hybrid Electric Vehicle:-
Honda chose the P1 architecture for their first-generation Integrated Motor Assist (IMA) technology because it allows the electric motor to be connected directly to the crankshaft. The electric motor serves as a generator, an engine starter, a motor (to help the engine), and a generator during vehicle braking. The fact that the electric motor can deliver more torque than the BiSG because there is no belt restriction is one of the solution's main benefits (due to slip). The torque demands on the electric motor, however, can be fairly high because there is no speed to torque relationship between the electric machine and crankshaft.

Two examples of P1 MHEV architectures are:
- Honda Insight Hybrid 2009 (with Integrated Motor Assist technology)
- Mercedes Benz S400 Bluehybrid 2010
For example, the main characteristics of the P1 MHEV.
1. ELectric Machine Performance:-
Maximum torque up to 34 Nm.
Maximum power: 10KW
Efficiency: Up to 94 Percent
2. Hybrid Modes:-
Idle stop and stop
Moving stop and start
Engine load shift
Torque assist
Torque boost
Energy recuperation
Brake generation
3. Advantages:-
Higher efficiency
The 12V starter can be removed
4. Disadvantages:-
Output torque limited by thje size of the elctric machine
Energy recuperation affected by engine friction losses
High impact on existing vehicle architecture
Higher overall cost of the electrical components
Air cooling not possible for electric machine
5. Overall charcteristics:-
Toruqe Boosting capacity: High
Electrical energy recuperation: Medium
Driveability improvements: Medium
Electrical Creep/drive: Possible
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.
Vehicle Model:
Process:-
Load the Project2 folder as the Current Folder in Matlab.



The four situations we created in this were stop, start, drive, and regenration braking. The halt condition is represented by the first block. wherein the engine is turned off. There is no throttle applied to the engine or the motor. The second block represents the commencement condition after that. When the electric motor is in mode 1, the throttle is solely used to give the car the necessary torque and power. Engine throttle condition is zero and the engine is not running.
The links connect states 1 and 2, so when acceleration is less than one or SOC is less than the minimum SOC, it switches between states 1 and 2.
State 3 represents mode 2, meaning that the engine is running and that the driver has applied a positive value to the engine throttle, but that the electric motor throttle is at zero. When the engine speed is greater than or equal to the engine idle speed, it transitions from state 2 to state 3.
Model 3's regenrative braking is represented by state 4, The engine is running in this situation, but the driver is not controlling the engine throttle, while the electric motor receives negative power from braking.
Acceleration, barke, engine speed, vehicle speed, SOC, and clutch lockup are the inputs for the chart.
Mode, engine condition, engine throttle condition, and electric motor throttle condition are the outputs we get from the chart.

Engine Control:
engine control system Give the engine block the necessary torque command by comparing engine speed to the lookup table's maximum and lowest torque curves. To estimate the torque input needed for the engine, the throttle input is combined with the idle speed throttle and gains with the torque output from the lookup table.

Transmission control:
The transmission control block controls the gear shifting using the study flow Variable chart.

Shiftlogic:

Threshold Value:

Electric motor control:

Brake control:
It calculates brack torque anth then all three control signals output is given to powertrain.

Powertrain:
All the parts that transform an engine's power into motion are included in the powertrain model. This includes the subsystems for the vehicle's body dynamics as well as the engine, battery pack, electric motor, crank hub, transmission, differential, wheels, and wheels. The appropriate blocks in the powertrain model get the control signals from the control model through a bus.

Engine:
To model the engine's fuel consumption in this model, we used a map-based model. It is based on the controller's maximum torque and minimum torque. and then it takes the speed and torque, goes into saturated output, and then gives the output before saturated torque and speed map produce fuel consumption.

Electric motor:

Crankhub:
The transmission block receives the crank torque from the crank hub after adding the EM torque and engine torque.

Transmission:
We add engine torque and a gear selection from a controller for gear ratio transmission in these models. The gearbox input speed is determined by multiplying the ratio by the transmission input torque, positive torque, and negative torque, respectively. In this instance, the torque converter is a transmission component that connects the engine to the transmission. It essentially has decoupled engine dynamics.

Torque converter:

Differential:
In this block, the differential ratio and differential efficiency are multiplied with the transmission output torque to produce the axle torque, which is then sent to the wheel.

Wheel:
To calculate the tractive force, the axle torque from the control model is subtracted from the brake torque, which is then divided by the rolling radius.
The vehicle velocity is used to calculate the Wheel speed, which is then saved in the workspace.

Vehicle dynamics:
The "Vehicle Dynamics" block displays the vehicle's longitudinal dynamics as well as the road load.
Formula:-
(ηt * λt * Te)/Rω = M(dVveh/dt) + (1/2)* ρa*Af *Cd(Vveh + Vωd)^2 + Cr*M*g*cosθ + M*g*sinθ
(ηt * λt * Te)/Rω = Tractive force
(1/2)* ρa*Af *Cd(Vveh + Vωd)^2 + Cr*M*g*cosθ + M*g*sinθ = Road load
Where,
ρa = Air density
Af = Frontal area
Cd = Drag coefficient
Cr = Rolling coefficient
M = Mass of vehicle
g = accelaration due to gravity
θ = Slope

Battery:
The current from the battery is taken into account in the battery based on the input power requirement from the motor. And using a method known as coulomb counting, the SOC level of the battery is determined depending on the current drawn. The SOC level of the battery determines the battery's voltage, thus that voltage is used to calculate the open circuit voltage.

Terminal voltage:

Pack current:

Post-Processing:
Fuel Economy Numbers for project 2
| S.No | Drive cycle | Fuel Economy Number (KMpl) |
| 1 | UDDS | 15.0773 |
| 2 | HWFET | 17.1613 |
As can be seen, HWFET has higher fuel efficiency than UDDS. This is due to the fact that when driving in cities, there is more traffic, stops are required more frequently, and gasoline consumption is higher at first. Because there is no traffic and the car is moving without excessive braking during HWFET, the fuel economy rating is higher.
Fuel economy numbers for project 1
| S.No | Drive cycle | Fuel Economy Number (KMpl) |
| 1 | UDDS | 14.209 |
| 2 | HWFET | 16.503 |
When we can see, project 2's fuel economy figures are a little higher than project 1's because it has an electric motor installed. Because project 2 is a P1 hybrid, the fuel economy may not vary much, but as we add additional architectural features, it will rise dramatically.
Q.2.
Plot the time trace for engine, transmission input, transmission output and wheel speed on one plot.
UDDS drive cycle:

HWFET drive cycle:

Compared to HWFET drive cycle, the graph is more unstable during UDDS drive cycle. Because HWFET has fewer starts and stops than UDDS, this is the case. Compared to HWFET, UDDS requires more braking.
Q.3.
Plot engine torque, engine power, fuel rate and fuel consumption using subplots.
UDDS drive cycle:

HWFET drive cycle:

Vehicles used more power throughout the UDDS drive cycle since they had to make more starts and stops than HWFETs in metropolitan areas. UDDS drive cycles have higher engines than HWFET drive cycles because when a vehicle is started from a standstill, more torque is needed to overcome static friction.
In comparison to UDDS drive cycle, the fuel rate is higher in the HWFET drive cycle because it will be moving continuously and require more fuel. Because the UDDS cycle involves numerous starts and stops while the engine is in the idle position, the HWFET has a high fuel efficiency.
Q.4.
Plot accelerator and brake pedal, gear command, vehicle desired and actual speed, vehicle distance using subplots.
UDDS drive cycle:


HWFET drive cycle:


Due to the frequent starts and pauses, the accelerator and brake pedals in UDDS experience greater variations. However, because there won't be any frequent stops, the brake pedal fluctuations in HWFET are almost close to the zero line. The first and second gears are used frequently in UDDS cycles, whereas the third and fourth gears are rarely used because the cycle cannot reach high speeds in such traffic. The car runs primarily in third and fourth gears during the HWFET cycle because it will be travelling quickly.
Q.5.
Plot the engine operating points on the engine fuel map.
UDDS drive cycle:

HWFET drive cycle:

On the fuel map, the engine operating point is shown, and it is below the maximum torque curve.
Q.6.
Plot motor speed, torque, motor input power using subplots.
UDDS drive cycle:

HWFET drive cycle:

As the objective of the motor in the P! hybrid is the starting of crank rotation, the variations will be greater in the UDDS cycle compared to the HWFET cycle because UDDS has more starts and stops as a result of traffic. Both cycles would have higher fluctuations if the motor's goal were to provide traction.
We can see that the motor power and torque in the HWFET start out very high and quickly drop to nearly nothing, but in the UDDS, there are continuous variations. This is due to the frequent braking in the UDDS.
Q.7.
Plot pack voltage, current and SoC using subplots.
UDDS drive cycle:

HWFET drive cycle:

Due to the many starts and stops throughout the drive and the battery's need to supply energy each time the car is started from the idle position, the pack voltage and current will fluctuate more in UDDS than in HWFET cycle.
Q.8.
Plot the motor operating points on the motor input power map, with the motor max motoring and generating torque curves.
UDDS drive cycle:

HWFET drive cycle:

Q.9.
Fuel economy Vs Fuel consumption
UDDS drive cycle:

HWFET drive cycle:

Conclusion:-
The various performance of characteristics and operating points of UDDS drive cycle and HWFET drive cycle are analysed and the graphs are plotted
- Time trace for engine, Transmission input, Transmission output and wheelspeed with respect to time.
- Engine torque, Engine power, Fuel rate and Fuel consumption with respect to time.
- Accelerator and brake pedal, gear command and vehicle desired, actual speed, vehicle distance with respect to time.
- Engine operating points on the engine fuel map with respect to time.
- Motor speed, Torque, Motor input power with respect to time.
- Pack voltage, Current and State of charging with respect to time.
- The motor operating points on the motor input power map with respect to time.
and also it comparing with HWFET drive cycle and their numbers also compared.
Note : Modified proect1 simulink file is attached with this answer body.