Conventional (Boolean) Set Theory: Fuzzy Set Theory © INFORM Slide 1 “Strong Fever” 40.1°C 42°C 41.4°C 39.3°C 38.7°C 37.2°C 38°C Fuzzy Set Theory: 40.1°C 42°C 41.4°C 39.3°C 38.7°C 37.2°C 38°C “More-or-Less” Rather Than “Either-Or” ! “Strong Fever”
Discrete Definition: µ SF (35°C) = 0µ SF (38°C) = 0.1µ SF (41°C) = 0.9 µ SF (36°C) = 0µ SF (39°C) = 0.35µ SF (42°C) = 1 µ SF (37°C) = 0µ SF (40°C) = 0.65µ SF (43°C) = 1 Discrete Definition: µ SF (35°C) = 0µ SF (38°C) = 0.1µ SF (41°C) = 0.9 µ SF (36°C) = 0µ SF (39°C) = 0.35µ SF (42°C) = 1 µ SF (37°C) = 0µ SF (40°C) = 0.65µ SF (43°C) = 1 Fuzzy Set Definitions © INFORM Slide 2 Continuous Definition: No More Artificial Thresholds!
...Terms, Degree of Membership, Membership Function, Base Variable... Linguistic Variable © INFORM Slide 3 … pretty much raised …... but just slightly strong … A Linguistic Variable Defines a Concept of Our Everyday Language!
Fuzzification, Fuzzy Inference, Defuzzification: Basic Elements of a Fuzzy Logic System © INFORM Slide 4 Fuzzy Logic Defines the Control Strategy on a Linguistic Level!
Container Crane Case Study: Basic Elements of a Fuzzy Logic System © INFORM Slide 5 Two Measured Variables and One Command Variable !
Control Loop of the Fuzzy Logic Controlled Container Crane: Basic Elements of a Fuzzy Logic System © INFORM Slide 6 Closing the Loop With Words !
Term Definitions: Distance:= {far, medium, close, zero, neg_close} Angle:= {pos_big, pos_small, zero, neg_small, neg_big} Power:= {pos_high, pos_medium, zero, neg_medium, neg_high} Term Definitions: Distance:= {far, medium, close, zero, neg_close} Angle:= {pos_big, pos_small, zero, neg_small, neg_big} Power:= {pos_high, pos_medium, zero, neg_medium, neg_high} 1. Fuzzification: - Linguistic Variables - © INFORM Slide 7 Membership Function Definition: 4° m The Linguistic Variables Are the “Vocabulary” of a Fuzzy Logic System !
Computation of the “IF-THEN”-Rules: #1: IF Distance = medium AND Angle = pos_small THEN Power = pos_medium #2: IF Distance = medium AND Angle = zero THEN Power = zero #3: IF Distance = far AND Angle = zero THEN Power = pos_medium Computation of the “IF-THEN”-Rules: #1: IF Distance = medium AND Angle = pos_small THEN Power = pos_medium #2: IF Distance = medium AND Angle = zero THEN Power = zero #3: IF Distance = far AND Angle = zero THEN Power = pos_medium 2. Fuzzy-Inference: - “IF-THEN”-Rules - © INFORM Slide 8 X XAggregation:Computing the “IF”-Part X XComposition: Computing the “THEN”-Part X XAggregation:Computing the “IF”-Part X XComposition: Computing the “THEN”-Part The Rules of the Fuzzy Logic Systems Are the “Laws” It Executes !
2. Fuzzy-Inference: - Aggregation - © INFORM Slide 9 Boolean Logic Only Defines Operators for 0/1: ABAvB Boolean Logic Only Defines Operators for 0/1: ABAvB Fuzzy Logic Delivers a Continuous Extension: X X AND: µ AvB = min{ µ A ; µ B } X X OR: µ A+B = max{ µ A ; µ B } X X NOT: µ -A = 1 - µ A Fuzzy Logic Delivers a Continuous Extension: X X AND: µ AvB = min{ µ A ; µ B } X X OR: µ A+B = max{ µ A ; µ B } X X NOT: µ -A = 1 - µ A Aggregation of the “IF”-Part: #1: min{ 0.9, 0.8 } = 0.8 #2: min{ 0.9, 0.2 } = 0.2 #3: min{ 0.1, 0.2 } = 0.1 Aggregation of the “IF”-Part: #1: min{ 0.9, 0.8 } = 0.8 #2: min{ 0.9, 0.2 } = 0.2 #3: min{ 0.1, 0.2 } = 0.1 Aggregation Computes How “Appropriate” Each Rule Is for the Current Situation !
2. Fuzzy-Inference: Composition © INFORM Slide 10 Result for the Linguistic Variable "Power": pos_highwith the degree 0.0 pos_medium with the degree 0.8 ( = max{ 0.8, 0.1 } ) zero with the degree 0.2 neg_medium with the degree 0.0 neg_high with the degree 0.0 Result for the Linguistic Variable "Power": pos_highwith the degree 0.0 pos_medium with the degree 0.8 ( = max{ 0.8, 0.1 } ) zero with the degree 0.2 neg_medium with the degree 0.0 neg_high with the degree 0.0 Composition Computes How Each Rule Influences the Output Variables !
3. Defuzzification © INFORM Slide 11 Finding a Compromise Using “Center-of-Maximum”: 6.4 KW “Balancing” Out the Result !
Types of Fuzzy Controllers: - Direct Controller - Types of Fuzzy Controllers: - Direct Controller - © INFORM Slide 12 The Outputs of the Fuzzy Logic System Are the Command Variables of the Plant: Fuzzy Rules Output Absolute Values !
Types of Fuzzy Controllers: - Supervisory Control - Types of Fuzzy Controllers: - Supervisory Control - © INFORM Slide 13 Fuzzy Logic Controller Outputs Set Values for Underlying PID Controllers: Human Operator Type Control !
Types of Fuzzy Controllers: - PID Adaptation - Types of Fuzzy Controllers: - PID Adaptation - © INFORM Slide 14 Fuzzy Logic Controller Adapts the P, I, and D Parameter of a Conventional PID Controller: The Fuzzy Logic System Analyzes the Performance of the PID Controller and Optimizes It !
Types of Fuzzy Controllers: - Fuzzy Intervention - Types of Fuzzy Controllers: - Fuzzy Intervention - © INFORM Slide 15 Fuzzy Logic Controller and PID Controller in Parallel: Intervention of the Fuzzy Logic Controller into Large Disturbances !