Download inverted pendulum control - Introduction

Transcript
Department of Electronic, Communication and Electrical Engineering
Msc. Final Year
University of Hertfordshire
Project Report
ire
4.2 Design of fuzzy controller
Fuzzification
Evaluation
Defuzzifi
Output
Pendulum
or
d
cation
Inverted
sh
Rule
Input
rtf
Fuzzy rule
He
base
of
Figure 4.2.1 Block diagram of Fuzzy logic controller
Fuzzy interference system is basically divided into three steps they are
Fuzzification
·
Rule evaluation and
·
Defuzzification
rsi
ty
·
ive
4.2.1 Fuzzification
Fuzzifier takes the input variables based on that it will determine the fuzzy set and
membership functions. Here the input to the fuzzifier is pole angle, angular velocity and
Un
output from the fuzzy controller is the torque. The inverted pendulum can rotate in two
directions either left or right. Hence define the pole angle and angular velocity by defining
the membership function for the fuzzy sets
·
Negative high (NH)
·
Negative low (NL)
·
Zero (Zero)
·
Positive low (PL)
·
Positive high (PH)
Shareef Mohd Aslam
Inverted Pendulum Control
32