Early Model-Based Verification of Automotive Control System Implementation
Early Model-Based Verification of Automotive Control System Implementation
Early Model-Based Verification of Automotive Control System Implementation
net/publication/261152569
CITATIONS READS
15 5,521
3 authors, including:
Mahdi Shahbakhti
Michigan Technological University
118 PUBLICATIONS 1,268 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Mahdi Shahbakhti on 09 July 2015.
reducing raw HC ˙ eng but also quickly heating up catalyst to zė = −λ(e
z − zed ) + zėd (13)
shorten the catalyst light-off period. AFR and ωe influence Where zed is the desired reduced order state and is calcu-
both HC ˙ eng and Tcat , while Texh directly influences Tcat . lated using the desired AFRd , Texh,d , and ωe,d trajectories.
Thus three control trajectories (AFRd , ωe,d , and Texh,d ) are Using Equation (9), the relation between the control law and
defined to minimize HCcum , as shown in Figure 3. AFRd the state equations in the affine description is:
and ωe,d control trajectories are taken from the engine control
unit of the Toyota 2AZ-FE engine. The exhaust temperature z − zed ) + zėd = Tep−1 f (x) + Tep−1 gu
−λ(e (14)
Where, Tep is the part of T , in which the column associated trajectories (λ = 10). Simulation results for the controller
with Tcat is taken away. The final control law is given by are shown in Figure 5. The results indicate the catalyst has
h i reached the light-off temperature (i.e. 225◦ C) in less than
u = g −1 Tep −λ(e z − zed ) + zėd − Tep−1 f (x) (15) 30 seconds. In addition, a catalyst conversion efficiency of
over 90% is obtained in the first 40 seconds without using
C. Results any external heating energy sources (e.g. heater, after burner
Performance of the designed controller is tested on the or secondary air injection). HCcum is 1.8 g, which can meet
cold start 5-state model in MATLAB Simulink. The gradient the minimum required HC emission level in the current North
of the sliding surfaces are determined to provide desired America standard for Ultra Low Emission Vehicles (ULEV)
− assuming: (1) over 80% of total HC emissions occur in the
(a) cold start phase of standard driving cycles [12]-[13], (2) 1.8 g
300 100
accounts for the majority of the total HC emissions in the
cold start phase since ηcat has reached over 90%.
ηcat [%]
Tcat [°C]
200
50
100 1) Robustness to implementation imprecision: The robust-
ness of the cold start controller is evaluated against three
0 0 main causes of imprecisions in the controller implementation
0 10 20 30 40
(b) process. In particular, the controller is tested against varia-
HC Flow Rate [g/sec]
Cumulative HC [g]
2 tions in sampling rates, quantization levels, and processor
0.6 HCengine
HCtailpipe
data type sizes. A fixed-point processor is used in this study
0.4 HCcum= 1.8 g
1 as it is commonly used for engine control to reduce ECU
0.2 memory demand. A baseline condition for the controller
software implementation is selected in consultation with the
0 0 Toyota Technical Center in North America. Table I shows
0 10 20 30 40
Time [sec] the baseline condition characterizing sample specifications
for an ECU processor.
Fig. 5. Cold Start Performance of the Designed Controller: (a) Temperature,
Conversion Efficiency of the Catalytic Converter; (b) Engine and Tailpipe
HC Emissions.
8
AFR [−]
ωe [RPM]
0 20 40 0 20 40 0 20 40
(a3) 32−bit word (b3) 32−bit word (c3) 32−bit word
18 800
2500
16
14 600 2000
12 Desired 1500
10 400 Engine output 1000
8
0 20 40 0 20 40 0 20 40
(a4) Ideal (b4) Ideal (c4) Ideal
18 800
2500
16
14 600 2000
12 1500
10 400 1000
8
0 20 40 0 20 40 0 20 40
Time [sec] Time [sec] Time [sec]
Fig. 6. Effect of fixed-point data type (word length) on the tracking performance of the cold start controller. “Ideal” results in this Figure represent the
performance of the controller with no implementation imprecision.
The designed controller is modified for running in a fixed- 12 bit respectively. This can be caused due to signal aliasing
point simulation domain using Simulink Fixed-Point Advi- and distorted input data to the controller. However high
sor. Tracking performance of the fixed-point implemented sampling frequency and high quantization level increase the
controller is shown in Figure 6 for different processor data controller’s computation load and memory storage require-
type sizes. ment. Results in Figure 8 show running the controller with
12-bit A-to-D can lead to relatively similar results as that of
TABLE I
running the controller with the computationally demanding
BASELINE C ONDITION U SED IN THE ROBUSTNESS A NALYSIS . 16-bit A-to-D.
Condition Value (a) Quantization effect
ECU update rate 8 ms
10−bit
Sampling rate 8 ms 6 12−bit (baseline)
Quantization level 12 bit 16−bit
Ideal
Data type Fixed point - signed 32 bit 4
Processor type Embedded micro
Cumulative HC [g]
2
5 TABLE II
4 M INIMUM REQUIRED SPECIFICATIONS FOR THE IMPLEMENTATION OF
THE COLD START CONTROLLER FOR ULEV EMISSION STANDARD1 .
3
2 1999-01-1073, 1999.
1 HCcum= 2.5 g [13] M. Weilenmann, J. Faveza and R. Alvareza, Cold-Start Emissions of
Modern Passenger Cars at Different Low Ambient Temperatures and
0
0 5 10 15 20 25 30 35 40 Their Evolution Over Vehicle Legislation Categories, J. of Atmospheric
Time [sec] Environment, vol. 43, 2009, pp. 2419-2429.
[14] Byron Shaw II, Modelling and Control of Automotive Coldstart
Fig. 9. Performance of the minimally implemented controller (option I in Hydrocarbon Emissions, Ph.D. Dissertation, UC Berkeley, 2002.
Table II). [15] P. R. Sanketi, J. C. Zavala, J. K. Hedrick, M. Wilcutts and T. Kaga,
A Simplified Catalytic Converter Model for Automotive Coldstart
Applications with Adaptive Parameter Fitting, Int. Symp. on Advanced
in the controller’s V&V cycle. An early model-based veri- Vehicle Control, 2006.
fication methodology was proposed to identify unacceptable [16] P. R. Sanketi, Coldstart Modeling and Optimal Control Design for
imprecision errors in implementing the controller. An early Automotive SI Engines, Ph.D. Dissertation, UC Berkeley, 2009.
[17] EPA Emission Standard, http://www.epa.gov/otaq/standards/light-
SIL platform was used to test the controller robustness to duty/ld-cff.htm, 2011.
three main implementation imprecisions, including fixed-
precision arithmetic, quantization level, and sampling rate. A PPENDIX
The proposed methodology was demonstrated on a MIMO Parameters of Plant Model
SMC automotive controller which was designed to reduce A) Constants
cold start emissions in a passenger car. Analysis results J= 0.1454 [s/m2 kg]; τf = 0.06 [1/sec]
from the proposed methodology could determine minimum mCp = 1250 [J/K]; a= -2, n= 5; θevo = 110 ATDC; rc = 9
requirements for implementing the controller for a certain
emission target. B) Functions
IV. FUTURE WORK SI = 7.5 ∆ + 600 (16)
Future work includes testing the designed fixed-point con- AI = cos (0.13(AF R − 13.5)) (17)
troller on a real ECU in real-time. In addition, mathematical
models will be developed to characterize imprecisions in TE = 30000 ma − 0.4 ωe − 100 (18)
implementing the controller. These models are incorporated τe = 2 π / ωe (19)
in the controller design to increase the controller’s robustness
to the implementation errors.
Qin = 16(Texh − Tcat ) (20)
V. ACKNOWLEDGMENTS Qout = 0.642(Tcat − Tatm ) (21)
Dr. Ken Butts and Dr. Chris Vermillion from Toyota Tech- ˙ eng
Qgen = 22.53(ṁao + ṁf ).ηcat .HC (22)
nical Center are gratefully acknowledged for their helpful
comments during this study.
ṁao = 0.0254(ma ωe ηvol ) (23)
R EFERENCES 2 2
ηvol = ma (−0.1636 ωe − 7.093 ωe − 1750) (24)
[1] K. J. Mitts, K. Lang, T. Roudier and D. L. Kiskis, Using a Co- 2
+ ma (0.0029 ωe − 0.4033 ωe + 85.38)
simulation Framework to Enable Software-in-the-Loop Powertrain
System Development, SAE Paper No. 2009-01-0520, 2009. − (1.06e − 5 ωe 2 − 0.0021 ωe − 0.2719)
[2] V. Jaikamal, Model-based ECU development An Integrated MiL-SiL-
HiL Approach, SAE Paper No. 2009-01-0153, 2009.
[3] A. Anta, R. Majumdar, I. Saha and P. Tabuada, Automatic Verification θ0 = ∆ + 10 (25)
of Control System Implementations, Int. Conference on Embedded (
Software, 2010. 0.1(16.2 − AF R)2 + 80 AF R > AF Rst
[4] J. Kapinski, A. Donze, F. Lerda, H. Maka, S. Wagner, and B. H. Krogh, δθ = (26)
Control Software Model Checking Using Bisimulation Functions for 0.4(16.2 − AF R)2 + 80 AF R ≤ AF Rst
Nonlinear Systems, IEEE Conference on Decision and Control, 2008.