Next Article in Journal
Interferon (IFN) and Cellular Immune Response Evoked in RNA-Pattern Sensing During Infection with Hepatitis C Virus (HCV)
Next Article in Special Issue
Vehicle Classification Using the Discrete Fourier Transform with Traffic Inductive Sensors
Previous Article in Journal
An Indoor Obstacle Detection System Using Depth Information and Region Growth
Previous Article in Special Issue
Data Fusion for Driver Behaviour Analysis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An LPV Adaptive Observer for Updating a Map Applied to an MAF Sensor in a Diesel Engine

Department of Control Science and Engineering, Harbin Institute of Technology, Harbin 150001, China
*
Author to whom correspondence should be addressed.
Sensors 2015, 15(10), 27142-27159; https://doi.org/10.3390/s151027142
Submission received: 16 September 2015 / Revised: 16 October 2015 / Accepted: 16 October 2015 / Published: 23 October 2015
(This article belongs to the Special Issue Sensors in New Road Vehicles)

Abstract

:
In this paper, a new method for mass air flow (MAF) sensor error compensation and an online updating error map (or lookup table) due to installation and aging in a diesel engine is developed. Since the MAF sensor error is dependent on the engine operating point, the error model is represented as a two-dimensional (2D) map with two inputs, fuel mass injection quantity and engine speed. Meanwhile, the 2D map representing the MAF sensor error is described as a piecewise bilinear interpolation model, which can be written as a dot product between the regression vector and parameter vector using a membership function. With the combination of the 2D map regression model and the diesel engine air path system, an LPV adaptive observer with low computational load is designed to estimate states and parameters jointly. The convergence of the proposed algorithm is proven under the conditions of persistent excitation and given inequalities. The observer is validated against the simulation data from engine software enDYNA provided by Tesis. The results demonstrate that the operating point-dependent error of the MAF sensor can be approximated acceptably by the 2D map from the proposed method.

1. Introduction

Accurate exhaust gas recirculation (EGR) rate control and air-fuel ratio (AFR) control are important technologies to satisfy the increasingly stringent emission regulations, which are dependent on the precise calculation of the EGR rate and AFR [1,2]. The accuracy of the EGR rate and AFR can be improved by a mass air flow (MAF) sensor, in which a sensor element is heated to a fixed temperature, and the difference in temperature attributed to heat transfer from the heating element to the air flow is a measure of the air mass flow [3,4,5]. However, there are many different local flow fields within the inlet piping due to the three-dimensional turbulence flow, leading to measurement biases in the MAF sensor installed between the air filter and the intake manifold. In addition, the MAF sensor is also subjected to aging phenomena owing to the accumulation of dust on the sensing element, which causes the deterioration of the measurement accuracy [6,7]. These errors will bring about an inaccurate EGR rate and AFR and have adverse impacts on the emission performance of diesel engine.
It is difficult to accurately establish an analytical model for the MAF sensor error. In view of the relatively low computational load, maps (or lookup tables) have been widely used to characterize systems where the functional relationship is unavailable or too complex to represent analytically [8]. Therefore, the relative error of the MAF sensor is described as a one-dimensional (1D) map taking compressor mass air flow as input [2]. In order to track MAF sensor aging, the extended Kalman filter (EKF) for updating maps is presented in [9,10,11], in which the 1D map is represented as a piecewise linear interpolation model and the map parameters are considered as parameter states. Due to the piecewise linear interpolation model having the characteristic of partition calculation and due to the the map input being able to enter only one input interval of the 1D map at any time, then only two parameter states participating in linear interpolation are observable and the other not. Therefore, the error covariance matrix elements of EKF corresponding to the locally unobservable parameter states will increase linearly. Although the solution is to limit this growth in [9,10,11], the convergence of EKF with a confined covariance matrix cannot be guaranteed. In addition, the measurement error of the MAF sensor depends on the engine operating point, which is usually defined as fuel mass injection quantity and engine speed. The 1D map representing MAF sensor error ignores the engine speed, reducing the accuracy when the diesel engine is run over a wide speed range.
The adaptive observer with the advantage of simple convergence conditions is an alternative method for updating maps. Recursive algorithms designed for joint estimation of states and parameters in state space systems are usually known as adaptive observers, and some early works with adaptive observers to jointly estimate states and parameters in multi-input-multi-output linear time varying systems can be found in [12,13]. In order to estimate sensor faults, adaptive observers for linear time varying systems with unknown parameters in output equations have been studied [14,15]. However, the existing adaptive observers cannot directly update maps.
In this paper, an adaptive observer is developed to update the map, in which the MAF sensor error is described as a two-dimensional (2D) map taking the operating point as the input to improve the model accuracy comparing the 1D map. Then, two problems are studied. First, in order to expediently analyze and design the parameter estimation method, the input-output relationship of the MAF sensor error 2D map is expressed as a dot product between the regression vector and the unknown parameter vector. Second, based on the linear parameter varying (LPV) system of the diesel engine with EGR and variable geometry turbocharger (VGT), a 2D map estimation method with a simple structure and low computational load is designed to facilitate the algorithm implementation.
This paper is organized as follows. In Section 2, the 2D map is expressed as the dot product between the regression vector and the unknown parameter vector, and the estimation problem for a class of LPV systems with an unknown parameter vector is given. In Section 3, the LPV adaptive observer is proposed, as well as the convergence analysis. Simulation results from enDYNA are presented in Section 4, and the conclusions are summarized in Section 5.

2. Problem Formulation

2.1. A Diesel Engine Air Path LPV Model

Figure 1 shows the model structure of a diesel engine with EGR and VGT, and the model can be expressed as [16]:
p ˙ i m = R a T i m V i m W c + W e g r - W e i p ˙ e m = R e T e m V e m W f + W e i - W t - W e g r ω ˙ t = P t η m - P c J t ω t
where W c is the compressor mass air flow, W e g r is the EGR mass flow, W e i is the cylinder mass flow, W f is the fuel rate injected to cylinder, W t is the turbine mass flow, P t is the turbine power, P c is the compressor power, η m is the turbocharger mechanical efficiency, p i m is the intake manifold pressure, p e m is the exhaust manifold pressure and ω t is the turbine speed.
Figure 1. Schematic of the diesel engine model with exhaust gas recirculation (EGR) and variable geometry turbocharger (VGT).
Figure 1. Schematic of the diesel engine model with exhaust gas recirculation (EGR) and variable geometry turbocharger (VGT).
Sensors 15 27142 g001
Meanwhile, W c , W e g r , W e i , W t , W f , P c and P t η m in Equation (1) can be obtained as follows:
W c = p a m b π R c 3 · Φ c p i m , ω t R a T a m b ω t , W e g r = A e g r u e g r · Ψ e g r p i m , p e m T e m R e p e m W e i = η v o l p i m , n e · n e V d 120 R a T i m p i m , W t = A v g t max · f Π t p e m · f v g t u v g t T e m R e p e m W f = 10 - 6 120 n c y l n e u δ , P c = W c p i m , ω t · c p a T a m b · Π c 1 - 1 1 γ a γ a - 1 η c p i m , ω t P t η m = η t m p e m , ω t · W t p e m , u v g t · c p e T e m · 1 - Π t 1 - 1 1 γ e γ e
However, it is difficult to estimate the measurement error of the MAF sensor based on the complicated nonlinear model Equation (1). In order to simply present the state space equation and the error estimation, define variables:
ρ 1 = p a m b π R c 3 · Φ c p i m , ω t R a T a m b , ρ 2 = A e g r u e g r · Ψ e g r p i m , p e m T e m R e ρ 3 = η v o l p i m , n e · n e V d 120 R a T i m , ρ 4 = A v g t max · f Π t p e m · f v g t u v g t T e m R e ρ 5 = c p a p a m b π R c 3 · Φ c p i m , ω t · Π c 1 - 1 1 γ a γ a - 1 J t ω t R a · η c p i m , ω t
According to Equation (3), the variables ρ i ( i = 1 , 2 , 3 , 4 , 5 ) are available in real-time since p i m , p e m , ω t , u e g r , u v g t , u δ and n e can be measured or estimated online. Therefore, the nonlinear model Equation (1) can be cast into an LPV system:
x ˙ = A ρ x + E
where:
ρ = ρ 1 ρ 2 ρ 3 ρ 4 ρ 5 x = p i m p e m ω t , A ρ = a 1 ρ 3 a 1 ρ 2 a 1 ρ 1 a 2 ρ 3 a 2 ρ 2 a 2 ρ 4 0 0 0 ρ 5 E = 0 a 2 W f P t η m P t η m J t ω t J t ω t , a 1 = R a T i m V i m , a 2 = R e T e m V e m
In order to determine the bounds on the parameter vector ρ, a simulation study is performed using a 1.9 L four-cylinder common rail turbo diesel engine of enDYNA provided by Tesis [17,18]. The bounds of the parameter vector ρ are found using the simulation data from enDYNA over the European Transient Cycle (ETC), Federal Test Procedure 75 (FTP75) and New European Drive Cycle (NEDC) [19,20,21]. Then, the results are listed in Table 1. It follows that each parameter ρ i from parameter vector ρ is bounded by a minimum and maximum value ρ ̲ i and ρ ¯ i .
Table 1. Bounds on the parameter vector ρ under three conditions. ETC, European Transient Cycle; FTP75, Federal Test Procedure 75; NEDC, New European Drive Cycle.
Table 1. Bounds on the parameter vector ρ under three conditions. ETC, European Transient Cycle; FTP75, Federal Test Procedure 75; NEDC, New European Drive Cycle.
ParameterETCFTP75NEDC
ρ 1 [ 19 , 150 ] × 10 7 [ 146 , 110 ] × 10 7 [ 49 , 130 ] × 10 7
ρ 2 [ 1 . 65 , 1 . 6 ] × 10 7 [ 0 . 56 , 1 . 15 ] × 10 7 [ 0 . 003 , 1 . 0 ] × 10 7
ρ 3 [ 1 . 09 , 6 . 4 ] × 10 7 [ 1 . 18 , 6 ] × 10 7 [ 1 . 1 , 5 . 4 ] × 10 7
ρ 4 [ 0 . 61 , 6 . 01 ] × 10 7 [ 0 . 75 , 5 . 4 ] × 10 7 [ 0 . 62 , 4 . 7 ] × 10 7
ρ 5 [ 0 , 3 . 15 ] [ 0 , 2 . 78 ] [ 0 , 2 . 67 ]

2.2. 2D Map Description for the MAF Sensor Error

The intake manifold pressure p i m , turbine speed ω t and compressor mass air flow W c are the outputs of interest to analyze the MAF sensor error, which is:
y = y 1 y 2 = p i m ω t W c
where y 1 = p i m ω t T , y 2 = W c . Due to the existence of MAF sensor error, the output Equation (6) becomes:
y m = y 1 m y 2 m = y 1 y 2 + Δ W c
where y m is the measured value from sensors. Δ W c is the measurement error of the MAF sensor, which depends on the engine operating point (fuel mass injection quantity u δ and engine speed n e ), i.e., Δ W c u δ . n e . Since it is difficult to accurately build an analytical model for Δ W c u δ . n e , a 2D map is adopted in this paper to describe Δ W c u δ , n e . Therefore, define the partition of the 2D map input υ = u δ , n e as:
a = u δ 1 < u δ 2 < < u δ p 1 = b c = n e 1 < n e 2 < < n e p 2 = d
where a , b R are the minimum and maximum values of u δ and p 1 is the number of the grid points in a , b . c , d R are the minimum and maximum values of n e , and p 2 is the number of the grid points in c , d .
Assume that the measurement error of the input grid points u δ i , n e j is θ i , j , i.e.,
θ i , j = Δ W c u δ i , n e j i = 1 , 2 , p 1 ; j = 1 , 2 , p 2
Then, for υ u δ i , u δ i + 1 × n e j , n e j + 1 , i 1 , 2 , , p 1 1 and j 1 , 2 , , p 2 1 , we can hold the n e value fixed and apply one dimensional (1D) linear interpolation in the u δ direction. Using the Lagrange form, the result is:
q u δ j θ i , j = u δ i + 1 u δ u δ i + 1 u δ i θ i , j + u δ u δ i u δ i + 1 u δ i θ i + 1 , j u δ u δ i , u δ i + 1 , i = 1 , 2 , p 1 1
Equation (10) can then be used to linearly interpolate along the n e dimension to yield the piecewise bilinear interpolation model of the measurement error Δ W c , T θ i , j , υ as:
Δ W c , T θ i , j , υ = n e j + 1 n e n e j + 1 n e j q u δ j θ i , j + n e n e j n e j + 1 n e j q u δ j + 1 θ i , j υ u δ i , u δ i + 1 × n e j , n e j + 1 , i = 1 , p 1 1 ; j = 1 , p 2 1
For the undefined region υ R × R \ a , b × c , d , we extend Equation (11) to the final result:
Δ W c , T θ i , j , υ = q u δ 1 θ i , j , u R × R n e 0 n e j + 1 n e n e j + 1 n e j q u δ j θ i , j + n e n e j n e j + 1 n e j q u δ j + 1 θ i , j , u R × R n e j q u δ p 2 θ i , j , u R × R n e p 2
where:
q u δ j θ i , j = θ 1 , j , u δ R u δ 0 u δ i + 1 u δ u δ i + 1 u δ i θ i , j + u δ u δ i u δ i + 1 u δ i θ i + 1 , j , u δ R u δ i θ p 1 , j , u δ R u δ p 1 i = 1 , 2 , p 1 1 ; j = 1 , 2 , p 2 1
and:
R u δ k = , u δ 1 , k = 0 u δ k , u δ k + 1 , k = 1 , , p 1 1 u δ p 1 , + , k = p 1
R n e l = , n e 1 , l = 0 n e l , n e l + 1 , l = 1 , , p 2 1 n e p 2 , + , l = p 2
For the purposes of estimating unknown parameter θ i , j in Δ W c , T θ i , j , υ expediently, Equation (12) in vector-vector form is needed. According to the input interval Equations (14) and (15), we define membership function as:
δ u δ k = 1 , u δ R u δ k 0 , o t h e r k = 0 , 1 , , p 1
and:
δ n e l = 1 , n e R n e l 0 , o t h e r l = 0, 1 , , p 2
Using membership function Equations (16) and (17), Equation (12) becomes:
Δ W c , T θ i , j , υ = δ n e 0 q u δ 1 θ i , j + j = 1 p 2 1 δ n e j n e j + 1 n e n e j + 1 n e j q u δ j θ i , j + n e n e j n e j + 1 n e j q u δ j + 1 θ i , j + δ n e p 2 q u δ p 2 θ i , j = Ψ n e · q u δ θ i , j
where:
Ψ n e = δ n e 0 + δ n e 1 n e 2 n e n e 2 n e 1 δ n e 1 n e n e 1 n e 2 n e 1 + δ n e 2 n e 3 n e n e 3 n e 2 δ n e p 1 2 n e n e p 2 2 n e p 2 1 n e p 2 2 + δ n e p 1 1 n e p 2 n e n e p 2 n e p 2 1 δ n e p 1 1 n e n e p 2 1 n e p 2 n e p 2 1 + δ n e p 1 T , q u δ θ i , j = q u δ 1 θ i , j q u δ 2 θ i , j q u δ p 2 1 θ i , j q u δ p 2 θ i , j
and:
q u δ j θ i , j = δ u δ 0 θ 1 , j + i = 1 p 1 1 δ u δ i u δ i + 1 u δ u δ i + 1 u δ i θ i , j + u δ u δ i u δ i + 1 u δ i θ i + 1 , j + δ u δ p 1 θ p 1 , j = Ψ u δ · θ u δ j
where:
Ψ u δ = δ u δ 0 + δ u δ 1 u δ 2 u δ u δ 2 u δ 1 δ u δ 1 u δ u δ 1 u δ 2 u δ 1 + δ u δ 2 u δ 3 u δ u δ 3 u δ 2 δ u δ p 1 2 u δ u δ p 1 2 u δ p 1 1 u δ p 1 2 + δ u δ p 1 1 u δ p 1 u δ u δ p 1 u δ p 1 1 δ u δ p 1 1 u δ u δ p 1 1 u δ p 1 u δ p 1 1 + δ u δ p 1 T , θ u δ j = θ 1 , j θ 2 , j θ p 1 1 , j θ p 1 , j
and Ψ n e R 1 × p 1 , Ψ n e R 1 × p 2 , θ u δ j R p 1 × 1 , q u δ θ i , j R p 2 × 1 .
Now, following Equations (18)–(21), Δ W c , T θ i , j , υ can be written as a dot product between regression vector Ψ υ and unknown parameter vector θ as follows:
Δ W c , T θ , υ = Ψ υ · θ , υ R × R
where:
Ψ υ = Ψ n e · Ψ u δ 0 0 0 Ψ u δ 0 0 0 Ψ u δ , θ = θ u δ 1 θ u δ 2 θ u δ p 2
and Ψ υ R 1 × p , θ R p × 1 , p = p 1 · p 2 .
With the combination of Equations (4), (7) and (22), the diesel engine air path LPV model can be described by the following state space equation:
x ˙ = A ρ x + E y m = C ρ x + G Ψ υ θ
where:
C ρ = 1 0 0 0 0 1 0 0 ρ 1 , G = 0 0 1
Equation (24) indicates that the estimation of the MAF sensor error Δ W c u δ , n e becomes joint estimation of state x and parameter θ for LPV system Equation (24).

3. Adaptive Observer Design

The observer to estimate state x and parameter θ jointly for the LPV system Equation (24) is given:
x ^ ˙ = A ρ x ^ + E + L y m C ρ x ^ G Ψ υ θ ^ θ ^ ˙ = Γ Ψ υ T y m 2 C 2 ρ x ^ Ψ υ θ ^
where C 2 ρ = 0 0 ρ 1 , x ^ R 3 × 1 is the state estimate, θ ^ R p × 1 is the parameter estimate, gain Γ R p × p is the positive definite diagonal matrix and L R 3 × 3 is the feedback gain matrix.
The asymptotical stability of the proposed algorithm Equation (26) is analyzed in the following theorem.
Theorem 1. 
If the following Conditions (1) and (2) hold, then LPV adaptive observer Equation (26) is asymptotically stable, i.e., for any initial conditions x 0 , x ^ 0 , θ ^ 0 and parameter vector θ, the errors x ^ x and θ ^ θ tend to zero asymptotically when t .
(1) There exist matrices L, P = P T > 0 , Q = Q T > 0 and constant ε 1 , ε 2 > 0 , such that the following set of linear matrix inequalities (LMIs) is feasible for ρ i ρ ̲ i , ρ ¯ i , i = 1 , 2 , 3 , 4 , 5 :
M ρ = A c l ρ T P + P A c l ρ + Q P L G C 2 T ρ G T L T P T ε 1 I 0 C 2 ρ 0 ε 2 I < 0
2 ε 1 ε 2 > 0
where A c l ρ = A ρ L C ρ .
(2) There exists map input υ, such that the regression vector Ψ υ is persistently exciting, i.e., δ 1 , δ 2 > 0 ; T > 0 ; t 0 :
δ 1 I p t t + T Ψ υ τ T Ψ υ τ d τ δ 2 I p
Proof. 
Set the estimation error x ˜ = x ^ x , θ ˜ = θ ^ θ . Notice that θ ˙ = 0 ; the error dynamic system between Equations (24) and (26) is:
x ˜ ˙ = A ρ L C ρ x ˜ L G Ψ υ θ ˜ θ ˜ ˙ = Γ Ψ υ T C 2 ρ x ˜ + Ψ υ θ ˜
A valid Lyapunov function candidate is considered as V = η T P η + θ ˜ T Γ 1 θ ˜ . For x ˜ 0 , the derivative of V along with the error dynamic system Equation (30) is:
V ˙ = 2 x ˜ T P x ˜ ˙ + 2 θ ˜ T Γ 1 θ ˜ ˙ = 2 x ˜ T P A c l ρ x ˜ 2 θ ˜ T Ψ υ T Ψ υ θ ˜ 2 x ˜ T P L G Ψ υ θ ˜ 2 θ ˜ T Ψ υ T C 2 ρ x ˜
There exist ε 1 , ε 2 > 0 , such that the following inequalities hold:
2 x ˜ T P L G Ψ υ θ ˜ 1 ε 1 x ˜ T P L G 2 + ε 1 Ψ υ θ ˜ 2 2 θ ˜ T Ψ υ T C 2 ρ x ˜ 1 ε 2 C 2 ρ x ˜ 2 + ε 2 θ ˜ T Ψ υ T 2
According to Condition (1) and Equation (31), the following inequality holds:
V ˙ x ˜ T A c l ρ T P + P A c l ρ + 1 ε 1 P L G G T L T P + 1 ε 2 C 2 T ρ C 2 ρ x ˜ 2 ε 1 ε 2 θ ˜ T Ψ υ T Ψ υ θ ˜ < x ˜ T Q x ˜ < 0
That is V ˙ < ω t < 0 , for ρ i ρ ̲ i , ρ ¯ i , i = 1 , 2 , 3 , 4 , 5 , where ω t = x ˜ T Q x ˜ . Based on the Lyapunov stability theory, we know that the equilibrium x ˜ = 0 and θ ˜ = 0 are stable. Now, integrating V ˙ < ω t from zero to t yields:
V t + 0 t ω τ d τ < V 0
and this means that 0 t ω τ d τ < V 0 since V > 0 . Therefore, we have lim t 0 t ω τ d τ V 0 , and this implies that lim t 0 t ω τ d τ exists and is finite. By Barbalat’s Lemma [22], we know that lim t ω t = 0 , and this leads to lim t x ˜ t = 0 .
Under Condition (2), the vector Ψ υ is persistently exciting, that is we have lim t θ ˜ t = 0 [22]. ☐
Remark 1. 
With the concept of multi-convexity [23], the solution of the infinite LMI Equation (27) can be reduced to be a solution of the finite LMIs for the vertex set, that is:
M w < 0 , w V = w 1 , , w 5 w i ρ ̲ i , ρ ¯ i , i = 1 , 2 , 3 , 4 , 5
Therefore, feedback gain L can be obtained by the solution of inequality Equations (28) and (33).
Remark 2. 
With the membership function δ u δ k , δ n e l in Equations (16) and (17), we know that δ u δ k = δ n e l = 1 when υ R u δ k × R n e l and δ u δ k = δ n e l = 0 when υ R u δ k × R n e l . Therefore, the regression vector Ψ υ is a sparse vector.
According to the partition of the map input υ = u δ , n e defined in Equation (8) and the piecewise bilinear interpolation model Equation (12), the input υ (engine operating point) moves in only one region R u δ k × R n e l at any time, and only the parameters θ ^ i , j corresponding to the region R u δ k × R n e l can participate in the interpolation. That is, for υ R u δ k × R n e l :
Case 1: k , l 0 , p 1 × 0 , p 2 . Only one parameter θ ^ i , j , i , j 1 , p 1 × 1 , p 2 takes part in the interpolation, i.e., Δ W c , T θ ^ i , j , υ = θ ^ i , j .
Case 2: k , l 1 , 2 , p 1 1 × 0 , p 2 . Two parameters θ ^ i , j , θ ^ i + 1 , j , i , j 1 , 2 , p 1 1 × 1 , p 2 take part in the interpolation, i.e.,
Δ W c , T θ ^ i , j , υ = u δ i + 1 u δ u δ i + 1 u δ i θ ^ i , j + u δ u δ i u δ i + 1 u δ i θ ^ i + 1 , j
Case 3: k , l 0 , p 1 × 1 , 2 , p 2 1 . Two parameters θ ^ i , j , θ ^ i , j + 1 , i , j 1 , p 1 × 1 , 2 , p 2 1 take part in the interpolation, i.e.,
Δ W c , T θ i , j , υ = n e j + 1 n e n e j + 1 n e j θ ^ i , j + n e n e j n e j + 1 n e j θ ^ i , j + 1
Case 4: k , l 1 , 2 , p 1 1 × 1 , 2 , p 2 1 . Four parameters θ ^ i , j , θ ^ i + 1 , j , θ ^ i , j + 1 , θ ^ i + 1 , j + 1 , i , j 1 , 2 , p 1 1 × 1 , 2 , p 2 1 take part in the interpolation, i.e.,
Δ W c , T θ ^ i , j , υ = n e j + 1 n e n e j + 1 n e j u δ i + 1 u δ u δ i + 1 u δ i θ ^ i , j + n e j + 1 n e n e j + 1 n e j u δ u δ i u δ i + 1 u δ i θ ^ i + 1 , j + n e n e j n e j + 1 n e j u δ i + 1 u δ u δ i + 1 u δ i θ ^ i , j + 1 + n e n e j n e j + 1 n e j u δ u δ i u δ i + 1 u δ i θ ^ i + 1 , j + 1
In order to expediently discuss the convergence of the parameter estimate θ ^ i , j corresponding to different regions R u δ k × R n e l , a local regression vector Ψ l υ is defined based on the above four classifications of the region partition as follow:
Ψ l υ = 1 if   υ R u δ 0 R u δ p 1 × R n e 0 R n e p 2 1 η 1 η 1 if   υ R u δ i × R n e 0 R n e p 2 1 η 2 η 2 if   υ R u δ 0 R u δ p 1 × R n e j 1 η 1 1 η 2 η 1 1 η 2 1 η 1 η 2 η 1 η 2 T if   υ R u δ i × R n e j
where:
η 1 = u δ u δ i u δ i + 1 u δ i , η 2 = n e n e j n e j + 1 n e j i = 1 , 2 , p 1 1 ; j = 1 , 2 , p 2 1
When υ R u δ k × R n e l , regression vector Ψ υ in Equation (26) can be replaced by local regression vector Ψ l υ ; then, observer Equation (26) can be replaced by:
x ^ ˙ = A ρ x ^ + E + L y m C ρ x ^ G Ψ l υ θ ^ l i , j θ ^ ˙ l i , j = Γ l Ψ l υ T y m 2 C 2 ρ x ^ Ψ l υ θ ^ l i , j
where θ ^ l i , j is the local parameter estimate of appropriate size and Γ l is a local positive definite diagonal matrix of appropriate size.
According to Theorem 1, the local parameter estimate θ ^ l i , j is convergent if local regression vector Ψ l υ is persistently exciting. Meanwhile, the parameter estimate θ ^ is also convergent if the trajectory of the map input υ passes through all of the interpolation regions R u δ k × R u 2 l .
There are heavy matrices calculated in real time for the covariance matrix equation of EKF in [9,10,11], preventing it from being implemented in commercial electronic control units (ECUs) for map adaptation. Nevertheless, the computational burden of the proposed observer Equation (26) without the additional matrix equation is lower. Moreover, the number of parameter estimates θ ^ updated in Equation (26) is no more than four at any time; then, the computational load can be further reduced by stopping estimating θ ^ i , j corresponding to υ R u δ k × R n e l .
Remark 3. 
For the area S where the trajectory of the map input υ does not move, the parameters θ ^ i , j corresponding to the interpolation region belonging to S cannot be estimated by observer Equation (26). In order to get the map parameters corresponding to S, an extrapolation model can be taken as follows:
Δ W c , e u δ , n e = a 2 u δ 2 + a 1 u δ + b 2 n e 2 + b 1 n e + c 2 u δ n e + c 1
where a 2 , a 1 , b 2 , b 1 , c 2 , c 1 are polynomial parameters. Based on the data from the estimated map parameters, extrapolation model Equation (37) can be fitted by polynomial fitting approach, and then map parameters corresponding to S can be obtained.

4. Simulation Results

In this section, the simulation study of 2D map estimation is presented in the environment of a 1.9 L four-cylinder common rail turbo diesel engine of enDYNA, in which the ETC and FTP75 are used as test conditions, respectively. The observer architecture is illustrated in Figure 2, where Δ W c u δ , n e is the additive reference error as the true measurement error from enDYNA.
Figure 2. Schematic diagram of the adaptive observer.
Figure 2. Schematic diagram of the adaptive observer.
Sensors 15 27142 g002
Bounds on the parameter vector ρ are presented in Table 1. When the inequality Equations (28) and (33) are solved with ε 1 = 0 . 25 and ε 2 = 0 . 11 , the gain matrix L can be given by:
L = 1635.83 124.95 6.52 × 10 7 16,063.4 3135.43 1.67 × 10 7 4.2 29.7 4.55 × 10 20
The initial values of observer Equation (26) used in the simulation are x ^ 0 = 9 . 8 × 10 5 9 . 8 × 10 5 0 T , θ ^ 0 = 0 , and the parameter gain is Γ = 200 I . Here, the reference error Δ W c u δ , n e assumed as MAF sensor measurement error is depicted in Figure 3, which is superimposed on the signal W c in enDYNA as the measured value y m 2 in the simulation.
Figure 3. Reference error Δ W c u δ , n e used as the mass air flow (MAF) sensor error in enDYNA.
Figure 3. Reference error Δ W c u δ , n e used as the mass air flow (MAF) sensor error in enDYNA.
Sensors 15 27142 g003

4.1. 2D Map Estimation under ETC

There are three parts of the ETC representing three different driving conditions, including urban, rural and motorway driving. Due to the engine speed range from ETC Part 1 covering the other two parts, ETC Part 1 is employed as the test condition in this section. Accordingly, the fuel mass injection quantity u δ and engine speed n e from ETC Part 1 are plotted in Figure 4a, and the trajectory of the operating point υ = u δ , n e is depicted in Figure 4b, in which the trajectory does not move in area S = 0 , 56 × 0 , 800 40 , 56 × 0 , 2000 . According to the range u δ 0 , 56 and n e 0 , 3100 from Figure 4a, an average partition can be respectively given as [0:4:56] and [0:250:3000].
Figure 4. Evolution of operating point υ = u δ , n e during ETC part one. (a) Evolution of u δ and n e . (b) Trajectory of operating point υ = u δ , n e .
Figure 4. Evolution of operating point υ = u δ , n e during ETC part one. (a) Evolution of u δ and n e . (b) Trajectory of operating point υ = u δ , n e .
Sensors 15 27142 g004
The estimation results of the MAF sensor error using observer Equation (26) under ETC Part 1 are shown in Figure 5a, in which the map parameters have been estimated, except area S. According to Remark 3, the map parameters corresponding to area S can be obtained from the extrapolation model Equation (37). Based on the estimated map parameters from Figure 5a, the polynomial parameters in Equation (37) can be fitted as follows:
a 2 = 9 . 12 × 1 0 6 , a 1 = 4 . 39 × 1 0 4 , b 2 = 1 . 30 × 1 0 9 b 1 = 5 . 74 × 1 0 6 , c 2 = 5 . 37 × 1 0 8 , c 1 = 0 . 0012887
The parameters corresponding to area S obtained from Equation (37) are presented in Figure 5b, which can roughly reflect the trend of the map.
In order to evaluate the accuracy of the estimated 2D map shown in Figure 5a, the comparison between the reference error Δ W c u δ , n e and the estimated 2D map during the ETC segment is presented in Figure 6a. Accordingly, the true mass air flow y 2 , measured mass air flow y m 2 and map compensation are shown in Figure 6b. The mean relative error between reference error Δ W c u δ , n e and estimated 2D map is 10 . 41 % , which demonstrates that the measured output y m 2 of the MAF sensor after map correction can approximate the true value of W c acceptably.
Figure 5. The estimated 2D map for the MAF sensor error. (a) Estimation results of the 2D map under ETC Part 1; (b) Extrapolation results based on the estimated 2D map.
Figure 5. The estimated 2D map for the MAF sensor error. (a) Estimation results of the 2D map under ETC Part 1; (b) Extrapolation results based on the estimated 2D map.
Sensors 15 27142 g005
Figure 6. 2D map compensation during the ETC segment. (a) Simulation results between reference error Δ W c u δ , n e and the estimated 2D map; (b) Simulation results of true mass air flow y 2 , measured mass air flow y m 2 and the map compensation.
Figure 6. 2D map compensation during the ETC segment. (a) Simulation results between reference error Δ W c u δ , n e and the estimated 2D map; (b) Simulation results of true mass air flow y 2 , measured mass air flow y m 2 and the map compensation.
Sensors 15 27142 g006

4.2. 2D Map Estimation under FTP75

In order to verify the effectiveness of the proposed method under different conditions, the cold start transient phase of the FTP75 is used in this section. Accordingly, u δ and n e are plotted in Figure 7a, and the trajectory of υ is depicted in Figure 7b, in which the trajectory does not move in area S = 0 , 56 × 0 , 650 25 , 37 × 0 , 2000 37 , 56 × 0 , 3500 .
Figure 7. Evolution of operating point υ = u δ , n e FTP75 cold start transient phase. (a) Evolution of u δ and n e ; (b) Trajectory of operating point υ = u δ , n e .
Figure 7. Evolution of operating point υ = u δ , n e FTP75 cold start transient phase. (a) Evolution of u δ and n e ; (b) Trajectory of operating point υ = u δ , n e .
Sensors 15 27142 g007
Figure 8. The estimated 2D map for the MAF sensor error. (a) Estimation results of the 2D map under FTP75 cold start transient phase; (b) Extrapolation results based on the estimated 2D map.
Figure 8. The estimated 2D map for the MAF sensor error. (a) Estimation results of the 2D map under FTP75 cold start transient phase; (b) Extrapolation results based on the estimated 2D map.
Sensors 15 27142 g008
The estimation results of the MAF sensor error under the cold start transient phase of the FTP75 are shown in Figure 8a, and the polynomial parameters in Equation (37) are fitted as follows:
a 2 = 2 . 10 × 1 0 5 , a 1 = 8 . 62 × 1 0 4 , b 2 = 1 . 46 × 1 0 9 b 1 = 6 . 40 × 1 0 6 , c 2 = 1 . 84 × 1 0 8 , c 1 = 0 . 0032316
The map added the parameters corresponding to area S are shown in Figure 8b, which can also roughly reflect the trend of the map. Under the FTP75 segment, the comparison between the reference error Δ W c u δ , n e and the estimated 2D map from Figure 8a is shown in Figure 9a. Accordingly, the MAF sensor measured value y m 2 using map compensation is presented in Figure 9b. The mean relative error between reference error Δ W c u δ , n e and the estimated 2D map is 5 . 28 % , demonstrating that the measured output y m 2 after map correction can approximate the true value of W c acceptably.
Figure 9. 2D map compensation during the FTP75 segment. (a) Simulation results between reference error Δ W c u δ , n e and the estimated 2D map; (b) Simulation results of true mass air flow y 2 , measured mass air flow y m 2 and the map compensation.
Figure 9. 2D map compensation during the FTP75 segment. (a) Simulation results between reference error Δ W c u δ , n e and the estimated 2D map; (b) Simulation results of true mass air flow y 2 , measured mass air flow y m 2 and the map compensation.
Sensors 15 27142 g009

5. Conclusions

A method for updating and storing sensor bias from different operating points is developed and investigated. This method achieves simultaneous estimation of model states and map parameters and applies to updating the MAF sensor error 2D map in the engine. The map in the form of a vector-vector dot product is given to conveniently analyze and design the parameter estimation method. An LPV adaptive observer to estimate map parameters is designed, which has the advantage of a simple structure and low computational load. Under ETC Part 1 and the cold start transient phase of the FTP75, the effectiveness of the presented algorithm is verified and validated in the engine software enDYNA. The results demonstrate that the proposed method can estimate the MAF sensor error acceptably.

Acknowledgments

The authors would like to acknowledge the support of the National Nature Science Foundations of China (No. 61034001).

Author Contributions

Changhui Wang contributed to the theoretical analysis, algorithm design, simulation verification, and the writing. Zhiyuan Liu supervised the research, and participated in writing the paper.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

p a m b ambient pressure (Pa) p i m intake manifold pressure (Pa)
p e m exhaust manifold pressure (Pa) ω t turbine speed (rad/s)
n e engine speed (rpm) W c compressor mass air flow (kg/s)
W e g r EGR mass flow (kg/s) W e i cylinder mass flow (kg/s)
W f fuel rate injected to cylinder (kg/s) W t turbine mass flow (kg/s)
P c compressor power (W) P t turbine power (W)
Φ c volumetric flow coefficient Ψ e g r energy transfer coefficient
η v o l volumetric efficiency η t m turbine efficiency
η m turbocharger mechanical efficiency η c compressor efficiency
T a m b ambient temperature (K) T i m intake manifold temperature (K)
T e m exhaust manifold temperature (K) V i m intake manifold volume (m 3 )
V e m exhaust manifold volume (m 3 ) V d displaced volume (m 3 )
R a air gas constant (J/(kg·K)) R e exhaust gas constant (J/(kg·K))
R c compressor blade radius (m) γ a air specific heat capacity ratio
γ e exhaust specific heat capacity ratio Π c compressor pressure quotient
Π t turbine pressure quotient J t turbine inertia (kg·m 2 )
n c y l number of cylinders A e g r EGR valve effective area (m 2 )
A v g t m a x VGT nozzle maximum effective area (m 2 ) f Π t choking function
f v g t effective area ratio function u e g r EGR valve opening percentage (%)
u v g t VGT vane opening percentage (%) u δ injected amount of fuel (mg/cycle)
c p a air specific heat capacity at constant pressure (J/(kg·K))
c p e exhaust specific heat capacity at constant pressure (J/(kg·K))

References and Notes

  1. Zheng, M.; Reader, G.T.; Hawley, J.G. Diesel engine exhaust gas recirculation—A review on advanced and novel concepts. Energy Convers. Manag. 2004, 45, 883–900. [Google Scholar] [CrossRef]
  2. Höckerdal, E.; Eriksson, L.; Frisk, E. Air mass-flow measurement and estimation in diesel engines equipped with EGR and VGT. Int. J. Passeng. Cars-Electron. Electr. Syst. 2008, 1, 393–402. [Google Scholar] [CrossRef]
  3. Fleming, W. Overview of automotive sensors. IEEE Sens. J. 2001, 1, 296–308. [Google Scholar] [CrossRef]
  4. Bosch. HFM2-Air Mass Meter; Gerlingen, Germany, 2009. [Google Scholar]
  5. Hourdakis, E.; Sarafis, P.; Nassiopoulou, A.G. Novel air flow meter for an automobile engine using a Si sensor with porous Si thermal isolation. Sensors 2012, 12, 14838–14850. [Google Scholar] [CrossRef] [PubMed]
  6. Betta, G.; Capriglione, D.; Pietrosanto, A.; Sommella, P. ANN-based sensor fault accommodation techniques. In Proceedings of the 2011 IEEE International Symposium on Diagnostics for Electric Machines, Power Electronics & Drives (SDEMPED), Bologna, Italy, 5–8 September 2011; pp. 517–524.
  7. Zhao, J.; Wang, J. Engine mass airflow sensor fault detection via an adaptive oxygen fraction observer. In Proceedings of the 2014 American Control Conference (ACC), Portland, OR, USA, 4–6 June 2014; pp. 1517–1522.
  8. Nelles, O. Nonlinear System Identification: From Classical Approaches to Neural Networks and Fuzzy Models; Springer Science & Business Media: New York, NY, USA, 2001. [Google Scholar]
  9. Höckerdal, E.; Frisk, E.; Eriksson, L.; Scania, C. Model based engine map adaptation using EKF. In Proceedings of the 6th IFAC Symposium on Advances in Automotive Control, Munich, Germany, 12–14 July 2010; pp. 697–702.
  10. Höckerdal, E.; Frisk, E.; Eriksson, L. EKF-based adaptation of look-up tables with an air mass-flow sensor application. Control Eng. Pract. 2011, 19, 442–453. [Google Scholar] [CrossRef]
  11. Höckerdal, E.; Eriksson, L.; Frisk, E. Off-and on-Line Identification of Maps Applied to the Gas Path in Diesel Engines. In Identification for Automotive Systems; Springer: London, UK, 2012; pp. 241–256. [Google Scholar]
  12. Zhang, Q.; Clavel, A. Adaptive observer with exponential forgetting factor for linear time varying systems. In Proceedings of the 40th IEEE Conference on Decision and Control, Orlando, FL, USA, 4–7 December 2001; pp. 3886–3891.
  13. Zhang, Q. Adaptive observer for multiple-input-multiple-output (MIMO) linear time-varying systems. IEEE Trans. Autom. Control 2002, 47, 525–529. [Google Scholar] [CrossRef]
  14. Zhang, Q. An adaptive observer for sensor fault estimation in linear time varying systems. In Proceedings of the IFAC World Congress, Prague, Czech Republic, 4–8 July 2005; pp. 1824–1824.
  15. Zhang, Q.; Besancon, G. An adaptive observer for sensor fault estimation in a class of uniformly observable non-linear systems. Int. J. Model. Identif. Control 2008, 4, 37–43. [Google Scholar] [CrossRef]
  16. Wahlström, J.; Eriksson, L. Modelling diesel engines with a variable-geometry turbocharger and exhaust gas recirculation by optimization of model parameters for capturing non-linear system dynamics. Proc. Inst. Mech. Eng. Part D J. Automob. Eng. 2011, 225, 960–986. [Google Scholar] [CrossRef]
  17. TESIS DYNAware. en-DYNA® THERMOS® 2.0 Block Reference Manual. 27 June 2006. [Google Scholar]
  18. TESIS DYNAware. en-DYNA® THERMOS® 2.0 User Manual. 27 June 2006. [Google Scholar]
  19. Council of European Parliament. Directive 2005/55/EC of the European Parliament and of the Council of 28 September 2005. OJL 275. 2005. [Google Scholar]
  20. Protection of the Environment. Code of Federal Regulations, Part 86, Subpart N, Title 40. USA, 1999.
  21. Directive, EEC. Emission Test Cycles for the Certification of Light Duty Vehicles in Europe, EEC Directive 90/C81/01; EEC Emission Cycles, 2009.
  22. Slotine, J.J.E.; Li, W. Applied Nonlinear Control; Prentice-Hall: Englewood Cliffs, NJ, USA, 1991. [Google Scholar]
  23. Gahinet, P.; Apkarian, P.; Chilali, M. Affine parameter-dependent Lyapunov functions and real parametric uncertainty. IEEE Trans. Autom. Control 1996, 41, 436–442. [Google Scholar] [CrossRef]

Share and Cite

MDPI and ACS Style

Liu, Z.; Wang, C. An LPV Adaptive Observer for Updating a Map Applied to an MAF Sensor in a Diesel Engine. Sensors 2015, 15, 27142-27159. https://doi.org/10.3390/s151027142

AMA Style

Liu Z, Wang C. An LPV Adaptive Observer for Updating a Map Applied to an MAF Sensor in a Diesel Engine. Sensors. 2015; 15(10):27142-27159. https://doi.org/10.3390/s151027142

Chicago/Turabian Style

Liu, Zhiyuan, and Changhui Wang. 2015. "An LPV Adaptive Observer for Updating a Map Applied to an MAF Sensor in a Diesel Engine" Sensors 15, no. 10: 27142-27159. https://doi.org/10.3390/s151027142

Article Metrics

Back to TopTop