6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic...

48
6. FUZZY INFERENCES IFK15037, 3 credits YUITA ARUM SARI, S.Kom, M.Kom [email protected] 1

Transcript of 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic...

Page 1: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

6.FUZZYINFERENCESIFK15037,3credits

YUITAARUMSARI,S.Kom,[email protected]

1

Page 2: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

HISTORY

YuitaArumSari,S.Kom,M.Kom 2

ProfessorLoKiA.Zadeh

In1965,Lo,iA.ZadehoftheUniversityofCaliforniaatBerkeleypublished"FuzzySets,"whichlaidoutthemathemaJcsoffuzzysettheoryand,byextension,fuzzylogic.ZadehhadobservedthatconvenJonalcomputerlogiccouldnotmanipulatedatathatrepresentedsubjecJveorvagueideas,sohecreatedfuzzylogictoallowcomputerstodeterminethedisJncJonsamongdatawithshadesofgray,similartotheprocessofhumanreasoning.hNp://www.cs.berkeley.edu/~zadeh/

Page 3: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

ExampleofApplicaPons

MasseyUniversity3

•  InthecityofSendaiinJapan,a16-staJonsubwaysystemiscontrolledbyafuzzycomputer(SeijiYasunobuandSojiMiyamotoofHitachi)–therideissosmooth,ridersdonotneedtoholdstraps

•  Nissan–fuzzyautomaJctransmission,fuzzyanJ-skidbrakingsystem•  CSK,Hitachi–Hand-wriJngRecogniJon•  Sony-Hand-printedcharacterrecogniJon•  Ricoh,Hitachi–VoicerecogniJon•  Tokyo’sstockmarkethashadatleastonestock-tradingporKoliobasedon

FuzzyLogicthatoutperformedtheNikkeiexchangeaverage•  NASAhasstudiedfuzzycontrolforautomatedspacedocking:simulaJons

showthatafuzzycontrolsystemcangreatlyreducefuelconsumpJon•  Canondevelopedanauto-focusingcamerathatusesacharge-coupled

device(CCD)tomeasuretheclarityoftheimageinsixregionsofitsfieldofviewandusetheinformaJonprovidedtodetermineiftheimageisinfocus.Italsotrackstherateofchangeoflensmovementduringfocusing,andcontrolsitsspeedtopreventovershoot.

Page 4: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

IntroducPonofFIS

IndianInsPtuteofTechnologyDelhi4

● AFuzzyInferenceSystem(FIS)isawayofmappinganinputspacetoanoutputspaceusingfuzzylogic

● FIS uses a collecJon of fuzzy membership funcJonsandrules,insteadofBooleanlogic.

● The rules in FIS (someJmes may be called as fuzzyexpertsystem)arefuzzyproducJonrulesoftheform:− ifpthenq,wherepandqarefuzzystatements.

● Forexample,inafuzzyrule− ifxislowandyishighthenzismedium.− Here x is low; y is high; z is medium are fuzzystatements;xandyareinputvariables;zisanoutputvariable,low,high,andmediumarefuzzysets.

Page 5: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

IntroducPonofFIS(cont.)

IndianInsPtuteofTechnologyDelhi5

● The antecedent describes towhat degree the ruleapplies, while the conclusion assigns a fuzzyfuncJontoeachofoneormoreoutputvariables.● Most tools for working with fuzzy expert systemsallowmorethanoneconclusionperrule.● Thesetofrulesinafuzzyexpertsystemisknownasknowledgebase.

Page 6: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

StructureofFuzzyExpertSystems

RinaldiMunirSTEIITB6

KnowledgeBase

InferenceEngine

FuzzificaPon

DefuzzficaPon

Crispvalue

Crispvalue

Page 7: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

FuncPonalProcess

RinaldiMunirSTEIITB7

FuzzyficaPon

FuzzyLogicOperaPon

ImplicaPon

AgregaPon

DefuzzyficaPon

INPUT

OUTPUT

CrispvalueàfuzzymembershipfuncJon

AntecedentmaybejoinedbyOR;ANDoperators

Page 8: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

FuzzyficaPon

RinaldiMunirSTEIITB8

Fuzzyfikasi:prosesmemetakannilaicrisp(numerik)kedalamhimpunanfuzzydanmenentukanderajatkeanggotaannyadidalamhimpunanfuzzy.Halinidilakukankarenadatadiprosesberdasarkanteorihimpunanfuzzysehinggadatayangbukandalambentukfuzzyharusdiubahkedalambentukfuzzy.

Page 9: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

Example:FuzzyficaPon

RinaldiMunirSTEIITB9

Page 10: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

Example:FuzzyficaPon

Sumber:SriKusumaDewi/AplikasiLogikaFu7zzy10

Page 11: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

FuzzyMembershipFuncPon

FuzzyLogicwithEngineeringApplicaJons:TimothyJ.Ross11

TypesofMembershipFuncJons•ThemostcommonlyusedinpracJceare–Triangles–Trapezoids–Bellcurves–Gaussian,and–Sigmoidal

Page 12: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

FuzzyMembershipFuncPon

FuzzyLogicwithEngineeringApplicaJons:TimothyJ.Ross12

Page 13: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

FuzzyMembershipFuncPon

FuzzyLogic:Intelligence,Control,andInformaJon,J.YenandR.Langari,PrenJceHall13

Page 14: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

FuzzyMembershipFuncPon

FuzzyLogic:Intelligence,Control,andInformaJon,J.YenandR.Langari,PrenJceHall14

Page 15: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

FuzzyMembershipFuncPon

FuzzyLogic:Intelligence,Control,andInformaJon,J.YenandR.Langari,PrenJceHall15

Page 16: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

FuzzyMembershipFuncPon

FuzzyLogic:Intelligence,Control,andInformaJon,J.YenandR.Langari,PrenJceHall16

Page 17: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

FuzzyMembershipFuncPon

FuzzyLogic:Intelligence,Control,andInformaJon,J.YenandR.Langari,PrenJceHall17

Page 18: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

FuzzyMembershipFuncPon

FuzzyLogic:Intelligence,Control,andInformaJon,J.YenandR.Langari,PrenJceHall18

Page 19: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

FuzzyLogicOperaPon

Sumber:SriKusumaDewi/AplikasiLogikaFu7zzy19

Jikabagianantesendendihubungkanolehkonektorand,or,dannot,makaderajatkebenarannyadihitungdenganoperasifuzzyyangbersesuaian

Page 20: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

ImplicaPon

Sumber:SriKusumaDewi/AplikasiLogikaFu7zzy20

Page 21: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

ImplicaPon

Wikipedia21

Page 22: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

ImplicaPon

Sumber:SriKusumaDewi/AplikasiLogikaFu7zzy22

Page 23: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

AggregaPon

RinaldiMunir23

Page 24: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

AggregaPon

RinaldiMunir24

Page 25: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

AggregaPon

RinaldiMunir25

Page 26: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

AggregaPon

RinaldiMunir26

Page 27: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

AggregaPon

RinaldiMunir27

Page 28: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

AggregaPon

RinaldiMunir28

Page 29: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

AggregaPon

Mathworks29

Page 30: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

DefuzzyficaPon

Mathworks30

Page 31: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

DefuzzyficaPon

RinaldiMunir31

•  Strategiyangumumdipakaidalamdefuzzifikasiadalahmenentukanbentukkompromiterbaik.

•  Metode-metodeuntukstrategiiniadalah:1.  Metodekeanggotaanmaximum(max-membership)2.  Metodepusatluas(CenterofArea,CoA).3.  Metodekeanggotaanmaksimumrata-rata(Mean-max

MembershipatauMiddle-of-Maxima)

Page 32: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

DefuzzyficaPon

RinaldiMunir32

Page 33: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

DefuzzyficaPon

RinaldiMunir33

Page 34: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

DefuzzyficaPon

RinaldiMunir34

Page 35: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir35

Page 36: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir36

Page 37: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir37

Page 38: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir38

Page 39: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir39

Page 40: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir40

Page 41: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir41

Page 42: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir42

Page 43: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir43

Page 44: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir44

Page 45: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir45

Page 46: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir46

Page 47: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

RinaldiMunir47

Page 48: 6. FUZZY INFERENCES IFK15037, 3 credits · Rinaldi Munir STEI ITB 7 FuzzyficaPon Fuzzy Logic Operaon Implicaon AgregaPon Defuzzyficaon INPUT OUTPUT Crisp value à fuzzy membership

YuitaArumSari,S.Kom,M.Kom 48

Thank