Topic 7 Fuzzy expert systems: Fuzzy inference

Similar documents
Image Denoising Based on Non-Local Low-Rank Dictionary Learning

Lecture 2 Phys 798S Spring 2016 Steven Anlage. The heart and soul of superconductivity is the Meissner Effect. This feature uniquely distinguishes

An Exact Solution for the Deflection of a Clamped Rectangular Plate under Uniform Load

DIFFERENTIAL EQUATIONS

Conservation of Energy

The Extended Balanced Truncation Algorithm

Scale Efficiency in DEA and DEA-R with Weight Restrictions

Research Article An Extension of Cross Redundancy of Interval Scale Outputs and Inputs in DEA

THE BICYCLE RACE ALBERT SCHUELLER

3.185 Problem Set 6. Radiation, Intro to Fluid Flow. Solutions

Lecture 2 DATA ENVELOPMENT ANALYSIS - II

Section J8b: FET Low Frequency Response

15 N 5 N. Chapter 4 Forces and Newton s Laws of Motion. The net force on an object is the vector sum of all forces acting on that object.

1-D SEDIMENT NUMERICAL MODEL AND ITS APPLICATION. Weimin Wu 1 and Guolu Yang 2

24P 2, where W (measuring tape weight per meter) = 0.32 N m

The Features For Dark Matter And Dark Flow Found.

Comparing Means: t-tests for Two Independent Samples

CHAPTER 3. FUZZY LOGIC DIRECT TORQUE CONTROL.

AP CHEM WKST KEY: Atomic Structure Unit Review p. 1

On the Use of High-Order Moment Matching to Approximate the Generalized-K Distribution by a Gamma Distribution

Chapter 4. The Laplace Transform Method

m 0 are described by two-component relativistic equations. Accordingly, the noncharged

Lecture 17: Frequency Response of Amplifiers

Practice Problem Solutions. Identify the Goal The acceleration of the object Variables and Constants Known Implied Unknown m = 4.

Bogoliubov Transformation in Classical Mechanics

Physics 20 Lesson 16 Friction

Periodic Table of Physical Elements

Lecture 4 (Fuzzy Set Operations)

Represent each of the following combinations of units in the correct SI form using an appropriate prefix: (a) m/ms (b) μkm (c) ks/mg (d) km μn

s s 1 s = m s 2 = 0; Δt = 1.75s; a =? mi hr

1.3.3 Statistical (or precision) uncertainty Due to transient variations, spatial variations 100%

AN EASY INTRODUCTION TO THE CIRCLE METHOD

International Conference on Mathematics, Science, and Education 2016 (ICMSE 2016)

Investment decision for supply chain resilience based on Evolutionary Game theory

Lecture 21. The Lovasz splitting-off lemma Topics in Combinatorial Optimization April 29th, 2004

into a discrete time function. Recall that the table of Laplace/z-transforms is constructed by (i) selecting to get

Moisture transport in concrete during wetting/drying cycles

ADAPTIVE CONTROL DESIGN FOR A SYNCHRONOUS GENERATOR

Answer keys. EAS 1600 Lab 1 (Clicker) Math and Science Tune-up. Note: Students can receive partial credit for the graphs/dimensional analysis.

The machines in the exercise work as follows:

CHAPTER 13 FILTERS AND TUNED AMPLIFIERS

Electrical Boundary Conditions. Electric Field Boundary Conditions: Magnetic Field Boundary Conditions: K=J s

4 Conservation of Momentum

Social Studies 201 Notes for November 14, 2003

μ + = σ = D 4 σ = D 3 σ = σ = All units in parts (a) and (b) are in V. (1) x chart: Center = μ = 0.75 UCL =

Hyperbolic Partial Differential Equations

Practice Problems Solutions. 1. Frame the Problem - Sketch and label a diagram of the motion. Use the equation for acceleration.

Chapter 7. Principles of Unsteady - State and Convective Mass Transfer

Laplace Transformation

III.9. THE HYSTERESIS CYCLE OF FERROELECTRIC SUBSTANCES

Introduction to Laplace Transform Techniques in Circuit Analysis

4.5 Evaporation and Diffusion Evaporation and Diffusion through Quiescent Air (page 286) bulk motion of air and j. y a,2, y j,2 or P a,2, P j,2

Practice Midterm #1 Solutions. Physics 6A

Improving Efficiency Scores of Inefficient Units. with Restricted Primary Resources

5. Fuzzy Optimization

The Influence of the Load Condition upon the Radial Distribution of Electromagnetic Vibration and Noise in a Three-Phase Squirrel-Cage Induction Motor

V2V-Based Vehicle Risk Assessment and Control for Lane-Keeping and Collision Avoidance

MODE SHAPE EXPANSION FROM DATA-BASED SYSTEM IDENTIFICATION PROCEDURES

CS 170: Midterm Exam II University of California at Berkeley Department of Electrical Engineering and Computer Sciences Computer Science Division

Research Article Efficient Recursive Methods for Partial Fraction Expansion of General Rational Functions

PHYSICS 151 Notes for Online Lecture 2.3

Ranking DEA Efficient Units with the Most Compromising Common Weights

TP A.30 The effect of cue tip offset, cue weight, and cue speed on cue ball speed and spin

Name: Answer Key Date: Regents Physics. Energy

11.2 Stability. A gain element is an active device. One potential problem with every active circuit is its stability

Physics 20 Lesson 28 Simple Harmonic Motion Dynamics & Energy

Kinematics and dynamics, a computational approach

Social Studies 201 Notes for March 18, 2005

Source slideplayer.com/fundamentals of Analytical Chemistry, F.J. Holler, S.R.Crouch. Chapter 6: Random Errors in Chemical Analysis

7.2 INVERSE TRANSFORMS AND TRANSFORMS OF DERIVATIVES 281

A BATCH-ARRIVAL QUEUE WITH MULTIPLE SERVERS AND FUZZY PARAMETERS: PARAMETRIC PROGRAMMING APPROACH

Conditions for equilibrium (both translational and rotational): 0 and 0

Quantifying And Specifying The Dynamic Response Of Flowmeters

Convergence of a Fixed-Point Minimum Error Entropy Algorithm

The Secret Life of the ax + b Group

Clustering Methods without Given Number of Clusters

A First Digit Theorem for Square-Free Integer Powers

Standard Guide for Conducting Ruggedness Tests 1

Chemistry I Unit 3 Review Guide: Energy and Electrons

What lies between Δx E, which represents the steam valve, and ΔP M, which is the mechanical power into the synchronous machine?

SEISMIC GUIDELINES FOR TUNNELS ON ROCK

Lecture 10 Filtering: Applied Concepts

Moment of Inertia of an Equilateral Triangle with Pivot at one Vertex

Codes Correcting Two Deletions

LEARNING DISCRIMINATIVE BASIS COEFFICIENTS FOR EIGENSPACE MLLR UNSUPERVISED ADAPTATION. Yajie Miao, Florian Metze, Alex Waibel

Rigorous analysis of diffraction gratings of arbitrary profiles using virtual photonic crystals

TRIPLE SOLUTIONS FOR THE ONE-DIMENSIONAL

ON THE APPROXIMATION ERROR IN HIGH DIMENSIONAL MODEL REPRESENTATION. Xiaoqun Wang

Physics 6A. Practice Midterm #2 solutions. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

SIMM Method Based on Acceleration Extraction for Nonlinear Maneuvering Target Tracking

HELICAL TUBES TOUCHING ONE ANOTHER OR THEMSELVES

Research Article Numerical and Analytical Study for Fourth-Order Integro-Differential Equations Using a Pseudospectral Method

Momentum. Momentum. Impulse. Impulse Momentum Theorem. Deriving Impulse. v a t. Momentum and Impulse. Impulse. v t

6. KALMAN-BUCY FILTER

To describe a queuing system, an input process and an output process has to be specified.

V = 4 3 πr3. d dt V = d ( 4 dv dt. = 4 3 π d dt r3 dv π 3r2 dv. dt = 4πr 2 dr

Max - Min Composition of Linguistic Intuitionistic Fuzzy Relations and Application in Medical Diagnosis 1

CONSOLIDATION ANALYSIS OF SOFT CLAY AT LARGE STRAIN

MODERN CONTROL SYSTEMS

Discussion: How accurate is Earth s gravity? (See handout, next page)

Transcription:

Topic 7 Fuzzy expert yte: Fuzzy inference adani fuzzy inference ugeno fuzzy inference Cae tudy uary Fuzzy inference The ot coonly ued fuzzy inference technique i the o-called adani ethod. In 975, Profeor Ebrahi adani of ondon Univerity built one of the firt fuzzy yte to control a tea engine and boiler cobination. He applied a et of fuzzy rule upplied by experienced huan operator. adani fuzzy inference The adani-tyle fuzzy inference proce i perfored in four tep: fuzzification of the input variable, rule evaluation; aggregation of the rule output, and finally defuzzification. We exaine a iple two-input one-output output proble that include three rule: Rule: Rule: x i A3 project_funding i adequate OR y i B OR project_taffing i all THEN z i C THEN rik i low Rule: 2 Rule: 2 x i A2 project_funding i arginal AND y i B2 AND project_taffing i large THEN z i THEN rik i noral Rule: 3 Rule: 3 x i A project_funding i inadequate THEN z i C3 THEN rik i high tep : Fuzzification The firt tep i to take the crip input, x and y (project funding and project taffing), and deterine the degree to which thee input belong to each of the appropriate fuzzy et..5 Crip Input x A A2 A3 x µ (x = A) =.5 µ (x = A2) = X.7. B Crip Input y B2 y Y µ (y = B) =. µ (y = B2) =.7 tep 2: Rule Evaluation The econd tep i to take the fuzzified input, µ (x=a) =.5, µ (x=a2) =, µ (y=b) =. and µ (y=b2) =.7, and apply the to the antecedent of the fuzzy rule. If a given fuzzy rule ha ultiple antecedent, the fuzzy operator (AND or OR) i ued to obtain a ingle nuber that repreent the reult of the antecedent evaluation. Thi nuber (the truth value) i then applied to the conequent eberhip function.

To evaluate the dijunction of the rule antecedent, we ue the OR fuzzy operation.. Typically, fuzzy expert yte ake ue of the claical fuzzy operation union: µ A B (x)) = ax [µ A (x), µ B (x)] iilarly, in order to evaluate the conjunction of the rule antecedent, we apply the AND fuzzy operation interection: µ A B (x)) = in [µ A (x), µ B (x)] adani-tyle rule evaluation A3 B C.. OR. (ax) x X y Y Rule : x i A3 (.) OR y i B (.) THEN z i C (.) A2 x X A.7 B2 y Y AND (in) C Rule 2: x i A2 () AND y i B2 (.7) THEN z i ().5.5 C x X Rule 3: x i A (.5) THEN z i C3 (.5) C3 C3 C3 Now the reult of the antecedent evaluation can be applied to the eberhip function of the conequent. The ot coon ethod of correlating the rule conequent with the truth value of the rule antecedent i to cut the conequent eberhip function at the level of the antecedent truth. Thi ethod i called clipping.. ince the top of the eberhip function i liced, the clipped fuzzy et loe oe inforation. However, clipping i till often preferred becaue it involve le coplex and fater atheatic, and generate an aggregated output urface that i eaier to defuzzify. While clipping i a frequently ued ethod, caling offer a better approach for preerving the original hape of the fuzzy et. The original eberhip function of the rule conequent i adjuted by ultiplying all it eberhip degree by the truth value of the rule antecedent. Thi ethod, which generally loe le inforation, can be very ueful in fuzzy expert yte. Clipped and caled eberhip function eberhip.. eberhip.. tep 3: Aggregation of the rule output Aggregation i the proce of unification of the output of all rule. We take the eberhip function of all rule conequent previouly clipped or caled and cobine the into a ingle fuzzy et. The input of the aggregation proce i the lit of clipped or caled conequent eberhip function, and the output i one fuzzy et for each output variable.

. C z i C (.) Aggregation of the rule output z i ().5 z i C3 (.5) C3.5. tep 4: Defuzzification The lat tep in the fuzzy inference proce i defuzzification.. Fuzzine help u to evaluate the rule, but the final output of a fuzzy yte ha to be a crip nuber. The input for the defuzzification proce i the aggregate output fuzzy et and the output i a ingle nuber. There are everal defuzzification ethod, but probably the ot popular one i the centroid technique.. It find the point where a vertical line would lice the aggregate et into two equal ae. atheatically thi centre of gravity (COG) can be expreed a: COG b µ A = a b µ A a ( x ) ( x ) x dx dx Centroid defuzzification ethod find a point repreenting the centre of gravity of the fuzzy et, A, on the interval, ab. A reaonable etiate can be obtained by calculating it over a aple of point. µ ( x )..8.6.4. 5 a A 6 7 8 9 2 b 2 X Centre of gravity (COG): ( + + 2).+ (3 + 4 + 5 + 6) + (7 + 8 + 9 + ).5 COG = = 67.4.+.+.+ + + + +.5 +.5 +.5 +.5 eberhip..8.6.4. 2 3 4 5 6 7 8 9 67.4 ugeno fuzzy inference adani-tyle inference, a we have jut een, require u to find the centroid of a two-dienional hape by integrating acro a continuouly varying function. In general, thi proce i not coputationally efficient. ichio ugeno uggeted to ue a ingle pike, a ingleton,, a the eberhip function of the rule conequent. A ingleton,, or ore preciely a fuzzy ingleton,, i a fuzzy et with a eberhip function that i unity at a ingle particular point on the univere of dicoure and zero everywhere ele.

ugeno-tyle fuzzy inference i very iilar to the adani ethod. ugeno changed only a rule conequent. Intead of a fuzzy et, he ued a atheatical function of the input variable. The forat of the ugeno-tyle fuzzy rule i x i A AND y i B THEN z i f (x, y) y where x, y and z are linguitic variable; A and B are fuzzy et on univere of dicoure X and Y, repectively; and f (x, y) i a atheatical function. The ot coonly ued zero-order order ugeno fuzzy odel applie fuzzy rule in the following for: x i A AND y i B THEN z i k where k i a contant. In thi cae, the output of each fuzzy rule i contant. All conequent eberhip function are repreented by ingleton pike. A3 B.. OR. x X y Y (ax) Rule : x i A3 (.) A2 x X A ugeno-tyle rule evaluation OR y i B (.) THEN z i k (.).7 B2 y Y AND (in) Rule 2: x i A2 () AND y i B2 (.7) THEN z i k2 () x X Rule 3: x i A (.5) THEN z i k3 (.5).5.5 k k2 k3 ugeno-tyle aggregation of the rule output. z i k (.) z i k2 () z i k3 (.5).5.5. k k2 k3 k k2 k3 Weighted average (WA): µ ( k) k+ µ ( k2) k2 + µ ( k3) k3. 2 + 5 +.5 8 WA = = = 65 µ ( k) + µ ( k2) + µ ( k3).+ +.5 ugeno-tyle defuzzification z Crip Output z How to ake a deciion on which ethod to apply adani or ugeno? adani ethod i widely accepted for capturing expert knowledge. It allow u to decribe the expertie in ore intuitive, ore huan-like anner. However, adani-type fuzzy inference entail a ubtantial coputational burden. On the other hand, ugeno ethod i coputationally effective and work well with optiiation and adaptive technique, which ake it very attractive in control proble, particularly for dynaic nonlinear yte.

Building a fuzzy expert yte: cae tudy A ervice centre keep pare part and repair failed one. A cutoer bring a failed ite and receive a pare of the ae type. Failed part are repaired, placed on the helf, and thu becoe pare. The objective here i to advie a anager of the ervice centre on certain deciion policie to keep the cutoer atified. Proce of developing a fuzzy expert yte. pecify the proble and define linguitic variable. 2. Deterine fuzzy et. 3. Elicit and contruct fuzzy rule. 4. Encode the fuzzy et, fuzzy rule and procedure to perfor fuzzy inference into the expert yte. 5. Evaluate and tune the yte. tep : : pecify the proble and define linguitic variable There are four ain linguitic variable: average waiting tie (ean delay),, repair utiliation factor of the ervice centre ρ,, nuber of erver, and initial nuber of pare part n. inguitic variable and their range inguitic Variable: ean Delay, inguitic Value Notation Nuerical Range (noralied) Very hort hort ediu V [,.3] [.,.5] [.4,.7] inguitic Variable: Nuber of erver, inguitic Value Notation Nuerical Range (noralied) all ediu arge [,.35] [.3,.7] [.6, ] inguitic Variable: Repair Utiliation Factor, ρ inguitic Value Notation Nuerical Range ow ediu High H [,.6] [.4,.8] [.6, ] inguitic Variable: Nuber of pare, n inguitic Value Notation Nuerical Range (noralied) Very all all Rather all ediu Rather arge arge Very arge V R R V [,.3] [,.4] [5,.45] [.3,.7] [.55,.75] [.6, ] [.7, ] tep 2: : Deterine fuzzy et Fuzzy et can have a variety of hape. However, a triangle or a trapezoid can often provide an adequate repreentation of the expert knowledge, and at the ae tie, ignificantly iplifie the proce of coputation. eberhip..8.6.4. V Fuzzy et of ean Delay..3.4.5.6.7.8.9 ean Delay (noralied)

Fuzzy et of Nuber of erver Fuzzy et of Repair Utiliation Factor ρ Fuzzy et of Nuber of pare n eberhip. eberhip. eberhip..8.8 H.8 V R R V.6.6.6.4.4.4...3.4.5.6.7.8.9 Nuber of erver (noralied)...3.4.5.6.7.8.9 Repair Utiliation Factor...3.4.5.6.7.8.9 Nuber of pare (noralied) tep 3: : Elicit and contruct fuzzy rule To accoplih thi tak, we ight ak the expert to decribe how the proble can be olved uing the fuzzy linguitic variable defined previouly. Required knowledge alo can be collected fro other ource uch a book, coputer databae, flow diagra and oberved huan behaviour. The quare FA repreentation R V R V V The rule table Rule ρ n Rule ρ n Rule ρ n V V V 9 V H V 2 V V 2 H 3 V 2 V 2 H 4 V V 3 V R 22 V H 5 V 4 23 H 6 V 5 V 24 H 7 V 6 V 25 V H R 8 7 R 26 H 9 V 8 27 H R

Rule Bae. If (utiliation_factor i ) then (nuber_of_pare i ) 2. If (utiliation_factor i ) then (nuber_of_pare i ) 3. If (utiliation_factor i H) then (nuber_of_pare i ) 4. If (ean_delay i V) and (nuber_of_erver i ) then (nuber_of_pare i V) 5. If (ean_delay i ) and (nuber_of_erver i ) then (nuber_of_pare i ) 6. If (ean_delay i ) and (nuber_of_erver i ) then (nuber_of_pare i ) 7. If (ean_delay i V) and (nuber_of_erver i ) then (nuber_of_pare i R) 8. If (ean_delay i ) and (nuber_of_erver i ) then (nuber_of_pare i R) 9. If (ean_delay i ) and (nuber_of_erver i ) then (nuber_of_pare i ).If (ean_delay i V) and (nuber_of_erver i ) then (nuber_of_pare i ).If (ean_delay i ) and (nuber_of_erver i ) then (nuber_of_pare i ) 2.If (ean_delay i ) and (nuber_of_erver i ) then (nuber_of_pare i V) Cube FA of Rule Bae 2 V V H V ρ R R V V V V R R V V H ρ tep 4: : Encode the fuzzy et, fuzzy rule and procedure to perfor fuzzy inference into the expert yte To accoplih thi tak, we ay chooe one of two option: to build our yte uing a prograing language uch a C/C++ or Pacal, or to apply a fuzzy logic developent tool uch a ATAB Fuzzy ogic Toolbox or Fuzzy Knowledge Builder. V tep 5: : Evaluate and tune the yte The lat, and the ot laboriou, tak i to evaluate and tune the yte. We want to ee whether our fuzzy yte eet the requireent pecified at the beginning. everal tet ituation depend on the ean delay, nuber of erver and repair utiliation factor. The Fuzzy ogic Toolbox can generate urface to help u analye the yte perforance. Three-dienional plot for Rule Bae nuber_of_pare.6.5.4.3.4 ean_delay.6.4.6.8 nuber_of_erver Three-dienional plot for Rule Bae nuber_of_pare.6.5.4.3.4 ean_delay.6.4.6.8 utiliation_factor

Three-dienional plot for Rule Bae 2.35 Three-dienional plot for Rule Bae 2.5 However, even now, the expert ight not be atified with the yte perforance. nuber_of_pare.3 5.5 nuber_of_pare.4.3 To iprove the yte perforance, we ay ue additional et Rather all and Rather arge on the univere of dicoure Nuber of erver, and then extend the rule bae..4 ean_delay.6.8.6.4 nuber_of_erver.4 ean_delay.6.8.6.4 utiliation_factor odified fuzzy et of Nuber of erver eberhip..8.6.4.. R R.3.4.5.6.7.8.9 Nuber of erver (noralied) R R Cube FA of Rule Bae 3 V V V R R H V V V ρ R R R R R V V V V V V R R R R R V R R V V H ρ Three-dienional plot for Rule Bae 3 nuber_of_pare.35.3 5.5.4 ean_delay.6.4.6.8 nuber_of_erver

Three-dienional plot for Rule Bae 3 nuber_of_pare.5.4.3.4 ean_delay.6.4.6 utiliation_factor.8 Tuning fuzzy yte. Review odel input and output variable, and if required redefine their range. 2. Review the fuzzy et, and if required define additional et on the univere of dicoure. The ue of wide fuzzy et ay caue the fuzzy yte to perfor roughly. 3. Provide ufficient overlap between neighbouring et. It i uggeted that triangle-to to-triangle triangle and trapezoid-to to-triangle triangle fuzzy et hould overlap between 25% to 5% of their bae. 4. Review the exiting rule, and if required add new rule to the rule bae. 5. Exaine the rule bae for opportunitie to write hedge rule to capture the pathological behaviour of the yte. 6. Adjut the rule execution weight. ot fuzzy logic tool allow control of the iportance of rule by changing a weight ultiplier. 7. Revie hape of the fuzzy et. In ot cae, fuzzy yte are highly tolerant of a hape approxiation.