All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Aim: To understand the basics of Powertrain Blockset. Objective: To write what is the difference between the mapped and dynamic model of engine, motor and generator? How the model type can be changed? To describe how does the model calculate miles per gallon? and which factors are considered to model fuel…
Avinash Dhotre
updated on 03 Sep 2020
Aim: To understand the basics of Powertrain Blockset.
Objective:
Powertrain Blockset
Powertrain Blockset provides fully assembled reference application models of automotive powertrains, including gasoline, diesel, hybrid, and electric systems. It includes a component library for simulating engine subsystems, transmission assemblies, traction motors, battery packs, and controller models. Powertrain Blockset also includes a dynamometer model for virtual testing. MDF file support provides a standards-based interface to calibration tools for data import.
Powertrain Blockset provides a standard model architecture that can be reused throughout the development process. We can use it for design tradeoff analysis and component sizing, control parameter optimization, and hardware-in-the-loop testing. We can customize models by parameterizing components in a reference application with our data or by replacing a subsystem with our model.
To model a powertrain system for our project, we can select a reference application based on the powertrain type. Each reference application includes plant models, controllers, a longitudinal driver, and drive cycle data.
The reference applications come with a Simulink Projects configuration. Simulink Projects enables management and version control for top-level model files, component model files, and scripts.
Reference applications serve as a starting point for our system model. To tailor a reference application to our powertrain project, parameterize the components in the reference application using data from a domain-specific tool, a test bench, or a vehicle. Depending on our application and powertrain configuration, we might need to select the type of component models and further customize the system model.
The component library in Powertrain Blockset provides blocks of physical systems and controllers for:
All the models in Powertrain Blockset, including the reference applications and components in the library, are fully open for customization. We can use Simulink Projects to manage model variants including variant selection, version management, and comparison.
Powertrain Blockset provides two types of combustion engine models: mapped and dynamic. Mapped engines represent macro engine behaviour as a set of lookup tables (brake torque, fuel flow, air mass flow, exhaust temperature, efficiency, and emissions) as functions of commanded load and measured engine speed. Dynamic engines decompose engine behaviour into individual component models that account for engine dynamics, most notably intake airflow and turbocharger dynamics.
We can switch between engine model types based on your application. Dynamic engine models are suitable for designing control, estimator, and diagnostic algorithms that depend on dynamic subsystem states, for example, in closed-loop AFR control algorithm development. Mapped engine models are suitable for analysis and design activities that do not require engine subsystem dynamic characteristics, for example, in engine and transmission powertrain matching analysis for fuel economy, emissions, and performance tradeoffs.
Both the SI and CI engine models run in real-time for hardware-in-the-loop (HIL) testing.
Q1. a) What is the difference between the mapped and dynamic model of engine, motor and generator?
Mapped
|
Dynamic
|
Mapped Model for Electric Motor
Dynamic Model for Electric Motor
Q1. b) How can you change the model type?
We can switch between mapped and dynamic model types based on the application:
Q2. a) How does the model calculate miles per gallon?
Miles per Gallon: Miles per gallon (MPG) is a fuel economy rating determined by how far a car can travel using one gallon of gasoline or diesel for a conventional IC Engine vehicle. In the case of an electric vehicle, this is a measure of how much electrical energy is consumed by the battery pack to travel a fixed distance.
Per gallon of gasoline-equivalent for electric cars:
Burning one gallon of gas produces 121.3MJ. To generate the same amount of heat by way of electricity, it takes 33.7 kilowatt-hours (kWh). So if an electric vehicle can travel 100 miles on 33.7 kWh of electricity, then we can rate it at as 100 MPGe.
The power train block set has a model that calculates the miles per gallon for all kinds of vehicles.
1. For Conventional Vehicle
2. For hybrid electric vehicles-
3. For electric vehicles-
The model takes an input of vehicle speed, fuel flow and battery power to calculate fuel consumption and the equivalent battery consumption to calculate the miles per gallon.
Vehicle speed & Fuel flow:
Battery Power:
Calculating Miles per Gallon:
Q2. b)Which factors are considered to model fuel flow?
Factors considered in the model fuel flow are Fuel Economy and Fuel Consumption:
1. Fuel Economy:
The fuel economy of an automobile relates distance travelled by a vehicle and the amount of fuel consumed. Consumption can be expressed in terms of volume of fuel to travel a distance, or the distance travelled per unit volume of fuel consumed. Since fuel consumption of vehicles is a significant factor in air pollution, and since the importation of motor fuel can be a large part of a nation's foreign trade, many countries impose requirements for fuel economy. Different methods are used to approximate the actual performance of the vehicle. The energy in the fuel is required to overcome various losses (wind resistance, tire drag, and others) encountered while propelling the vehicle, and in providing power to vehicle systems such as ignition or air conditioning. Various strategies can be employed to reduce losses at each of the conversions between the chemical energy in the fuel and the kinetic energy of the vehicle. Driver behaviour can affect fuel economy; manoeuvres such as sudden acceleration and heavy braking waste energy. However electric cars do not directly burn fuel, and so do not have fuel economy per se, but equivalence measures.
Major Factors Considered in the Fuel Economy:
Vehicle speed
Engine speed
Motor torque
2. Fuel Consumption:
Fuel consumption is the inverse of fuel economy. It is the amount of fuel consumed in driving a given distance.
Q3. a) Run the HEV ReferenceApplication with WOT drive cycle.
Hybrid Electric Vehicle:
A hybrid electric vehicle (HEV) is a type of hybrid vehicle that combines a conventional internal combustion engine (ICE) system with an electric propulsion system hybrid vehicle drivetrain. The presence of the electric powertrain is intended to achieve either better fuel economy than a conventional vehicle or better performance. There is a variety of HEV types and the degree to which each function as an electric vehicle (EV) also varies. The most common form of HEV is the hybrid electric car, although hybrid electric trucks (pickups and tractors) and buses also exist.
Architecture:
In MATLAB using Powertrain Blockset - Design tradeoff analysis and component sizing, control parameter optimization, or hardware-in-the-loop (HIL) testing for HEV-Input Power Split under that exploring Hybrid Electric Vehicle Input Power-Split Reference Application.
Selecting - autoblkhevIpsStart
Simulation Model:
Case I:
For the first block selecting the input drive cycle i.e Wide Open Throttle(WOT), keeping grade as 0 and wind velocity as 0 and other parameters as default.
The simulation is done for Hybrid electric vehicle with Wide open Throttle Drive cycle.
The Total cycle time = 60 seconds
Time to start deceleration = 30seconds
The Grade angle = 0 degree
The wind velocity = 0 m/s
Results:
The above image shows the results for the simulation and it consists of six different plots.
Cursor measurement helps in reading results in a better way. The cursor enables us to study the behaviour of other result parameters corresponding to the acceleration of the vehicle.
Plot 1: Trace Velocity, Target, Actual(mph)
It shows the velocity of the vehicle for the Drive cycle data with the Time scale on the x-axis.
Traced velocity is given as input command & actual velocity is output. The actual graph doesn’t match with input traced velocity due to limited instantaneous current/power available.
The top speed achieved = 63 mph
The acceleration time to reach 63 mph = 11.258 seconds
The deceleration time from 60 to minimum = 3.164 seconds
From the plot, it can be stated that the top vehicle speed achieved very fast i.e within 11 seconds the same speed remains up to 30 seconds. Top speed reach to minimum speed in just 3.16 seconds. Similarly, the cycle continues, the drive Cycle is of 40 seconds and simulation is ran for 60 seconds for a proper conclusion.
Plot 2: Engine Speed, Motor Speed, Generator Speed(RPM)
It shows the changes in the speed of the engine, motor and generator in rpm throughout the drive cycle.
Peak Engine speed = 4787 Rpm
Peak Motor speed = 7437 Rpm
Peak Generator speed = 14610 Rpm
The engine, motor, generator speed is increasing when the vehicle speed is increasing. It can be seen that generators & engine speed have reached the peak values when battery SOC started falling after 40 seconds.
The motor initiates the initial acceleration and is capable to produce enough propulsion power to reach the specified maximum velocity. However, the motor is activated as soon as the maximum velocity is achieved indicating that a combined effort is required to maintain the velocity. The engine continues to operate which in turn is the input for the generator for producing electricity to reach the default SOC as specified in the control strategy.
Plot 3: Engine Torque, Motor Torque, Generator Torque(Nm)
It shows the torque characteristics and its changes of engine, motor and generator in (Nm) throughout the drive cycle.
Peak Engine torque = 143 Nm
Peak Motor torque = 200 Nm
Peak Generator torque = 51 Nm
With Wide-open throttle specification, the motor runs at maximum torque, however, the power distribution stabilizes between the motor and the engine as the vehicle reaches the desired velocity. A negative value for the generator indicates the engine torque is used to charge the battery as well during the propulsion time.
Plot 4: Battery Current (A)
It shows the battery current values (A) and its changes for various acceleration inputs as per the Drive cycle.
The peak current discharge from the battery = 164.63 A
The peak current charging to the battery = -147.68 A
With Wide-open throttle specification, the powertrain draws maximum current from the battery and stabilizes as the conditions are met and the engine is activated. A negative battery current value indicates regenerative braking and charging by the engine.
Plot 5: Battery SOC
It shows the battery state of charge SOC (%) and its changes corresponding to the driving inputs.
The state of charge decreased from 60% to 47.4% of charge in 60 seconds, for the specified driving conditions.
Plot 6: US Fuel economy MPGe
Shows the Fuel Economy as Mile per Gallons for the corresponding input driving conditions.
According to the drive cycle, the vehicle achieved its maximum speed at 11th second and the speed is constant up to 30th second of drive cycle (from plot 1), so it can be observed (from the plot) that fuel requirement is also increasing with the increase in speed till the speed is constant. After this constant speed vehicle speed is decreasing and the vehicle is at lowest speed for next 10-12 seconds and during this, the fuel requirement is also decreasing, and the same drive cycle and fuel requirement is repeated.
Q3. b)Change the grade and wind velocity in the environment block. Comment on the results.
Simulink Model:
Case II:
For the first block keeping the input drive cycle i.e Wide Open Throttle(WOT) same as used earlier, Changing the grade and wind velocity, keeping all other parameters as default.
The simulation is done for Hybrid electric vehicle with Wide open Throttle Drive cycle.
The Total cycle time = 60 seconds
Time to start deceleration = 30seconds
The Grade angle = 8 Degrees
The wind velocity = 10 m/s.
Results:
In all the results some changes can be observed as that of previous results. Though the drive cycle parameters are the same, some changes in the environment block such as grade angle and wind velocity lead to changes in final results.
Plot 1: Trace Velocity, Target, Actual(mph)
It shows the velocity of the vehicle for the Drive cycle data with the Time scale on the x-axis.
Traced velocity is given as input command & actual velocity is output. The actual graph doesn’t match with input traced velocity due to limited instantaneous current/power available.
The top speed achieved = 60 mph
The acceleration time to reach 60 mph = 22.21 seconds
The deceleration time from 60 to minimum = 2.79 seconds
It can be observed that the top speed achieved with these conditions is less than the earlier case and time required to reach the top speed is also higher. The vehicle does not reach the desired velocity which can be attributed to the steep gradeability and high resistance force by the wind.
Plot 2: Engine Speed, Motor Speed, Generator Speed(RPM)
It shows the changes in the speed of the engine, motor and generator in rpm throughout the drive cycle.
Peak Engine speed = 4651 Rpm
Peak Motor speed = 7295 Rpm
Peak Generator speed = 12550 Rpm
The motor initiates the initial acceleration to produce propulsion power to reach the specified maximum velocity, but it can be observed that the motor is unable to produce enough propulsion power to reach the desired velocity, thus the engine contributes to the propulsion effort. However, the combined effort is not sufficient to reach the desired velocity due to resistance offered by wind velocity and grade angle.
Plot 3: Engine Torque, Motor Torque, Generator Torque(Nm)
It shows the torque characteristics and its changes of engine, motor and generator in (Nm) throughout the drive cycle.
Peak Engine torque = 145 Nm
Peak Motor torque = 202 Nm
Peak Generator torque = 52.67 Nm
With Wide-open throttle specification, the motor runs at maximum torque, however, the power distribution stabilizes between the motor and the engine as the vehicle reaches the desired velocity as earlier mutual stabilization point is not observed as the specifications of the drive cycle are not met. A negative value for the generator indicates the engine torque is used to charge the battery as well during the propulsion time.
Plot 4: Battery Current (A)
It shows the battery current values (A) and its changes for various acceleration inputs as per the Drive cycle.
The peak current discharge from the battery = 166 A
The peak current charging to the battery = -125.37 A
With Wide-open throttle specification, the powertrain draws maximum current from the battery, here maximum energy discharge period lasts longer indicating that the motor specifications and control strategy are not sufficient to meet the specifications. A negative battery current value indicates regenerative braking and charging by the engine.
Plot 5: Battery SOC
It shows the battery state of charge SOC (%) and its changes corresponding to the driving inputs.
The state of charge decreased from 60% to 28% of charge in 60 seconds, for the specified driving conditions.
Plot 6: US Fuel economy MPGe
Shows the Fuel Economy as Mile per Gallons for the corresponding input driving conditions.
According to the drive cycle, the vehicle achieved its maximum speed after 22 seconds and the speed is constant up to 30 seconds of drive cycle (from plot 1), so it can be observed(from plot6) that fuel requirement is also increasing with the increase in speed till the speed is constant. After this constant speed vehicle speed is decreasing and the vehicle is at lowest speed for next 10-12 seconds and during this, the fuel requirement is also decreasing, and the same drive cycle and fuel requirement is repeated.
Conclusion:
According to the simulation results for both the cases i.e with and without grade angle & wind velocity, it can be said that vehicle in which grade angle and wind velocity is equal to zero is more efficient than the former one.
Q4. Keeping all other parameters same, compare the simulated results of hybrid and pure electric powertrains.
Pure Electric Vehicle:
An electric vehicle (EV) is a vehicle that uses one or more electric motors or traction motors for propulsion. An electric vehicle may be powered through a collector system by electricity from off-vehicle sources, or maybe self-contained with a battery, solar panels, fuel cells or an electric generator to convert fuel to electricity. EVs include, but are not limited to, road and rail vehicles, surface and underwater vessels, electric aircraft and electric spacecraft.
In MATLAB using Powertrain Blockset - Design tradeoff analysis and component sizing, control parameter optimization, or hardware-in-the-loop (HIL) testing for the fully electric vehicle under that exploring Electric Vehicle Input Power-Split Reference Application.
Selecting - autoblkevStart
Simulation Model:
Simulation Condition:
Since comparing an electric vehicle against a hybrid electric vehicle, it is important to have a level playing field. Thus, running the vehicle along the same drive cycle and comparing variables that are important to the consumer and the environment i.e. efficiency, range and MPGe.
For the first block keeping the input drive cycle i.e Wide Open Throttle(WOT) same as used earlier, Changing the grade and wind velocity, keeping all other parameters as default.
The simulation is done for Hybrid electric vehicle with Wide open Throttle Drive cycle.
The Total cycle time = 60 seconds
Time to start deceleration = 30seconds
The Grade angle = 8 Degrees
The wind velocity = 10 m/s.
Results:
Plot 1: Trace Velocity, Target, Actual(mph)
It shows the velocity of the vehicle for the Drive cycle data with the Time scale on the x-axis.
Traced velocity is given as input command & actual velocity is output. The actual graph doesn’t match with input traced velocity due to limited instantaneous current available.
The top speed achieved = 35 mph
The acceleration time to reach 35 mph = 30 seconds
The deceleration time from 35 to minimum = 2.28 seconds
Plot 2: Motor Speed(RPM)
It shows the changes in the speed of the engine, motor and generator in rpm throughout the drive cycle.
Peak Motor speed = 3415 Rpm
Plot 3: Motor Torque(Nm)
It shows the torque characteristics and its changes of engine, motor and generator in (Nm) throughout the drive cycle.
Peak Motor torque = 120 Nm
A negative torque is seen after 30 seconds it is due to regenerative braking.
Plot 4: Battery SOC
It shows the battery state of charge SOC (%) and its changes corresponding to the driving inputs.
The state of charge decreased from 100% to 99% of charge in 60 seconds, for the specified driving conditions.
Plot 5: Battery Current (A)
It shows the battery current values (A) and its changes for various acceleration inputs as per the Drive cycle.
The peak current discharge from the battery = 139 A
It can be seen that after 30 sec the battery current has gone in negative it is due to regenerative braking.
Plot 6: US Fuel economy MPGe
Shows the Fuel Economy as Mile per Gallons for the corresponding input driving conditions.
Here there is no fuel in the pure electric vehicle however this gives equivalent battery energy required that of the fuel energy, and calculates the Fuel efficiency.
According to the drive cycle, the vehicle achieved its maximum speed after 30 seconds and suddenly the speed is decreasing next 2 and half seconds (from plot 1), so it can be observed(from plot6) that fuel requirement i.e power from the battery in this pure electric vehicle is also increasing with the increase in speed till speed reaches at peak and during the sudden decrease in speed the power requirement value is also getting decreased.
Comparison and conclusion for Pure electric vs Hybrid vehicle with same conditions:
1. In a full-electric vehicle, less top speed is achieved as compared to HEV. The electric vehicle is capable of producing more values of Motor speed and Motor torque compared to the hybrid vehicle's motor alone, but hybrid electric vehicle combines the torque of both motor and it's the engine it is higher than the electric vehicle's torque, this helps in pulling the HEV at higher top speed as compared to the pure electric.
2. As the pure electric car uses Lithium-ion battery and HEV uses the Nickel-metal hydride battery, the discharging capacity and the rate of charging is higher in the pure electric car. As it can discharge at a fast rate the motor can produce a high amount of torque instantly compared to the HEV. Battery SOC plot shows the battery efficiency of the pure electric to be higher than the HEV and this is also due to the battery type used in these cars.
3. The efficiency of the electric car is higher than the HEV which is evident from the miles per gallon numbers of both of these cars.
4. The electric vehicle produces zero emissions whereas the hybrid one's produce waste gas emission.
Conclusion-
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Week-11 Challenge: Braking
Braking Objectives: To calculate the energy required for braking for a defined driving cycle. To explain why electric motor can’t develop braking torque at high speed similar to starting? How electric and mechanical brakes are coordinated? To make a MATLAB program which plots contour of given motor speed, torque…
17 Jul 2021 01:19 PM IST
Week-7 Challenge: DC Motor Control
Aim: To study DC Motor Control Objectives: 1. A. Explain a MATLAB demo model named ‘Speed control of a DC motor using BJT H-bridge’. B. Comment on the armature current shoot-up from the scope results. C. Refer to the help section of ‘The Four-Quadrant Chopper DC…
23 May 2021 12:20 PM IST
Week-6 Challenge: EV Drivetrain
Aim: Challenge on EV Drivetrain Objectives: To understand the types of power converter circuits are employed in an electric and hybrid electric vehicle. Duty ratio and power electronics on the vehicle control. To explain briefly about the author's perspective on induction versus dc brushless motors by Wally Rippel, tesla.…
17 Apr 2021 10:58 AM IST
Week 10: Project 1 - FULL HYDRO case set up (PFI)
Aim: Full Hydro Case Setup for Port Fuel Injection(PFI). Objective: To find out the following with the provided engine input: 1. To calculate the compression ratio of this engine. 2. To specify the need a wall heat transfer model and To describe why can't we predict the wall temperature from the CFD simulation?…
11 Dec 2020 12:20 PM IST
Related Courses
0 Hours of Content
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.