Shape-Independent Model Predictive Control for Takagi-Sugeno Fuzzy Systems
Abstract
Predictive control of TS fuzzy systems has been addressed in prior literature with some simplifying assumptions or heuristic approaches. This paper presents a rigorous formulation of the model predictive control of TS systems, so that results are valid for any membership value (shape-independent) with a suitable account of causality (control can depend on current and past memberships and state). As in most fuzzy control results, a family of progressively better controllers can be obtained by increasing Polya-related complexity parameters, generalising over prior proposals.
Full text
Shape-Independent Model Predictive Control for Takagi-Sugeno Fuzzy Systems Carlos Ari˜no, Andr´es Querol Dept. Sistemas Industriales y Dise˜no. Universitat Jaume I. Av. Vicent Sos Baynat, s/n E-12071 Castell´on, Spain Antonio Sala∗ Inst. U. Automatica e Informatica Industr. (AI2). Universitat Polit`ecnica de Val`encia. Cno Vera s/n, E-46022 Valencia, Spain Abstract Predictive control of TS fuzzy systems has been addressed in prior literature with some simplifying assumptions or heuristic approaches. This paper presents a rigorous formulation of the model predictive control of TS systems, so that results are valid for any membership value (shape-independent) with a suitable account of causality (control can depend on current and past memberships and state). As in most fuzzy control results, a family of progressively better controllers can be obtained by increasing Polya-related complexity parameters, generalising over prior proposals. Keywords: Predictive control, Fuzzy control, Polya relaxations 1. Introduction Takagi-Sugeno (TS) systems are a widely-used tool to exactly model nonlinear systems via the so-called sector-nonlinearity approach [1], on a compact modelling region Ω. Subsequently, stability analysis and control design tasks can be carried out on the TS models. Control techniques for TS fuzzy systems based on LMIs [1] have been deeply developed in recent years, see the review paper [2] and references therein. Of course, the TS+LMI approach is conservative with respect to an “ideal” nonlinear control approach [3], but it allows solving the problems via convex optimisation tools, derived from linear systems and related to the linear parameter varying (LPV) approach [4]. As the model is only valid on a compact set, the results are also limited to this modelling region, usually the largest Lyapunov level set in Ω (slightly larger sets can be actually ∗Corresponding author Email addresses: [email protected] (Carlos Ari˜no), [email protected] (Andr´es Querol), [email protected] (Antonio Sala) Preprint submitted to Elsevier June 14, 2017
proven, see [5]) or an inescapable set in disturbance-rejection problems [6,7]. A recent alternative to the LMI approach in TS systems is the asymptotically exact geometric polytope manipulation approach in [8,9], extending well-known results in the robust-polytopic control field [10]. In realistic applications, there is always control saturation; most LMI conditions conservatively require the control action to avoid saturation in the outermost Lyapunov level set [1], others allow saturation [11] but they cannot prove improvement with respect to non-saturating laws or require iteration/Bilinear Matrix Inequalities, see [12]. Note also that if the operation point is not at the center of actuator range, constraints are non-symmetric; however, in an LMI setup constraints must be forced to be symmetric in the vast majority of cases. The above-referred geometric approach can naturally handle such nonsymmetric constraints. Apart from sheer stability, optimality of a quadratic index for TS systems is a problem that has been also addressed in many works in literature in the socalled guaranteed cost setup [1,12,13,14,15]; the“guaranteed cost”terminology stems from the fact that the controllers in such references only prove an “upper bound” to the actual cost. The above-referred works use a 1-step version of the Belmann equation, i.e., V(xk)≥L(xk, uk)+V(xk+1), Lbeing some quadratic“step cost”, to prove that Vis a cost bound via some LMIs. Obviously, the natural multi-step extension to the Bellmann equation is V(xk)≥PN−1 j=1 L(xk, uk) + V(xk+N); such optimisations are the key point behind model predictive control (MPC) approaches, very popular in applications nowadays [16]. Linear MPC under quadratic stage and terminal cost are routinely solved via very efficient quadratic programming (QP, convex) optimisation and, also, there are well-known stability and optimality guarantees [17] emanating from classical LQR theory. In the uncertain case, the so-called minimax predictive control is addressed in the well-known references [18,19,10]; state an input constraints are naturally handled in the resulting constrained optimisation setups (QP, LMI). These “uncertain” MPC approaches can, of course, apply to TS systems but, they are conservative in the same way as “robust linear” controllers are, as they do not exploit the fact that membership functions are measurable in on-line operation so control can depend on them. On the other hand, the “ideally” least-conservative framework would be directly applying nonlinear MPC [20,21] to the original nonlinear system from which the TS model was originated; the main drawback is the fact that computational cost of nonlinear MPC is high (convexity cannot be guaranteed) and, in many cases, convergence of the optimisation iterations is, if they actually converge, to a possibly local minimum. So, fuzzy MPC stands in the“middle ground”between the well-developed linear/robust cases and the elusive nonlinear one. However, quite a few of the fuzzy MPC earlier literature works have significant shortcomings. For instance, the widely-cited work [22] resorts to clustering but, actually, it carries out nonlinear MPC on the resulting identified fuzzy model, via nonconvex branch-and-bound optimisation. The work [23] computes a linear MPC by “freezing” the memberships at a particular instant and assuming they will be constant in the future; 2
this might work in practice, but it lacks theoretical justification in fast transients. The work [24] presents an interesting approach in which a sequence of quadratic cost bounds and state-feedback gains solves (suboptimally) the MPC problem. The great advantage is its computational tractability; however, it is well-known that even for the linear case, under constraints, the optimal value function is not quadratic in the state, so the approach is conservative. Recent works such as [25] discusses networked interval type-2 systems, but their results are still based on the 1-step equation discussed above so they are not solving a “proper” multi-step problem as most MPC literature understands. There are other related works on LMI-based suboptimal MPC for Wiener and Hammerstein models [26] or for input-output LPV systems (uncertain impulse-response coefficients) [27] anyway, these non-TS representations are intentionally out of the scope of the present manuscript, as well as other multi-agent/cooperative/stochastic versions of MPC [28,29]. Actually, the papers whose approach is more similar to the one pursued here are, for instance, [30,31,32,33]. Nevertheless, for brevity in this introduction, further discussion and comparative analysis with these related results are presented in later sections of this manuscript, once notation and problem statement have been established. The objective of this paper is adapting the linear MPC for TS fuzzy models in a rigorous way, suitably posing the problem and proposing linear matrix inequality conditions for the resulting optimisation. The key idea is introducing the shape-independent concept to the model predictive control problem formulation on TS fuzzy systems. This concept implies that the MPC is valid not only for the actual non-linear system originating a TS model, but also for any other possible realization of the membership functions. This is a source of conservatism with respect ot pure nonlinear-MPC but, in exchange, systematic LMI conditions can be posed. Importantly, the proposed controllers make use of the fact that future memberships will be measurable at the moment of computing the future control action, absent in other literature proposals. The structure of the paper is as follows: Section 2presents preliminary results, notation and problem statement; Section 3presents the main contribution on shape-independent fuzzy-MPC, prediction model and constraints; this section is followed by a stability analysis in Section 5, where terminal cost and controller are discussed in depth. Two brief sections present a shape-dependent MPC variation and a comparative analysis and discussion. Section 7develops an example, and a conclusion section closes the paper. 2. Preliminaries Considerer a nonlinear discrete-time system, given by: xk+1 =fx(xk) + g(xk)uk(1) where xk∈Rnrepresents the state vector, uk∈Rmthe control actions and fx(0) = 0. The above system can be expressed in compact regions X,Ucon- 3
taining the origin as a Takagi-Sugeno fuzzy model with rrules in the form xk+1 =˜ f(µ, xk, uk) := r X i=1 µi(xk)(Aixk+Biuk) (2) In this representation µi(x) are the membership functions which, for later manipulations, they will be grouped in the vector of memberships µ(x) := µ1(x)µ2(x). . . µr(x)T(3) which belongs to the standard simplex: ∆ := (µ∈Rr| r X i=1 µi= 1, µi≥0)(4) The regions where system (1) is modelled will be assumed to be polyhedra X={x∈Rn|Rx +r≤0},U={u∈Rm|Su +s≤0}(5) where inequalities in vectors are understood to hold element-wise. As discussed in the introduction, well-known LMIs have been developed to synthesise state-feedback controllers for systems in the TS form (2). In particular, this paper will root on the so-called guaranteed-cost results [1,12] and will propose predictive controllers which improve on the obtained cost bounds. 2.1. Fuzzy predictive control: problem statement Generic Predictive control problems [16,17] are based on solving finitehorizon constrained optimisation problems. Let us discuss how the predictive control problem can be formally stated in a TS framework. First, in a TS fuzzy system, let us define a membership-dependent cost index: J∞(x0,{u0, u1, . . . }) := ∞ X k=0 L(µ(xk), xk, uk) (6) In this way, some non-quadratic costs can be embedded into the framework of this paper. If a controller uk=g(µ(xk), xk) is under operation, the infinite cost is just a function of the initial state, to be denoted as J∞(x0). Abusing the notation, if arguments are clear the above index will be shorthanded to J∞. Then, the fuzzy version of the finite-time problems in predictive control requires defining a N-step cost as: JN(µ,u, x0) := V(µ(xN), xN) + N−1 X k=0 L(µ(xk), xk, uk) (7) where, for convenience, memberships are arranged as a matrix: µ:= µ1(x0)µ1(x1). . . µ1(xN) . . .. . ..... . . µr(x0)µr(x1). . . µr(xN) ∈Rr×(N+1) (8) 4
and µ∈∆N+1 will indicate that each column belongs to ∆. The term V(µ(xN), xN) will be denoted as terminal cost and the term L(µ(xk), xk, uk) as stage cost; u denotes the set of control actions {u0, ..., uN−1}. Under mild assumptions, if there exists a controller such that V(µ(x), x)≥J∞(x), then stability can be proved [17] for initial states such that JN(µ,u, x0) is finite. Generic nonlinear predictive control (NMPC, [16]) would, subsequently, try to obtain a sequence of future inputs u∗ j,j= 0, . . . , N −1 so that JN(µ,u, x0) is minimised (understanding µto be obtained from the simulated states under u∗from an initial condition x0). The basic problem of the above generic NMPC approach is the fact that the optimisation problem is, in general, non-convex and without guaranteed convergence or execution time bound in real-time implementation, and also stability guarantees are missing. Disregarding µ, system (2) can be considered as an uncertain polytopic one, so such early linear minimax results cited in the introduction can be applied to them to design robust controllers, but in such a case the knowledge of the membership functions in on-line operation is not exploited. The objective of this paper is providing a Polya-based asymptotically exact solution to a shape-independent version of the above predictive control problem: J∗(x0) := min Umax µ∈∆N+1 JN(µ, g(µ, U), x0) (9) under suitable constraints, where u:= g(µ, U) will denote a causal controller parametrisation, detailed in Section 3. Causality refers to the fact that the actual shape of the membership functions is unknown at design time but it will be known when implemented, and future memberships will, too, be eventually known. The proposed solution will be in LMI form. 2.2. Homogeneous polynomial notation In order to solve fuzzy control problems, homogeneous polynomials in memberships are widely used (for instance, in the asymptotically exact solutions in [34,35,9], etc.) Considering a degree d∈N,d≥1, and state x, all monomials of degree din the memberships can be expressed as µα(x) := µα1 1(x)µα2 2(x). . . µαr r(x) (10) where α∈Nris a vector of natural numbers (understood including zero) such that |α|:= Pr i=1 αi=d. In the sequel, the following notation will be used to denote a degree-dhomogeneous polynomial in memberships, say Ξd µ, which will be expressed as: Ξd µ(x):= X |α|=d µα(x)nαΞα(11) where nαΞαare the polynomial coefficients, factorised as Ξαand a combinatorial number nα, defined to be the multiset permutation of αin the set |α|=d, i.e.: nα:= |α| α=(α1+· · · +αr)! α1!. . . αr!(12) 5
It can be proved that: X |α|=d µαnα= 1 (13) In Appendix A, some well-knwon results on products of homogeneous polynomials and Polya-theorem, later used, are recalled. State dependence µα(x) will be shorthanded to µαif clear from the context. Remark 1 In order to use this notation in TS models, we will understand X |ξ|=1 µξAξ:= r X i=1 µiAi(14) where ξ∈Nris, forcedly, a vector with a single element equal to 1, being the rest zero, and we understand Aξto be equal to Ai, with ibeing the unique index such that ξi= 1. As nξ= 1, we omit writing it at the left-hand side of (14). Homogeneous polynomials in delayed instants. The appearence of memberships of states from x0to xNin the problem statement motivates extending the fuzzy summation notation to encompass different instants. This paper will discuss homogeneous polynomials in membership functions, evaluated at several instants of time, arranged as (8), so µik := µi(xk). The degree of the homogeneous polynomial at different time instants may differ: the homogeneous polynomial in memberships at time kwill, by assumption, have degree dk. In order to compactly handle such situation, we will introduce a degree vector d∈N1×(N+1), conformed with said elements dk. Considering now (11), as a different vector αwill be needed for different instants, the definition of αwill be generalised to being a matrix, using its k-th column to index a particular monomial at instant k: considering a matrix of natural numbers α∈Nr×(N+1), notation αkfor k= 0, . . . , N, will denote the k-th column of a matrix α, considering the first one to be indexed by zero, in order to be consistent with the idea that the degrees correspond to µ(x0). Also, in this matrix case, |α|will denote the vector of dimension 1 ×(N+ 1) formed by the column-wise sums, i.e., whose element at position jis |αk|=Pr i=1 αik. Now, notation µαwill represent a monomial in the membership functions (at different instants of time), given by: µα:= ΠN k=0µαk(xk)=Πr i=1ΠN k=0µαik i(xk) (15) and nαis nα:= N Y j=0 nαk= N Y j=0 |αk|! Qr i=1 αik!(16) It can be proved in a straightforward way that Pnαµα= 1. The generalisation of (11) to the multiple-instant setting will be denoted by: Ξd µ:= X |α|=d µαnαΞα(17) 6
where dwill now be a degree vector,d∈NN+1 indicating the degree at each instant of time of the overall fuzzy summation. Example 1 Consider a prediction horizon N= 3 and two rules, r= 2. Example membership monomials for some degree matrices αare, say: α=300 400⇒µα= (µ1(x0))3(µ2(x0))4, nα=7! 3!4! 0! 0!0! 0! 0!0! = 35 |α|= (7,0,0),|α1|= 7,|α2|=|α3|= 0 α=210 004⇒µα= (µ1(x0))2µ1(x1)(µ2(x2))4, nα= 1 |α|= (2,1,4),|α1|= 2,|α2|= 1,|α3|= 4 3. Shape-independent fuzzy predictive control Let us now completely state the shape-independent problem (9) rooting from (7) and its associated constraints. At the moment of computing ukin (7), memberships µ(x0), . . . µ(xk) will be known; hence, we will search over controller depending on these memberships, i.e., uk:= gk(µ(x0), . . . , µ(xk), Uk), where Ukis a vector of numeric parameters for gk(). Juxtaposing all controls, defining the set of control laws u:= {u0, u1, . . . , uN−1}, and the set of numeric decision variables U:= {U0, . . . , UN−1}, where Ukare those associated to control ukat instant k, we will express them with the shorthand u:= g(µ, U). A homogeneous polynomial structure for g and Uwill be detailed shortly below. Under the above causality constraints, then, the shape-independent fuzzy MPC problem would amount to computing: J∗(x0) := min Umax µ∈∆N+1 JN(µ, g(µ, U), x0) (18) subject to, for k= 0,...N −1, xk+1 =˜ f(µ, xk, gk(µ(x0), . . . , µ(xk), Uk)) (19) gk(µ(x0), . . . , µ(xk), Uk)∈U(20) xk∈X(21) xN∈T(22) where Tis a so-called terminal set (see Section 5for details on how to obtain it to guarantee stability). Note that, if memberships are considered as “uncertainty” and the controller cannot depend on them, the above problem statement would be that of the so-called minimax predictive control [18,19]. Intermediate cases with partiallyknown membership components [36, Eq. (27)], may also be conceived, but they will be left out of the scope of the discussion for brevity. 7
3.1. Relevant prior results in literature As discussed in the introduction, some prior results on the topic have already been dealt with in literature. The approaches may be classified as follows: Infinite-horizon (guaranteed cost) fuzzy control. Sets N= 0, and conditions such that V(µ(x), x)≥J∞(x0) are set up (usually in LMI form) to find both Vand an associated controller g(µ, x); if feasible, finiteness of the cost index is guaranteed (and stability under mild well-known conditions). Conditions are valid for any x0(usually, in a certain ellipsolidal region), unknown at design time. The reader is referred to, for instance, [1,12,13,14]. Also, an outputfeedback setup can be found in [15]. On-line infinite-horizon fuzzy control. Adapting the above to a particular measured x0, the resulting LMIs yield Lyapunov functions and controller gains depending on the measured state. The reader is referred to, for instance, [32,37,38,33]. These results are considered by their authors, too, to be model predictive control; we are not proposing any notation/terminology debate here, as it is just a matter of taste. The important fact is that, as the cost bound is decreasing in time, it can be used to prove feasibility in future time and stability, see the cited references for details. Note that dependence on the first membership µ(x0) can be removed, as it can be directly measured. This implies a minor modification to the problem statement; for clarity in exposition, it will be deferred, and discussed later on in Section 4.4. One-step predictive control. We will classify with this label the literature works where, given a measured x0, the control action u0is itself a decision variable, instead of resulting from a feedback gain as in the above-cited setups. Later on, a terminal state-feedback setup uk=g(µ(xk), xk) is assumed from k= 1 onwards. See, for instance [30] for details on the approach. In our setup, this proposal will amount to setting N= 1 (later on discussed in more detail). Multi-step predictive control. This approach is the closest to the original MPC idea: control variables u0, . . . , uN−1are computed once x(0) is measured, assuming that a terminal state-feedback controller is applied from instant N onwards [16,17]. In [31], a membership-dependent future control action is considered. Next section will present the formulation of a more general proposal of the above multi-step predictive control. In Section 6, a discussion and comparison of our proposal with some of the above-referred approaches will be presented. 4. Main Result Causal fuzzy controller parametrisation. As future values of membership functions are unknown, the control action cannot depend on them, as discussed in earlier sections. So, u0will be chosen to be an homogeneous polynomial in µ(x0) 8
with, say, degree c00,u1will be a polynomial in µ(x0) and µ(x1), with degrees c10 and c11 in µ(x0) and µ(x1), respectively, and so on with u2, . . . , uN−1. We will introduce notacion c[0] = (c00,0,0,0), c[1] = (c10, c11,0,0), . . . so ckl indicates the degree of ukin µ(xl), for l≤k, 0 ≤k≤N. Based on the above discussion, we will consider a control action to be applied to the TS system (2) to be given by: uk=X |α|=c[k] µαnαuα,k (23) where uα,k are control decision variables conforming Uk, and c[k]∈NNis a user-defined degree vector, with the above-discussed causality constraints (i.e., elements k+ 1 to Nequal to zero). This parametrisation generalises that in [31], being the one in that work recovered by setting c[k]= (1,1,...,1,0,0, . . . ) with a total of k−1 ones, see Section 6for further comparison. 4.1. Prediction model 1-step closed-loop model. With the above control law (23), at time k, the closedloop successor state would be: xk+1 = r X i=1 X |α|=c[k] µα·µi·nα(Aixk+Biuα,k) (24) We will vectorise all decision variables in uα,k, i.e., stacking them in a column vector Ukdefined as: Uk:= vec|α|=c[k](uα,k) (25) using any arbitrary enumeration ordering for α, for instance lexicographic. Conversely, we will invert the vectorisation using notation uα,k =Eα,kUkwhere Eα,k is a matrix that selects the suitable vector elements, according to the chosen order in the vectorisation operation. With this notation, the input at instant k can be written as: uk=X |α|=c[k] nαµαEα,kUk(26) Hence, xk+1 = r X i=1 X |α|=c[k] µαµi(xk)nα(Aixk+BiEα,kUk) (27) With suitable manipulations, using Corollary 2and, if so wished Polya expansion (Corollary 1), we can express the closed-loop model (details omitted for brevity) as: xk+1 =X |γ|=q[k] µγnγGγ,k xk Uk(28) where, q[k]≥c[k]+ek, and Gγ,k := 1 nγX α,ξ∈Sc[k]ek γ nαnγ−α−ξAξBξEα,k(29) 9
Note that the feasible set of x0in problem (58) (and the associated constraints) would not be a convex LMI set as µ(x0) may be any arbitrarily complex nonlinearity, see the example on Section 7. This set will be denoted as shape-dependent feasible set. 5. Stability As in classical predictive control, in order to prove stability, the terminal set and terminal costs must be computed assuming there is a so-called terminal controller which guarantees that the infinite cost (6) is bounded by the terminal cost. Let us discuss the details. 5.1. Terminal Controller Theorem 3 The system (2)is stabilizable and the cost index J∞in (6), with step cost (47), is bounded by V(µ(x0), x0) = xT 0Pc µ(x0)−1x0, with c∈Nbeing a degree parameter, if there exist matrices Pα, and Kα, for all |α|=c, such that the following LMIs are feasible: X α,ξ∈Sc1 γ σ∈Sd γ nαnγ−αPαnαnγ−α−ξ(AξPα−BξKα)Tnαnγ−αKT αnαnγ−αPα ∗nγPθ0 0 ∗0nσnγ−σFσ0 ∗0 0 nσnγ−σHσ >0 (59) for all γ∈Nrsuch that |γ|=q, with any arbitrarily chosen q≥max(c+1, d), and all θ∈Nrsuch that |θ|=c, with Sc γ,Sd γand Sc1 γdefined in (A.4)and (A.9), and the control action is: u(x) = Kc µ(x)(Pc µ(x))−1x(60) Proof: Omitted for brevity, as it closely follows well-known guaranteedcost results, see [1,12,35], plus some standard Polya-expansion argumentations incorporated here. Optimal controller. It is straightforward to check that, for instance, adding the condition δI < 1 nγX α∈ Sc γ nγ−αnαPα(61) and minimising δwould guarantee that J∞≤δ∗xT 0x0,δ∗being the optimal solution. 16
5.2. Computation of terminal sets. Consider the terminal set defined in (43). The developments below will discuss how to obtain a bound on λsuch that T⊂Xand the control action (60) is admissible, i.e., u∈U, for all x∈T. Note that, as Tis a subset of every Lyapunov level set1, once Tis entered, the state trajectory will never leave Tin the future under the terminal control law computed with LMIs in Theorem 3. Theorem 4 For a TS fuzzy system (2), with input (60), the terminal set T verifies T⊂Xand u(x)∈Ufor all x∈T, if λis the minimum positive scalar such that, for all |γ|=q, being q≥c, λ≥1 nγ 1 r2 i Ri X α∈ Sc γ nγ−αnαPα RT i(62) X α∈ Sc γ nγ−αnαPαKT αST j SjKαλs2 j≥0 (63) where Ridenotes the i-th row in matrix Rand Sjthe j-th row of S; and iranges from one up to the number of rows of R,jfrom one to the number of rows of S. Proof: As the shape-independent levels sets of the Lyapunov function from Theorem 3are symmetric, because V(µ, x) = V(µ, −x), in order for such a level set to lie inside the (possibly non-symmetric X), the referred level set must belong to the symmetric set Xsym := {x| |Ri1 −rix| ≤ 1∀i} ⊂ X. According to [39], it is well known that the set xTPc µ−1x≤λ−1is contained in Xif 1 r2 i RiPc µRT i≤λ∀i(64) Substituting Pc µ=P|γ|=cµγPγby an arbitrary Polya expansion Pc µ= E(Pc µ, q) where q≥c λ≥1 r2 i Ri X |γ|=h µγX α∈ Sc γ nγ−αnαPα RT i= =X |γ|=q nγµγ1 nγr2 i Ri X α∈Sc γ nγ−αnαPα RT i∀i(65) 1Basically, as µis unknown at design time, only the so-called shape-independent level set {maxµ∈∆V(µ, x)≤λ}can be proven to belong to any “true” shape-dependent level set {V(µ(x), x)≤λ}, motivating the definition (43), see the discussion in [9, Section 7]. 17
So, from Theorem 8, a sufficient condition for the above is that each of the homogeneous polynomial coefficients fulfills the inequality, which is what (62) states. On the other hand, the control action must belong to set Ufor all states inside the sought level set. Again, as done with the state constraints, symmetry of the level set and linearity in the state of the terminal controller needs to enforce u∈Usym, where Usym := nu| Sj −sju≤1∀jo⊂U. If xT(Pc µ)−1x≤(λ)−1, and the condition below holds, 1 s2 j uTST jSju=1 s2 j xT(Pc µ)−T(Kc µ)TST jSjKc µ(Pc µ)−1x≤xT(Pc µ)−1xλ | {z } ≤1 then the control action will be admissible for all xin T. Concentrating on the inequality over the braces, if congruence with matrix Pc µis applied and, later on, a Schur complement, we get the equivalent condition: Pc µ(Kc µ)TST j SjKc µλs2 j≥0∀j(66) Finally, an arbitrary Polya expansion can be carried out, yielding X |γ|=q µγ Pα∈Sc γnγ−αnαPαPα∈Sc γnγ−αnαKT αST j Pα∈Sc γnγ−αnαSjKαnγλs2 j!≥0∀j(67) This inequality will hold if all the coefficients of the polynomial are positive, which amounts to (63). 5.3. Stability: main result The first result to be stated considers the standard open-loop application of the computed control actions until the terminal set is reached: Theorem 5 Given x0, if Fd µ≥0and Hd µ>0for any µ∈∆, and control actions (26)are applied once the solution to the optimisation in Theorem 2is obtained, from instant k= 0 to k=N−1, and the terminal controller is applied from instants Nonwards, then, the system will reach the origin asymptotically and the cost (6)will be bounded by δ∗. Proof: Note that, the theorem 2includes the condition (52), which forces that control actions (26) steer the system to terminal set (43) within Nsteps. If once the system is inside the terminal set the terminal controller is applied, the system will reach the origin asymptotically with it. With regard to a bound on cost (6), the terminal cost bounds the infinite cost (Theorem 3) once xN∈T and the total cost (including the transient until Tis reached) is bounded by δ∗ discussed in the statement and proof of Theorem 2. In predictive control setups, receding horizon implementation is a common approach [17]. In our context, what we will understand as receding horizon 18
implementation is solving problem (58) at each step, after current state is measured. Under such setting, we can state the following results. First, inspired in [30], we will consider the particular case N= 1 which renders the setup in Algorithm 2 of the cited work (except for minor changes in the terminal LMIs and the use of a simpler non-fuzzy cost index). Theorem 6 In the case N= 1, receding horizon implementation of the solution to (58)is recursively feasible and stable. Proof: With N= 1, application of the first control action u0will drive the state x1to the terminal set. Following standard MPC argumentations analogous to [30, Theorem 1] or [17], the terminal control action will be feasible at next step, hence the solution to (58) will produce an equal or better cost bound, which can be proven to be a Lyapunov function. For brevity, details are left to the reader. For receding-horizon implementations with longer horizons, the following theorem can be stated: Theorem 7 Receding horizon implementation of the solution to (58)is recursively feasible and stable, too, in the case the terminal controller (60)is polynomial in the membership functions (quadratic Lyapunov function Pα≡P), and controller degree vectors c[k]in (23)fulfill: c(i−1)(j−1) ≥cij, i, j = 2, . . . , N −1 and c(N−1)(N−1) ≥c, with cbeing the complexity of the terminal controller gain Kc µ(x)in (60), and the Polya expansion degree vector hin Theorem 2verifies hi−1≥hi,i= 2, . . . , N. Proof: Under the conditions in the theorem statement, the terminal controller is polynomial in the memberships. With such controller, a parametrisation of high enough degree on the control actions ukin (25), k= 1, . . . , N −1 can allow an argumentation similar to the previous theorem, as follows. Let us consider, for illustration a case with N= 4. [k= 0] {, h1, h2, h3, h4}Polya expansion u0:{,0,0,0,0} u1:{, c11,0,0,0} u2:{, c21, c22,0,0} u3:{, c31, c32, c33,0} u4:{0,0,0,0, c}Terminal control The symbol indicates that, as the membership µ(x0) is known when solving (58), fuzzy dependence on such variable is not necessary in the control parametrisation. One step later, the open-loop application of the solution from the previous step would have complexity: 19
[k= 1] {h1, h2, h3, h4, h4}Polya expansion u1:{c11,0,0,0,0} u2:{c21, c22,0,0,0} u3:{c31, c32, c33,0,0} u4:{0,0,0, c, 0}Terminal control u5:{0,0,0,0, c}Terminal control Hence, if we apply the optimisation problem arising from the first table in receding horizon, in order to ensure feasibility and non-increasing cost bound, computations with the complexities on the first table must be able to replicate the second one (i.e., the second table must produce a feasible sub-optimal result on the problem associated to the first one). To achieve the latter condition, we need to take two facts into account: 1. measuring µ(x1) at next instant will ensure that fuzziness on it is not needed (so can indeed replicate the results with complexities h1,c11, c21 and c31 for any value of these degrees). 2. Except the ones, discussed above, each element of the first table must be larger or equal than the corresponding element on the second one, i.e., c11 ≥c22,c21 ≥c32,c22 ≥c33, and for the last action to be more powerful than the terminal one, we need c33 ≥c. Additionally, we need the Polya expansion degrees to fulfill h1≥h2≥h3≥h4. The above discussion justifies the inequalities in the complexity parameters in the theorem statement. Once the complexity issues are cleared out so recursive feasibility and a monotonically decreasing cost bound are proven, the standard MPC stability argumentations can be applied, in the same way as commented in the proof of Theorem 6, omitted, again, for brevity. In the above theorem, the motivation of considering a quadratic Lyapunov function is to avoid the terminal controller being rational in the memberships. Indeed, as the control actions from k= 1 to N−1 are polynomial in the memberships we cannot ensure that they can replicate the rational terminal control law (this is why only N= 1 allowed to prove Theorem 6). In this way, the stability results of, for instance [31], can be considered a particular case of Theorem 7. 6. Discussion and comparative analysis As discussed in the introduction, other references have dealt with predictive control in a fuzzy context. Some comparative discussion with a few references appears in the introduction and in Section 3.1, focusing the similarities and differences with other guaranteed-cost and infinite-horizon proposals. We deferred to this section a comparison with other more recent LMI-based results on similar problems. Regarding comparison with [40], their approach pursues similar goals to ours. However, their determination of the terminal set and controller is conservative, 20
in the sense that, first, their proposed controller is a PDC one (see their equation 4) and, second, they pose conditions for all i,j,lin their Theorems 1 and 2, where iaffects the current process and Lyapunov function vertex model, j affects the controller vertex and lis the next-instant Lyapunov function vertex. In that way, say, controller vertex 1 proves stability and cost bounds for every iand kso their results cannot be better than those from a robust linear controller. Our terminal controller even for the same level of Polya complexity parameter will, hence, prove a better cost bound. Note, however, that they consider uncertainty in the TS vertex models as well as persistent disturbances so such conservative steps are clearly justified and needed to synthesise the terminal controller; on the other hand, our approach purposely does not consider uncertain models, although incorporating polytopic uncertainty such as that in [36] is indeed possible, by omitting dependence of the controller parametrisation (23) on unknown components; if not component were known, our control actions would be the plain scalars in minimax predictive control [19]. In [32], a state-dependent guaranteed-cost control is proposed so that, once xkis measured, a cost bound γcan be guaranteed solving some LMIs ensuring that control action does not saturate. As states get closer to the origin, better cost bounds can be found by increasing the controller gain. In fact, when our terminal set is eventually reached, the same bound would be obtained as LMIs are equivalent. Our improvement lies in the fact that we allow full saturation until the terminal set is reached. One of the most relevant recent results related to our proposal is [31]. Indeed, the problem statement is similar. The controller parametrisation in the cited work, [31, eq. (10)], proposes a control action with multilinear dependence on past memberships (ukdepends on memberships up to k−1). However, it does not incorporate the membership at instant k, as we do. In that way, not being“fuzzy”in the last computation has the advantage of avoiding multiple-sum formulations so an elegant single-sum prediction model ensues, see [31, eq. (11)], but loses expressive power. Actually, as already commented, using our notation, the case in the above work is a particular case of our proposal setting c[k]in (23) to be (1,1,1,1,...,1,0,0, . . . ) containing k−1 ones, the rest zeros. Indeed, the resulting prediction model with q[k]in (28) to be (1,1,1,1,...,1,0,0,...) containing “k” ones would yield [31, eq. (11)] as a particular case. The LMI problem [31, eq. (27)] is a particular case of our approach (Theorem 2). In summary, in our proposal, we generalise the control action parametrisation from multilinear to polynomials in past and current memberships (and Polya expansions), with arbitrary degree, as well as membership-dependent cost-index weightings. last, in the discussion of Theorem 7, we also argued that the stability results in Ding’s work can be considered a particular case of ours. As a last comparison, the work [30] is also relevant. Indeed, the proposed terminal set in [30, eq. (35)] can be proved to be the same as (43). 21
7. Examples Consider a 2-rule TS system (2) with the local models and membership functions defined as: A1=−0.9 0.3 0 0.4A2=0.8 0.6 −0.5 0.2 B1=0.4 1.1B2=0.9 0.3(68) µ1(xk) = sin(0.5πxk(2)) + 1 2µ2(xk) = 1 −µ1(xk) (69) Input and state constraints are defined as: −1≤uk≤1−5≤xk≤5 (70) For simplicity, non-fuzzy weighing matrices Hand Fwill be employed, with d= 0: H=2 0 0 2F= 2 (71) Terminal set and controller. The terminal controller has been computed with degree c= 1, with LMIs (59), (62) and (63) expanded to degree q= 20. The terminal set T(shape-independent) is drawn with black line2on Figure 1. Feasible sets. The shape-independent predictive control problem (i.e., valid for any µ(x0)) has been solved with horizon N= 4, and the chosen controller degree parameters are: c[0] = (1,0,0,0,0), c[1] = (1,1,0,0,0), c[2] = (1,1,1,0,0), c[3] = (1,1,1,1,0) Furthermore, homogeneous polynomials have been expanded, to exploit Polya’s theorem, to degree h= (4,4,4,4,1). The feasible set of this shape-independent MPC problem has also been computed; it is a convex LMI set, presented in Figure 1with a purple3line. Additionally, the shape-dependent solution outlined in Section 4.4 has, too, been computed, with controller complexities: c[0] = (,0,0,0,0), c[1] = (,1,0,0,0), c[2] = (,1,1,0,0), c[3] = (,1,1,1,0) and Polya expansion to degree vector h= (,4,4,4,1). Note that the initial zero in c[j]indicates that polynomials in the shape-dependent solution do not depend on µ(x0) as it is directly replaced in the model matrices, as discussed in 2For sake of curiosity, the shape-dependent set that the terminal controller would actually guarantee as valid is plotted in red (for the chosen memberships); however, such red set cannot be used in the optimisation as µ(xN) is not yet known at t= 0. 3Fixing any arbitrary direction and determining the point in the feasible set at a largest distance from the origin in such direction is an LMI problem; this enables a reasonably easy “ray-tracing” computation of the boundary (details omitted for brevity). 22
y2 -5 -4 -3 -2 -1 0 1 2 3 4 5 x2 -5 -4 -3 -2 -1 0 1 2 3 4 5Terminal Set (Shape independent) Terminal Set (Shape dependent) Feasible Set LMIs [40, Theorem 3] Feasible Set (Shape dependent) Feasible Set (Shape independent) Figure 1: Terminal and feasible sets, plus three simulated trajectories of the MPC controller (in blue). Shaded green regions are unfeasible in both shape-dependent and shape-independent solutions. 012345678 −5 0 5 x2 012345678 −2 0 2 x1 01234567 −2 0 2 u x0= [0.8,−4.9] x0= [0,4] Figure 2: Time response (state and control) of the trajectories on figure 1for two initial conditions. the above-referred section. The shape-dependent feasible set was computed and presented in green in Figure 1. As it depends on the actual values of the membership functions it is clearly non-convex (for the chosen memberships) and has been approximately computed determining feasibility of the MPC optimization problem point by point in a dense grid. Simulation. For illustration, trajectories (using the less-conservative shape-dependent solution) from x0= (0,4) (solid blue) and x0= (0.8,−4.9) (dashed blue) are shown in the phase plane in Figure 1, and in the time-domain, jointly with the control action, in Figure 2. A third simulation with x0= (4.8,−4.8) from the shape-dependent feasible set also appears in Figure 1. Comparative analysis. Let us compare our feasible set with that obtained in [40, Theorem 3] with the same horizon N= 4, depicted in orange, in the above figure. Importantly, the cited work tries to maximise the volume of an 23
ellipsoidal feasible set via logdet convex optimisation subject to LMI constraints. Conservatism of the proposed conditions there makes our approach to yield significantly larger feasible sets both in the shape-independent case (purple) and in the shape-dependent one (green). Considering x0= (0,4), the comparison of the guaranteed cost bounds with different approaches is summarised on Table 1below: Table 1: Cost comparison with other literature for x0= (0,4). Theorem 2[32, Thm 3.1] [40, Theorem 3] Cost bound: 10.89 13.63 45.72 Note that the main goal of the paper [40] is not to minimize the cost, but to maximise the feasible area; hence, a large penalty with respect to [32] is incurred. Nevertheless, our approach beats both [32] in cost and [40] in size of the feasible set4. Application example: fuzzy predictive control of a CSTR. Consider the continuous stirred tank reactor (CSTR) in [15, Eq. (52)]. From a certain operating point, state x1is the reactive concentration increment, and state x2is its temperature increment. Control action uis a coolant temperature increment. The state constraints (modelling region), as well as the input ones are set as: −0.5≤x1≤0.5−10 ≤x2≤10 −10 ≤u≤10 (72) From the nonlinearities ϕ1and ϕ2below, arising from the chemical kinetics, ϕ1(x2) = k0exp −E/R x2+Teq ϕ2(x2) = k0exp −E/R x2+Teq −exp −E/R Teq Ceq A x2 (73) four membership functions are obtained via standard sector-nonlinearity. Replacing the relevant physical constants, the resulting discrete TS fuzzy model (disturbance model omitted) is: A1=0.8227 −0.0017 6.1233 0.9367 A2=0.9654 −0.0018 −0.6759 0.9433 A3=0.8895 −0.0029 2.9447 0.9968 A4=0.8930 −0.0006 2.7738 0.8864 (74) B1=−0.0001 0.1014 B2=−0.0001 0.1016 B3=−0.0002 0.1045 B4=−0.000034 0.0986 (75) 4Actually, a suboptimal lower-gain terminal controller in our implementation of [32] was needed to ensure feasibility of x0with N= 4 (enlarging the terminal set), and an horizon of N= 7 was needed in the implementation of [40] for x0to be feasible. 24
0 5 10 15 20 25 30 35 yk 0 5 10 k 0 5 10 15 20 25 30 35 uk -10 -5 0 Figure 3: Time response (top: output, bottom: control action) of CSTR System. Red dashed line: controller from [33]; blue line: our proposed controller. C1=C2=C3=C4=0 1(76) The reader is referred to [15] for full modelling details. The shape-dependent fuzzy predictive control problem (58) is proposed with N= 3, c[0] = (,0,0,0), c[1] = (,1,0,0), c[2] = (,1,1,0), h= (,2,2,1), the cost function is quadratic with values Q= 1 and R−1= 0.25. The trajectories of output and control action are the blue lines displayed in Figure 3. The proposed fuzzy MPC problem had a computational time cost, on an Intel i7- 4790 @3.6GHz, 8GB RAM, of 0.56 seconds. For comparison, we also programmed the controller proposed in [33] whose output and control action are represented by the red dashed lines in Figure 3. Setting an initial state x= (0.35,5.6)T, the achieved cost value JREAL = P35 0(y2 k+0.25u2 k) of our proposal is 345 whereas that of [33] is 379. The outputfeedback version in [15] was also tested, achieving a larger cost of 439, as intuitively expected (simulation omitted as results are not comparable, out of the scope of this work). 8. Conclusions This paper has presented a generalisation of the predictive control approach to Takagi-Sugeno systems. The approach obtains better results than prior literature both in achieved cost and in the feasible region, due to a suitable control action parametrisation as a function of future memberships and the use of Polya relaxations. Of course, many guaranteed-cost results in prior literature are particular cases considering an horizon of a single sample; in fact, such results are used to build the terminal controller and terminal cost needed in the developments. Acknowledgements The authors are grateful to to the financial support of Spanish Ministry of Economy and European Union, grant DPI2016-81002-R (AEI/FEDER, UE), and grant P1 · 1B2015-36 (Universitat Jaume I). 25