ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE...

11
http://paper.ieti.net/SCEE/ 2019, Volume 1, Issue 1, 1-11. 1 ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE CONTROL Baghdadi Hamidouche 1 , Kamel Guesmi 2 and Khansa Bdirina 1 1 University of Djelfa, Djelfa, Algeria 2 CReSTIC-Reims University, Reims, France [email protected]; [email protected]; [email protected] Abstract. In this paper, an enhancement of the predictive control of a class of nonlinear systems is proposed. The main idea is based on the use of a fuzzy Takagi-Sugeno system as a prediction model. In addition to the performance of conventional predictive control, the obtained results proved the simplicity, robustness, flexibility and accuracy of the proposed approach. Keywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator, fuzzy predictive control. 1 Introduction Predictive control has become increasingly popular in recent years in many research fields due to its ability to deal with different types of systems working under imposed constraints [1]. The main idea of the predictive control is based on: i) the use of a model to predict the system behavior on a certain horizon; and ii) the elaboration of an optimal sequence of future orders satisfying the constraints and minimizing a cost function, iii) the application of the first element of the optimal sequence on the system and the repetition of the complete procedure at the next sampling period [2-3]. Hence, the prediction model is mandatory in the predictive control approach. Indeed, a description of the relationship between system inputs and outputs is needed as well as the relationship between disturbances and modeling errors in future sequences. However, the elaboration of such model with some specifications is not always a simple task. To overcome this problem, several methods exist among which one can cite the scheme based on the fuzzy universal approximation [4]. The basic idea of fuzzy based modeling technique is to express the state of the nonlinear system by a series of local dynamic linear systems; each one being the result of a fuzzy rule. In this paper, a new enhancement of predictive control fuzzy model based is proposed for a class of nonlinear discrete-time processes. The proposed controller is based on GPC algorithm and a Takagi-Sugeno (T-S) fuzzy model to ensure the convergence of the tracking error to the origin. This paper is organized as follows: section II presents the T-S fuzzy model of a nonlinear system. Then, the enhanced predictive control law is established under some assumptions. The section III is devoted mainly to the validation of the enhanced approach and to the evaluation of the obtained performances through a comparative study.

Transcript of ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE...

Page 1: ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE โ€ฆpaper.ieti.net/scee/2019Volume1Issue1/paper01.pdfKeywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator,

http://paper.ieti.net/SCEE/ 2019, Volume 1, Issue 1, 1-11.

1

ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE CONTROL

Baghdadi Hamidouche1, Kamel Guesmi

2 and Khansa Bdirina

1

1University of Djelfa, Djelfa, Algeria

2CReSTIC-Reims University, Reims, France

[email protected]; [email protected]; [email protected]

Abstract. In this paper, an enhancement of the predictive control of a class of nonlinear systems is

proposed. The main idea is based on the use of a fuzzy Takagi-Sugeno system as a prediction model.

In addition to the performance of conventional predictive control, the obtained results proved the

simplicity, robustness, flexibility and accuracy of the proposed approach.

Keywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator, fuzzy

predictive control.

1 Introduction

Predictive control has become increasingly popular in recent years in many research fields

due to its ability to deal with different types of systems working under imposed constraints

[1]. The main idea of the predictive control is based on: i) the use of a model to predict the

system behavior on a certain horizon; and ii) the elaboration of an optimal sequence of future

orders satisfying the constraints and minimizing a cost function, iii) the application of the first

element of the optimal sequence on the system and the repetition of the complete procedure at

the next sampling period [2-3]. Hence, the prediction model is mandatory in the predictive

control approach. Indeed, a description of the relationship between system inputs and outputs

is needed as well as the relationship between disturbances and modeling errors in future

sequences. However, the elaboration of such model with some specifications is not always a

simple task.

To overcome this problem, several methods exist among which one can cite the scheme based

on the fuzzy universal approximation [4]. The basic idea of fuzzy based modeling technique

is to express the state of the nonlinear system by a series of local dynamic linear systems;

each one being the result of a fuzzy rule.

In this paper, a new enhancement of predictive control fuzzy model based is proposed for a

class of nonlinear discrete-time processes. The proposed controller is based on GPC algorithm

and a Takagi-Sugeno (T-S) fuzzy model to ensure the convergence of the tracking error to the

origin. This paper is organized as follows: section II presents the T-S fuzzy model of a

nonlinear system. Then, the enhanced predictive control law is established under some

assumptions. The section III is devoted mainly to the validation of the enhanced approach and

to the evaluation of the obtained performances through a comparative study.

Page 2: ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE โ€ฆpaper.ieti.net/scee/2019Volume1Issue1/paper01.pdfKeywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator,

http://paper.ieti.net/SCEE/ 2019, Volume 1, Issue 1, 1-11.

2

2 Problem Statement

T-S fuzzy models with simplified linear rule consequents are universal approximators capable

to approximate any continuous nonlinear system [5]. A large class of nonlinear processes can

be represented by the following NARMAX model [6]:

๐‘ฆ(๐‘˜) = ๐‘“[๐‘ฆ(๐‘˜ โˆ’ 1), ๐‘ฆ(๐‘˜ โˆ’ 2),โ€ฆ , ๐‘ฆ(๐‘˜ โˆ’ ๐‘›๐‘ฆ), ๐‘ข(๐‘˜ โˆ’ ๐‘‘ โˆ’ 1),โ€ฆ , ๐‘ข(๐‘˜ โˆ’ ๐‘‘ โˆ’ ๐‘›๐‘ข)]๐œ‰(๐‘˜) (1)

where ๐‘ข(๐‘˜): โ„• โ†’ โ„ and ๐‘ฆ(๐‘˜): โ„• โ†’ โ„ are the process input and output,

๐‘“(๐‘˜):โ„๐‘›y+๐‘›๐‘ข+d+1 โˆˆ โ„ represents a nonlinear mapping in the discrete-time that describes the

relation between the output and the control signals which is assumed to be unknown, ๐‘›๐‘ข โˆˆ โ„•

and ๐‘›๐‘ฆ โˆˆ โ„• are the orders of input and output respectively, ๐‘‘ โˆˆ โ„• is the time-delay of the

system, and ๐œ‰(๐‘˜) โˆˆ โ„ is a sequence of zero-mean Gaussian white noise.

2.1 T-S Fuzzy model

The nonlinear system (1) endowed with mathematical models can be accurately modeled as

fuzzy models "IF-THEN" on a bounded domain in the state space. The basic idea of T-S

fuzzy modeling is to express the state of the system by a series of dynamic linear systems;

each one is the result of a fuzzy rule of the form:

Ri: IF ๐‘ฅ1(๐‘˜)๐‘–๐‘  ๐ด1๐‘– ๐‘’๐‘ก . โ€ฆ ๐‘Ž๐‘›๐‘‘ ๐‘ฅ๐‘›(๐‘˜)๐‘–๐‘  ๐ด๐‘›

๐‘– THEN

๐‘ฆ๐‘–(๐‘˜) = ๐‘Ž๐‘–(๐‘žโˆ’1)(๐‘ฆ(๐‘˜ โˆ’ 1)) + ๐‘๐‘–(๐‘ž

โˆ’1)(u(๐‘˜ โˆ’ ๐‘‘ โˆ’ 1)) + ๐‘Ž๐‘–๐œ‰(๐‘˜) (2)

where ๐‘…๐‘– = (1,2, โ€ฆโ€ฆ .๐‘) represents the ๐‘–-th fuzzy rule, and ๐‘ the number of rules.

๐‘Ž๐‘–(๐‘žโˆ’1) = ๐‘Ž1๐‘– + ๐‘Ž2๐‘–๐‘ž

โˆ’1 + โ‹ฏ+ ๐‘Ž๐‘›๐‘ฆ๐‘–๐‘žโˆ’(๐‘›๐‘ฆโˆ’1), (3)

๐‘๐‘–(๐‘žโˆ’1) = ๐‘1๐‘– + ๐‘2๐‘–๐‘ž

โˆ’1 + โ‹ฏ+ ๐‘๐‘›๐‘ข๐‘–๐‘žโˆ’(๐‘›๐‘ขโˆ’1), (4)

And u(k) is the control output. ๐‘ฅ1(๐‘˜),โ€ฆ . . ๐‘ฅ๐‘›(๐‘˜) are the input variables of the T-S fuzzy

system; they can be any variables chosen by the designer [e.g. ๐‘ฆ(๐‘˜ โˆ’ 1), ๐‘ข(๐‘˜ โˆ’ 1), or others].

๐ด๐‘›๐‘– are linguistic terms characterized by fuzzy membership functions ๐œ‡๐ด๐‘›

๐‘– (๐‘ฅ๐‘–) which describe

the local operating regions of the plant. For continuous deterministic models, one can

consider [๐œ‰(๐‘˜) = 0]. Thus, from (2) y(k) can be rewritten as:

๐‘ฆ(๐‘˜) = โˆ‘ ฯ‰โˆ’๐‘–[๐‘ฅ(๐‘˜)]

๐‘

๐‘–=1

[๐‘Ž๐‘–(๐‘žโˆ’1)๐‘ฆ(๐‘˜ โˆ’ 1) + ๐‘๐‘–(๐‘ž

โˆ’1)๐‘ข(๐‘˜ โˆ’ ๐‘‘ โˆ’ 1)] + ๐œ‰(๐‘˜) (5)

๐‘ฆ(๐‘˜) = โˆ‘ฯ‰โˆ’๐‘–[๐‘ฅ(๐‘˜)](๐œƒ๐‘–)๐‘‡

๐‘

๐‘–=1

๐‘ฅ๐‘’(๐‘˜) + ๐œ‰(๐‘˜) = ฮ˜๐‘‡๐œ“(๐‘˜) + ๐œ‰(๐‘˜) (6)

Where, for ๐‘– = 1,โ€ฆ . . , ๐‘

Page 3: ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE โ€ฆpaper.ieti.net/scee/2019Volume1Issue1/paper01.pdfKeywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator,

http://paper.ieti.net/SCEE/ 2019, Volume 1, Issue 1, 1-11.

3

๐‘ฅ(๐‘˜) = [๐‘ฅ1(๐‘˜), ๐‘ฅ2(๐‘˜), โ€ฆ , ๐‘ฅ๐‘›(๐‘˜)]๐‘‡ (7)

ฯ‰โˆ’๐‘–[๐‘ฅ(๐‘˜)] = โˆ ๐ด๐‘—

๐‘–๐‘›๐‘—=1 (๐‘ฅ๐‘—)

โˆ‘ โˆ ๐ด๐‘—๐‘–๐‘›

๐‘—=1 (๐‘ฅ๐‘—)๐‘๐‘–=1

(8)

๐œƒ๐‘– = [๐‘Ž1๐‘–, โ€ฆ , ๐‘Ž๐‘›๐‘ฆ๐‘–, ๐‘1๐‘–, โ€ฆ , ๐‘๐‘›๐‘ข๐‘–]๐‘‡

(9)

ฮ˜ = [๐œƒ1๐‘‡ , ๐œƒ2

๐‘‡ , โ€ฆ , ๐œƒ๐‘๐‘‡]๐‘‡ (10)

๐‘ฅ๐‘’(๐‘˜) = [๐‘ฆ(๐‘˜ โˆ’ 1),โ€ฆ , ๐‘ฆ(๐‘˜ โˆ’ ๐‘›๐‘ฆ), ๐‘ข(๐‘˜ โˆ’ ๐‘‘ โˆ’ 1),โ€ฆ , ๐‘ข(๐‘˜ โˆ’ ๐‘‘ โˆ’ ๐‘›๐‘ข)]๐‘‡ (11)

๐œ“(๐‘˜) = [(ฯ‰โˆ’1[๐‘ฅ(๐‘˜)])๐‘ฅ๐‘’๐‘‡(๐‘˜), โ€ฆ , (ฯ‰โˆ’๐‘[๐‘ฅ(๐‘˜)])๐‘ฅ๐‘’

๐‘‡(๐‘˜)] ๐‘‡ (12)

Assumption 1 [7]: There exists an optimal model parameter vector ฮ˜โˆ— that makes T-S fuzzy

model (6) become an accurate representation of the real plant (1).

Taking into account this assumption, i.e. assuming there is no modeling error, and using (6),

then the real plant (1) can be represented as:

๐‘ฆโˆ—(๐‘˜) = (ฮ˜โˆ—)๐‘‡๐œ“(๐‘˜) (13)

Where : ฮ˜โˆ— = [(ฮ˜1

โˆ—)๐‘‡ , (ฮ˜2โˆ—)๐‘‡ , โ€ฆโ€ฆ , (ฮ˜๐‘

โˆ— )๐‘‡].

It is assumed that the parameters vector ฮ˜โˆ— in (13) is unknown. Thus, an approximate model

for ๐‘ฆ(๐‘˜) is defined as:

๏ฟฝฬ‚๏ฟฝ(๐‘˜) = โˆ‘ฯ‰โˆ’๐‘–[๐‘ฅ(๐‘˜)]

๐‘

๐‘–=1

(๐œƒ๐‘–)๐‘‡๐‘ฅ๐‘’(๐‘˜) = ฮ˜๐‘‡(๐‘˜)๐œ“(๐‘˜) (14)

With ฮ˜(k) is a vector of adjustable parameters which is an estimate of ฮ˜โˆ—(๐‘˜).

2.2 Predictive Control Law

The fuzzy generalized predictive control law developed in this paper is motivated from the

GPC strategy [8]. For the sake of completeness this section briefly overviews the GPC.

It is assumed that the plant model is of the form (5), which can be rewritten as follows [9]:

๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1)๐‘ฆ(๐‘˜) = ๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1)๐‘ข(๐‘˜ โˆ’ ๐‘‘ โˆ’ 1) + C(๐‘žโˆ’1)๐œ‰(๐‘˜) (15) With:

๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1) = 1 โˆ’ ๏ฟฝฬ…๏ฟฝ1๐‘žโˆ’1 โˆ’ โ‹ฏโˆ’ ๏ฟฝฬ…๏ฟฝ๐‘›๐‘ฆ

๐‘žโˆ’๐‘›๐‘ฆ (16)

๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1) = ๏ฟฝฬ…๏ฟฝ1 ยฑ ๏ฟฝฬ…๏ฟฝ2๐‘žโˆ’1 + โ‹ฏ+ ๏ฟฝฬ…๏ฟฝ๐‘›๐‘ข

๐‘žโˆ’(๐‘›๐‘ขโˆ’1) (17)

Page 4: ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE โ€ฆpaper.ieti.net/scee/2019Volume1Issue1/paper01.pdfKeywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator,

http://paper.ieti.net/SCEE/ 2019, Volume 1, Issue 1, 1-11.

4

C(๐‘žโˆ’1) = 1 + ๐‘1๐‘žโˆ’1 + c2๐‘ž

โˆ’1 + โ‹ฏ+ c๐‘›๐‘ข๐‘žโˆ’๐‘›๐‘ข (18)

Assumption 2 [1] In most cases, in order to simplify the computation of the control law, in

the basic model described by equation (15), the polynomial C is taken equal to unity (C = 1).

Then one can write:

๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1)๐‘ฆ(๐‘˜) = ๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1)๐‘ข(๐‘˜ โˆ’ ๐‘‘ โˆ’ 1) + ๐œ‰(๐‘˜) (19)

With:

๏ฟฝฬ…๏ฟฝ๐‘— = โˆ‘ฯ‰โˆ’๐‘–[๐‘ฅ(๐‘˜)]

๐‘

๐‘–=1

๐‘Ž๐‘—๐‘– , ๏ฟฝฬ…๏ฟฝ๐‘— = โˆ‘ฯ‰โˆ’๐‘–[๐‘ฅ(๐‘˜)]

๐‘

๐‘–=1

๐‘๐‘—๐‘– (20)

The GPC control law is obtained based on the minimization of the following cost function:

๐ฝ(๐‘˜) = โˆ‘ [๏ฟฝฬ‚๏ฟฝ(๐‘˜ + ๐‘—|๐‘˜) โˆ’ ๐œ”(๐‘˜ + ๐‘—)]2

๐‘๐‘

๐‘—=๐‘‘+1

+ โˆ‘ [ฮป(๐‘žโˆ’1)๐›ฅ๐‘ข(๐‘˜ + ๐‘— โˆ’ ๐‘‘ โˆ’ 1|๐‘˜)]2 (21)

๐‘‘+๐‘๐‘ข

๐‘—=๐‘‘+1

Where ๏ฟฝฬ‚๏ฟฝ(๐‘˜ + ๐‘—|๐‘˜) is an optimum on ๐‘— steps ahead prediction of the system output on instant

k, ๐œ”(๐‘˜ + ๐‘—) is the future reference trajectory, ฮ” = 1 โˆ’ ๐‘žโˆ’1, and ฮป(๐‘žโˆ’1) = ฮป0 + โˆ’๐‘ž1๐‘žโˆ’1 +

โ‹ฏ+ ฮป๐‘๐‘+๐‘›๐‘ขโˆ’1๐‘žโˆ’(๐‘๐‘+๐‘›๐‘ขโˆ’1) is a weighted polynomial.

๐‘๐‘ and ๐‘›๐‘ข are respectively the output and the control horizons.

โˆ…๐‘— is a feed-forward gain [12], but in this paper it is taken equal to one. This is done to

minimize the calculation time and to enhance the system dynamics. Hence, equation (21) can

be rewritten as follows:

๐ฝ(๐‘˜) = โˆ‘ [๏ฟฝฬ‚๏ฟฝ(๐‘˜ + ๐‘—|๐‘˜) โˆ’ ๐œ”(๐‘˜ + ๐‘—)]2

๐‘๐‘

๐‘—=๐‘‘+1

+ โˆ‘ [ฮป(๐‘žโˆ’1)๐›ฅ๐‘ข(๐‘˜ + ๐‘— โˆ’ ๐‘‘ โˆ’ 1|๐‘˜)]2 (22)

๐‘‘+๐‘๐‘ข

๐‘—=๐‘‘+1

Furthermore, to reduce the control signal energy one can choose ฮป(๐‘žโˆ’1) as polynomial.

The objective of predictive control is to compute the future control sequence u(k), u(k+1), . . .

in such a way that the future plant output ๐‘ฆ(๐‘˜ + ๐‘—) is driven close to ๐œ”(๐‘˜ + ๐‘—). This is

accomplished by minimizing ๐ฝ(๐‘˜). In order to optimize the cost function, the optimal

prediction of ๐‘ฆ(๐‘˜ + ๐‘—) for instant k will be obtained.

Consider the following Diophantine equation [1]:

1 = โˆ†๐ธ๐‘—(๐‘žโˆ’1)๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1) + qโˆ’1๐น๐‘—(๐‘ž

โˆ’1) (23)

with

Page 5: ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE โ€ฆpaper.ieti.net/scee/2019Volume1Issue1/paper01.pdfKeywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator,

http://paper.ieti.net/SCEE/ 2019, Volume 1, Issue 1, 1-11.

5

๐ธ๐‘—(๐‘žโˆ’1) = 1 + ej,1๐‘ž

โˆ’1 + โ‹ฏ+ ๐‘’j,jโˆ’1๐‘žโˆ’(jโˆ’1) (24)

๐น๐‘—(๐‘žโˆ’1) = fj,0 + fj,1๐‘ž

โˆ’1 + โ‹ฏ+ ๐‘Žj,ny๐‘žโˆ’(๐‘›๐‘ฆ) (25)

The polynomials ๐ธ๐‘— and ๐น๐‘— are unique with degrees (๐‘— โˆ’ 1) and ๐‘›๐‘ฆ respectively. They can be

obtained by dividing 1 by โˆ†aฬ…(qโˆ’1) until the remainder can be factorized as qโˆ’1๐น๐‘—(๐‘žโˆ’1) [1].

The quotient of the division is the polynomial ๐ธ๐‘—(๐‘žโˆ’1).

Multiplying equation (15) by โˆ†๐ธ๐‘—(๐‘žโˆ’1)๐‘žโˆ’๐‘— leads to:

โˆ†๐ธ๐‘—(๐‘žโˆ’1)๐‘žโˆ’1๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1)๐‘ฆ(๐‘˜) = โˆ†๐ธ๐‘—(๐‘ž

โˆ’1)๐‘žโˆ’1๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1)๐‘ข(๐‘˜ โˆ’ ๐‘‘ โˆ’ 1) + โˆ†๐ธ๐‘—(๐‘žโˆ’1)๐‘žโˆ’1๐œ‰(๐‘˜) (26)

Defining

๐œ‰(๐‘˜) = +โˆ†๐ธ๐‘—(๐‘žโˆ’1)๐‘žโˆ’1๐œ‰(๐‘˜) (27)

๐บ๐‘—(๐‘žโˆ’1) = ๐ธ๐‘—(๐‘ž

โˆ’1)๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1)

= gj,0 + gj,1๐‘žโˆ’1 + โ‹ฏ+ ๐‘”j,j+nu

๐‘žโˆ’(๐‘›๐‘ฆ) (28)

Using (20) and (28), the equation (26) can be rewritten as:

๐‘ฆ(๐‘˜ + ๐‘—|๐‘˜) = ๐น๐‘—(๐‘žโˆ’1)๐‘ฆ(๐‘˜) + ๐บ๐‘—(๐‘ž

โˆ’1)โˆ†๐‘ข(๐‘˜ + ๐‘— โˆ’ ๐‘‘ โˆ’ 1) + ๐œ‰(๐‘˜) (29)

Thus, the best prediction of ๐‘ฆ(๐‘˜ + ๐‘—|๐‘˜) is:

๏ฟฝฬ‚๏ฟฝ(๐‘˜ + ๐‘—|๐‘˜) = ๐น๐‘—(๐‘žโˆ’1)๐‘ฆ(๐‘˜) + ๐บ๐‘—(๐‘ž

โˆ’1)โˆ†๐‘ข(๐‘˜ + ๐‘— โˆ’ ๐‘‘ โˆ’ 1) (30)

It is possible to show that the polynomials ๐ธ๐‘—(๐‘žโˆ’1) and ๐น๐‘—(๐‘ž

โˆ’1) can be obtained recursively.

The recursion of the Diophantine equation has been demonstrated in [2] and more details are

given in [3]. Polynomials ๐ธ๐‘—+1(๐‘žโˆ’1) and ๐น๐‘—+1(๐‘ž

โˆ’1) can be obtained from polynomials

๐ธ๐‘—(๐‘žโˆ’1) and ๐น๐‘—(๐‘ž

โˆ’1) respectively. The polynomial ๐ธ๐‘—(๐‘žโˆ’1) is obtained as follows:

๐ธ๐‘—+1(๐‘žโˆ’1) = ๐ธ๐‘—(๐‘ž

โˆ’1) + ๐‘žโˆ’1๐ธ๐‘—+1,๐‘— (31)

Where: ๐ธ๐‘—+1,๐‘— = ๐ธ๐‘—,0.

The coefficients of polynomial ๐น๐‘—+1(๐‘žโˆ’1) are obtained recursively as follows:

๐น๐‘—+1,๐‘– = ๐น๐‘—,๐‘–+1 โˆ’ ๐น๐‘—,0๏ฟฝฬƒ๏ฟฝ๐‘–+1, ๐‘– = 0,โ€ฆ , ๐‘›๐‘ฆ โˆ’ 1 (32)

๏ฟฝฬƒ๏ฟฝ(๐‘žโˆ’1) = โˆ†๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1) = 1 โˆ’ ๏ฟฝฬƒ๏ฟฝ1๐‘žโˆ’1 โˆ’ โ‹ฏโˆ’ ๏ฟฝฬƒ๏ฟฝ๐‘›๐‘ฆ+1

๐‘žโˆ’(๐‘›๐‘ฆ+1) (33)

Page 6: ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE โ€ฆpaper.ieti.net/scee/2019Volume1Issue1/paper01.pdfKeywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator,

http://paper.ieti.net/SCEE/ 2019, Volume 1, Issue 1, 1-11.

6

The polynomial ๐บ๐‘—+1(๐‘žโˆ’1) can be obtained recursively as follows:

๐บ๐‘—+1(๐‘žโˆ’1) = ๐ธ๐‘—+1(๐‘ž

โˆ’1)๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1) = [๐ธ๐‘—(๐‘žโˆ’1) + ๐‘žโˆ’1๐น๐‘—,0] ๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1)

= ๐บ๐‘—(๐‘žโˆ’1) + ๐‘žโˆ’1๐น๐‘—,0๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1) (34)

The coefficients of polynomial ๐บ๐‘—(๐‘žโˆ’1)are also obtained recursively where the first ๐‘—

coefficients of polynomial ๐บ๐‘—+1(๐‘žโˆ’1)are equal to ๐บ๐‘—(๐‘ž

โˆ’1) coefficients. The rest of the

coefficients are obtained as follows:

๐บ๐‘—+1,๐‘—+๐‘– = ๐บ๐‘—,๐‘—+๐‘– + ๐น๐‘—,0bฬ…i, ๐‘– = 0, โ€ฆ , ๐‘›๐‘ข (35)

To initialize the iterations, ๐‘— = ๐‘‘ + 1

1 = ๐ธ๐‘‘+1(๐‘žโˆ’1)๏ฟฝฬ…๏ฟฝ(๐‘žโˆ’1) + qโˆ’1๐น๐‘‘+1(๐‘ž

โˆ’1) (36)

With

๐ธ๐‘‘+1(๐‘žโˆ’1) = 1 (37)

๐น๐‘‘+1(๐‘žโˆ’1) = ๐‘ž(1 โˆ’ ๏ฟฝฬƒ๏ฟฝ(๐‘žโˆ’1)) = ๏ฟฝฬƒ๏ฟฝ1 + ๏ฟฝฬƒ๏ฟฝ2๐‘ž

โˆ’1 โˆ’ โ‹ฏ โˆ’ ๏ฟฝฬƒ๏ฟฝ๐‘›๐‘ฆ+1๐‘žโˆ’(๐‘›๐‘ฆ) (38)

Because the leading element of ๏ฟฝฬƒ๏ฟฝ(๐‘žโˆ’1) is 1. Equation (30) can be rewritten as:

๐‘ฆ(๐‘˜) = ๐บ๐‘ข(๐‘˜) + ๐น(๐‘žโˆ’1)๐‘ฆ(๐‘˜) + ๐ฟ(๐‘žโˆ’1) (39)

Where

๐‘ฆ(๐‘˜) = [

๏ฟฝฬ‚๏ฟฝ(๐‘˜ + ๐‘‘ + 1)

๏ฟฝฬ‚๏ฟฝ(๐‘˜ + ๐‘‘ + 2)โ‹ฎ

๏ฟฝฬ‚๏ฟฝ(๐‘˜ + ๐‘‘ + ๐‘)

] , ๐‘ข(๐‘˜) = [

โˆ†๐‘ข(๐‘˜)

โˆ†๐‘ข(๐‘˜ + 1)โ‹ฎ

โˆ†๐‘ข(๐‘˜ + ๐‘๐‘ข โˆ’ 1)

] (40)

๐น =

[ ๐น๐‘‘+1(๐‘ž

โˆ’1)

๐น๐‘‘+2(๐‘žโˆ’1)

โ‹ฎ๐น๐‘๐‘

(๐‘žโˆ’1) ]

, ๐บ = [

๐‘”๐‘‘+1,0

๐‘”๐‘‘+2,1

โ‹ฎ๐‘”๐‘๐‘,๐‘๐‘โˆ’1

0๐‘”๐‘‘+2,0

โ‹ฎ๐‘”๐‘๐‘,๐‘๐‘โˆ’1

โ‹ฏโ‹ฏโ‹ฎโ‹ฏ

00โ‹ฎ

๐‘”๐‘๐‘,0

] (41)

๐ฟ(๐‘˜) =

[ [๐‘”๐‘‘+1(๐‘ž

โˆ’1) โˆ’ ๏ฟฝฬ…๏ฟฝ๐‘‘+1(๐‘žโˆ’1)]๐‘žโˆ†๐‘ข(๐‘˜ โˆ’ 1)

[๐‘”๐‘‘+2(๐‘žโˆ’1) โˆ’ ๏ฟฝฬ…๏ฟฝ๐‘‘+2(๐‘ž

โˆ’1)]๐‘ž2โˆ†๐‘ข(๐‘˜ โˆ’ 1)โ‹ฎ

[๐‘”๐‘๐‘(๐‘žโˆ’1) โˆ’ ๏ฟฝฬ…๏ฟฝ๐‘๐‘

(๐‘žโˆ’1)] ๐‘ž๐‘๐‘โˆ†๐‘ข(๐‘˜ โˆ’ 1)]

(42)

Expression (22) can be rewritten as:

๐ฝ(๐‘˜) = [๐น๐‘ฆ(๐‘˜) + ๐บ๐‘ข(๐‘˜) + ๐ฟ โˆ’ ๐œ”]๐‘‡[๐น๐‘ฆ(๐‘˜) + ๐บ๐‘ข(๐‘˜) + ๐ฟ โˆ’ ๐œ”] + [ฮป(๐‘žโˆ’1)๐‘ข(๐‘˜)]2 (43)

Page 7: ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE โ€ฆpaper.ieti.net/scee/2019Volume1Issue1/paper01.pdfKeywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator,

http://paper.ieti.net/SCEE/ 2019, Volume 1, Issue 1, 1-11.

7

With ๐Ž = [๐œ”(๐‘˜ + ๐‘‘ + 1), ๐œ”(๐‘˜ + ๐‘‘ + 2),โ€ฆ . , ๐œ”(๐‘˜ + ๐‘๐‘)]๐‘ป (44)

The minimization of ๐ฝ(๐‘˜) means the resolution of:

๐œ•๐ฝ(๐‘˜)

๐œ•[โˆ†๐‘ข(๐‘˜)]= 0 (45)

Using (45), the following optimum control increment is obtained [2, 10]:

๐‘ขโˆ—(๐‘˜) =๐บ๐‘‡(๐‘… โˆ’ ๐น๐‘ฆ(๐‘˜)) โˆ’ ๐บ๐‘‡๐ฟ

๐บ๐‘‡๐บ + ๐œ†2๐ผ (46)

In order to simplify the control law one considers:

๐œ† = ๐œ†02 > 0 and ๐บ๐‘‡๐ฟ = 0

Then one can write:

๐‘ขโˆ—(๐‘˜) =๐บ๐‘‡(๐‘… โˆ’ ๐น๐‘ฆ(๐‘˜))

๐บ๐‘‡๐บ + ๐œ†๐ผ ; ๐œ† = ๐œ†0

2 > 0 (47)

Where ๐‘ฐ is the identity matrix. The control signal sent to the process is only the first element

of the vector ๐’–โˆ—(๐‘˜), and โˆ†๐‘ขโˆ—(๐‘˜) is given by:

ฮ”๐‘ขโˆ—(๐‘˜) = ๐‘ขโˆ—(๐‘˜) โˆ’ ๐‘ข(๐‘˜ โˆ’ 1) = ๐พ[๐‘… โˆ’ ๐น๐‘ฆ(๐‘˜)] (48)

where ๐พ is the first row of matrix (๐บ๐‘‡๐บ + ๐œ†๐ผ)โˆ’1๐บ๐‘‡

๐พ = [1 0 0โ€ฆ0]1ร—๐‘๐‘(๐บ๐‘‡๐บ + ๐œ†๐ผ)โˆ’1๐บ๐‘‡ (49)

In order to further reduce the computation cost, ๐‘๐‘ข = 1 is chosen, then ๐บ is a vector, thus

(๐บ๐‘‡๐บ + ๐œ†๐ผ)โˆ’1 becomes a scalar which simplifies the computation of ๐พ.

Considering that โˆ†๏ฟฝฬ‚๏ฟฝ๐บ๐‘ƒ๐ถ is an approximation of โˆ†๐‘ข(๐‘˜)โˆ— the proposed controller is given as:

โˆ†๐‘ข(๐‘˜) = ๐‘ข(๐‘˜) โˆ’ ๐‘ข(๐‘˜ โˆ’ 1) = โˆ†๏ฟฝฬ‚๏ฟฝ๐บ๐‘ƒ๐ถ(๐‘˜) โˆ’๐›ผ

๏ฟฝฬ…๏ฟฝ๐‘’(๐‘˜) = ๐พ[๐‘… โˆ’ ๐น๐‘ฆ(๐‘˜)] โˆ’

๐›ผ

๏ฟฝฬ…๏ฟฝ๐‘’(๐‘˜) (50)

Where ๐‘’(๐‘˜) = ๐‘ฆ(๐‘˜) โˆ’ ๐œ”(๐‘˜), ๐›ผ โˆˆ [0,1] and ๏ฟฝฬ…๏ฟฝ are positive constants [11].

3 Simulation Results.

A benchmark liquid-level system is used to validate the enhanced T-S fuzzy based predictive

approach. To evaluate the reference tracking performance, the controller robustness, the

accuracy of the fuzzy approximator, the parameters convergence, and the minimization of the

control energy, the reference input ๐œ”(๐‘˜) is time varied, and a load disturbance ๐œ—(๐‘˜) is

applied.

Page 8: ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE โ€ฆpaper.ieti.net/scee/2019Volume1Issue1/paper01.pdfKeywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator,

http://paper.ieti.net/SCEE/ 2019, Volume 1, Issue 1, 1-11.

8

3.1 Control of a laboratory-scale liquid-level system.

In this simulation, the following nonlinear model of a laboratory-scale liquid-level process is

considered [13]:

๐‘ฆ(๐‘˜) = 0.9722๐‘ฆ(๐‘˜ โˆ’ 1) + 0.3578๐‘ข(๐‘˜ โˆ’ 1) โˆ’ 0.1295๐‘ข(๐‘˜ โˆ’ 2) โˆ’ 0.04228๐‘ฆ(๐‘˜ โˆ’ 2)2

+ 0.1663๐‘ฆ(๐‘˜ โˆ’ 2)๐‘ข(๐‘˜ โˆ’ 2) โˆ’ 0.3103๐‘ฆ(๐‘˜ โˆ’ 1)๐‘ข(๐‘˜ โˆ’ 1) โˆ’ 0.03259๐‘ฆ(๐‘˜ โˆ’ 1)2๐‘ฆ(๐‘˜ โˆ’ 2) โˆ’ 0.3513๐‘ฆ(๐‘˜ โˆ’ 1)2๐‘ข(๐‘˜ โˆ’ 2) + 0.3084๐‘ฆ(๐‘˜ โˆ’ 1)๐‘ฆ(๐‘˜ โˆ’ 2)๐‘ข(๐‘˜ โˆ’ 2) + โ‹ฏ ..

. . +0.1087๐‘ฆ(๐‘˜ โˆ’ 2)๐‘ข(๐‘˜ โˆ’ 1)๐‘ข(๐‘˜ โˆ’ 2)๐œ—(๐‘˜) (51)

Where ๐œ—(๐‘˜)is an external load disturbance described by:

๐œ—(๐‘˜) = {0 ๐‘˜ โ‰ค 10000.08 ๐‘˜ โ‰ฅ 1000

(52)

The following controller parameters were chosen: ๐‘›๐‘ข=2, ๐‘›๐‘ฆ = 2, ๐‘‘ = 0,๐‘๐‘ = 5, ๐œ† = 50,

๐›ผ = 0.05 and gฬ… = 1. The reference input ๐œ”(๐‘˜) is:

๐œ”(๐‘˜) = {1 0 < ๐‘˜ โ‰ค 4000.2 400 < ๐‘˜ โ‰ค 700

1 700 < ๐‘˜ โ‰ค 1400 (53)

The input variables of the fuzzy rules were chosen as:

๐‘ฅ(๐‘˜) = [๐‘ฆ(๐‘˜ โˆ’ 1), ๐‘ข(๐‘˜ โˆ’ 1), ๐‘ข(๐‘˜ โˆ’ 2)]๐‘‡ where ๐‘ฅ(๐‘˜) โˆˆ [โˆ’3 3].

To reduce the computational cost only 3 membership functions, as shown in Fig.1, will be

used for each input variable. All parameters of the model are initialized equal to 0.01.

3.2 Results Analysis

Fig.1 Membership functions of input variables: y(k โˆ’ 1), u(k โˆ’ 1), and u(k โˆ’ 2).

Page 9: ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE โ€ฆpaper.ieti.net/scee/2019Volume1Issue1/paper01.pdfKeywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator,

http://paper.ieti.net/SCEE/ 2019, Volume 1, Issue 1, 1-11.

9

Fig.2 Reference tracking in the presence of load disturbances.

Fig.3 Control signal evolution.

Fig.4 Tracking error.

Fig.5 Results from [11]

Fig.6 Results from [12]

From the results presented in Fig. 2 and 3, it can be seen that the enhanced predictive control

strategy based on a fuzzy prediction model is capable to force the system output to follow the

reference trajectory. This is achieved despite the presence of external disturbances. Indeed,

the proposed controller compensates efficiently the disturbances effect and eliminates the

tracking error between the output and the reference signal (Fig.4). Furthermore, compared to

results achieved in [13], a minimization of the control energy is ensured as can be seen in Fig.

2 and 5. During transient state, the system response is enhanced and a smaller response time is

Page 10: ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE โ€ฆpaper.ieti.net/scee/2019Volume1Issue1/paper01.pdfKeywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator,

http://paper.ieti.net/SCEE/ 2019, Volume 1, Issue 1, 1-11.

10

obtained as confirmed by Figs 2, 5, and 6. Moreover, it can be observed that with the

proposed approach the knowledge of initial conditions is not of great importance (because all

parameters are initialized to 0.01). When the disturbance is applied, an overshoot is observed

in the system response and the control signal changes to force the system to return to the set-

point (Fig. 2 and 3) confirming the proposed control strategy robustness and showing its

ability to compensate for the effect of external disturbances.

4 Conclusion

This paper proposed an enhancement of the predictive control strategy of nonlinear systems.

It deals with the problem of model availability of complex nonlinear systems by means of

fuzzy approximation. The gains achieved by the introduced improvement are a reduction in

the response time, as well as a minimization of the control effort required. Indeed, besides the

guaranteed robustness and good performance compared to published results available in the

literature, the simulation results showed the effectiveness of the proposed approach in terms

of improvement of the system dynamics and reduction of the control energy required.

Work on the extension of the approach to MIMO systems and to nonlinear delayed systems is

underway.

References

[1] E. F. Camacho, and C. Bordons, 2007, Model predictive control, Springer-Verlag, London.

[2] D.W. Clarke, C. Mohtadi, and P.S. Tuffs, 1987, Generalized predictive control, Automatica,

pp.137-16

[3] P. Boucher, and D. Dumur, 1996, La commande prรฉdictive, Edition Technip-Paris.

[4] J. H. Lilly, 2010, Fuzzy Control and Identification, Wiley.

[5] H. Ying , 1997, General MISO Takagi-Sugeno fuzzy systems with simplified linear rule

consequent as universal approximators for control and modeling applications, IEEE Inter. Conf.

on Systems, Man, and Cybernetics, 2: pp.1335โ€“1340.

[6] M. Lazar, and O. Pastravanu, 2002, A neural predictive controller for non-linear systems,

Mathematics and Computers in Simulation, pp. 315โ€“324.

[7] R. Qi, and M.A. Brdys, 2008, Stable indirect adaptive control based on discrete-time T-S fuzzy

model, Fuzzy Sets Systems, 159(8): pp. 900โ€“925.

[8] P. Ansay, M. Gevers , and V. Wertz , 1998, Enhancing the robustness of GPC via the Youla

parameterization, European Journal of Control, pp.64-70.

[9] C.C. Hsiao, et. al, 2004, Hybrid compensation control for affine TSK fuzzy control systems, IEEE

Trans. on Systems, Man, and Cybernetics, Part B: Cybernetics, 34(4):1865โ€“1873.

[10] T. Tsang , and D. Clarke , 1988, Generalized predictive control with input constraints, IEE Proc.

Control Theory and Applications, 135(6): pp. 451โ€“460.

[11] J. Mendes, and R. Araรบjo, Fuzzy Model Predictive Control for Nonlinear Processes. 17th IEEE

Conference on Emerging technologies and Factory Automatique (ETFA 2012), Krakรณw, Poland,

2012.

Page 11: ENHANCEMENT OF FUZZY MODEL BASED PREDICTIVE โ€ฆpaper.ieti.net/scee/2019Volume1Issue1/paper01.pdfKeywords: nonlinear system, predictive control, fuzzy logic, universal fuzzy approximator,

http://paper.ieti.net/SCEE/ 2019, Volume 1, Issue 1, 1-11.

11

[12] J. Mendes, R. Araรบjo and F. Souza, Adaptive Fuzzy Generalized Predictive Control Based on

Discrete-Time T-S Fuzzy Model. 15th IEEE Conference on Emerging Technologies and Factory

Automatique (ETFA 2010), Bilbao, Spain 2010.

[13] M. S. Ahmed, Neural-net-based direct adaptive control for a class of nonlinear plants, IEEE

Trans. on Automatic Control, 45(1):119โ€“124, 2000.