1
retard influence on torque production. c T is a constant which is roughly the same for engines with the same compression ratio. Fuel Dynamics Fueling delays are important to the overall in-cylinder air fuel ratio. When fuel is injected into the intake ports, part of the fuel deposits on the intake manifold as a liquid, part of the fuel vaporizes, and part of the fuel becomes droplets. A portion of the fuel deposited on the intake manifold wall will later enter the air stream and affect the in-cylinder air-fuel ratio. A model of these dynamics is given by November 18, 2004 Automotive Engine Modeling for Control Karl Hedrick Tomoyuki Kaga Edward A. Lee Pannag R Sanketi Jose Carlos Zavala Jurado Haiyang Zheng http://chess.eecs.berkeley.edu Overview The development of control systems requires extensive use of models to represent the behavior of a physical plant. In particular, automotive systems can be expressed as hybrid systems in different modeling environments. In this presentation, we describe an automotive engine model created in Simulink and further present an engine model created in Ptolemy, outlining advantages and disadvantages of the models and the respective modeling environments. The final objective of this engine model is the synthesis of a controller, which would eventually be implemented on experimental facilities. The model must be accurate over the operating ranges of its inputs and be as simple as possible. The simplicity of model aids the development of control laws. Simulink Engine Model ) V , ω , ω , P η V , P , P PRI , TC f( m m e e m v e a m a e ao T i ω δ SPI λ AFI m c T fc f fc fo f fo m τ 1 m ε m τ 1 m ( is the part of the fuel that enters the cylinder directly as vapor) Comments on differences in models 1.Simulink model assumes the existence of a throttle angle controller and does not consider throttle dynamics at present, whereas the Ptolemy model associates second order dynamics with the throttle angle. 2.Intake manifold air submodel is similar in both the models, the only difference being that the Simulink uses manifold air as the state, whereas the Ptolemy model uses manifold pressure as the state. 3.Torque generation in Simulink is mean-value and simple. One in the Ptolemy model is event-based and complex, taking into account the torque produced by each cylinder separately. Differences in Modeling Environments Simulink: 1. Well developed software structure to interface to an embedded controller 2. Control libraries a part of the software 3. Does not support Hybrid systems very well. Can give non-deterministic delays in stateflow systems. 4. Easy user interface. Ptolemy: 1. Synthesis of embedded controllers needs to be developed 2. Good for modeling event based systems 3. More control libraries need to be developed. 4. Theory for developing controllers for hybrid systems is still under Comparing model with experimental data Manifold intake air flow Engine Torque Friction Torque Hybrid systems are a natural way to describe the modal behavior of automotive dynamics and the corresponding control laws. For example, the ignition controller has to delicately control the spark timing of each cylinder of an engine at different operation modes, such as to achieve the best usage of fuel or to limit the HC emission. Ptolemy Approach with Hybrid Systems Conclusion Start-up phase accounts for - Most of HC emission - Considerable calibration effort C ylinder M odel p a f sp m m p Intake 0 180 Sam ple m ,m , C alculate T T T( )0 p a f sp m m p Intake 0 180 Sam ple m ,m , C alculate T T T( )0 p m p C om pression 180 360 T T( )0 p m p C om pression 180 360 T T( )0 p m p Com bustion 360 540 T T( )0 p m p Com bustion 360 540 T T( )0 p m p Exhaust 540 720 T T( )0 p m p Exhaust 540 720 T T( )0 sp m a co cs m f co p co 720 p - + Torque p 180 p 720 p 540 p 360 (Taken from Jay Barton’s Thesis) Hybrid systems are modeled with Modal Models, such that continuous-time models are hierarchical nested with Finite State Machine as the middleware to activate and deactivate certain models. Why hybrid systems? How to use hybrid systems? Ptolemy provides an operational semantics for simulating hybrid systems, which gives a well-defined and deterministic behavior for complex interactions between simultaneous events and continuous dynamics. Performance Criteria •Accuracy, for a given set of inputs and initial conditions, we would like to know how similar the behavior of the model with respect to the physical engine is •Utilized resources. What is the execution time and what resources are required to simulate the model and execute the control law • Correctness. The question to answer is whether there is any tool inside the model or the modeling environment that detects flaws in the execution of the simulation We present here a mean value model that comprises states for the air flow, fuel flow and rotational speed of the engine. It is particularly suitable for fuel injection control. Air Intake The mass air flow through the intake manifold is the difference between the intake and exit Torque Production The indicated torque, T i , is modeled as a scaled function of the mass of air per cylinder where AFI() is the normalized air-fuel ratio influence on torque production and SPI() is the normalized spark advance or Principal Subsystems For different subsystems, plots with the differences between the model results and the experiment results are shown. mass flow rates of the manifold; and is a function of the throttle angle , the pressure influence PRI, intake manifold pressure, Pm, atmospheric pressure, Pa, engine displacement, Ve, intake manifold volume, Vm, engine speed, , and volumetric efficiency, : Toyota Test Cell, UCB 0 Lim it 0 CriticalTim e 0 Speed Cum ulative H C am ount Time HC Speed Regulation lim it 0 Lim it 0 CriticalTim e 0 Speed Cum ulative H C am ount Time HC Speed Regulation lim it

November 18, 2004

Embed Size (px)

DESCRIPTION

Toyota Test Cell, UCB. mass flow rates of the manifold; and is a function of the throttle angle , the pressure influence PRI, intake manifold pressure, Pm, atmospheric pressure, Pa, engine displacement, Ve, intake manifold volume, Vm, engine speed, , and volumetric efficiency, :. - PowerPoint PPT Presentation

Citation preview

Page 1: November 18, 2004

retard influence on torque production. cT is a constant which is roughly the same for engines with the same compression ratio.

Fuel DynamicsFueling delays are important to the overall in-cylinder air fuel ratio. When fuel is injected into the intake ports, part of the fuel deposits on the intake manifold as a liquid, part of the fuel vaporizes, and part of the fuel becomes droplets. A portion of the fuel deposited on the intake manifold wall will later enter the air stream and affect the in-cylinder air-fuel ratio. A model of these dynamics is given by

November 18, 2004

Automotive Engine Modeling for Control

Karl HedrickTomoyuki Kaga Edward A. Lee

Pannag R SanketiJose Carlos Zavala Jurado

Haiyang Zheng

http://chess.eecs.berkeley.edu

OverviewThe development of control systems requires extensive use of models to represent the behavior of a physical plant. In particular, automotive systems can be expressed as hybrid systems in different modeling environments. In this presentation, we describe an automotive engine model created in Simulink and further present an engine model created in Ptolemy, outlining advantages and disadvantages of the models and the respective modeling environments.

The final objective of this engine model is the synthesis of a controller, which would eventually be implemented on experimental facilities. The model must be accurate over the operating ranges of its inputs and be as simple as possible. The simplicity of model aids the development of control laws.

Simulink Engine Model

)V,ω,ω,PηV,P,PPRI,TC f(m m eemveama

e

aoTi ω

δSPIλAFImcT

fcf

fcfof

fo mτ

1mεm

τ

1m

( is the part of the fuel that enters the cylinder directly as vapor)

Comments on differences in models

1.Simulink model assumes the existence of a throttle angle controller and does not consider throttle dynamics at present, whereas the Ptolemy model associates second order dynamics with the throttle angle.

2.Intake manifold air submodel is similar in both the models, the only difference being that the Simulink uses manifold air as the state, whereas the Ptolemy model uses manifold pressure as the state.

3.Torque generation in Simulink is mean-value and simple. One in the Ptolemy model is event-based and complex, taking into account the torque produced by each cylinder separately.

Differences in Modeling Environments

Simulink: 1. Well developed software structure to interface to an embedded controller 2. Control libraries a part of the software 3. Does not support Hybrid systems very well. Can give non-deterministic delays in stateflow systems. 4. Easy user interface.

Ptolemy: 1. Synthesis of embedded controllers needs to be developed 2. Good for modeling event based systems 3. More control libraries need to be developed. 4. Theory for developing controllers for hybrid systems is still under development.

Comparing model with experimental data

Manifold intake air flow

Engine Torque

Friction Torque

Hybrid systems are a natural way to describe the modal behavior of automotive dynamics and the corresponding control laws. For example, the ignition controller has to delicately control the spark timing of each cylinder of an engine at different operation modes, such as to achieve the best usage of fuel or to limit the HC emission.

Ptolemy Approach with Hybrid Systems

Conclusion

Start-up phase accounts for- Most of HC emission- Considerable calibration effort

Cylinder Model

p

a f sp

m

m p

Intake

0 180

Sample m , m ,

Calculate T

T T( ) 0

p

a f sp

m

m p

Intake

0 180

Sample m , m ,

Calculate T

T T( ) 0

p

m p

Compression

180 360

T T( ) 0

p

m p

Compression

180 360

T T( ) 0

p

m p

Combustion

360 540

T T( ) 0

p

m p

Combustion

360 540

T T( ) 0

p

m p

Exhaust

540 720

T T( ) 0

p

m p

Exhaust

540 720

T T( ) 0

sp

ma

co

cs

mf

co p co720

p

-+

Torque

p 180

p 720

p 540

p 360

(Taken from Jay Barton’s Thesis)Hybrid systems are modeled with Modal Models, such that continuous-time models are hierarchical nested with Finite State Machine as the middleware to activate and deactivate certain models.

Why hybrid systems?

How to use hybrid systems?

Ptolemy provides an operational semantics for simulating hybrid systems, which gives a well-defined and deterministic behavior for complex interactions between simultaneous events and continuous dynamics.

Performance Criteria

•Accuracy, for a given set of inputs and initial conditions, we would like to know how similar the behavior of the model with respect to the physical engine is

•Utilized resources. What is the execution time and what resources are required to simulate the model and execute the control law

• Correctness. The question to answer is whether there is any tool inside the model or the modeling environment that detects flaws in the execution of the simulation

We present here a mean value model that comprises states for the air flow, fuel flow and rotational speed of the engine. It is particularly suitable for fuel injection control.

Air IntakeThe mass air flow through the intake manifold is the difference between the intake and exit

Torque Production The indicated torque, Ti, is modeled as a scaled function of the mass of air per cylinder where AFI() is the normalized air-fuel ratio influence on torque production and SPI() is the normalized spark advance or

PrincipalSubsystems

For different subsystems, plots with the differences between the model results and the experiment results are shown.

mass flow rates of the manifold; and is a function of the throttle angle , the pressure influence PRI, intake manifold pressure, Pm, atmospheric pressure, Pa, engine displacement, Ve, intake manifold volume, Vm, engine speed, , and volumetric efficiency, :

Toyota Test Cell, UCB

0

Limit

0 Critical Time0

Spe

ed

Cum

ulat

ive

HC

am

ount

Time

HC

Speed

Regulation limit

0

Limit

0 Critical Time0

Spe

ed

Cum

ulat

ive

HC

am

ount

Time

HC

Speed

Regulation limit