Anda di halaman 1dari 9

This article has been accepted for inclusion in a future issue of this journal.

Content is final as presented, with the exception of pagination.

IEEE TRANSACTIONS ON CYBERNETICS 1

A Novel Approach to Implement


TakagiSugeno Fuzzy Models
Chia-Wen Chang, Member, IEEE, and Chin-Wang Tao, Senior Member, IEEE

AbstractThis paper proposes new algorithms based on the The advantage of TS fuzzy model is due to its excellent
fuzzy c-regressing model algorithm for TakagiSugeno (TS) capability to describe a given unknown system. However,
fuzzy modeling of the complex nonlinear systems. A fuzzy how to obtain the appropriate parameters of the conse-
c-regression state model (FCRSM) algorithm is a TS fuzzy model
in which the functional antecedent and the state-space-model- quent function is the main challenge in TS fuzzy model
type consequent are considered with the available inputoutput algorithm.
data. The antecedent and consequent forms of the proposed To solve above problem, a data clustering algorithm is
FCRSM consists mainly of two advantages: one is that the utilized to cluster the inputoutput data for calculating the
FCRSM has low computation load due to only one input vari- parameters of consequent function. The fuzzy c-means (FCM)
able is considered in the antecedent part; another is that the
unknown system can be modeled to not only the polynomial method is the most known and widely used algorithm in
form but also the state-space form. Moreover, the FCRSM can be fuzzy clustering [7]. The main difference between the tra-
extended to FCRSM-ND and FCRSM-Free algorithms. An algo- ditional clustering and fuzzy clustering method is that an
rithm FCRSM-ND is presented to find the TS fuzzy state-space entity belongs only to one cluster in traditional clustering
model of the nonlinear system when the inputoutput data cannot but partially belongs to many clusters with different degrees
be precollected and an assumed effective controller is available.
In the practical applications, the mathematical model of con- of membership in fuzzy clustering. The FCM algorithm is
troller may be hard to be obtained. In this case, an online tuning based on the distances which are calculated from data to
algorithm, FCRSM-FREE, is designed such that the parame- cluster centers. Therefore, the FCM method is so called a
ters of a TS fuzzy controller and the TS fuzzy state model of hyperspherical-shaped clustering algorithm. Since FCM is not
an unknown system can be online tuned simultaneously. Four appropriate for the hyperplane-shaped clusters associated with
numerical simulations are given to demonstrate the effectiveness
of the proposed approach. fuzzy rules [8][10], a hyperplane-shaped clustering algo-
rithm, fuzzy c-regressing models (FCRMs), is proposed to
Index TermsFuzzy c-regression model (FCRM), modify the FCM and obtains the representatives of clusters
TakagiSugeno (TS) fuzzy model.
by calculating a hyperplane-shaped fit of the affiliated data.
Although the appropriate parameters for several linear func-
tions in the TS fuzzy model can be obtained by FCRM,
some difficulties might occur when the obtained inputoutput
I. I NTRODUCTION
data cannot lead to a single hyperplane in one fuzzily parti-
ODELING of a system is essential in practical appli-
M cations, such as controller design and fault detec-
tion systems [1][3]. However, traditional linear modeling
tioned region or the obtained inputoutput data share the same
regression function in different regions. Moreover, the nonlin-
ear system cannot be easily modeled to the TS fuzzy system
techniques are not applicable to build models for com- with the linear state equation based on the conventional FCRM
plex nonlinear systems. In recent years, fuzzy modeling has due to its complexity.
become a main technique to describe a complex system In this paper, a fuzzy c-regression state model (FCRSM)
with a fuzzy model in combining several linear systems. algorithm is proposed for the nonlinear system represented in
The well-known fuzzy model is the TakagiSugeno (TS) the state equations with the available inputoutput data. When
fuzzy model introduced by Takagi and Sugeno [4][6] the inputoutput data cannot be precollected, the proposed
to adopt the functional-type consequences in fuzzy rules. FCRSM is extended to be an algorithm, FCRSM-ND, to find
Manuscript received December 16, 2016; revised February 26, 2017; the TS fuzzy state-space model for nonlinear system with an
accepted April 28, 2017. This work was supported by the Ministry assumed effective controller. Furthermore, based on a tuning
of Science and Technology of Republic of China under Grant MOST algorithm, FCRSM-FREE algorithm is designed to online tune
105-2221-E-197-009-MY3 and Grant MOST 105-2221-E-130-002. This paper
was recommended by Associate Editor H.-X. Li. (Corresponding author: the parameters of the TS fuzzy controller and the TS fuzzy
Chin-Wang Tao.) state model. The contributions and novelties in this paper are
C.-W. Chang is with the Department of Information and summarized as follows.
Telecommunications Engineering, Ming Chuan University, Taoyuan 333,
Taiwan. 1) An FCRSM algorithm is proposed for the nonlinear
C.-W. Tao is with the Department of Electrical Engineering, National I-Lan systems represented in the state equations with the
Institute of Technology, I-Lan 260, Taiwan (e-mail: cwtao@niu.edu.tw). obtained inputoutput data.
Color versions of one or more of the figures in this paper are available
online at http://ieeexplore.ieee.org. 2) When the inputoutput data cannot be precollected,
Digital Object Identifier 10.1109/TCYB.2017.2701900 the proposed FCRSM-ND algorithm can find the TS
2168-2267 c 2017 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.

2 IEEE TRANSACTIONS ON CYBERNETICS

state-space model of the nonlinear system with an where d(Pik ) is the distance between the obtained output date
assumed effective controller. and the output of ith approximated linear subsystem, i.e.,
3) The proposed algorithms, FCRSM-FREE, not only can d(Pik ) = yk f i (xk , Pik ). The matrix of all membership values
online find the TS fuzzy state-space model of the non- is denoted as U = [ik ], i = 1, 2, . . . , c and k = 1, 2, . . . , N.
linear system but also can online tune the parameters of The parameters of each linear regression model can be cal-
TS fuzzy controller. culated by weighted recursive least square (WRLS) algorithm
4) The functional antecedent is adopted in the proposed with the precollected inputoutput data pairs. WRLS algorithm
FCRSM algorithm to let the mechanism of FCRSM is is illustrated as the following recursive equations [7]:
simpler than the conventional FRCM algorithm due to
only one input variable is considered in the antecedent Pik+1 = Pik + Kk yk+1 xTk+1 Pik (5)
part.
This paper is organized as follows. In Section II, the intro- where
duction of TS fuzzy model and FCRM algorithm are given. Sk xk+1
The FCRSM is developed with the functional antecedent and Kk = Sk+1 xk+1 = (6)
1
ik
+ xTk+1 Sk xk+1
state-model consequence in Section III. Besides, based on
the proposed FCRSM, the algorithms of FCRSM-ND and Sk+1 = I Kk xTk+1 Sk (7)
FCRSM-Free are presented in Section IV. In Section V, sev-
eral numerical examples are provided. Finally, the conclusion in which xk+1 is the vector of (k + 1)th input data, yk+1 is
is presented. (k + 1)th output data, Pik is the parameter of ith fuzzy lin-
ear submodel with kth iteration, i = 1, 2, . . . , c and k =
II. P RELIMINARIES 1, 2, . . . , N.
A. Fuzzy C-Regression Model Clustering Algorithm
An FCRM clustering algorithm which develops hyperplane- B. Conventional TS Fuzzy Models
shaped clusters was proposed by Hathaway and Bezdek in The TS fuzzy model was presented by Takagi and Sugeno
1993 [11]. FCRM is a modified version of fuzzy c-mean algo- in 1985 [4]. TS fuzzy model is described by fuzzy IF-THEN
rithm (FCM) that is a conventional clustering algorithm to rules, which represents local linear inputoutput relations of
develop hypersphere-shaped clusters. It notes that FCM can the nonlinear system. It notes that a nonlinear system is
be applied to cluster the data that is distributed on a spherical approximated by the fuzzy combination of linear subsystems
share. However, to identify the fuzzy model, the inputoutput when the TS fuzzy model is adopted. The TS fuzzy model
data pairs are usually distributed on an ellipsoidal-like shape. is illustrated as follows:
Therefore, the FCRM clustering algorithm is considered in this
paper due to that it can partition a number of inputoutput data Ri : IF x1 is M1i and x2 is M2i and, . . . , and xn is Mni
into different linear regression models. THEN yi = ai0 + ai1 x1 + + ain xn = xT Pi (8)
Let be a set of N inputoutput data pairs, i.e., =
{(xk , yk )} and xk = (x1k , x2k , . . . , xnk ), k = 1, 2, . . . , N. where x = [1 x1 . . . xn ]T is the input vector and Pi =
can be partitioned into c different hyperplane-shaped clusters [ai0 ai1 . . . ain ]T is the parameter vector, Ri (i = 1, 2, . . . , c) is
represented by the ith fuzzy rule, c is the number of rules, xj ( j = 1, 2, . . . , n)
  is the jth input variable, Mji is the antecedent fuzzy set, and yi
yi = f i x, Pi is the output of the ith linear subsystem in fuzzy model. The
= ai0 + ai1 x1 + + ain xn = xT Pi , i = 1, 2, . . . , c. (1) output of the fuzzy model with the product fuzzy inference
and the center average defuzzifier is inferred in the following:
Defined an objective function J



c 
N
 i m   2 c
n
k yk f i xk , Pi  Mj (xj ) yi
i
J= (2)
i=1 j=1
i=1 k=1 y = 
. (9)
where m is the weighting exponential, the value of m is usually 
c
n
Mji (xj )
selected as 2, and ik [0 1] is membership degree which i=1 j=1
should satisfy the following condition:
Based on the FCRM, the parameters of consequence-part

c
ik = 1, k = 1, 2, . . . , N. (3) can directly be obtained from the cluster representatives in (1)
i=1 with Pi using WRLS. The membership function Mji (xj ) of the
antecedent fuzzy set Mji of TS fuzzy model can be obtained
The membership degree ik between ith fuzzy model and
from the clustered input data and the membership degree of
kth data pair be updated as follows:
fuzzy partition ik [9]
1
ik = 
2 (4) 

 i  m1 1 xj i 2
c d Pk Mji (xj ) = exp
j
(10)

j
d Pk 2 ji
j=1
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.

CHANG AND TAO: NOVEL APPROACH TO IMPLEMENT TS FUZZY MODELS 3

Algorithm 1 TS Fuzzy Modeling With a Conventional


FCRM Clustering Algorithm [7]
1: Define the number of weight exponent m, the error criteria
, the clusters c, and an objective function J in (2).
2: Initiate the number of membership function U, parameters
of WRLS algorithm, Pi0 = 0 and S = I, where is a
constant and I is an unit matrix.
3: repeat
4: Find the model parameter P by WRLS algorithm to
minimize the objective function in (5).
5: Compute of the new membership value ik by (4)
6: until ||U(l) U(l1) || < 
Fig. 1. Chart of fuzzy partition of input space and linear hyper-plane-shaped
model. (a) Inputoutput data share the same regression function. (b) Input
7: Build the T-S fuzzy model as (8) output data cannot lead to a single regression function.
8: Calculate the Mji (xj ) of T-S fuzzy models by (10)

where

  2
N  N
ik xjk  k=1 ik xjk ji
k=1
ji =  N
and ji =  N
k=1 k k=1 k
i i

are the mean and standard deviation of the bell-shaped mem-


bership function, respectively.
The conventional FCRM clustering algorithm and the TS Fig. 2. Distance from data point to hyperplanes function. (a) Conventional
modeling algorithm are summarized in Algorithm 1. method. (b) Proposed method.

III. F UZZY C-R EGRESSION S TATE M ODEL


A. Modified Fuzzy C-Regression Model
In general, FCRM develops c hyperplane-shaped clusters
which are represented as c linear polynomial equations. As From (1), the affine linear regression model can be rewritten
in [9], FCRM can be utilized to build the TS fuzzy model, as an equation of a hyperplane-shaped
that is, these linear polynomial equations, cluster representa- i
fph (x, y, i ) = bi0 y + ai0 + ai1 x1 + ai2 x2 + + ain xn
tives, can be adopted as the consequence part in a TS fuzzy
model [shown in (8)]. However, some difficulties might occur = y xT i = 0 (11)
when the FCRM is used for TS modeling. For example, as
in Fig. 1(a), the inputoutput data are distributed in different with x = [1 x1 x2 . . . xn ]T and i = [bi0 (Pi )T ]T . The objec-
regions. It can be observed that there are two linear regres- tive in this paper is that a nonlinear system can be modeled
sion functions, f 1 and f 2 , for these data. However, based on the to be the fuzzy combination of affine linear regression model
fuzzy partition of the data space in (8), three fuzzy rules (more with the appropriate parameter i .
than the number of hyperplanes) are required to build the TS Let d1j and d2j be defined as the distances from jth data
fuzzy model for the data in Fig. 1(a) with two rules sharing the pair (xj , yj ) to the hyperplane f 1 and f 2 , respectively. It can
same hyperplane. In another example, shown in Fig. 1(b), the be seen that the distances d12 and d22 in Fig. 2(a) are the same
inputoutput data cannot lead to a single hyperplane in region for the second data pair (x2 , y2 ) by using the conventional dis-
II. Thus, it can be seen that it is difficult to obtain the appro- tance definition. In other words, the second data pair has the
priate TS fuzzy model based on the conventional FCRM for same membership degree corresponding with the f 1 and f 2 .
the TS fuzzy model (8) directly, especially when the dimen- By intuition, the data pair (x2 , y2 ) should be belonged to f 2
sion of the input space is increased. To the best of the authors more than f 1 . Therefore, to deal with this problem, the dis-
knowledge, few results are available on the problem of TS tance dij from the sampled data (xj , yj ) to the ith hyperplane
modeling for the nonlinear systems represented in state equa- with the parameter i is modified to be the so called per-
tions, i.e., x = f (x, u), where f (x, u) is a nonlinear function of pendicular distance in the proposed method [see Fig. 2(b)].
state variables. The reason is that the FCRM modeling algo- That is
  
rithm needs fuzzy rules to represent a nonlinear system as a  i T 
 P xj + bi0 yj 
TS fuzzy model with linear state-space submodels such that dij =   . (12)
the computation load would be increased obviously. Therefore, T
i i
in this section, the FCRSM would be proposed to overcome
the problem of the TS fuzzy modeling in the antecedent- and With the proposed method, the distances from second data pair
consequence- part. to f 1 and f 2 are different such that the different membership
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.

4 IEEE TRANSACTIONS ON CYBERNETICS

degree corresponding to different affine regression model can Algorithm 2 FRCSM Algorithm
be calculated. 1: Definition of the parameters of m, , c, and a distance-
The distance-objective function in the proposed method is objective function J in (13).
accordingly designed as follows: 2: Initialization of the number of membership function U,

n 
parameters of WRLS algorithm, Pi0 = 0 and S = I.

c 
m 2 3: repeat
J= ij edij (13)
4: Computation of the model parameter P by WRLS
i=1 j=1
algorithm to minimize the distance-objective function in
where ij is the membership value which describes the degree (5)).
with which jth data pair belongs to ith hyperplane function. 5: Computation of the new membership value ik by (19)
From (12) and (13), a Lagrange multiplier equation can be 6: until ||U(l) U(l1) || < 
obtained as
n 
 c

c 
m d2 n 
L(U, ) = j e ij
i
j j 1
i
(14) the associated TS fuzzy model with state equation can be
i=1 j=1 j=1 i=1 proposed as follows:
where j denotes a Lagrange multiplier. To minimize L(U, ), Ri : IF (x, u, y) is Li
we would have the derivative of L(U, ) with respect to j be

x1 = x2
zero, L(U, )/j = 0. This leads to
x2 = x3
THEN ..

c
.
ij 1 = 0. (15)

xq = ai1 x1 + ai2 x2 + . . . + aiq xq + biq u = yi
i=1
(21)
Similarly, let the derivative of L(U, ) with respect to ij be
where (x, u, y) is the input of antecedent part and Li is the
zero, L(U, )/ij = 0, and we have
fuzzy set with the membership function Li (x, u, y) = ij
 m1 2 in (21). It can be seen that the hyperplane f i (x, u, y) in this
m ij edij j = 0. (16) model is
From (16), ij can be derived as f i (x, u, y) = y ai1 x1 ai2 x2 aiq xq biq u

  1 = y xT u i = 0
j dij2 m1  T
ij = e . (17) i = 1 ai1 ai2 aiq biq
m
T
Substituting (17) into (15), we can obtain = 1 (Pi )T . (22)
  1
j m1 1 Unlike the conventional TS fuzzy system, only one input vari-
=  1 . (18) able is considered in the antecedent part of the proposed fuzzy
m 
c
dij2 m1
e model. It notes that the well-known complexity problems of
i=1 fuzzy systems can be relieved by using the simple input with
From (18), the membership value of jth data in the ith only one variable. Moreover, since the membership function
cluster, ij , can be found as of the fuzzy set in the antecedent part of the fuzzy state model
is the same with the membership function used for parame-
 2 m1 1
ter learning, the proposed fuzzy modeling approach FCRSM
edij can be further simplified as Algorithm 2. Further, the FCRSM
ij = 1 . (19)
c 
 could be generalized to find the fuzzy model of the nonlinear
dij2 m1
e system with general state equations, since the mechanism of
i=1
FCRSM is simple.
B. TS Fuzzy Model With State Equations
IV. E XTENSIONS OF FCRSM
Consider a nonlinear system
In the practical applications, the inputoutput data pairs may

x1 = x2 not be obtained or hard to be derived, especially the complex

x2 = x3 nonlinear system. The proposed algorithm can be extended to
.. (20)

. identify the unknown nonlinear system in two different cases.

The first case is that the unknown nonlinear system did not
xq = f (x, u) = y
have available inputoutput data but have the assumed effec-
where f (x, u) is a nonlinear function in which x = tive controller (see Fig. 3). Note that the assumed effective
[x1 x2 . . . xq ]T is the vector of state variable, u is the con- controller is only required to make the controlled system sta-
trol action. Based on the modified FCRM in Section III-A, ble. The motivation in this case is that although we have the
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.

CHANG AND TAO: NOVEL APPROACH TO IMPLEMENT TS FUZZY MODELS 5

Fig. 3. Block diagram of FCRSM-ND algorithm for a nonlinear system with Fig. 4. Block diagram of FCRSM-FREE algorithm for a closed-loop PDC
an assumed effective controller. control system.

Algorithm 3 FCRSM-ND Algorithm


Algorithm 4 FCRSM-FREE Algorithm
1: Pre-design the effective state feedback controller by trial
1: Select the initial parameters, such as the weighting expo-
and error method for the unknown nonlinear system.
nent m > 1, the threshold value  > 0, the number of the
2: Select the initial parameters.
clusters c, the parameter vector of T-S fuzzy model P, a
3: repeat
desired sampling number ld , a reset number lr , a setting-
4: Collect the input-output data from the output of con-
point value of control system, and a desired performance
troller and the output of the unknown system
index.
5: Calculate the distance from the sampled data to each
2: repeat
cluster model model by (12).
3: Reset the iteration number and startup the controlled
6: Update the membership value by (19).
system.
7: Evaluate the model parameters of controlled system
4: repeat
by the WRLS.
(l) (l1) 5: Calculate the parameters of PDC by LMI with the
8: until ||ij ij || <  obtained T-S fuzzy state models.
9: Obtain the T-S fuzzy state models of the unknown system.
6: repeat
10: Calculate the parameters of PDC by LMI with the desired
7: Collect the sampled data from the input and
performance conditions. output of the unknown system.
8: Calculate the distance by (12).
9: Update the membership value by (19).
existed controller to have the unknown nonlinear system be 10: Evaluate the model parameters of controlled
stable but the performance of the unknown system is not sat- system by the WRLS.
isfied. To improve the performance, the FCRSM approach can 11: until the change rate of ij , ij , is positive or
be extended as in Fig. 3 to identify the TS fuzzy model for | j | < 
i

the unknown nonlinear plant. Then the assumed effective con- 12: until | ij | < 
troller can be redesigned and replaced with the TS fuzzy 13: until the desired performance is satisfied.
model to have the performance satisfied.
In this paper, the appropriate number of the clusters is
assumed to be preobtained. In case 1, shown as Fig. 3, the
required inputoutput data are generated as the output of con- FCRSM algorithm. When ij > 0 or | ij | < , where
troller and the output of the unknown nonlinear system. The ij is the change rate of ij and  is a positive constant, the
algorithm for case 1 is shown in Algorithm 3. When the TS PDC need to be updated based on the obtained TS fuzzy
fuzzy state models of the unknown system is obtained using state model. The FCRSM-FREE algorithm is illustrated in
FCRSM-ND, the assumed effective controller can be replaced Algorithm 4.
to a redesigned PDC controller by the LMI method. Remark 1: The limitation of the proposed method is that the
The other case is a real-time controlled system without nonlinear system should have a simple form as (20). Therefore,
the available inputoutput data and the predesigned con- the proposed method can be extended for nonlinear systems
troller. Unlike the system in first case, both the parameters of that can be transformed to have the form of (20). However,
controller and unknown system need to be online tuned, simul- for the nonlinear systems with small and critical stable region,
taneously. The block diagram of the case 2 is shown in Fig. 4. the nonlinear system may not be easy to achieve the stable
The initial parameters of PDC controller can be obtained by response and the initial value of the parameters of the TS
LMI method with the initial TS fuzzy state model. Although state model should be appropriately chosen to let the initial
the parameters of PDC controller might be inappropriate, we states be close to the stable region. Moreover, the problem of
just need to guarantee that the unknown nonlinear system with nonlinear control system with uncertainty associated to the qth
the given command can operate to let the inputoutput data of state equation can be overcome by the proposed method, also.
the unknown nonlinear system be collected. Then the param- Remark 2: The membership functions are designed to have
eters of the TS fuzzy state model can be updated by the the distance objective function minimized. That is, when the
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.

6 IEEE TRANSACTIONS ON CYBERNETICS

TABLE I
hyperplanes are updated in each iteration, the membership val- C OMPARISON OF P ERFORMANCE W ITH I DENTIFICATION C ASE
ues are calculated to have minimum objective value (the best
assignment of data points to the hyperplanes).

V. N UMERICAL S IMULATIONS
A. Example 1
The Box and Jenkins gas furnace with 296 input/output
measurement data in [7] is also used for simulation. The input
u(k) is a gas flow rate and the output y(k) is a CO2 con-
centration. In this case, the variables of the fuzzy model are
considered as x = [u(k) u(k 1) u(k 2) y(k 1) y(k 2)
y(k 3)]T .
Define two hyperplanes L1 and L2

L1 : a11 u(k) + a12 u(k 1) + a13 u(k 2) + a14 y(k)


+ a15 y(k 1) + a16 y(k 2) + a17 y(k 3) + a18 = 0 The mean square error (MSE) used as the performance
L2 : a21 u(k) + a22 u(k 1) + a23 u(k 2) + a24 y(k) criterion is defined as
+ a25 y(k 1) + a26 y(k 2) + a27 y(k 3) + a28 = 0. 1 
N
2
(23) MSE = y(k) y(k) . (27)
N
k=1
The distance from data pairs to each hyperplane can be
Case 1 (Identification): In this case, the simulation was con-
obtained as follows:
  ducted on all the 296 data pairs used as the training data.
   The detailed comparison of performance between the proposed
 3 1 7

 ai u(k i + 1) + ai y(k i + 4) + a8 
1 1
method and other methods is given in Table I. In [12], a
i=1 i=4 
d1j =  six-rule fuzzy model with singleton consequent part is devel-
8  2 oped and has an MSE of 0.19. The method in [13] has an
a1i MSE of 0.071 which is better than other methods in [12]
i=1
  and [14][17] although it only needs four-rule fuzzy model
  
 3 2 7
 to obtain the model of gas furnace system. In general, the
 ai u(k i + 1) + a2i y(k i + 4) + a28 
i=1 i=4  number of rules depends on the parameters of a fuzzy model
d1j =  . (24) that needs to be calculated. Therefore, the modeling algorithm
8  2
ai2 need more computation time when the number of fuzzy-rule is
i=1 increased. The fuzzy model obtained by the proposed method
has an MSE of 0.046 with two-rule fuzzy model. It is noted
Then, the value of membership function is calculated as
that the proposed algorithm has better performance and less
follows:
rule than other methods. Moreover, Li et al. [10] proposed
 2 m1 1
a novel FCRM clustering algorithm (NFCRMA) in which the
edij parameters of fuzzy model are calculated with analytical solu-
ij = 1 , i = 1, 2. (25)
c 
 tions. The main advantage of NFCRMA in [10] is efficient
dij2 m1
e than the former FCRM clustering algorithm due to NFCRMA
i=1
without WRLS which needs iteration process. To compare
The fuzzy system with hyperplanes can be obtained by the the computation cost between NFCRMA and the proposed
proposed modeling algorithm, Algorithm 2, as method FCRSM with this example of the Box and Jenkins
gas furnace, the computation time of NFCRMA and FCRSM
R1 : IF xj is L1 are 2.14 and 0.42 s, respectively. It means that FCRSM
THEN y(k) = 0.5725u(k) + 0.3394u(k 1) has better efficient than NFCRMA and the former FCRM
0.5960u(k 2) + 1.8329y(k 1) algorithms.
Case 2 (Prediction): Moreover, another case is considered
1.1868y(k 2)0.2198y(k 3)
in which the first 148 inputoutput data are taken as training
+ 7.3654 data and the last 148 as test data. The detailed comparison
R2 : IF xj is L2 of performance is given in Table II. The proposed method
THEN y(k) = 0.8071u(k) 0.1937u(k 1) has a testing MSE value of 0.073 and it was better than that
reported in existing works [10], [13], [18], [23][25]. The
0.1303u(k 2) + 2.0888y(k 1)
results show that proposed method has more powerful gener-
1.6281y(k 2) + 0.5422y(k 3) alization ability with a good accuracy in modeling the system
0.3726. (26) of the BoxJenkins gas furnace dataset.
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.

CHANG AND TAO: NOVEL APPROACH TO IMPLEMENT TS FUZZY MODELS 7

TABLE II
C OMPARISON OF P ERFORMANCE W ITH P REDICTION C ASE

Fig. 5. Simulation results with initial values. (a) x1 (0) = 30 and x1 (0) =
45 . (b) x1 (0) = 60 and x1 (0) = 80 .
B. Example 2
Considering a pendulum-cart system (PCS) that has been a
well-known system to verify control strategies in literatures.
A state equations of PCS are described as follows [26]:
x1 (t) = x2 (t)
g sin x1 (t) dmp lx22 (t) sin(2x2 1 (t)) d cos x1 (t)u(t)
x2 (t) =
4l/3 dmp l cos2 x1 (t)
(28)
where x1 is the angle of the pendulum, x2 is the angular
velocity of the pendulum, d = 1/(n/mc ), mp is the mass of
pendulum, mc is the mass of cart, u(t) is the control force,
and l is the length of the pendulum. In this simulation, we
will find the TS fuzzy model of the PCS and the gains of
the controller of the corresponding feedback control system
as follows.
TS Fuzzy Model:

x = A1 x + B1 u
R1 : IF (x, u, y) is L1 , THEN
y1 = x1

x = A2 x + B2 u
R2 : IF (x, u, y) is L2 , THEN (29)
y2 = x1 .
PDC Controller:
R1 : IF (x, y) is L1 , THEN u = F1 x
R2 : IF (x, y) is L2 , THEN u = F2 x (30)
where x = [x1 x2 are the state vector and F =
]T i=
i
[F1i F2i ],
1, 2, are the gain vector of the feedback controller. In the fol-
lowing, two cases are considered to validate two proposed TS Fig. 6. Simulation results with reset number. (a) First. (b) Second. (c) Third.
fuzzy modeling algorithms, respectively. (d) Fourth. (e) Fifth. (f) Simulation results with the obtained controller in
x1 (0) = 30 and x1 (0) = 45 .
Case 1: In this case, the PCS is assumed as a unknown
controlled system which is predesigned by [26]. It means that
only the signals in input and output of PCS can be collected but
conventional method [26] and the proposed fuzzy modeling
the parameters of controller and system model are unknown.
algorithm, respectively. Furthermore, the different initial value
First, the system parameters are obtained by Algorithm 3 of
of state x1 , x1 (0) = 30 and x1 (0) = 45 in Fig. 5(a), and
the proposed FCRSM, shown as follows:
! ! x1 (0) = 60 and x1 (0) = 80 in Fig. 5(b), are considered
0 1 0 1 to validated the robustness of the modeling method. From
A1 = , A2 =
17.18 0.0645 16.01 0.0645 Fig. 5(a), it observes that the simulation results of the pen-
! !
0 0 dulum angle in both x1 (0) = 30 and x1 (0) = 45 by the
B1 = , B2 = .
0.1757 0.1078 proposed new fuzzy modeling algorithm have better responses
Then, the control gains of PDC controller are calculated by than the method in [26]. From Fig. 5(b), it clear shows
LMI when the process of TS modeling algorithm has been that the responses in the considering the large initial values
finished, shown in the following: x1 (0) = 60 and x1 (0) = 80 , the proposed algorithm also
has the satisfaction simulation results. However, the responses
F1 = 516.1 123.8 and F2 = 751.9 180.1 .
with [26] can not converge to the desired value.
The simulation results are illustrated in Fig. 5, where the solid Case 2: This case is provided to validate the control gains of
lines and dashed lines are described as the results with the PDC can be online tuned by Algorithm 4. From Algorithm 4,
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.

8 IEEE TRANSACTIONS ON CYBERNETICS

Fig. 8. Simulation results of Example 3. (a) Reset number firstfourth.


(b) Simulation results of obtained controller for the obtained TS fuzzy model
and nonlinear system.

Fig. 9. Simulation results of Example 4. (a) Reset number firstfifth.


(b) Simulation results of obtained controller for the obtained TS fuzzy model
and nonlinear system in x1 (0) = 2.

C. Example 3
In this example, an another nonlinear system as (31) is given
to validate the proposed method FCRSM-FREE
Fig. 7. Simulation results with the uncertainty and noise in measure-
ment. (a)(e) Reset number firstfifth. (f) Simulation results with the obtained x1 = x2 x2 = 0.1x23 0.02x1 0.67x13 + u. (31)
controller in x1 (0) = 30 and x1 (0) = 45 .
The simulation results are illustrated in Fig. 8. From Fig. 8(a),
that is, the result of the firstfourth iteration processes, it can
it notes that the system would be trained repeatedly within be seen that the response of nonlinear system can be sta-
the desired sampling period until the control performance is bled to the equilibrium point through four-iterations by the
satisfied. The simulation results are illustrated in Fig. 6, where PDC controller designed according to the TS fuzzy model
Fig. 6(a)(e) are the firstfifth iteration processes. It can be found with the FCRSM-FREE algorithm without the avail-
seen that the control responses tend to stable. Fig. 6(f) are the able inputoutput data and the predesigned controller. From
simulation results with the different initial conditions by the Fig. 8(b), it shows the comparisons between the given non-
trained control gains. linear system (31) and the obtained TS fuzzy state-space
In practice, the uncertainty and noise in measurement are model using the same PDC controller in which the param-
often injected into the system by the feedback to affect the eters of PDC controller has been obtained by FCRSM-FREE
performance of the controlled system, i.e., yi = x1 + x1 + algorithm. It notes that the approximate model of the given
n(t), i = 1, 2. To validate the proposed FCRSM-FREE algo- nonlinear system (31) can be obtained without the available
rithm can be applied to the control system with uncertainty inputoutput data and the predesigned controller. Then, the
and noise in measurement to online tune the control gains appropriate PDC controller that is calculated by LMI method
of PDC, the uncertainty term x1 = 0.1x1 and the random based on the obtained TS fuzzy model not only can be applied
noise n(t) [0.2 0.2] are considered into the each feed- to the approximate model but also the given nonlinear system.
back state. The simulation results are illustrated in Fig. 7. The
FCRSM-FREE need more iteration processes to obtain the D. Example 4
efficient system model and the control parameters of PDC due In final example, the proposed method FCRSM-FREE
to the uncertainty and noise in measurement are considered, would be validated with a nonlinear system, including three
shown in Fig. 7(a)(e). Fig. 7(f) is the simulation results of the state variables as
controlled system, including uncertainty and noise in measure-
x1 = x2 x2 = x3 x2 = x1 x2 + 0.01x1 0.01x13 + u. (32)
ment with different initial conditions. It shows that the PDC
controller using the trained control gains can also deal with The simulation results are illustrated in Fig. 9. From Fig. 9(a),
the control problem of nonlinear system with uncertainty and it is obviously seen that the response of controlled system
noise in measurement. can be improved gradually by the PDC controller designed
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.

CHANG AND TAO: NOVEL APPROACH TO IMPLEMENT TS FUZZY MODELS 9

according to the TS fuzzy model found with the FCRM-FREE [10] C. Li, J. Zhou, X. Xiang, Q. Li, and X. An, T-S fuzzy model identifi-
algorithm from first to fifth iteration processes. Similarly, the cation based on a novel fuzzy c-regression model clustering algorithm,
Eng. Appl. Artif. Intell., vol. 22, nos. 45, pp. 646653, 2009.
appropriate PDC controller can be calculated by LMI method [11] R. J. Hathaway and J. C. Bezdek, Switching regression models and
based on the obtained TS fuzzy model. The simulation results fuzzy clustering, IEEE Trans. Fuzzy Syst., vol. 1, no. 3, pp. 195204,
in Fig. 9(b) are shown that the responses of the obtained TS Aug. 1993.
[12] M. Sugeno and T. Yasukawa, A fuzzy-logic-based approach to qual-
model and the given nonlinear system (32) are closed. itative modeling, IEEE Trans. Fuzzy Syst., vol. 1, no. 1, pp. 731,
Feb. 1993.
VI. C ONCLUSION [13] Y. Lin and G. Cunningham, A new approach to fuzzy-neural system
modeling, IEEE Trans. Fuzzy Syst., vol. 3, no. 2, pp. 190198,
In this paper, a novel FCRSM algorithm is proposed for the May 1995.
nonlinear system represented with the available inputoutput [14] G. E. P. Box and G. M. Jenkins, Time Series Analysis: Forecasting and
Control. San Francisco, CA, USA: Holden Day, 1970.
data. Unlike the conventional FCRM, the main contributions [15] R. M. Tong, The evaluation of fuzzy models derived from experimental
of FCRSM are that the functional antecedent and the state- data, Fuzzy Sets Syst., vol. 4, no. 1, pp. 112, 1980.
space-model-type consequent with the available inputoutput [16] C.-W. Xu and Y.-Z. Lu, Fuzzy model identification and self-learning
for dynamic systems, IEEE Trans. Syst., Man, Cybern., vol. SMC-17,
data are considered such that the computation efficiency and no. 4, pp. 683689, Jul. 1987.
the accuracy can be improved significantly. Based on the [17] W. Pedrycz, An identification algorithm in fuzzy relational systems,
state-space-model-type consequent, the FCRSM can be fur- Fuzzy Sets Syst., vol. 13, no. 2, pp. 153167, 1984.
[18] G. E. Tsekouras, On the use of the weighted fuzzy c-means in fuzzy
ther extended to FCRSM-ND and FCRSM-FREE algorithms. modeling, Adv. Eng. Softw., vol. 36, no. 5, pp. 287300, 2005.
FCRSM-ND is proposed to find the TS fuzzy state-space [19] A. Bagis, Fuzzy rule base design using tabu search algorithm for
model for nonlinear system with an assumed effective con- nonlinear system modeling, ISA Trans., vol. 47, no. 1, pp. 3244, 2008.
[20] K. Cpaka, K. apa, A. Przyby, and M. Zalasinski, A new
troller when the inputoutput data cannot be precollected. method for designing neuro-fuzzy systems for nonlinear modelling
Furthermore, FCRSM-FREE algorithm is designed to online with interpretability aspects, Neurocomputing, vol. 135, pp. 203217,
tune the parameters of the TS fuzzy controller and the TS Jul. 2014.
[21] A. K. Das, K. Subramanian, and S. Sundaram, An evolving interval
fuzzy state model. Three numerical simulations demonstrate type-2 neurofuzzy inference system and its metacognitive sequen-
that the proposed modeling schemes, FCRSM, FCRSM-ND, tial learning algorithm, IEEE Trans. Fuzzy Syst., vol. 23, no. 6,
and FCRSM-FREE, can deal with various types of modeling pp. 20802093, Dec. 2015.
[22] H. V. H. Ayala and L. dos Santos Coelho, Cascaded evolutionary algo-
problems. The proposed FCRSM-FREE algorithm is limited rithm for nonlinear system identification based on correlation functions
to nonlinear systems with reasonable large stable region. For and radial basis functions neural networks, Mech. Syst. Signal Process.,
the nonlinear systems with small and critical stable region, vols. 6869, pp. 378393, Feb. 2016.
[23] M. Soltani and A. Chaari, A novel weighted recursive least squares
the nonlinear system may not be easy to achieve the stable based on Euclidean particle swarm optimization, Kybernetes, vol. 42,
response and the initial value of the parameters of the TS no. 2, pp. 268281, 2013.
state model should be appropriately chosen to let the initial [24] N. J. Cheung, X.-M. Ding, and H.-B. Shen, OptiFel: A convergent
heterogeneous particle swarm optimization algorithm for TakagiSugeno
states be close to the stable region. fuzzy modeling, IEEE Trans. Fuzzy Syst., vol. 22, no. 4, pp. 919933,
Aug. 2014.
R EFERENCES [25] S. H. Tsai and Y.-W. Chen, A novel fuzzy identification method
based on ant colony optimization algorithm, IEEE Access, vol. 4,
[1] S. Sheth and P. M. George, Experimental investigation and fuzzy mod- pp. 37473756, 2016.
elling of flatness and surface roughness for WCB material using face [26] H. O. Wang, K. Tanaka, and M. F. Griffin, An approach to fuzzy control
milling operation, in CAD/CAM, Robotics and Factories of the Future. of nonlinear systems: Stability and design issues, IEEE Trans. Fuzzy
New Delhi, India: Springer, 2016, pp. 769777. Syst., vol. 4, no. 1, pp. 1423, Feb. 1996.
[2] S.-C. Kuo, C.-C. Chen, and S.-T. Li, Evolutionary fuzzy relational
modeling for fuzzy time series forecasting, Int. J. Fuzzy Syst., vol. 17, Chia-Wen Chang (M13) received the B.S. degree
no. 3, pp. 444456, 2015. in electrical engineering from the National I-Lan
[3] G. T. R. Lin, C.-C. Lin, C. J. Chou, and Y.-C. Lee, Fuzzy modeling Institute of Technology, I-Lan, Taiwan, in 2003, and
for information security management issues in cloud computing, Int. J. the M.S. and Ph.D. degrees in electrical engineering
Fuzzy Syst., vol. 16, no. 4, pp. 529540, 2014. from Chang Gung University, Taoyuan, Taiwan, in
[4] T. Takagi and M. Sugeno, Fuzzy identification of systems and its appli- 2005 and 2011, respectively.
cations to modeling and control, IEEE Trans. Syst., Man, Cybern., He is currently an Associate Professor with the
vol. SMC-15, no. 1, pp. 116132, Jan./Feb. 1985. Department of Information and Telecommunications
[5] X. Xie, L. Lin, and S. Zhong, Process TakagiSugeno model: A novel Engineering, Ming Chuan University, Taoyuan. His
approach for handling continuous input and output functions and its current research interests include fuzzy sliding-mode
application to time series prediction, Knowl. Based Syst., vol. 63, control, intelligent computation, and multirobot
pp. 4658, Jun. 2014. systems.
[6] M.-F. Han, C.-T. Lin, and J.-Y. Chang, Differential evolution with local
information for neuro-fuzzy systems optimisation, Knowl. Based Syst., Chin-Wang Tao (SM02) received the B.S. degree
vol. 44, pp. 7889, May 2013. in electrical engineering from National Tsing Hua
[7] E. Kim, M. Park, S. Ji, and M. Park, A new approach to fuzzy University, Hsinchu, Taiwan, in 1984, and the M.S.
modeling, IEEE Trans. Fuzzy Syst., vol. 5, no. 3, pp. 328337, and Ph.D. degrees in electrical engineering from
Aug. 1997. New Mexico State University, Las Cruces, NM,
[8] M. Soltani, A. Chaari, and F. B. Hmida, A novel fuzzy c-regression USA, in 1989 and 1992, respectively.
model algorithm using a new error measure and particle swarm opti- He is currently a Professor with the Department
mization, Int. J. Appl. Math. Comput. Sci., vol. 22, no. 3, pp. 617628, of Electrical Engineering, National I-Lan University,
2012. I-Lan, Taiwan. His current research interests include
[9] C. C. Kung and J. Y. Su, Affine TakagiSugeno fuzzy modelling algo- fuzzy neural systems, including fuzzy control
rithm by fuzzy c-regression models clustering with a novel cluster valid- systems and fuzzy neural image processing.
ity criterion, IET Control Theory Appl., vol. 1, no. 5, pp. 12551265, Dr. Tao is an Associate Editor of the IEEE T RANSACTIONS ON S YSTEMS ,
Sep. 2007. M AN , AND C YBERNETICS.

Anda mungkin juga menyukai