Escolar Documentos
Profissional Documentos
Cultura Documentos
A(a) = aa j+1 a
sets are named according to the standard notation,
1.0
aj
A(a)
j j+1
aj a aj+1 Input
error and the change in error variables have seven W
fuzzy sets each, there will be a total of 49 possible Figure 2. Two membership functions in the
rules. universe of discourse for the variable a.
The defuzzication process determines the \crisp
output" by resolving the applicable rules into a sin- CONSTRAINT 3: The defuzzication method used
gle output value. One method of defuzzication is is the modied center of area method. This method
the simplied reasoning method (also referred to as is similar to obtaining a weighted average of all pos-
the modied centroid of area method) [3,4]. This sible output values. Therefore, this component is
method uses weighted average of the input mem- also linear.
bership values and the center points of the output
fuzzy sets to determine the crisp output. For this 2 TIME DOMAIN ANALYSIS
method, the output membership functions must be
symmetric around the center values. Input mem-
2.1 Output Equation Derivation
bership values are determined on a per rule basis. PDFLC is based on linguistic expression of the de-
The weighted average of the output center values sired control action. Therefore, to derive an output
and the input membership values gives the output equation for the PDFLC, the numerical expressions
expression of the fuzzication and defuzzication processes are
# ofPRules used to translate the \English" like terms to a math-
rulen Urulen ematical form. The fuzzication process uses func-
u= # n=1 tions to return membership values for dierent crisp
ofPRules inputs. These membership functions are substi-
rulen tuted into the equation for defuzzication to give
n=1
the output expression of the PDFLC.
where rulen is the input membership value, calcu- PDFLC has two input control variables, error
lated by multiplying the value of the membership (desired value minus actual value) and change in er-
of the error input for the given fuzzy subset to the ror (current error minus previous error divided by
the time interval). Each of the inputs has mem- RuleRj;k : = +1+1 , ? +1 , ; U1 = U
1
ej e ek e
, +1 , j;k
= +1, , ? +1+1,, ; U2 = U +1
ej ej ek ek
RuleRj+1;k+1 : 4
e ej e ek
ej and ej+1 , fuzzy sets EJ and EJ +1 are active. The The expressions for i and Ui from above are sub-
membership in EJ , from generalized representation stituted into equation (5) to yield output equation
in Figure 2, is as
e ,e
= 1 ?U +2 ?U +11 ++2+3 ?U
u j;k +1 +4 ?U +1 +1
3 +4
j ;k j;k j ;k
ej+1 , ej j j k k
ship in EK is
j j k k
ek+1 , e (6)
j j k k
Response
0.4
u = Kp ? e + Kd ? e (8)
Error
0.2
may need to scale change in error. Equation (8) can Figure 3. Step response of a prototype second
be rewritten where Kp is used to scale the PDFLC order system
output as
Figure 3 shows the variation of error, change in
u = Kp(e + (Kd=Kp )e) (9) error and the output with respect to time. It is ob-
vious from the plot that to obtain faster rise time,
damping in the system should be minimum in the
where Kd =Kp is a scaling factor for the change in interval where change of error goes from zero to
error input. Selection of these scaling gains is de- negative maximum. However, to obtain specied
scribed during the design procedure. overshoot, Kd,eff should be maximum, when the
3.4 Approach to General Design Scheme change of error varies from negative maximum to
The design procedure described in this paper is based zero. This implies that, there are two opposing re-
on the analysis and design of PFLC [1,7] and the quirements of Kd,eff in the range zero to negative
analysis of PDFLC described in Section 2. Since maximum of change in error. There are two possi-
manipulating the eective derivative gain can de- ble solutions to this problem. First using the sign
crease the overshoot that might be caused by larger change of \change of change of error", as switch or
proportional gains, PFLC is designed rst to meet
ag for changing the damping in the system. Sec-
the rise time and steady-state error specications ond solution which is discussed and is used in the
as described in [7]. Using these xed center values following sections is the one which uses the modi-
for the error and output fuzzy sets, the objective cation of the rule base to allow maximum control
is to nd the center values for the change in error action initially to get required rise time.
fuzzy sets so that the system also meets the over- 3.5 Design Procedure
shoot specication along with meeting steady-state
and rise time requirements. As described during In this section, a step by step procedure to design
PDFLC output equation analysis, damping should PDFLC is presented.
be least in the beginning so that we get the desired Step 1:
rise time and then it should be increased over the
next intervals to cut down the overshoot. This step consists of designing the PFLC to meet
the rise time and steady-state requirements using
Another important point to remember during the design method described in [7]. The center val-
the design of PDFLC is that the constant part of ues of the error and output fuzzy sets are selected
the controller output should be zero in the region, along with the constant Kp .
where the response nally settles, to avoid adding
to the steady-state error of the system. Therefore, Step 2:
the goal is to vary Kd,eff with the change in er- Keeping the change in error fuzzy sets equally spaced,
ror in such a way so as to meet the overshoot and the scaling gain for change in error Kd =Kp, is se-
steady-state requirements, along with with the rise lected such that it maps the change in error to -1
time. For this purpose, it will be useful to look at to +1 range. This controller with the change in er-
the step response of a system. ror fuzzy sets equally spaced is called the baseline
controller, since this basic controller is then modi- requirement.
ed to meet the overshoot specication by varying 1.2
Kd,eff .
1
Response
NB NM NS ZO PS PM PB
0.6
Step 3: 0.2
change in error fuzzy sets are multiplied by a con- Figure 5. Response for controller outputs shown in
stant \a" and the response of the system is ob- Figure 4.
tained. The value of \a" which gives the required
overshoot is selected. Step 4:
Figure 4 shows the plots of the controller out- The change in error fuzzy set center values are de-
puts for error xed at zero value and peak values termined by a graphical approach. The plots of
of change in error fuzzy sets multiplied by two dif- baseline controller and the \overshoot test" con-
ferent values of \a". The plots are not linear, as troller are overlaid as shown in the Figure 5.
expected, since the output fuzzy sets values, as se- Overshoot
Controller
Output
PM
Controller
PS
Output
a =0.5
a = 1.0
(0,0) PS PM 1.0
Change of Error
Response
Error Error 0.6
NB NM NS ZO PS PM PB NB NM NS ZO PS PM PB
NB NB NB NB NM NS ZO NB NB NB NB NB NM NS PB
0.4
NB NB NB NM NS ZO PS NM NB NB NB NM NS ZO PB
Figure 7. Modifying the rule base Keeping the change in error fuzzy sets equally
spaced, a value of Kd=Kp is selected in such a
Once the controller output curve is decided, way so that the change in error is scaled in the
simulation should be run to check the working of range -1 to +1. For this example, a Kd =Kp
the design and nal tweaking can be done to further value of 0.007 was selected.
improve on the performance of the original design.
Overshoot test is conducted as described ear-
4 NUMERICAL EXAMPLE lier and it is seen that \a" = 0.3 meets the
overshoot specication.
For the system shown in Figure 1, let the transfer
function of the plant be given by Using the graphical approach described in the
45 design procedure, center values of PM and PS
Gp (s) = (s+15)( s+3) change in error are obtained as described in
Figure 9. The center values of the fuzzy sets
The goal is to design a controller to satisfy the fol- for the nal design are given in the Table IV.
lowing specications Overshoot Test (a=0.3)
than 5%.
2. Maximum overshoot to a unit step input is less
Controller
Output
than 10%.
3. Rise time should be less than 0.1 sec.
To design PDFLC, following steps were carried out: PM 0.26
ure 8 shows the response of the system for this Figure 9. Graphical approach for nding PS
compensator. and PM of change in error sets.
Table IV. Change in error center values. we have derivative gain to add extra damping at
NB NM NS ZO PS PM PB
later stages of the response, proportional gain can
-1 -0.667 -0.06 0 0.06 0.667 1 be raised to give better rise time, during the begin-
ning of the response and 3) zero error region should
To obtain maximum controller action in the not have any constant term in it's controller output
initial phase of the response, the nal design equation. The step by step design method is listed
step is modication of the rule base in PB and then is demonstrated with a numerical example.
error region (Figure 7).
Figure 10 shows the system response with the REFERENCES
PDFLC designed in previous steps. The steady- 1. T. Brehm, Fuzzy Logic Controller: Fuzzy Logic
state error is less than 5%, overshoot is less Controller: Analysis and Design, Masters The-
than 10% and rise time is less than 0.1 sec. sis, Wright State University, Winter, 1994.
1.2 2. J.J. Buckley and H. Ying, \Fuzzy Controller
Theory: limit Theorems for Linear Fuzzy Con-
1
trol Rules," Automatica, pp 469-472, 1989.
0.8 3. Lee, Chuen Chien, \Fuzzy Logic in Control
Systems: Fuzzy Logic Controller- Part I," IEEE
Trans. Systems, Man Cybernetics, Vol 20, pp.
Response
0.6
404-418, 1990.
4. Lee, Chuen Chien, \Fuzzy Logic in Control
0.4
Figure 10. Response of the nal PDFLC 5. G. Langari, A Framework for Analysis and
compensated system. Synthesis of Fuzzy Linguistic Control Systems,
Ph.D thesis, University of California at Berke-
5 CONCLUSIONS ley, December 1990.
In this paper, the analysis and design of a PDFLC 6. E. H. Mamdani, \Application of Fuzzy Algo-
is presented. The objective is to develop a design rithms for Control of Simple Dynamic Plant,"
procedure, which combines the mathematical inter- Proc. IEE 121 Vol. 12 pp. 1585-1588, 1974.
pretation of the controller with the interpretation of 7. K. Rattan, T. Brehm, Gurpreet Sandhu, \Anal-
linguistic rules for the control system. A mathemat- ysis and design of proportional fuzzy logic con-
ical approach is developed, which correlates PDFLC troller," 6th IFSICC, Hawaii, April 1996.
parameters to system response, without obscuring
the meaning of the actual physical action. Output 8. D. Sabharwal and K. Rattan, \Design of a
equation for PDFLC is derived, which shows that Rule Based Fuzzy Controller for the Pitch Axis
if properly constrained, the PDFLC can be approx- of an Unmanned Research Vehicle," NAECON
imated as a piecewise linear controller with many Proceedings, Dayton, 1992.
similarities to the classical PD controller and thus 9. M. Sugeno, Industrial Applications of Fuzzy
making it possible to analyze it using the classical Control, North-Holland, 1985.
methods. It is shown analytically that PDFLC has
a response which is an improvement over classical 10. L. A. Zadeh, \Fuzzy sets," Information and
PD controller response. Results of the analysis pro- Control, Vol. 8, 1965, pp.338-353.
vide the ground rules for the design of the PDFLC. 11. L. A. Zadeh, \Outline of a New Approach to
The rules to remember while designing the PDFLC the Analysis of Complex Systems and Deci-
are: 1) keep the derivative gain minimum in the be- sion Processes," IEEE Trans. Systems, Man
ginning to get quick response and then increase it Cybernetics, Vol 3, pp. 28-44, 1973.
successively to reduce the overshoot, 2) since now