• 沒有找到結果。

Rules extraction for fuzzy control systems

N/A
N/A
Protected

Academic year: 2021

Share "Rules extraction for fuzzy control systems"

Copied!
2
0
0

加載中.... (立即查看全文)

全文

(1)

Rules Extraction for Fuzzy Control Systems

Yung-Yaw Chen

Department of Electrical Engineering National Taiwan University

Taipei, Taiwan, R.O.C.

ABSTRACT

A m e t h o d of extracting t h e control rules f o r a fuzzy controller is proposed in this paper. T h e m e t h o d successfully constructs t h e rule base

for

a fuzzy controller, which is usually provided b y h u m a n experts. By using the concepts of cell state space a n d p er f orm a n c e evaluation,

an

optimization algorithm is able to achieve the pr o p e r control

of

a process. T h e control rules can then be retrieved from the output of this algorithm. This m e t h o d extracts qualitative control rules f r o m t h e quanti- tative processes. T h e qualitative description of fuzzy control rules is important for its robustness a nd flexibility.

1. Introduction

One of the characteristics of fuzzy control is the total depen- dency on experts’ knowledge for its controller design. Human experts are usually able to extract rules from their experience to accomplish difficult tasks. The powerful summarizing ability of human experts contributes greatly to the excellent performance of a fuzzy controller. Moreover, a fuzzy controller is designed to grasp the key factors for controlling a certain process with only a few number of rules and without too much mathematical details. Therefore, its performance is usually not very accurate and is not expected to be so either. The inaccuracy of its performance is compensated by the simplicity of the controller design.

However, the strength of this approach, the usage of experts’ knowledge, also limits the applicable domains of fuzzy control. For some cases, there may not be any skilled operator or expert available to provide necessary information for the controller design. For example, a very complex heat dissipation problem in NASA’s space station requires extremely complicated modeling and computation if handled by conventional methods. A fuzzy controller, on the other hand, may be a reasonable solution. How- ever, the design process has to be done without a truly skilled expert. The automation for fuzzy controller design therefore becomes a very important issue. It would be valuable if we could develop a method which can systematically extract similar control rules from a process as the human experts’.

A linguistic self-learning process controller was developed by Procyk and Mamdani[l], which utilized a performance measure- ment decision table given by the experts to achieve self-learning behavior. However, they did not explicitly formulate the rules to form a rule-base. Tanscheit and Scharf[Z] and Shao[3] applied the approach on robotics and dynamic processes with good results. Czogala and Pedrycz[4] also investigated the fuzzy rules generation for fuzzy control based on fuzzy relational equations.

The approach proposed in this paper is based on the usage of the cell state space and the performance evaluation. The concept of the cell state space has been very useful in the analysis of fuzzy dynamical systems[5-7]. The basic idea of the cell state space is to represent a state space, which contains infinite number of points

by finite number of cells. The dynamics of the real process is then approximated by a cell-to-cell m pind8.91. We first seek the proper control action on each c e r o n the partitioned cell state space by evaluating a performance index associated with each cell and each control action. Then we transform the result into a rule- based form and hence accomplish the rules extraction.

2. Description of the method

To simplify the notation, we shall consider only two dimen- sional state space in this paper. Higher dimensional cases can be easily extended.

2.1 Cell Control System

a plant and 3 cell controller is shown in Figure 1.

The block diagram of a cell control system which consists of

TTJ+ZJ

ontrolle

Y ,

-

I

I

Figure 1 Cell Control System

where e is the error, U is the input of the plant, y is the output of the plant and yd is the desired output.

Cell State Space

Assume that the state space

X

=

X ,

x

X2

has a domain of interest D = D 1 x D 2 = [ d l l . d 1 2 ] x [d 2 1 r d 2 2 ] . The domain of interest D is partitioned into n I X n 2. number of cells, called regular cells. The region outside the domain of interest is called the sink cell. The state space is, therefore, partitioned into n x n regular cells and one sink cell, which together constitute the cell state space. Any state x E

X

must belong to a cell I in the cell state space.

Cell Controller

The cell controller is constructed by associating a real input with each cell in the cell state space. Whenever, the state trajec- tory enters a cell, the associated input is fired.

Pegonnonce Evaluation

A performance index f ( x l , x z ) which is a function of the state variables is chosen to be the cost function for finding the optimal input for each cell. It can be any Lyapunov-like function, such as the 1-2 norm of the state variables. The basic idea is to h d a real-valued input which w i l l minimize the rformaace index function, i.e. drive the system states toward the &ired goal. Control Input Modifreation

In order to find the proper input associated with each cell. several parameters are assigned to each cell and are described in

the following.

(1) Value of the input u ( z )

526

CH2809-2/89/0000-0526 $1.00 Q 1989 IEEE ~-

-

-

T

r----

-

(2)

(2) (3)

Sjgn of the change of the input value for each iteration,

sign ( 2 )

Size of the change of the input value for each iteration, A u ( z )

(4) Change of the performance index for each cell, A f ( z ) =

f

,

-

f o l d

All the parameters will be assigned some constant values ini- ti$ly, such as sign(z)

= 1,

A u ( z ) = 1.0, A f ( r )

= 0.0,

and

A

f ( z ) = 0.0, for all z . Then the magnitude of the input for each cell will be modified based on the following algorithm: (1)

(2)

i f A

f

<

O.o,thenUk+1= uk

+

Si@lkxAUk if A

f

=

0.0,

then U k + 1 = u k

Signk+l =

-

sign,, AUk+I

=k+l

1

X A U o and

(3) i f A

f

>

0.0,

then

U k + I =

+

sign,

x

A uk.

The algorithm described above is basically a simple optimiza- tion algorithm using maximum descent method. The purpose of the algorithm is to derive the control input on each cell to c o n s t m a a stablizing cell controller. It is possible for this dgo- rithm to be trapped in some local minimum points. Some clever heuristics can be used to avoid the problem in most cases.

2.2 Rules Extraction

The purpose of rules extraction is to derive proper control rules directly from the inputs associated with each cell instead of from the knowledge of experts. The basic idea is to divide the whole state space into a number of overlapping regions such that each region is represented by one fuzzy control rule. Each rule is of the form:

If x 1 is small, and x z is medium, then U is small. where small and medium are fuzzy linguistic terms.

Idealy, we should consider the partitioning of the state space based on the distribution of the magnitude of the cell inputs to derive a rule base. However, the problem will be simplified if we start with a pre-specified precondition part and focus on the deriva- tion of the action part of the rules. The first approach involves more techniques in data transformation and is still under investiga- tion by the author. In this paper, we will only discuss the approach with known preconditions.

Firstly, assume that we have three linguistic terms, namely small, medium, and large, for the two state variables x I and x z respectively. Then there will be 3 x 3 control rules in the rule base. The output of the fuzzy controller, with the commonly used weighted average method[lO], is given as:

( 1 ) where w ( i ) , i = 1, .

.

.

, 9 are the matching membership values for the rules, and u ( i ) , i = 1, . .

.

, 9 are their output values.

The problem of rules extraction, or the determination of the action part, is actually to lind the proper values of u ( i ) . i = 1,

. . . , 9

such that Eq. (1) holds when given a state Credit Assignment Problem

A common difficulty encountered by many learning algo- rithms is the credit assignment problem. In our case, we need to know what are the contributions of each rule to the output of the controller. It is most likely that there is no unique solution for this problem. The method we proposed based on the assumption of the completeness of the fuzzy controller, i.e. there is always a dominant rule at each instant. It is also reasonable to assume that the output of the controller is decided mostly by the dominant rule and the contribution of each rule is proportional to the member- ship value associated with each rule.

i.e. w ( l ) u ( l )

+

'

. .

+

w ( 9 ) u ( 9 ) w( 1 )

+

. .

'

+

w( 9 ) U = ( x 1,XZ). u ( i )

=

w ( i ) r , i = 1 , .

. .

, 9

( 21 Since the values of w ( i ) , i = 1 , .

.

.

, 9 and U are known once the state (x1,xz) is given, we can derive t by:

(3)

Therefore,

Finally, the control rules extraction from the cell controller is achieved by the following procedures:

( I ) Represent each cell z by its center point x,.

(2) Derive the membership value associated with each rule with the state x, for each cell.

(3) U s e E q . ( 1 ) - ( 5 ) t o d e r i v e t h e ( w ( i ) , u ( i ) ) , i = 1 . . . . , 9 for each cell.

(4) Connect all the ( w , U ) points to form the membership curve of the control input for each rule and hence form the control rule-base.

3. Simulation and Discussion

Preliminary simulation result shows that the proposed method is able to construct a rule base which is similar to an exist- ing working fuzzy controller designed by experts. However, the method will work best if the pre-condition part of the rules are properly chosen. Improper partition of the state space may create inconsistent result on the membership function of the action vari- able. It is obvious that further study is required to include the pre-condition part into consideration.

4. Conclusions

The proposed method a i m s to extract fuzzy control rules for a process without the help from any expert. It is basically an off- line process. However, because of the increasing processing speed, the method can be extended to become a real-time process, i.e. to become a real-time learning controller. One possible direction will be to combine the neural network technique with the fuzzy rule- base structure to accomplish the learning task. Further studies are conducted by the author and will not be discussed in this paper.

References

[ I ] [2]

T. J. Procyk and E. H. Mamdani,

'X

Self-Organizing Linguistic Process Controller", Automatica 15, pp. 15-30, 1979. R. Taoscheit and E. M. Scharf, "Erperiments with the use of a R ule-based Self-organizing Controller for Robotics Applications", Fuzzy Sets and Systems 26, pp. 195-214, 1988.

S. Shao, "Fuzzy Self-organizing Controller and its Application for Dynamic Processes", Fuzzy Sets and Systems 26, pp. 151-164, 1988.

E. Czogala and W. Pedrycz, "Fu:ry Rules Generation for Fuzzy Contror'. Cybernetics and Systems: An International Journal, [5]

Y.-Y.

Chen, "The Analysis of Fuzzy Dynamic Systems Using

Cell-to-Cell Mapping", Proceedings of 1988 IEEE Systems, Man, and Cybernetics Annual Conference.

Y.-Y.

Chen and T.-C. Tsao,

'X

New Approach for The Global Analysis

of Fuzzy

Dynamic Systems", Proceedings of the 27th Conference on Decisions and Control, 1988.

Y.-Y. Chen and T.-C. Tsao, "A Descrbtion of the Dynamical Behavior

of

Fu:zy Sysrems", IEEE Transaction of Systems, Man, and Cybernetics, July, 1989.

[3]

[4]

Vol. 13, pp. 275-293, 1982.

[6]

171

[8] C. S. Hsu, 'A Theory of Cell-to-Cell Mapping Dynamical Sys- fems", ASME Journal of Applied Mechanics, Vol. 47, pp. 931-939, 1980.

[9] C. S . Hsu and R . S . Guttalu, ' X n Unraselling Algorithm for Global Analysis of Dynamical Systems: An Application of Cell- fo-Cell Mappings", ASME Journal of Applied Mechanics, Vol. [IO] Sugeno, M., "An Introductory Survey of Fuzzy Control",

47, pp. 940-948, 1980.

Information Sciences, Vol. 36, pp.59-83, 1985.

數據

Figure  1  Cell Control  System

參考文獻

相關文件

Reading Task 6: Genre Structure and Language Features. • Now let’s look at how language features (e.g. sentence patterns) are connected to the structure

To ensure laboratory safety, each school should formulate its own laboratory and special rooms safety rules for compliance by students and teachers apart from

volume suppressed mass: (TeV) 2 /M P ∼ 10 −4 eV → mm range can be experimentally tested for any number of extra dimensions - Light U(1) gauge bosons: no derivative couplings. =&gt;

compounds, focusing on their thermoelectric, half-metallic, and topological properties. Experimental people continue synthesizing novel Heusler compounds and investigating

incapable to extract any quantities from QCD, nor to tackle the most interesting physics, namely, the spontaneously chiral symmetry breaking and the color confinement.. 

• Formation of massive primordial stars as origin of objects in the early universe. • Supernova explosions might be visible to the most

2.1 The Derivative and the Tangent Line Problem 2.2 Basic Differentiation Rules and Rates of Change 2.3 Product and Quotient Rules and Higher-Order Derivatives.. 2.4 The

Then, after inspecting all the literature concerning the Chinese tradition of Receiving the Bodhisattva Precepts, I have discoverd that Rules for Precepts Transmission Ceremonies