4.1. A FUZZY CONTROLLER FOR AN INVERTED PENDULUM 135
ANGULAR VELOCITY
B 1 =NB B 2 =NM B 3 =NS B 4 =PS B 5 =PM B 6 =PB
Fuzzy setsBjfor ìangular velocityîFORCE
C 1 =NB C 2 =NM C 3 =NS C 4 =PS C 5 =PM C 6 =PB
Fuzzy setsCjfor ìforceîThe particular choice of membership functions chosen to represent the lin-
guistic labels is somewhat arbitrary. One of the adjustments made during testing
of the control system will be experimenting with different membership functions,
that is, changing the parameters of these triangular functions. This process is
calledtuning.
Therulesarethenoftheform- Ifangleis negative medium andvelocityis positive small thenforceis
negative small. - Ifangleis negative medium andvelocityis positive medium thenforceis
positive small. - Ifangleis negative small andvelocityis positive medium thenforceis
positive small.
and so forth. With six membership functions for each ofXandY,we can have
36 rules of the form
Rj:If θisAjandθ^0 isBjthenuisCjwhere Aj,Bj,andCjare the fuzzy subsets ofX,Y andUdepicted above.