Abstract
In this paper, a kind of fuzzy inference modeling method based on T-S fuzzy system is proposed. Firstly, the T-S fuzzy inference rules “If x is A i and y is B j , then ” are transformed into a fuzzy system . Secondly, the variants (y, ) and in the second-order freedom movement systems are considered as input variants and output variant respectively, then we obtain a nonlinear differential equation model with variable coefficients. Thirdly, this method is applied to build the mathematical modeling for time-invariant and time-varying second-order freedom movement systems, and new input-output models and new state-space models are obtained respectively. Finally, we have given the approximation accuracy of the constructed differential equation model and shown the effectiveness and superiority of presented method through simulation experiments and comparing the maximum errors.
Keywords
Introduction
It is well known that the theory of automatic control is mainly based on mathematical models of systems which are often represented as differential equations [1]. By using these models, we can design control scheme and analyze system properties such as stability and controllability. Fuzzy control is suitable for the control systems with fuzzy environment being hard to model [1].
The structure of fuzzy system is one of the important problems of fuzzy system. Fuzzy system mainly consists of fuzzification, fuzzy inference and defuzzification [1–9]. Great progress, both in theory and in application, has been made in the fuzzy system. Li revealed that the commonly used fuzzy controller can be seen as some kinds of interpolation algorithms [10]. In another paper, Li put forward a new kind of modeling method for fuzzy system [11]. The method presented by Li transformed fuzzy inference rule base into nonlinear differential equation with variable coefficients. Furthermore, Li realized time-varying system modeling and also got a mathematical model in the form of differential equations through using this method together with taking into account time factor [12]. As a generalization of method presented by Li, Yuan et al. gave a fuzzy inference modeling method based on fuzzy transformation [13].
In recent years, T-S fuzzy system has drawn broad attention of scholars. As we know, in this system, the rule consequent is represented by linear or nonlinear relationship between input and output, so each rule contains more system information such that few rules are needed to express system information. Moreover, this provides a crisp output that need not to be defuzzified, which makes the technique computationally efficient for describing nonlinear systems [1, 14]. Therefore, T-S system has been recognized as one of the successful tools to handle complex nonlinear systems. T-S fuzzy models enjoy great advantages in stability analysis and controller design for nonlinear systems because of relatively simple and fixed structure, and universal function approximation capability [15–20].
In this paper, we present a fuzzy inference modeling method based on T-S fuzzy system. We first transform the T-S fuzzy inference rules “If x is A i and y is B j , then ” into a fuzzy system , then we obtain a nonlinear differential equation model with variable coefficients by considering the variants (y, ) and in the second-order freedom movement systems as input variants and output variant respectively. We apply this method to time-invariant and time-varying second-order freedom movement systems modeling, and establish new input-output models and new state-space models respectively. Moreover, we give the approximation accuracy of the constructed differential equation model and present some examples to show the effectiveness and superiority of this method through comparative simulation experiments on approximation property.
Preliminaries
Takagi and Sugeno first proposed T-S fuzzy system [14], this system is essentially a nonlinear model that can effectively deal with complex multi-variable nonlinear system. Unlike Mamdani system, the rule consequent of the T-S fuzzy system is represented by a linear or nonlinear relationship between input and output so that more information can be contained in each rule. Therefore, the use of fewer rules can achieve the demanded control effect, which means that the controller can be relatively simple [1, 14–20]. The fuzzy rule base of T-S fuzzy system comprises of a collection of fuzzy if-then rules in the following form:
The coefficients , and in (1) can be defined as follows:
If g ∈ C2([a1, b1] × [a2, b2]), then g (x i , y j ) = z ij ,, .
Input-output model of time-invariant system
In this section, we will discuss the problem of second-order time-invariant freedom movement system (input u (t) =0) modeling. Let the universes of the input variables respectively be Y = [a1, b1], and the output variable , then y (t) ∈ Y, , .
Let A = {A
i
(y)} 1≤i≤m and be the fuzzy partitions of the universes Y and respectively, and y
i
and with the conditions
After simplification, we obtain
(i) When ,
(ii) When , we denote . Then
We denote
Then we derive the overall nonlinear differential equation when :
More details about the simulation steps can be found in reference [11]. We can see from Figs. 1 and 2, that the simulation curves almost coincide with the original curves, which means that the model established by fuzzy inference modeling method based on T-S fuzzy system has good approximation accuracy.
We takes second-order time-invariant freedom movement system as an example to analyze the state-space model in detail. The universes of , are respectively denoted by , Let the fuzzy sets A
i
and B
j
be triangular membership functions, and their peak points be respectively , , , with the conditions and . Then we can get the following fuzzy inference rules:
The fuzzy rule base (8) can be represented as a piecewise interpolation function of two variables based on T-S fuzzy system and fuzzy logic interpolation mechanism as follows:
Thus the fuzzy rule base can be expressed as nonlinear differential equations with variable coefficients, and then we get the following theorem.
The proof of this theorem can be completed by the method analogous to that of Theorem 1. In fact, for l = 1,2, we have
The local coefficients on the piece (i, j) are defined as: when ,
When , we let , , then for l = 1, 2,
The second-order time-varying freedom movement system (input u (t) =0) is discussed below.
Let time T > 0 be sufficiently large, and the finite time interval [0, T] is equidistantly divided, that is 0 = t0 < t1 < ⋯ < t N = T, t k = kT/N (k = 0, 1, ⋯ , N - 1).
The time-varying system can be seen as a time-invariant system within each equidistant time interval, so we can use the same modeling method. Note that the universes of the input variables y (t), and the output variable of time-varying system are affected by the index k, thus for each index k (k = 0, 1, ⋯ , N - 1), they are set to be Y
k
= [a1k, b1k] and respectively. Let A
k
= {A
ki
} (1≤i≤m
k
) and B
k
= {B
kj
} (1≤j≤n
k
) be the fuzzy partitions of the universes Y
k
and , where A
ki
and B
kj
are triangular membership functions. y
ki
and under conditions of a1k ≤ yk1 < yk2 < ⋯ < y
km
k
≤ b1k and are the peak points of A
ki
and B
kj
respectively. For the fuzzy inference rules
The following theorem is acquired by using fuzzy inference modeling method based on T-S fuzzy system.
The concrete forms of inference antecedents are
We define the local coefficients ⋯, 8) on the piece (k, i, j) by two cases:
When , the coefficients of local equation are
And if we denote that
Then we get the overall nonlinear differential equation when ,
It shows that second-order nonlinear time-varying differential equation can be transformed into piecewise nonlinear time-invariant differential equation, and the coefficients of each piece are all constant.
We take second-order time-varying freedom movement system as an example. The finite time interval [0, T] is equidistantly divided, where .
In each time intervals [t k , tk+1] (k = 0, 1, …, N - 1), the universes of x1 (t), x2 (t), , are X1k = [a1k, b1k], X2k = [a2k, b2k], , respectively, and the fuzzy partitions of the universes are respectively A k = {A ki } (1≤i≤m k ) and B k = {B kj } (1≤j≤n k ). Let A ki and B kj be triangular membership functions and their peak points are respectively and satisfying and .
For the fuzzy inference rules:
We learn that the fuzzy rule base can be expressed as nonlinear differential equation with variable coefficients, so we reach the following conclusion.
When ,
When , let , , then
From this theorem we learn that the solutions of (13) and (14) can be solved piece by piece.
In this section, we let Model I represent the model using fuzzy inference modeling method proposed by Li [11], Model II represent the model using fuzzy inference modeling method based on fuzzy transformation [13] and Model III represents the model using fuzzy inference modeling method based on T-S fuzzy system.
From the references [1, 13], we have known that Model I is based on Mamdani fuzzy system f and it has approximation formula for original system g as
Model II is based on the fuzzy system f of transformation and it has approximation formula for original system g as
Model III is based on T-S fuzzy system f it has approximation formula for original system g as
We have seen that Model I and Model III are of the second order approximation accuracy and Model II has only the first order approximation accuracy. However, we cannot show which is better from formulas (15) and (17). In order to compare the three models, two simulation experiments under conditions of time-invariant and time-varying be given. By comparing the maximum approximation errors of the input-output models and state-space models, it turns out that the proposed method is effective and superior in approximating the equations.
In order to evaluate approximation capability of the proposed method, different fuzzy inference modeling methods are used to simulate the Var der Pol equation. The set of initial values and the number of rules are the same as those of Example 1. We make careful comparison and overall summary of approximate effect of these models. For simplicity, the following notations are needed:
The simulation curves of the three models of the Var der Pol equation are similar to Figs. 1 and 2. In order to directly distinguish which model has more powerful ability to approach the Var der Pol equation, the maximum approximation errors of the input-output models and the state-space models are given in the Tables 1 and 2.
We can be seen in Tables 1 and 2 that the max errors of the model using fuzzy inference modeling method based on T-S fuzzy system is smaller than those of the model using fuzzy inference modeling method presented by Li and the model using fuzzy inference modeling method based on fuzzy transformation. The approximation effect is better than the other two methods, so fuzzy modeling method based on T-S fuzzy system has the superiority to some extent.
Comparison of time-varying system modeling
We simulate the second-order nonlinear time-varying differential equation by applying the models obtained from different fuzzy inference modeling methods. The set of initial values and numbers of rules are the same as Example 3. For convenience, some notations are stated as:
Model I′ represents the model using fuzzy inference modeling method proposed by Li [12].
Model II′ represents the model using fuzzy inference modeling method based on fuzzy transformation [13].
Model III′ represents the model using fuzzy inference modeling method based on T-S fuzzy system.
The simulation curves of the three models of the nonlinear time-varying differential equation are similar to Figs. 4 and 5. The Tables 3 and 4 gives the maximum approximation errors of the input-output models and the state-space models to directly discern which model can achieve a better approximation effect of the original differential equation.
Tables 3 and 4 show us that the maximum errors of the model using fuzzy inference modeling method based on T-S fuzzy system is smaller than those of the model using fuzzy inference modeling method presented by Li and the model using fuzzy inference modeling method based on fuzzy transformation. The proposed method can approach the original differential equation in a better way. Hence, fuzzy modeling method based on T-S fuzzy system is advantageous to some degree.
Conclusion
This paper presented a fuzzy inference modeling method based on T-S fuzzy system. We established the time-invarying and time-variant second-order freedom movement systems models and simulated the Var der Pol equation and nonlinear time-varying differential equation by the obtained differential equation model. Moreover, we compared the simulation results of this model with another two models using the fuzzy inference modeling method presented by Li and the fuzzy inference modeling method based on fuzzy transformation. It is shown that the proposed method can better approximate the original equation.
Footnotes
Acknowledgments
This work was supported by the National Science Foundation of China(No.61473327).
