Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

1 Introduction

Efforts have been made to rigorously derive and study analytical structure of fuzzy controllers. By analytical structure, we mean the mathematical relationship between the input and output of a fuzzy controller. Precise understanding of the structure is fundamentally important because it can enable one to analyze and design fuzzy control systems more effectively with the aid of conventional control theory [2, 7, 14]. The analytical structure is determined by a fuzzy controller’s components including input fuzzy sets, output fuzzy sets, fuzzy rules, fuzzy inference, fuzzy logic operators, and defuzzifier. Different component choices obviously result in different analytical structures. The explicit structures of some fuzzy controllers have been derived [3, 11] (recently, the explicit structures of some type-2 fuzzy controllers have been investigated [1, 15]). They are related to classical controllers such as PID control [4, 10, 13] and sliding mode control [5]. No work, however, has been reported in the literature that characterizes analytical structures into different types with respect to component choices.

Our motivations for the current study are two folds—we first characterize the mathematical input–output structure of fuzzy controllers of a broad class by class and then utilize the structure characteristics and class to advance system stability analysis. Structurally speaking, such classification can produce structure information that is broader than what an individual analytical structure can because one class can cover many different fuzzy controllers with various nonlinear input–output structures. Subsequently, the structure classification can provide useful guidelines for the controller developer to choose appropriate types of the components (e.g., triangular fuzzy sets instead of Gaussian ones) at the early development stage, reducing time and effort on design and analysis in practice. Up to date, triangular and trapezoidal fuzzy sets have been most widely used for input variable fuzzification whereas other types (e.g., Gaussian and bell-shape fuzzy sets) are utilized to a lesser extent. As to fuzzy logic AND operators, Zadeh type and the product type are used far more often than any other types. As a matter of fact, the remaining types have hardly been used. Historically, these current preferred choices were determined mainly based on the results of a great deal of the trial-and-error effort, computer simulation study and the empirical development of successful fuzzy control applications. No analytically rigorous reasons in the context of conventional control theory have been given in the literature. In this paper, we attempt to provide a more rigorous answer and show that these popular choices are indeed theoretically sensible.

Another important benefit of classifying fuzzy controller structures is to make stability analysis more tractable and effective for a wide class of fuzzy controllers as one could concentrate on one class of fuzzy controllers a time instead of on all fuzzy controllers at once. Consequently, the stability results could be less conservative and more practically meaningful. In this paper, we will develop an analytical stability criterion that can be used to judge (local) stability of a broad class of fuzzy control systems regardless of the availability of the mathematical model of the system under control. The criterion can also be utilized to analytically design a stable fuzzy control systems not only when the system model is given, but also when it is unknown.

2 Configuration of a General Class of Mamdani Fuzzy Controllers

This class of Mamdani fuzzy controllers has m input variables, designated as \( x_{i} (n),i = 1,2, \ldots ,m \), where n signifies sampling instance. x i (n) is computed using the current and/or historical output of a dynamic plant to be controlled (e.g., y(n) and y(n−1)) as well as target output signal S(n). This means the input space to be m-dimensional. x i (n) is multiplied by a scaling factor k i , resulting in the scaled input variable X i (n). The universe of discourse for X i (n) is [a i , b i ]. Assuming that each of the intervals is divided into M i −1 subintervals, all the subintervals of the m intervals produce a total of

$$ \Phi = \prod\limits_{i = 1}^{m} {\left( {M_{i} - 1} \right)} $$

m-dimensional “blocks” (i.e., divisions), each is designated as \( \Theta_{i} ,i = 1, \ldots ,\Phi \).

M i input fuzzy sets are defined over [a i , b i ]. Like most fuzzy controllers in the literature, each subinterval has two fuzzy sets defined over it. The j-th fuzzy set for X i (n) is designated as \( \tilde{A}_{i,j} \) whose membership function is denoted \( \mu_{{\tilde{A}_{i,j} }} (x_{i} ) \). The fuzzy sets can be any types. Of particular interest to this study is the piecewise linear fuzzy sets. Two examples of such fuzzy sets are illustrated in Fig. 1 (these examples are hypothetical and similar fuzzy sets are rarely used by fuzzy control in practice. We show this type of more dramatic examples to ensure a broad coverage). Note that the trapezoidal and triangular types, the most widely-used types among all the fuzzy set types available, are the special cases of the piecewise linear type. If \( \mu_{{\tilde{A}_{i,j} }} (x_{i} ) \) is of the trapezoidal type, it can be represented by

$$ \mu_{{\tilde{A}_{i,j} }} (x_{i} ) = \beta_{ij} \cdot x_{i} (n) + \lambda_{ij} $$

where λ ij and β ij are constants. β ij is a constant taking different values in the different segments of [a i , b i ]. When \( x_{i} (n) \in \left[ {a_{i} ,a_{i}^{'} } \right],\beta_{ij} \ge 0 \) and when \( x_{i} (n) \in \left[ {b_{i}^{'} ,b_{i} } \right],\beta_{ij} \le 0 \), where \( a_{i}^{'} < b_{i}^{'} \). When \( x_{i} (n) \in \left[ {a_{i}^{'} ,b_{i}^{'} } \right],\mu_{{\tilde{A}_{i,j} }} (x_{i} ) = 1 \). Obviously, the trapezoidal type becomes the triangular type if \( a_{i}^{'} = b_{i}^{'} \).

Fig. 1
figure 1

Illustrative definition of piecewise linear fuzzy sets. Shown are two hypothetical ones. The widely-used triangular and trapezoidal fuzzy sets are their special cases

The fuzzy controllers use a total of \( \Omega = \prod_{i = 1}^{m} {M_{i} } \) fuzzy rules, each of which is in the following format:

$$ {\text{IF }}X_{1} (n){\text{ is }}\tilde{A}_{{1,I_{1} }} {\text{ AND}} \ldots {\text{AND }}X_{m} (n){\text{ is }}\tilde{A}_{{m,I_{m} }} {\text{ THEN }}u(n){\text{ is }}\tilde{V}_{k} $$

where \( \tilde{V}_{k} \) is an output fuzzy set of the singleton type for the output variable u(n) whose universe of discourse is [U L , U H ]. That is, \( \tilde{V}_{k} \) is nonzero only at one location in the interval and the nonzero value is designated as V k . The fuzzy AND operator can be Zadeh type (i.e., the minimum operator) or the product type, but not both at the same time for the rule base. As for reasoning, any fuzzy inference method may be used in the rules. It will produce the same inference outcome because the output fuzzy sets are of the singleton type. The popular centroid defuzzifier is employed to combine the inference outcomes of the individual rules:

$$ u(n) = \frac{{\sum_{h = 1}^{\Omega } {\mu_{h} ({\mathbf{x}}) \cdot V_{h} } }}{{\sum_{h = 1}^{\Omega } {\mu_{h} ({\mathbf{x}})} }} $$
(1)

Here, \( {\mathbf{x}} = [x_{1} (n) \cdots x_{m} (n)] \) is the input vector and \( \mu_{h} ({\mathbf{x}}) \) is the resulting membership of executing all the fuzzy logic AND operations in the h-th rule whereas V h signifies the nonzero value of the singleton output fuzzy set in the rule.

3 Structure Characterization and Local Stability Determination

3.1 Structure Characterization

In control theory, a general nonlinear controller is described by \( u(n) = f({\mathbf{x}}) \) and a controller is linear if f is linear, that is

$$ u(n) \, = \zeta_{1} x_{1} (n) + \cdots + \zeta_{m} x_{m} (n) + \zeta_{0} $$
(2)

where \( \zeta_{i} \), \( i = 1, \ldots ,m \) , is a constant gain and \( \zeta_{0} \) is a constant control offset term. We use this formalism as a base to classify the fuzzy controllers into two types.

Definition 1

A fuzzy controller of the general class is defined as local type-A fuzzy controller in an m-dimensional region of input space if its input–output relation satisfies

$$ u(n) \, = c_{1} ({\mathbf{x}})x_{1} (n) + \cdots + c_{m} ({\mathbf{x}})x_{m} (n) + c_{0} ({\mathbf{x}}) $$
(3)

c i (x), gain for x i (n), must be either a constant or a fractional expression whose numerator is constant. All the terms, from x 1(n) to x m (n), must be present. c 0(x) must be either a constant (including 0) or a fractional expression whose numerator does not contain \( a_{i} x_{i} (n),i = { 1}, \ldots ,m, \) or their linear combination (a i is constant).

Definition 2

A fuzzy controller is defined as local type-B fuzzy controller in the region if it is not of local type-A.

Definition 3

If a fuzzy controller is of local type-A in every region of input space, it is defined as a global type-A fuzzy controller. Otherwise, it is defined as a global type-B fuzzy controller.

A type-A fuzzy controller, global or local, possesses interesting properties—it is linear with respect to its input variables and nonlinear in terms of the gains, c i (x), which vary with x. On the other hand, a type-B fuzzy controller cannot be linear with respect to input variables.

We are now ready to formally characterize the structure of the fuzzy controllers.

Theorem 1

A necessary and sufficient condition for a Mamdani fuzzy controller of the general class that uses Zadeh AND operator to be of global type-A is that all of its input fuzzy sets are piecewise linear.

Proof

We first prove the necessity of the condition—if at least one of the input fuzzy sets involving a particular m-dimensional region of the input space is not piecewise linear, the fuzzy controller cannot be of global type-A.

Without loss of generality, assume that \( \mu_{{\tilde{A}_{i,j} }} (x_{i} ) \), a non-piecewise linear function, is the membership function of the j-th fuzzy set for x i (n). To derive the input–output analytical relationship for the fuzzy controllers, the input space must be divided into many m-dimensional regions in such a way that in each of the regions one and only one of the membership functions in a fuzzy rule will always be the smallest [13]. As a result, that membership function will be the resulting membership function for that rule after Zadeh AND operation is carried out. The total number of such regions depends on m and the shape of the input fuzzy sets. Inevitably, \( \mu_{{\tilde{A}_{i,j} }} (x_{i} ) \) will be the smallest membership function in at least one region (or this fuzzy set would not be useful and hence should be removed used—cannot be true). After this step of considering the individual rules, the obtained regions must be put together (i.e., superimposed) so that all the rules can be considered at the same time. This process will create the final m-dimensional regions. Let us assume that there are a total of \( \Phi \) regions, in each of which, up to 2m fuzzy rules will be involved (here we assume, without loss of generality, that the input fuzzy set for x i (n) intersects only with its adjacent (two) fuzzy sets and intersects only once with each of them). Let \( \Psi_{i} \) be the number of the rules involved in the i-th final region and suppose that in the region the input fuzzy sets for x 1(n) is the smallest for α 1 rules, x 2(n) for α 2 rules,…, and x m (n) for α m rules, where \( \sum_{p = 1}^{m} {\alpha_{p} } = \Psi_{i} \) (some α p may be 0). For the i-th final region, we get the input–output relation:

$$ u(n) = \frac{{\sum_{j = 1}^{m} {\sum_{k = 1}^{{\alpha_{j} }} {\mu_{{h_{k} }} (x_{j} )} \cdot V_{{h_{k} }} } }}{{\sum_{j = 1}^{m} {\sum_{k = 1}^{{\alpha_{j} }} {\mu_{{h_{k} }} (x_{j} )} } }} $$
(4)

where \( \mu_{{h_{k} }} (x_{j} ) \) represents the resulting smallest membership function and \( V_{{h_{k} }} \)is the singleton output fuzzy set involved in the fuzzy rule. Because \( V_{{h_{k} }} \) represents the rule consequent and all the rule consequents should not have the same singleton fuzzy sets, thus the above equation should not/cannot be equal to \( V_{{h_{k} }} \) for all the final regions. Hence, if at least one input fuzzy set, say \( \mu_{{\tilde{A}_{i,j} }} (x_{i} ) \), is not linear or piecewise linear in one of the final regions, u(n) in that region will not be able to be written in the form of (3) because x i (n) cannot be factored out of \( \mu_{{\tilde{A}_{i,j} }} (x_{i} ) \). That is to say that the fuzzy controller cannot be a local type-A controller in that region and therefore the fuzzy controller cannot be a global type-A controller.

Now let us prove the condition to be sufficient. When all the input fuzzy sets are linear or piecewise linear, the smallest membership function in every final region will always be a linear function of x i (n) (note that a piecewise linear membership function can always be decomposed into a series of linear membership functions). Suppose that the linear fuzzy sets are

$$ \mu_{{h_{k} }} (x_{j} ) = \beta_{{h_{k} }} x_{j} (n) + \lambda_{{h_{k} }} . $$

As a result,

$$ \begin{aligned} u(n) =\,& \frac{{\sum_{j = 1}^{m} {\sum_{k = 1}^{{\alpha_{j} }} {\mu_{{h_{k} }} (x_{j} )} \cdot V_{{h_{k} }} } }}{{\sum_{j = 1}^{m} {\sum_{k = 1}^{{\alpha_{j} }} {\mu_{{h_{k} }} (x_{j} )} } }} = \sum\limits_{j = 1}^{m} {\frac{{\sum_{k = 1}^{{\alpha_{j} }} {\beta_{{h_{k} }} } \cdot V_{{h_{k} }} }}{{\sum_{j = 1}^{m} {\sum_{k = 1}^{{\alpha_{j} }} {\mu_{{h_{k} }} (x_{j} )} } }}} x_{j} (n) + \frac{{\sum_{j = 1}^{m} {\sum_{k = 1}^{{\alpha_{j} }} {\lambda_{{h_{k} }} } \cdot V_{{h_{k} }} } }}{{\sum_{j = 1}^{m} {\sum_{k = 1}^{{\alpha_{j} }} {\mu_{{h_{k} }} (x_{j} )} } }} \\ =\,& c_{1} ({\mathbf{x}})x_{1} (n) + \cdots + c_{m} ({\mathbf{x}})x_{m} (n) + c_{0} ({\mathbf{x}}) \\ \end{aligned} $$

where

$$ c_{j} ({\mathbf{x}}) = \frac{{\sum_{k = 1}^{{\alpha_{j} }} {\beta_{{h_{k} }} } \cdot V_{{h_{k} }} }}{{\sum_{j = 1}^{m} {\sum_{k = 1}^{{\alpha_{j} }} {\mu_{{h_{k} }} (x_{j} )} } }},\quad j = { 1}, 2, \ldots ,m{\text{ and }}c_{0} ({\mathbf{x}}) = \frac{{\sum_{j = 1}^{m} {\sum_{k = 1}^{{\alpha_{j} }} {\lambda_{{h_{k} }} } \cdot V_{{h_{k} }} } }}{{\sum_{j = 1}^{m} {\sum_{k = 1}^{{\alpha_{j} }} {\mu_{{h_{k} }} (x_{j} )} } }} $$

Unless the fuzzy sets are such chosen that \( \sum_{j = 1}^{m} {\sum_{k = 1}^{{\alpha_{j} }} {\mu_{{h_{k} }} (x_{j} )} } \) is a constant, the value of c j (x) changes with x j (n) and hence is variable gain for x j (n). According to Definition 3, the fuzzy controller is a global type-A fuzzy controller.\( \blacksquare\)

We can rigorously show that Theorem 1 also holds for the fuzzy controllers that use the product AND operator when the popular input fuzzy sets in the literature are utilized. They include triangular, trapezoidal, Gaussian, Bell, Generalized Bell, Sigmoid, and so on. This kind of result, however, is not comprehensive enough. We know that the necessity portion of the theorem will not hold if the input fuzzy sets are allowed to be any nonlinear functions. Subsequently, we decided to present the following sufficient condition. This result can be extended to become a necessary and sufficient condition if some (mild) mathematical constraint is applied to the fuzzy sets. The constraint will most likely not affect the practicality of the fuzzy controllers, if at all.

In the next section, we will conduct local stability analysis. For that purpose, we only need to know the properties of the relevant part of the fuzzy controllers—the local fuzzy controller covering the system equilibrium point. The following results are obvious in light of Theorem 1 and Definitions 1 to 3.

Corollary 1

A necessary and sufficient condition for a Mamdani fuzzy controller of the general class that uses Zadeh AND operator to be of local type-A around the system equilibrium point is that all the input fuzzy sets covering the point are linear.

Note that the input fuzzy sets have to be linear, not piecewise linear, because the latter is not sensible when we consider only a point.

Corollary 2

A Mamdani fuzzy controller of the general class that uses Zadeh AND operator is a global type-B fuzzy controller if at least one input fuzzy set is not piecewise linear.

Theorem 2

A sufficient condition for a Mamdani fuzzy controller of the general class that uses the product AND operator to be of global type-A is that all of its input fuzzy sets are piecewise linear.

Proof

Due to the product fuzzy AND operator, in each m-dimensional “block”, the combined membership function for the h-th rule can be represented as

$$ \mu_{h} ({\mathbf{x}}) = \mu_{{\tilde{A}_{{1,I_{1} }} }} (x_{1} ) \times \cdots \times \mu_{{\tilde{A}_{{m,I_{m} }} }} (x_{m} ) $$

and hence

$$ \begin{aligned} u(n) & = \frac{{\sum_{h = 1}^{\Omega } {\mu_{h} ({\mathbf{x}}) \cdot V_{h} } }}{{\sum_{h = 1}^{\Omega } {\mu_{h} } ({\mathbf{x}})}} = \sum\limits_{h = 1}^{\Omega } {\frac{{V_{h} }}{{\sum_{h = 1}^{\Omega } {\mu_{h} } ({\mathbf{x}})}}\mu_{h} ({\mathbf{x}})} \\ & = \sum\limits_{h = 1}^{\Omega } {\theta_{h} ({\mathbf{x}}) \times \mu_{h} ({\mathbf{x}})} = \sum\limits_{h = 1}^{\Omega } {\theta_{h} ({\mathbf{x}}) \times \mu_{{\tilde{A}_{{1,I_{1} }} }} (x_{1} ) \times \cdots \times \mu_{{\tilde{A}_{{m,I_{m} }} }} (x_{m} )} \\ \end{aligned} $$
(5)

where

$$ \theta_{h} ({\mathbf{x}}) = \frac{{V_{h} }}{{\sum_{h = 1}^{\Omega } {\mu_{h} } ({\mathbf{x}})}}. $$

Note that due to the use of the product AND operation, μ h (x) here differs from the case above that uses Zadeh AND operator. Assume that in the entire input space, all the input fuzzy sets are linear or piecewise linear. Then in any \( \Theta _{i} \), carrying out all the multiplication operations in (5) and simplifying the resultant expression gives

$$ \begin{aligned} u(n) & = \sum\limits_{i = 1}^{m} {a_{i} } ({\mathbf{x}}) \cdot x_{i} (n) + \sum\limits_{i = 1}^{m} {\sum\limits_{j > i}^{m} {a_{ij} } ({\mathbf{x}}) \cdot x_{i} (n) \cdot x_{j} (n)} + \cdots + a_{1 \ldots m} ({\mathbf{x}})x_{1} (n) \cdots x_{m} (n) + \delta ({\mathbf{x}}) \\ & = \sum\limits_{i = 1}^{m} {a_{i} } ({\mathbf{x}}) \cdot x_{i} (n) +\Gamma ({\mathbf{x}}) \\ \end{aligned} $$

where

$$ \Gamma ({\mathbf{x}}) = \sum\limits_{i = 1}^{m} {\sum\limits_{j > i}^{m} {a_{ij} } ({\mathbf{x}}) \cdot x_{i} (n) \cdot x_{j} (n)} + \cdots + a_{1 \ldots m} ({\mathbf{x}})x_{1} (n) \cdots x_{m} (n) + \delta ({\mathbf{x}}) $$

The denominators of a i (x) and Γ(x) are the same—\( \sum_{h = 1}^{\Omega } {\mu_{h} ({\mathbf{x}})} \). The numerators of a i (x) are constants determined by the slops and y-intercepts of the fuzzy sets. The numerator of Γ(x) contains the cross-products of \( x_{1} (n), \ldots ,x_{m} (n) \) as well as a constant term, all determined by the slopes and y-intercepts of the fuzzy sets. Note that none of the terms in the numerator can be expressed as \( a_{i} x_{i} (n),i = { 1}, \ldots ,m, \) or their linear combination (a i is constant). By Definition 1, the fuzzy controller is a global type-A fuzzy controller.\( \blacksquare\)

For the same reason as for obtaining Corollary 1, we state Corollary 3 for Theorem 2.

Corollary 3

A sufficient condition for a Mamdani fuzzy controller of the general class that uses the product AND operator to be of local type-A around the system equilibrium point is that all the input fuzzy sets covering the point are linear.

Note that a Mamdani fuzzy controller of the general class that uses the product AND operator may (very likely) be a global type-B fuzzy controller if at least one input fuzzy set is not piecewise linear.

In a sense, type-A fuzzy controllers are most similar to the linear controller as far as the controller structure is concerned. These fuzzy controllers can be treated as nonlinear controllers with variable gains. The variable gains are mathematically complicated in general. Deriving their explicit expressions is possible for some configurations [12] but impossible for others. The variable gains can empower the fuzzy controllers to outperform the linear controller (e.g., PID control), especially when the system under control is nonlinear or with time delay. Our previous study of Mamdani as well as TS fuzzy controllers with variable gains has shown this point [12, 13]. This may provide one theoretical justification/explanation for the dominant use of triangular/trapezoidal input fuzzy sets and Zadeh or product fuzzy AND operator in the current practice of fuzzy control. There are many other choices available, but most of them have hardly been used. Such strong preferences have existed in the literature for many years with little theoretical support. The prior justifications are based on perceived component simplicity and empirical observation of good control performance attributed to these particular preferred selections.

3.2 Local Stability Analysis

We now turn our attention to local stability determination of the fuzzy controllers regulating nonlinear dynamic systems. Without loss of generality, assume that when a system to be controlled is at the equilibrium point of our interest (i.e., y(n) = 0), x = 0. We want to study two related issues: (1) conditions for the fuzzy control system to be stable at least in the area around the equilibrium point, and (2) design of the fuzzy control system that will be at least stable in the area.

At x = 0, a local fuzzy controller satisfying Corollary 1 or 3 becomes a local linear controller:

$$ u(n) \, = c_{1} ({\mathbf{0}})x_{1} (n) + \cdot \cdot \cdot + c_{m} ({\mathbf{0}})x_{m} (n) + c_{0} ({\mathbf{0}}) $$
(6)

where \( c_{0} ({\mathbf{0}}), \ldots ,c_{m} ({\mathbf{0}}) \) are the values of c i (x) and are the constant gains. The term of \( c_{0} ({\mathbf{0}}) \) does not affect system stability; it will be dropped from the stability study below. If both the system to be controlled and the local fuzzy controller are linearizable at the equilibrium point, then the system stability at that point can be decided by applying Lyapunov’s linearization method [6] to the linearized local fuzzy controller (i.e. (2)) and the linearized system. Thus, we obtain the following result.

Theorem 3

Suppose that a fuzzy controller of the general class is used to control a nonlinear system that is linearizable at the equilibrium point. If the fuzzy controller is a local type-A controller at the equilibrium point that is also linearizable, the fuzzy control system is locally stable (or unstable) at the equilibrium point if and only if the linearized control system is strictly stable (or unstable) at the equilibrium point.

Proof

The conclusion can be obtained using Lyapunov’s linearization method (see [10] for similar proof). The method assumes the nonlinear control system to be continuously differentiable at the equilibrium point. In essence, it states that if the linearized system is strictly stable (or unstable) at the equilibrium point, then the equilibrium point is locally stable (or unstable) for the original nonlinear system.\( \blacksquare\)

The linearizability test must be met before the stability condition can be used because it is the precondition for the theorem. Our previous study indicates that the use of Zadeh fuzzy logic AND operator results in more than one control structure to cover x = 0, which can sometimes fail the test. This is usually not true for the fuzzy controllers using the product AND operator because in most cases there is only one control structure for the entire area around x = 0 [12]. A test failure only means inapplicability of the theorem; it does not imply system instability.

Theorem 3 offers some practically important advantages. First, it is a necessary and sufficient condition. Unlike sufficient conditions or necessary conditions, it is not conservative and is the “tightest” possible stability condition. Second, only explicit structure of the local fuzzy controller covering the equilibrium point is required. As long as all the input fuzzy sets covering the equilibrium point are linear, the theorem is usable. Third, the theorem can be used not only when the system model is available, but also when it is unavailable but is known linearizable at the equilibrium point. (Most physical systems are linearizable.) In the latter case, one can devise a linear controller and use it to control the system. If the resulting control system is observed to be locally stable (unstable), then the same system controlled by a linearized fuzzy controller whose gains at the equilibrium point equal to the gains of the linear controller will be locally stable (unstable). This design approach can be attractive as in practice, physical systems are often too complex and/or costly to be precisely modeled.

4 Numerical Examples

Since Theorems 1 and 2 and their corollaries are straightforward to apply, no numerical examples are needed. We now use three examples to illustrate the utility of Theorem 3 and its above-mentioned advantages in system analysis and design.

Example 1 (Local stability determination when system model is known)

Assume that a continuous-time system to be controlled is

$$ y^{{\prime \prime }} (t) + 20y^{{\prime }} (t) + 5\sin (y(t)) = 4u(t) $$

and the sampling period for the system is 0.1. Suppose that a type-A fuzzy controller has been designed. It uses the product fuzzy AND operator and its input variables are \( x_{1} (n) = S(n) - y(n) \) and \( x_{2} (n) = y(n - 1) - y(n) \), where S(n) is the reference input signal. The controller’s output variable is \( \Delta u(n) = u(n) - u(n - 1) \). There can be numerous fuzzy sets for the scaled input variables X 1(n) and X 2(n); but to determine the local stability one only needs to know whether the fuzzy sets covering the area around x = 0 are linear and, if so, what their mathematical expressions are. Supposedly they are

$$ \mu_{{\tilde{A}_{1,1} }} (x_{1} ) = - 0.95x_{1} (n) + 0.4,\quad \mu_{{\tilde{A}_{1,2} }} (x_{1} ) = x_{1} (n) + 0.5, $$

for \( x_{1} (n) \in \left[ { - 0.5, \, 0.5} \right] \) and

$$ \mu_{{\tilde{A}_{2,1} }} (x_{2} ) = - 1.1x_{2} (n) + 0.5,\quad \mu_{{\tilde{A}_{2,2} }} (x_{2} ) = 0.9x_{2} (n) + 0.2 $$

for \( x_{2} (n) \in \left[ { - 0.5, \, 0.5} \right] \).

The four fuzzy rules resulted from the four combinations of these fuzzy sets are

$$ \begin{aligned} & {\text{IF }}X_{1} (n){\text{ is }}\tilde{A}_{1,1} {\text{ AND }}X_{2} (n){\text{ is }}\tilde{A}_{2,1} {\text{ THEN }}\Delta u(n){\text{ is }}\tilde{V}_{1} \\ & {\text{IF }}X_{1} (n){\text{ is }}\tilde{A}_{1,1} {\text{ AND }}X_{2} (n){\text{ is }}\tilde{A}_{2,2} {\text{ THEN }}\Delta u(n){\text{ is }}\tilde{V}_{2} \\ & {\text{IF }}X_{1} (n){\text{ is }}\tilde{A}_{1,2} {\text{ AND }}X_{2} (n){\text{ is }}\tilde{A}_{2,1} {\text{ THEN }}\Delta u(n){\text{ is }}\tilde{V}_{3} \\ & {\text{IF }}X_{1} (n){\text{ is }}\tilde{A}_{1,2} {\text{ AND }}X_{2} (n){\text{ is }}\tilde{A}_{2,2} {\text{ THEN }}\Delta u(n){\text{ is }}\tilde{V}_{4} \\ \end{aligned} $$

where \( \tilde{V}_{1} ,\tilde{V}_{2} ,\tilde{V}_{3} \), and \( \tilde{V}_{4} \) are singleton fuzzy sets whose \( \Delta u(n) \) values corresponding to the nonzero memberships of these sets are at 1, 0.71, −1.083, and −1, respectively.

The question is: Is this fuzzy control system stable at x = 0?

Solution Due to the use of the linear fuzzy sets, the local fuzzy controller covering the region around x = 0 satisfies Corollary 3 and hence is a local type-A fuzzy controller. For the stability determination, we need to have the explicit structure of this local fuzzy controller, which can be derived by plugging the four fuzzy sets and the four fuzzy rules into (1). The result is

$$ \Delta u(n) = c_{1} ({\mathbf{x}})x_{1} (n) + c_{2} ({\mathbf{x}})x_{2} (n) + c_{0} ({\mathbf{x}}) $$

where

$$ \begin{aligned} c_{1} ({\mathbf{x}}) & = \frac{1.23578}{{0.035x_{1} (n) - 0.18x_{2} (n) - 0.01x_{1} (n)x_{2} (n) + 0.63}}, \\ c_{2} ({\mathbf{x}}) & = \frac{0.109605}{{0.035x_{1} (n) - 0.18x_{2} (n) - 0.01x_{1} (n)x_{2} (n) + 0.63}}, \\ c_{0} ({\mathbf{x}}) & = - \frac{0.00914327}{{0.035x_{1} (n) - 0.18x_{2} (n) - 0.01x_{1} (n)x_{2} (n) + 0.63}}. \\ \end{aligned} $$

The controlled system is obviously linearizable at x = 0 and the linearized system is

$$ y^{{\prime \prime }} (t) + 20y^{{\prime }} (t) + 5y(t) = 4u(t). $$

With the sampling period 0.1, the discrete-time pulse transfer function is

$$ H(z) = \frac{Y(z)}{U(z)} = \frac{{ 0. 0 1 1 3 1 {\text{ z + 0}} . 0 0 5 9 1 3}}{{{\text{z}}^{ 2} - 1. 1 1 4 {\text{ z + 0}} . 1 3 5 3}}. $$

The local fuzzy controller is obviously linearizable and the resultant controller is

$$ \Delta u(n) = 1.96155x_{1} (n) + 0.173977x_{2} (n) - 0.0145131. $$
(7)

For the stability determination, one only needs to consider \( \Delta u(n) = 1.96155e(n) + 0.173977r(n) \). Because

$$ \begin{aligned} u(n) & = u(n - 1) + \Delta u(n) = u(n - 1) + 1.96155x_{1} (n) + 0.173977x_{2} (n) \\ & = u(n - 1) + 2.135527x_{1} (n) - 0.173977x_{1} (n - 1), \\ \end{aligned} $$

the transfer function of the linearized local fuzzy controller is

$$ C(z) = \frac{U(z)}{{X_{1} (z)}} = \frac{2.135527z - 0.173977}{z - 1}. $$

The closed-loop control system at x = 0 is

$$ \frac{H(z)C(z)}{1 + H(z)C(z)} = \frac{{ 0. 0 2 4 1 5 9 {\text{ (z}} + 0. 5 2 2 6 ) {\text{ (z}} - 0. 0 8 1 4 6 )}}{{ ( {\text{z}} - 0. 1 3 7 6 ) {\text{ (z}}^{ 2} - 1. 9 5 2 {\text{z + 0}} . 9 9 1 3 )}}. $$

The poles are \( z = 0.1376 \), and \( z = 0. 9 7 6 0 { } \pm { 0} . 1 9 6 5 {\text{i}} \), all of which are inside the unit circle. Therefore, the linearized control system is stable at x = 0 stable, so is the local fuzzy control system.

In next example, we show how to determine the local stability even when system model is unknown.

Example 2 (Local stability determination when system model is unknown)

Suppose that the system model in Example 1 is unavailable but is known to be linearizable at x = 0. Also, assume that we have devised a linear PI controller \( \Delta u(n) = 1.96155x_{1} (n) + 0.173977x_{2} (n) \) and found it to be able to control the system stably at x = 0. Note that this PI controller is exactly the same as the local fuzzy controller (4) without the constant offset term. With these modifications, can the local stability of the fuzzy control system in Example 1 be determined ?

Solution According to Example 1, the new fuzzy controller system is linearizable. Thus Theorem 3 is applicable. Since the PI control system containing \( \Delta u(n) = 1.96155x_{1} (n) + 0.173977x_{2} (n) \), which is the linearized local fuzzy controller, is known to be locally stable, the fuzzy control system is logically locally stable too.

Example 3 (Design of at least locally stable fuzzy control system when system model is unknown)

Suppose that the \( \Delta u(n) \)values for \( \tilde{V}_{1} ,\tilde{V}_{2} ,\tilde{V}_{3} \), and \( \tilde{V}_{4} \) are not given in the above example, but all the other conditions remain the same. How should one design their values so that the resulting fuzzy control system is stable at least at x = 0?

Solution It can be derived that the local fuzzy controller is \( \Delta u(n) = c_{1} ({\mathbf{x}})x_{1} (n) + c_{2} ({\mathbf{x}})x_{2} (n) + c_{0} ({\mathbf{x}}) \) where

$$ \begin{aligned} c_{1} ({\mathbf{x}}) & = \frac{{0.2V_{1} + 0.5V_{2} - 0.19V_{3} - 0.475V_{4} }}{{0.035x_{1} (n) - 0.18x_{2} (n) - 0.01x_{1} (n)x_{2} (n) + 0.63}}, \\ c_{2} ({\mathbf{x}}) & = \frac{{0.45V_{1} - 0.55V_{2} + 0.36V_{3} - 0.44V_{4} }}{{0.035x_{1} (n) - 0.18x_{2} (n) - 0.01x_{1} (n)x_{2} (n) + 0.63}}, \\ c_{0} ({\mathbf{x}}) & = \frac{{0.1V_{1} + 0.25V_{2} + 0.08V_{3} + 0.2V_{4} + x_{1}^{2} (n)\left( {0.9V_{1} - 1.1V_{2} - 0.855V_{3} + 1.045V_{4} } \right)}}{{0.035x_{1} (n) - 0.18x_{2} (n) - 0.01x_{1} (n)x_{2} (n) + 0.63}}. \\ \end{aligned} $$

Thus,

$$ \begin{aligned} c_{1} ({\mathbf{0}}) & = 0.3175V_{1} + 0.7937V_{2} - 0.3019V_{3} - 0.7540V_{4} , \\ c_{2} ({\mathbf{0}}) & = 0.7143V_{1} - 0.8730V_{2} + 0.5714V_{3} - 0.6984V_{4} , \\ c_{0} ({\mathbf{0}}) & = 0.1587V_{1} + 0.3968V_{2} + 0.1270V_{3} + 0.3175V_{4} . \\ \end{aligned} $$

We know from Example 2 that the linear PI controller \( \Delta u(n) = 1.96155x_{1} (n) + 0.173977x_{2} (n) \), which is the same as the local fuzzy controller (4) without the constant term, can control the system stably at least at x = 0. Thus, the fuzzy control system of interest will be locally stable too if the values of the design parameters satisfy the following simultaneous equations:

$$ \left\{ {\begin{array}{*{20}l} {0.1587V_{1} + 0.3968V_{2} + 0.1270V_{3} + 0.3175V_{4} = 0} \hfill \\ {0.3175V_{1} + 0.7937V_{2} - 0.3019V_{3} - 0.7540V_{4} = 1.96155} \hfill \\ {0.7143V_{1} - 0.8730V_{2} + 0.5714V_{3} - 0.6984V = 0.173977.} \hfill \\ \end{array} } \right. $$

The number of solution set is infinite, and every set achieves the local stability. One set, for instance, is: \( V_{1} = 1,V_{2} = - 0.40,V_{3} = - 1.25 \), and \( V_{4} = - 0.5 \).

5 Conclusion

We have achieved two objectives: (1) to establish the conditions for a subset of a general class of Mamdani fuzzy controllers to be a specific type of nonlinear controllers described in (3), and (2) to utilize these conditions and establish a tight local stability criterion for analyzing or designing the fuzzy control systems even when the controlled system model is mathematically unavailable. This type of controllers has some desirable characteristics suitable for analysis and design using conventional control theory.

Based on our results, we recommend that the trapezoidal and triangular fuzzy sets, the only two widely-used piecewise linear types, be used for input fuzzy sets as the first choice. As we have demonstrated theoretically and through examples, the benefits of doing so include (1) clearer connection between the fuzzy controllers and conventional control (2) easier (local) stability analysis, and (3) more practically meaningful system design.