Abstract
The use of efficient embedded control systems in the transportation industry and particularly in turbocharged Diesel engines requires the programming of elaborated nonlinear control and filtering methods. To this end, in this paper nonlinear control for turbocharged Diesel engines is developed with the use of Differential flatness theory and adaptive fuzzy control. It is shown that the dynamic model of the turbocharged Diesel engine is differentially flat and admits dynamic feedback linearization. It is also shown that the dynamic model can be written in the linear Brunovsky canonical form for which a state feedback controller can be easily designed. To compensate for modeling errors and external disturbances an adaptive fuzzy control scheme is implemented making use of the transformed dynamical system of the diesel engine that is obtained through the application of differential flatness theory. The control algorithm aims at satisfying the \(H_\infty \) tracking performance criterion, which means that the influence of the modeling errors and the external disturbances on the tracking error is attenuated to an arbitrary desirable level. After transforming the MIMO diesel engine system into the canonical form, the resulting control inputs are shown to contain nonlinear elements which depend on the system’s parameters. The nonlinear terms which appear in the control inputs are approximated with the use of neuro-fuzzy networks. Moreover, since only the system’s output is measurable the complete state vector has to be reconstructed with the use of a state observer. It is shown that a suitable learning law can be defined for the aforementioned neuro-fuzzy approximators so as to preserve the closed-loop system stability. With the use of Lyapunov stability analysis it is proven that the proposed observer-based adaptive fuzzy control scheme results in \(H_{\infty }\) tracking performance.
Similar content being viewed by others
Introduction
The development of embedded control for the transportation systems industry comes against problems of increased difficulty arising from the highly nonlinear dynamics of the considered systems and from the technical difficulties in measuring specific elements of the systems’ state vector [1–6]. Previous approaches to the control of turbocharged diesel engines and exhaust gas recirculation systems comprise PID and Lyapunov methods. One can also find results on neural and fuzzy control both for compression ignition (CI) and spark ignition (SI) engines [7–12]. In particular, control of turbocharged diesel engines is a complicated problem because the nonlinear model of the engine cannot be subjected to static feedback linearization [13–16]. Therefore, one has to apply dynamic feedback linearization by extending the state vector of the system so as to include also as new state variables the derivatives of the initial control inputs. In comparison to systems which can be brought to a linear form through static feedback linearization, control of systems subjected to dynamic feedback linearization requires substantially different design stages [17]. By defining an extended state vector (which is an approach also known as dynamic extension), it is possible to show that the model of the turbocharged diesel engine is a differentially flat one. Moreover, by expressing all state variables and the control inputs of the model one can arrive at an equivalent description of the system in the linear canonical (Brunovsky) form.
In this paper the nonlinear control problem of the turbocharged diesel engines is solved with the use of differential flatness theory and of adaptive fuzzy control. Differential flatness theory is currently one of the main directions in the development of nonlinear control systems [18–26]. It is shown that the dynamic model of the turbocharged Diesel engine is differentially flat and admits dynamic feedback linearization. It is also shown that the dynamic model can be written in the linear Brunovsky canonical form for which a state feedback controller can be easily designed. Moreover, to cope with modeling uncertainties and external disturbances the paper proposes the implement adaptive fuzzy control with the use of the transformed diesel engine’s dynamical model that was obtained through the application of differential flatness theory.
Actually, the paper proposes a solution to the problem of observer-based adaptive fuzzy control for diesel engines and in general for MIMO nonlinear dynamical systems that admit dynamic feedback linearization. The design of the adaptive fuzzy controller considers that only the system’s output is measured and that the system’s model is unknown. The control algorithm aims at satisfying the \(H_\infty \) tracking performance criterion, which means that the influence of the modeling errors and the external disturbances on the tracking error is attenuated to an arbitrary desirable level. After transforming the MIMO system into the canonical form, the resulting control inputs are shown to contain nonlinear elements which depend on the system’s parameters. Since the parameters of the system are unknown, then the nonlinear terms which appear in the control inputs have to be approximated with the use of neuro-fuzzy networks. Moreover, since only the system’s output is measurable the complete state vector has to be reconstructed with the use of a state observer. In the current paper it is shown that a suitable learning law can be defined for the aforementioned neuro-fuzzy approximators so as to preserve the closed-loop system stability. Lyapunov stability analysis proves also that the proposed observer-based adaptive fuzzy control scheme results in \(H_{\infty }\) tracking performance, in accordance to the results of [27–31].
For the design of the observer-based adaptive fuzzy controller one has to solve two Riccati equations, where the first one is associated with the controller and the second one is associated with the observer. Parameters that affect the closed-loop robustness are: (i) the feedback gain vector K, (ii) the observer’s gain vector \(K_o\), (iii) the positive definite matrices \(P_1\) and \(P_2\) which stem from the solution of the two algebraic Riccati equations and which weigh the above mentioned observer and controller terms. The proposed control architecture guarantees that, the output of the closed-loop system will asymptotically track the desired trajectory and that \(H_\infty \) performance will be achieved. The efficiency of the proposed control method is tested through simulation experiments.
The structure of the paper is as follows: in “Dynamic Model of the Turbocharged Diesel Engine” section the dynamic model of the turbocharged diesel engine is analyzed. In “Nonlinear Control of the Diesel Engine using Lie Algebra” section it is shown how linearization and state feedback control for the diesel engine can be performed with the use of Lie algebra. In “Nonlinear Control of the Diesel Engine Using Differential Flatness Theory” section it is shown that the dynamic model of the turbocharged diesel engine is a differentially flat one, and that linearization and state feedback control can be applied with the use of differential flatness theory. In “Application of Flatness-Based Adaptive Fuzzy Control to the MIMO Diesel Engine Model” section the stages of differential flatness theory-based adaptive fuzzy control for the model of the diesel engine are explained. In “Lyapunov Stability Analysis” section Lyapunov stability analysis is provided for the adaptive fuzzy control loop that is implemented on the dynamical model of the turbocharged diesel engine. In “Simulation Tests” section simulation tests are carried out to evaluate the performance of the diesel engine control loop. Finally, in “Conclusions” section concluding remarks are stated.
Dynamic Model of the Turbocharged Diesel Engine
The basic parameters of the Diesel engine are: (i) Gas pressure in the intake manifold \(p_1\), (ii) Gas pressure in the exhaust manifold \(p_2\), (iii) Turbine power \(P_t\), (iv) Compressor power \(P_c\). Additional variables of importance are \(W_c\) which is the compressor mass flow rate, \(T_1\) the intake manifold temperature, \(T_2\) is the exhaust manifold temperature, \(W_t\) is the turbine mass flow rate and \(W_{EGR}\) is the exhaust gas recirculation flow rate (Fig. 1).
The basic relations of the diesel engine’s dynamics are:
The control inputs to this model are the exhaust gas recirculation (EGR) flow rate \(u_1=W_{EGR}\) and the compressor mass flow rate \(u_2=W_t\). Moreover, it holds that
The model is simplified by setting \(\dot{T}_1=0\) and \(\dot{T}_2=0\). In such a case the associated state-space equations are given by
Moreover, it holds that
The description of the diesel engine in state-space form is given by
where
With respect to the control, the variables of the output are: (i) the input manifold pressure \(p_1\) and (ii) the compressor mass flow rate \(W_c\),
Nonlinear Control of the Diesel Engine Using Lie Algebra
A Low Order Feedback Control Scheme
The previous definition of the system’s outputs given in Eq. (9) is used. The linearization of the Diesel engine dynamics is based on the following relations
It holds that
Moreover, it holds that
while it also holds that
Equivalently it holds
Moreover, it holds
Equivalently, one obtains
From the relations
which is also written as
Therefore, one arrives at a relation of the form
The new control inputs can be defined as
one has the dynamics
In such a case the feedback control law results into
results in asymptotic elimination of the tracking error. Therefore, in that case the tracking error dynamics becomes
The previous results are confirmed through the computation of time derivatives and the use of differential flatness theory:
Similarly it holds
Therefore, one arrives again at a dynamics of the following form:
which finally gives
A Dynamic Extension-Based Feedback Control Scheme
In the following, dynamic feedback linearization is performed which means that the control inputs that appear in the linearized form of the system are not only functions of the initial control inputs \(u_1,u_2\) but they also contain terms which are based on the derivatives \(\dot{u}_1,\dot{u}_2\). Thus, one has \(v_1=f_1(u_1,\dot{u}_1)\) and \(v_2=f_2(u_2,\dot{u}_2)\). Equivalently, this means that the control inputs \(u_1,u_2\) which are finally applied to the real system depend on \(v_1,v_2\) through an integration relation, that is \(v_1={f_1}(u_1,\dot{u}_1)\) and \(v_2={f_2}(u_2,\dot{u}_2)\).
The dynamical system of the diesel engine is written in an extended form using the variables \(v_1=\dot{u}_1=\dot{z}\), \(v_2=u_2\) which means \(u_1={\int }{v_1}dt\), \(u_2=v_2\). Thus, using Eq. (7) and Eq. (8) and by substituting \(u_1=z_1\) and \(\dot{z}=v_1\) as intermediate state variable it holds
therefore, by defining the state vector \(x=[x_1,x_2,x_3,x_4]^T=[p_1,p_2,P_c,z]^T\) the state-space description of the diesel engine model becomes
Consequently, in matrix form one has
The system’s outputs are chosen to be
Linearization of the system is performed using the following relations-state variables
and equivalently
It holds that
Moreover, it holds that
Equivalently, one computes
and in a similar manner one obtains
Following an equivalent procedure one computes
In a similar manner one gets
Equivalently, one computes
and similarly
Consequently, after the change of coordinates one has the following description
Consequently, the system of the diesel engine is written in the following form. This also takes the following matrix description
that is
Moreover, by defining the new control inputs one has
one has \(\dot{z}_1^1=z_2^1\), \(\dot{z}_2^1=v_{in}^1\), \(\dot{z}_1^2=z_2^2\) and \(\dot{z}_2^2=v_{in}^2\), the system’s dynamics is written in the canonical Brunovsky form. Moreover, the states-space description of the motor becomes
The selection of the state feedback control law, which assures zeroing of the tracking error is
Since
Moreover, because it holds
to compute the control input \(u_1\) which is actually applied to the diesel motor an integration with respect to time has to be carried out for the auxiliary control input.
Nonlinear Control of the Diesel Engine Using Differential Flatness Theory
The results about dynamic state feedback system linearization can be confirmed with the computation of time derivatives and differential flatness theory. The following differentially flat system outputs are considered
The dynamics of the extended system is
It holds that \(y_1=x_1\) therefore
therefore \(x_3={q_3}(y,\dot{y})\) and thus variable \(x_3\) is a function of the flat output and its derivatives. From the first row of the state-space equations one has
From the 4th row of the states-space equations one has
where \(v_1\) is a function of the flat output and its derivatives. From the 3rd row of the states-space equations one has
From the second row of the state-space equations one obtains
Therefore, all state variables of the system and the control inputs can be written as functions of the flat output and its derivatives. Therefore, the system of the diesel engine is differentially flat. This system can be subjected to dynamic feedback linearization. By considering the flat outputs
and by differentiating with respect to time one obtains the linearized model of the system
and equivalently
or
Equivalently, one has
and equivalently it holds
or
Therefore, it holds
Consequently, in complete analogy to the relations computed with the use of Lie algebra it holds
where
and also
Therefore, one is led again in a description of the system in the following form
Again, by defining the new control inputs one has
one has \(\dot{z}_1^1=z_2^1\), \(\dot{z}_2^1=v_{in}^1\), \(\dot{z}_1^2=z_2^2\) and \(\dot{z}_2^2=v_{in}^2\), the system’s dynamics is written in the canonical Brunovsky form. Moreover, the state-space description of the motor becomes
The design of a feedback controller for the above state-space model is as analyzed in the case of linearization with the use of Differential Geometry (computation of Lie derivatives).
The selection of the state feedback control law, which assures zeroing of the tracking error is
Since
Moreover, because it holds
to compute the control input \(u_1\) which is actually applied to the diesel motor an integration with respect to time has to be carried out for the auxiliary control input.
Flatness-Based Adaptive Fuzzy Control for MIMO Nonlinear Systems
Transformation of MIMO Nonlinear Systems into the Brunovsky Form
It is assumed now that after defining the flat outputs of the initial MIMO nonlinear system, and after expressing the system state variables and control inputs as functions of the flat output and of the associated derivatives, the system can be transformed in the Brunovsky canonical form [32]:
where \(x=[x_1,\ldots ,x_n]^T\) is the state vector of the transformed system (according to the differential flatness formulation), \(u=[u_1,\ldots ,u_p]^T\) is the set of control inputs, \(y=[y_1,\ldots ,y_p]^T\) is the output vector, \(f_i\) are the drift functions and \(g_{i,j}, \ i,j=1,2,\ldots ,p\) are smooth functions corresponding to the control input gains, while \(d_j\) is a variable associated to external disturbances. In holds that \(r_1+r_2+\cdots +r_p=n\). Having written the initial nonlinear system into the canonical (Brunovsky) form it holds
Equivalently, in vector form, one has the following description for the system dynamics
where the following vectors and matrices are be defined
where matrix A has the MIMO canonical form, i.e. with elements
Thus, Eq. (77) can be written in state-space form
which can be also written in the equivalent form:
where \(v=f(x)+g(x)u\). The reference setpoints for the system’s outputs \(y_1,\ldots ,y_p\) are denoted as \(y_{1m},\ldots ,y_{pm}\), thus for the associated tracking errors it holds
The error vector of the outputs of the transformed MIMO system is denoted as
where \(y_{im}^{(r)}\) denotes the r-th order derivative of the i-th reference output of the MIMO dynamical system. Thus, one can also define the following vectors: (i) a vector containing the state variables of the system and the associated derivatives, (ii) a vector containing the reference outputs of the system and the associated derivatives
while in a similar manner one can define a vector containing the tracking error of the system’s outputs and the associated derivatives
It is assumed that matrix g(x) is a nonsingular one, i.e. \(g^{-1}(x)\) exists and is bounded for all \(x{\in }U_x\), where \({U_x}{\subset }R^n\) is a compact set. In any case, the problem of singularities in matrix g(x) can be handled by appropriately modifying the state feedback-based control input.
The objective of the adaptive fuzzy controller, denoted as \(u=u(x,e|\theta )\) is: all the signals involved in the controller’s design are bounded and it holds that \(lim_{t\,{\Rightarrow }\,\infty }e=0\), (ii) the \(H_{\infty }\) tracking performance criterion is succeeded for a prescribed attenuation level.
In the presence of non-gaussian disturbances \(w_d\), successful tracking of the reference signal is denoted by the \(H_{\infty }\) criterion [26, 31]:
where \(\rho \) is the attenuation level and corresponds to the maximum singular value of the transfer function G(s) of the linearized model associated to Eqs. (81) and (82).
Control Law
The control signal of the MIMO nonlinear system which has been transformed into the Brunovsky form as described by Eq. (82) contains the unknown nonlinear functions f(x) and g(x). In case that the complete state vector x is measurable these unknown functions can be approximated by
where
with \(\xi _f^i(x), \i =1,\ldots ,n\) being the vector of kernel functions (e.g. normalized fuzzy Gaussian membership functions), where
thus giving
while the weights vector is defined as
\(j=1,\ldots ,N\) is the number of basis functions that is used to approximate the components of function f which are denoted as \(i=1,\ldots ,n\). Thus, one obtains the relation of Eq. (89), i.e. \(\hat{f}(x|\theta _f)={\Phi _f(x)}\theta _f\).
In a similar manner, for the approximation of function g one has
with \(\xi _{g}^i(x), \i =1,\ldots ,N\) being the vector of kernel functions (e.g. normalized fuzzy Gaussian membership functions), where
thus giving
while the weights vector is defined as
where the components of matrix \(\theta _{g}\) are defined as
\(j=1,\ldots ,p\) is the number of basis functions that is used to approximate the components of function g which are denoted as \(i=1,\ldots ,n\). Thus one obtains about matrix \(\theta _g{\in }R^{N\,{\times }\,p}\)
It holds that
Using the above, one finally has the relation of Eq. (89), i.e. \(\hat{g}(x|\theta _g)={\Phi _g(x)}\theta _g\). If the state variables of the system are available for measurement then a state-feedback control law can be formulated as
where \(\hat{f}(x|\theta _f)\) and \(\hat{g}(x|\theta _g)\) are neurofuzzy models to approximate f(x) and g(x), respectively. \(u_c\) is a supervisory control term, e.g. \(H_{\infty }\) control term that is used to compensate for the effects of modelling inaccuracies and external disturbances. Moreover, \(K^T\) is the feedback gain matrix that assures that the characteristic polynomial of matrix \(A-B{K^T}\) will be a Hurwitz one.
Estimation of the State Vector
The control of the system described by Eq. (78) becomes more complicated when the state vector x is not directly measurable and has to be reconstructed through a state observer. The following definitions are used
-
error of the state vector \(e=x-x_m\)
-
error of the estimated state vector \(\hat{e}=\hat{x}-x_m\)
-
observation error \(\tilde{e}=e-\hat{e}=(x-x_m)-(\hat{x}-x_m)\)
When an observer is used to reconstruct the state vector, the control law of Eq. (101) is written as
Applying Eq. (102) to the nonlinear system described by Eq. (78), results into
It holds \(e=x-x_m \Rightarrow y^{(r)}=e^{(r)}+y_m^{(r)}\). Substituting \(y^{(r)}\) in the above equation gives
and equivalently
where \(e=[e^1,e^2,\ldots ,e^p]^T\) with \(e^i=[e_i,\dot{e}_i,\ddot{e}_i,\ldots ,e_i^{r_i-1}]^T\), \(i=1,2,\ldots ,p\) and equivalently \(\hat{e}=[\hat{e}^1,\hat{e}^2,\ldots ,\hat{e}^p]^T\) with \(\hat{e}^i=[\hat{e}_i,\hat{\dot{e}}_i,\hat{\ddot{e}}_i,\ldots ,\hat{e}_i^{r_i-1}]^T\), \(i=1,2,\ldots ,p\). Matrices A,B and C have been defined in Eq. (80).
A state observer is designed according to Eqs. (105) and (106) and is given by [28]:
The feedback gain matrix is denoted as \(K{\in }R^{n\,{\times }\,p}\). The observation gain matrix is denoted as \(K_o{\in }R^{n\,{\times }\,p}\) and its elements are selected so as to assure the asymptotic elimination of the observation error.
Application of Flatness-Based Adaptive Fuzzy Control to the MIMO Diesel Engine Model
Differential Flatness of the Diesel Engine
It holds that
It holds that
Moreover, from Eq. (110) it holds
Therefore, the considered robotic system is a differentially flat one. Next, taking into account also the effects of additive disturbances the dynamic model becomes
The following control input is defined
where \([u_{c_1} \ u_{c_2}]^T\) is a robust control term that is used for the compensation of the model’s uncertainties as well as of the external disturbances and \(K_i^T=[k_1^i,k_2^i,\ldots ,k_{n-1}^i,k_n^i]\). Substituting Eq. (114) into Eq. (113) the closed-loop tracking error dynamics is obtained
Eq. (115) can now be written as
and using Eq. (114) this results into
The following description for the approximation error is defined
Moreover, the following matrices are defined
Using matrices A, B, \(K^T\), Eq. (117) is written in the following form
When the estimated state vector \(\hat{x}\) is used in the feedback control loop, equivalently to Eq. (105) one has
and considering that the approximation error w is now denoted as
Eq. (121) can be also written as
The associated state observer will be described again by Eq. (107) and Eq. (108).
Dynamics of the Observation Error
The observation error is defined as \(\tilde{e}=e-\hat{e}=x-\hat{x}\). Substructing Eq. (107) from Eq. (105) as well as Eq. (108) from Eq. (106) one gets
or equivalently
which can be written as
or equivalently, it can be written as
Approximation of Functions f(x, t) and g(x, t)
Next, the following approximators of the unknown system dynamics are defined
with kernel functions
where \(l=1,2\), \(\hat{x}\) is the estimate of the state vector and \(\mu _{A_j^{i}}(\hat{x})\) is the i-th membership function of the antecedent (IF) part of the l-th fuzzy rule. Similarly, the following approximators of the unknown system dynamics are defined (Fig. 2)
The values of the weights that result in optimal approximation are
where the variation ranges for the weights are defined as
The value of the approximation error defined in Eq. (118) that corresponds to the optimal values of the weights vectors \(\theta _{f}^{*}\) and \(\theta _{g}^{*}\) one has
which is next written as
which can be also written in the following form
where
Moreover, the following weights error vectors are defined
Lyapunov Stability Analysis
Design of the Lyapunov Function
The adaptation law of the neurofuzzy approximators weights \(\theta _f\) and \(\theta _g\) as well as the equation of the supervisory control term \(u_c\) are derived from the requirement the first derivative of the Lyapunov function to be a negative one
The selection of the Lyapunov function is based on the following principle of indirect adaptive control \(\hat{e}: \lim _{t \rightarrow \infty }{\hat{x}(t)}={x_d}(t)\) and \(\tilde{e}: \lim _{t \rightarrow \infty }{\hat{x}(t)}=x(t)\). This yields \(\lim _{t \rightarrow \infty }x(t)={x_d}(t)\). Substituting Eqs. (107), (108) and Eqs. (124), (125) into Eq. (139) and differentiating results into
Assumption 1
For given positive definite matrices \(Q_1\) and \(Q_2\) there exist positive definite matrices \(P_1\) and \(P_2\), which are the solution of the following Riccati equations [28]
The conditions given in Eqs. (144) to (145) are related to the requirement that the systems described by Eqs. (107), (108) and Eqs. (124), (125) are strictly positive real. Substituting Eqs. (144) to (145) into \(\dot{V}\) yields
i.e.
The supervisory control \(u_c\) is decomposed in two terms, \(u_a\) and \(u_b\).
-
The control term \(u_a\) is given by
$$\begin{aligned} u_a=-{1 \over r}{\tilde{e}^T}{P_2}B+{\Delta }{u_a} \end{aligned}$$(148)where assuming that the measurable elements of vector \(\tilde{e}\) are \(\{\tilde{e}_1, \tilde{e_3}, \ldots , \tilde{e_k}\}\), the term \({\Delta }u_a\) is such that
$$\begin{aligned}&-\,{1 \over r}{\tilde{e}^T}{P_2}B+{\Delta }{u_a}\nonumber \\&\quad =-{1 \over r} \begin{pmatrix} p_{11}\tilde{e}_1+p_{13}\tilde{e}_3+\cdots +p_{1k}\tilde{e}_k \\ p_{13}\tilde{e}_1+p_{33}\tilde{e}_3+\cdots +p_{3k}\tilde{e}_k \\ \cdots \ \cdots \cdots \\ p_{1k}\tilde{e}_1+p_{3k}\tilde{e}_3+\cdots +p_{kk}\tilde{e}_k \\ \end{pmatrix} \end{aligned}$$(149) -
The control term \(u_b\) is given by
$$\begin{aligned} u_b=-[{({P_2}B)^T}({P_2}B)]^{-1}({P_2}B)^TC{K_o^T}{P_1}{\hat{e}} \end{aligned}$$(150)-
\(u_a\) is an \(H_{\infty }\) control used for the compensation of the approximation error w and the additive disturbance \(\tilde{d}\). Its first component \(-{1 \over r}{\tilde{e}^T}{P_2}B\) has been chosen so as to compensate for the term \({1 \over r}{\tilde{e}^T}{P_2}B{B^T}{P_2}\tilde{e}\), which appears in Eq. (147). By including also the second component \({\Delta }{u_a}\), one has that \(u_a\) is computed based on the feedback only the measurable variables \(\{\tilde{e}_1, \tilde{e_3}, \ldots , \tilde{e_k}\}\), out of the complete vector \(\tilde{e}=[\tilde{e}_1,\tilde{e}_2,\ldots ,\tilde{e}_n]\). Eq. (148) is finally rewritten as \(u_a=-{1 \over r}{\tilde{e}^T}{P_2}B+{\Delta }{u_a}\).
-
\(u_b\) is a control used for the compensation of the observation error (the control term \(u_b\) has been chosen so as to satisfy the condition \({\tilde{e}^T}{P_2}B{u_b}=-{\tilde{e}^T}C{K_o^T}{P_1}\hat{e}\).
-
The control scheme is depicted in Fig. 3
Substituting Eqs. (148) and (150) in \(\dot{V}\) and assuming that Eqs. (144) and (145) hold, one gets
or equivalently,
It holds that \(\dot{\tilde{\theta }}_f=\dot{\theta }_f-\dot{\theta _f^*}=\dot{\theta _f}\) and \(\dot{\tilde{\theta }}_g=\dot{\theta }_g-\dot{\theta _g^*}=\dot{\theta _g}\). The following weight adaptation laws are considered:
where assuming N fuzzy rules and associated kernel functions the matrices dimensions are \({\theta _f}{\in }R^{N\times 1}\), \({\theta _g}{\in }R^{N\times 2}\), \(\Phi (x){\in }R^{2\,{\times }\,N}\), \(B{\in }R^{4\times 2}\), \(P{\in }R^{4\times 4}\) and \(\tilde{e}{\in }R^{4\times 1}\).
The update of \(\theta _f\) is a gradient type algorithm. The update of \(\theta _g\) is also a gradient type algorithm, where \(u_c\) implicitly tunes the adaptation gain \(\gamma _2\) [33, 34]. Substituting Eq. (153) in \(\dot{V}\) gives
or
Taking into account that \(u\ {\in } \ R^{2\times 1}\) and \({\tilde{e}^T}PB(\hat{g}(x|\theta _g)-\hat{g}(x|\theta _g^{*})) \ {\in } \ R^{1\times 2}\) it holds
Since \({\tilde{e}^T}{P_2}B(\hat{g}(\hat{x}|\theta _g)-\hat{g}(\hat{x}|\theta _g^{*})){u}{\in }R^{1\times 1}\) it holds
Therefore, one finally obtains
Next, the following approximation error is defined
Thus, one obtains
Denoting the aggregate approximation error and disturbances vector as
the derivative of the Lyapunov function becomes
which in turn is written as
Lemma The following inequality holds
Proof The binomial \(({\rho }a-{1 \over \rho }b)^2 \ge 0\) is considered. Expanding the left part of the above inequality one gets
The following substitutions are carried out: \(a=w_1\) and \(b=\tilde{e}^T{P_2}B\) and the previous relation becomes
The above relation is used in \(\dot{V}\), and the right part of the associated inequality is enforced
Thus, Eq. (167) can be written as
where
Hence, the \(H_{\infty }\) performance criterion is derived. For \(\rho \) sufficiently small Eq. (167) will be true and the \(H_{\infty }\) tracking criterion will be satisfied. In that case, the integration of \(\dot{V}\) from 0 to T gives
It is assumed that there exists a positive constant \(M_w>0\) such that \(\int _0^{\infty }{||w_1||^2}dt \le M_w\). Therefore for the integral \(\int _0^{T}{||E||_Q^2}dt\) one gets
Thus, the integral \({\int _0^{\infty }}{||E||_Q^2}dt\) is bounded and according to Barbalat’s Lemma
Therefore \(\lim _{t \rightarrow \infty }{e(t)}=0\).
The Role of Riccati Equation Coefficients in \(H_{\infty }\) Control Robustness
The linear system of Eqs. (124) and (125) is considered again
The aim of \(H_{\infty }\) control is to eliminate the impact of the modelling errors \(w=[f(x,t)-\hat{f}(\hat{x},t)]+[g(x,t)-\hat{g}(\hat{x},t)]u\) and the external disturbances \(\tilde{d}\) which are not white noise signals. This implies the minimization of the quadratic cost function [35–37]:
The weight r determines how much the control signal should be penalized and the weight \(\rho \) determines how much the disturbances influence should be rewarded in the sense of a mini-max differential game. The control input \(u_c\) has been defined as the sum of the terms described in Eqs. (148) and (150).
The parameter \(\rho \) in Eq. (173), is an indication of the closed-loop system robustness. If the values of \(\rho >0\) are excessively decreased with respect to r, then the solution of the Riccati equation is no longer a positive definite matrix. Consequently there is a lower bound \(\rho _{min}\) of \(\rho \) for which the \(H_{\infty }\) control problem has a solution. The acceptable values of \(\rho \) lie in the interval \([\rho _{min},\infty )\). If \(\rho _{min}\) is found and used in the design of the \(H_{\infty }\) controller, then the closed-loop system will have increased robustness. Unlike this, if a value \(\rho > \rho _{min}\) is used, then an admissible stabilizing \(H_{\infty }\) controller will be derived but it will be a suboptimal one. The Hamiltonian matrix
provides a criterion for the existence of a solution of the Riccati equation Eq. (145). A necessary condition for the solution of the algebraic Riccati equation to be a positive semi-definite symmetric matrix is that H has no imaginary eigenvalues [37].
Simulation Tests
The performance of the proposed observer-based adaptive fuzzy MIMO controller was tested in the MIMO nonlinear model of the turbocharged Diesel engine (Fig. 1). The differentially flat model of the Diesel Engine and its transformation to the Brunovksy form has been analyzed in “Nonlinear Control of the Diesel Engine Using Differential Flatness Theory” section.
The state feedback gain was \(K{\in }R^{2\times 4}\). The basis functions used in the estimation of \(f_i(\hat{x},t), \ i=1,2\) and \(g_{ij}(\hat{x},t), \ i=1,2, \ j=1,2\) were \(\mu _{A_j}(\hat{x})= e^{({{\hat{x}-c_j} \over \sigma })^2}, j=1,\ldots ,2\). Since there are four inputs \(\hat{x}_1\), \(\dot{\hat{x}}_1\) and \(\hat{x}_3\), \(\dot{\hat{x}}_3\) and each one of them consists of 3 fuzzy sets, for the approximation of functions \(f_i(\hat{x},t) \ i=1,3\), there will be 81 fuzzy rules of the form:
The aggregate output of the neuro-fuzzy approximator (rule-base) is \(\hat{f}_i(\hat{x},t)={ {\sum _{l=1}^{81}}{\hat{f}_i^l}{\prod _{i=1}^4}{\mu _{A_i}^l(\hat{x}_i)} \over {\sum _{l=1}^{81}}{\prod _{i=1}^4}{\mu _{A_i}^l(\hat{x}_i)}}\).
The estimation of the control input gain functions \(\hat{g}_{ij}(\hat{x},t) i=1,2\) was derived in a similar way. The overall simulation time was \(t_s=40 sec\). The sampling period was taken to be 0.01 sec. In the beginning of the training of the neuro-fuzzy approximators their weights were initialized to zero. Moreover, the elements of the diesel engine’s state vector were also initialized to zero. The positive definite matrices \(P_1{\in }R^{4\times 4}\) and \(P_2{\in }R^{4\times 4}\) stem from the solution of the algebraic Riccati equations Eqs. (144) and (145), for \(Q_1\) and \(Q_2\) also positive definite.
The approximations \(\hat{f}\) and \(\hat{g}\) were used in the derivation of the control law, given by Eq. (102). To show the disturbance rejection capability of the proposed adaptive fuzzy controller, at the beginning of the second half of the simulation time additive sinusoidal disturbances of amplitude \(A=0.5\) and period \(T=10\)sec were applied to the diesel engine model.
The performance of the differential flatness theory-based adaptive fuzzy control loop was tested in the case of tracking of different reference setpoints. The obtained results are depicted in Figs. 4, 5, 6, 7, and 8. It can be observed that the proposed adaptive fuzzy control scheme succeeded fast and accurate tracking of all these setpoints.
The root mean square error (RMSE) of the examined control loop is also calculated (assuming the same parameters of the controller) in the case of tracking of the previous setpoints 1 to 5. The results are summarized in Table 1. It can be seen that the transient characteristics of the control scheme are also quite satisfactory.
Conclusions
The paper has examined the use of differential flatness theory as the basis of adaptive fuzzy control of turbocharged diesel engines. The development of embedded control for diesel engines exhibits particular difficulties, such as the engine’s nonlinear dynamics, uncertainties and disturbances affecting the engine’s model and the difficulty in measuring specific elements of the engine’s state vector. In particular, the engine’s model does not admit static feedback linearization and this increases the degree of difficulty of this nonlinear control problem. To handle this, it has been proposed to apply dynamic feedback linearization which is based on extending the state-space description of the engine with the inclusion of additional state variables representing the derivatives of the control inputs.
It has been shown that the extended state-space model of the turbocharged diesel engine satisfies differential flatness properties and can be finally transformed into the MIMO canonical (Brunovsky) form. The latter description facilitates the design of a state feedback controller that assures that the elements of the state vector of the engine will converge asymptotically to the desirable setpoints. For the case that there is no prior knowledge about the diesel engine dynamics adaptive fuzzy control can be implemented. After applying the transform that was based on differential flatness theory the MIMO system was written into the canonical form. The resulting control inputs were shown to contain nonlinear elements which depend on the system’s parameters. Since the parameters of the system were unknown, then the nonlinear terms which appear in the control inputs had to be approximated with the use of neuro-fuzzy networks. Moreover, since only the system’s output is measurable the complete state vector had to be reconstructed with the use of a state observer. It has been shown that a suitable learning law can be defined for the aforementioned neuro-fuzzy approximators so as to preserve the closed-loop system stability. With the use of Lyapunov stability analysis it has also been proven that the proposed observer-based adaptive fuzzy control scheme results in \(H_{\infty }\) tracking performance.For the design of the observer-based adaptive fuzzy controller one had to solve two Riccati equations, where the first one was associated with the controller and the second one was associated with the observer.
The presented case study on observer-based adaptive fuzzy control system shows that it is possible to apply indirect adaptive fuzzy control also to systems that admit dynamic feedback linearization. This is particularly important for the design of MIMO controllers, capable of efficiently compensating for modeling uncertainties and external disturbances in such a class of nonlinear dynamical systems. Unlike other adaptive fuzzy control schemes which are based on several assumptions about the structure of the nonlinear system as well as about the uncertainty characterizing the system’s model, the proposed adaptive fuzzy control scheme based on differential flatness theory offers an exact solution to the design of fuzzy controllers for unknown dynamical systems. Besides, it enables control of MIMO nonlinear systems without the need to measure all state vector elements. The only assumption needed for the design of the controller and for succeeding \(H_{\infty }\) tracking performance for the control loop is that there exists a solution for two Riccati equations associated with the linearized error dynamics of the differentially flat model. This assumption is quite reasonable for several nonlinear systems, thus providing a systematic approach to the design of reliable controllers for such systems.
References
Jiang, G., Guo, S., Zhang, J., Huang, W.: Development of electronic governor for diesel engine based on embedded RTOS. IEEE ICVES 2006, IEEE International Conference on Vehicular Electronics and Safety, Beijing (2006)
Guardiola, C., Pla, B., Blanco-Rodriguez, D., Erikson, L.: A computationally efficient Kalman filter-based estimator for updating look-up tables applied to NOx esstimation in diesel engines. Control Eng. Pract. 21(11), 1455–1468 (2013)
Li, S., Kolmanovsky, I.V., Ulsoy, A.G.: Direct optimal design for component swapping modularity in control systems. IEEE/ASME Trans. Mechatron. 18(1), 297–306 (2013)
Sepulveda, R., Montiel, O., Castello, O., Melin, P.: Embedding a high-speed interval type-2 fuzzy controller for a real plant into a FPGA. Appl. Soft Comput. 12(3), 988–998 (2012)
Maroteaux, F., Saad, C.: Diesel engine combustion modelling for hardware in the loop applications: effects of ignition delay time model. Energy 57(1), 641–652 (2013)
Ballachi, A., Benvenuti, L., di Benedetto, M.D., Sangiovanni-Vincentelli, A.: The design of dynamical observers for hybrid systems: theory and application of an automotive control problem. Automatica 49(4), 915–925 (2013)
Vance, J.B., Kaul, B.C., Jagannathan, S., Drallmeier, J.A.: Output feedback controller for operation of spark ingition engines at lean conditions using neural networks. IEEE Trans. Control Syst. Technol. 16(2), 214–227 (2008)
Alipi, C., de Russion, C., Piuri, V.: A neural network-based control solution to air-fuel ratio control for automotive fuel injection systems. IEEE Trans. Syst. Man Cybern. Part C Appl. Rev. 33(2), 259–268 (2003)
Colin, G., Chamuillard, Y., Bloch, G., Corde, G.: Neural control of fast nonlinear systems: application to a turbocharged SI engine with VCT. IEEE Trans. Neural Netw. 18(4), 1101–1114 (2007)
Nguyen, A., Lauber, J., Dambrine, M.: Multi-objective control design for turbo-charged spark ignited air system: a switching Takagi-Sugeno model approach. 2013 American Control Conference, Washington, DC (2013)
Chauvin, J., Moulin, P., Corde, G., Petit, N., Rouchon, P.: Kalman filtering for real-time individual cylinder air fuel ratio observer on a diesel engine test bench. In: Proceedings of the American Control Conference, Minneapolis, MN (2006)
Moulin, P.: Modélisation et commande des systèmes d’ air des moteurs suralimentés. Thèse de doctorat, Ecole Nationale Supérieure des Mines de Paris (2010)
Wahlström, J., Erikson, L.: Nonlinear EGR and VGT control with integral action for diesel engines. Oil Gas Sci. Technol. Rev. IFP Energies Nouvelles 66(4), 573–586 (2011)
Nitsche, R., Schwarzmann, D., Hanscke, J.: Nonlinear internal model control of diesel air systems. Oil Gas Sci Technol Rev. IFP Energies Nouvelles 62(4), 573–586 (2011)
Dabo, M., Langlois, N., Chafouk, H.: Asymptotic tracking applied to the control of a turbocharged diesel engine. In: UKACC International Conference on Control, University of Manchester (2008)
Kotman, P., Bitzer, M., Kugi, A.: Flatness-based feedforward control of a two-stage turbocharged diesel air system with EGR. In: 2010 IEEE International Confrence on Control Applications, Yokohama (2010)
Rigatos, G., Siano, P., Zervos, N.: Derivative-free nonlinear Kalman filtering for PMSG sensorless control. In: Habib, M. (ed.) Mechatronics Engineering: Research Development and Education. Wiley, New York (2012)
Rudolph, J.: Flatness Based Control of Distributed Parameter Systems, Steuerungs- und Regelungstechnik. Shaker Verlag, Aachen (2003)
Sira-Ramirez, H., Agrawal, S.: Differentially Flat Systems. Marcel Dekker, New York (2004)
Lévine, J.: On necessary and sufficient conditions for differential flatness. Appl Algebra Eng. Commun. Comput. 22(1), 47–90 (2011)
Fliess, M., Mounier, H.: Tracking control and \(\pi \)-freeness of infinite dimensional linear systems. In: Picci, G., Gilliam, D.S. (eds.) Dynamical Systems, Control, Coding and Computer Vision, vol. 258, pp. 41–68. Birkhaüser, Basel (1999)
Rouchon, P.: Flatness-based control of oscillators. ZAMM Zeitschrift fur Angewandte Mathematik und Mechanik 85(6), 411–421 (2005)
Martin, P., Rouchon, P.: Systèmes plats: planification et suivi des trajectoires. Journées X-UPS, École des Mines de Paris, Centre Automatique et Systèmes, Mai (1999)
Bououden, S., Boutat, D., Zheng, G., Barbot, J.P., Kratz, F.: A triangular canonical form for a class of 0-flat nonlinear systems. Int. J. Control 84(2), 261–269 (2011)
Laroche, B., Martin, P., Petit, N.: Commande par platitude: Equations différentielles ordinaires et aux derivées partielles. Ecole Nationale Supérieure des Techniques Avancées, Paris (2007)
Rigatos, G.: Modelling and Control for Intelligent Industrial Systems: Adaptive Algorithms in Robotics and Industrial Engineering. Springer, Berlin (2011)
Rigatos, G.G.: Adaptive fuzzy control with output feedback for \(H_{\infty }\) tracking of SISO nonlinear systems. Int. J. Neural Syst. 18(4), 1–16 (2008)
Rigatos, G.G.: A differential flatness theory approach to observer-based adaptive fuzzy control of MIMO nonlinear dynamical systems. Nonlinear Dyn. 76(2), 1335–1354 (2014)
Rigatos, G.G., Tzafestas, S.G.: Adaptive fuzzy control for the ship steering problem. J. Mechatron. 16(6), 479–489 (2006)
Yousef, H.A., Hamdy, M., Shafiq, M.: Flatness-based adaptive fuzzy output tracking excitation control for power system generators. J. Frankl. Inst. 350, 23342353 (2013)
Rigatos, G.G.: Adaptive fuzzy control of DC motors using state and output feedback. Electr. Power Syst. Res. 79(11), 1579–1592 (2009)
Rigatos, G., Siano, P., Zervos, N.: Sensorless control of distributed power generators with the derivative-free nonlinear Kalman Filter. IEEE Trans. Ind. Electron. 61(11), 6369–6382 (2014)
Rigatos, G., Zhang, Q.: Fuzzy model validation using the local statistical approach. Fuzzy Sets Syst. 60(7), 882–904 (2009)
Bassevile, M., Nikiforov, I.: Detection of Abrupt Changes: Theory and Applications. Prentice-Hall, Upper Saddle River (1993)
Kurylowicz, A., Jaworska, I., Tzafestas, S.G.: Robust stabilizing control: an overview. In: Tzafestas, S.G. (ed.) Applied Control: Current Trends and Modern Methodologies, pp. 289–324. Marcel Dekker, New York (1993)
Lublin, L., Athans, M.: An experimental comparison of and designs for interferometer testbed. In: Francis, B., Tannenbaum, A. (eds.) Lectures Notes in Control and Information Sciences: Feedback Control, Nonlinear Systems and Complexity, pp. 150–172. Springer, Berlin (1995)
Doyle, J.C., Glover, K., Khargonekar, P.P., Francis, B.A.: State-space solutions to standard \(H_2\) and \(H_{\infty }\) control problems. IEEE Trans. Autom. Control 34, 831–847 (1989)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Rigatos, G., Siano, P. & Arsie, I. A Differential Flatness Theory Approach to Embedded Adaptive Control of Turbocharged Diesel Engines. Intell Ind Syst 2, 349–370 (2016). https://doi.org/10.1007/s40903-016-0056-7
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40903-016-0056-7