






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Fuzzy Logic ControllersFuzzy Logic Controllers
Fuzzy Logic byFuzzy Logic by Lotfi ZadehLotfi Zadeh
Docsity.com
Basic Concept of Fuzzy LogicBasic Concept of Fuzzy Logic
RGB value 150/
What Is a Fuzzy Controller?What Is a Fuzzy Controller?
small circuits to large mainframes.
Docsity.com
Why Should We Use FuzzyWhy Should We Use Fuzzy
Controllers?Controllers?
sources
algebraic equations)
Constructing a Fuzzy ControllerConstructing a Fuzzy Controller
(fuzzify).
defuzzifying the result.
Create the Membership ValueCreate the Membership Value
membership values for the data and put them into fuzzy sets.
data into ranges.
0 to 1 (theoretically 0 to 100%).
determine
Membership for InvertedMembership for Inverted
PendulumPendulum
List of RulesList of Rules
If angle is Z and angular velocity is Z then speed is Z If angle is Z and angular velocity is NH then speed is NH If angle is Z and angular velocity is NL then speed is NL If angle is Z and angular velocity is PL then speed is PL If angle is Z and angular velocity is PH then speed is PH If angle is NH and angular velocity is Z then speed is NH If angle is NL and angular velocity is Z then speed is NL If angle is PL and angular velocity is Z then speed is PL If angle is PH and angular velocity is Z then speed is PH If angle is NL and angular velocity is PL then speed is Z If angle is PL and angular velocity is NL then speed is Z
DefuzzifyDefuzzify the Resultthe Result
Now we have to figure out what to do
with the result we get from the rules and the fuzzy sets.
The typical way is to defuzzify using
Mamdaniās Center of Gravity method.
MamdaniāsMamdaniās COGCOG
COG (^) Wierman
Implementing PendulumImplementing Pendulum
ControllerController
For our first input we get our values for angle and angular velocity. These values intersect the fuzzy sets a certain points which are our alpha-cuts.
Shahariz
Resulting Fuzzy SetsResulting Fuzzy Sets
Shahariz
Apply COG EquationApply COG Equation