SlideShare a Scribd company logo
1 of 17
Lecture 6
Introduction to Neural Networks
and Fuzzy Logic
President University Erwin Sitompul NNFL 6/1
Dr.-Ing. Erwin Sitompul
President University
http://zitompul.wordpress.com
2 0 2 1
President University Erwin Sitompul NNFL 6/2
Solution: Homework 5
Fuzzy Control
Fuzzy Logic
President University Erwin Sitompul NNFL 6/3
Solution: Homework 5
Fuzzy Control
Fuzzy Logic
r = 5 cm
y = 7 cm
e = –2 cm
y = 1 cm
e = +4 cm
level is too high
error is negative
level is too low
error is positive
President University Erwin Sitompul NNFL 6/4
FC with 5 Rules
Solution: Homework 5 (Cont.)
Fuzzy Control
Fuzzy Logic
 Rule 1: IF level is okay, THEN valve is no change.
Rule 2: IF level is low, THEN valve is open fast.
Rule 3: IF level is high, THEN valve is close fast.
Rule 4: IF level is okay AND rate is negative,
THEN valve is open slow.
Rule 5: IF level is okay AND rate is positive,
THEN valve is close slow.
 Rule 1: IF error is zero, THEN valve is no change.
Rule 2: IF error is positive,THEN valve is open fast.
Rule 3: IF error is negative,THEN valve is close fast.
Rule 4: IF error is zero AND error rate is positive,
THEN valve is open slow.
Rule 5: IF error is zero AND error rate is negative,
THEN valve is close slow.
error = reference – level
rate of error = – rate of level
e = r – y
e = r – y
e = – y
President University Erwin Sitompul NNFL 6/5
Solution: Homework 5 (Cont.)
Fuzzy Control
Fuzzy Logic
Valve control signal [%/s]
–30 –20 –10 0 10 20 30
1
Rate of level error [cm/s]
zero positive
negative
–4 –0.5 0 0.5 4
1
Level error [cm]
zero positive
negative
–5 –4 0 4 5
1
1st Set of Membership Functions
President University Erwin Sitompul NNFL 6/6
Solution: Homework 5 (Cont.)
Fuzzy Control
Fuzzy Logic
 Different
membership
functions will
result
different
control
results.
President University Erwin Sitompul NNFL 6/7
Solution: Homework 5 (Cont.)
Fuzzy Control
Fuzzy Logic
Level error [cm]
zero positive
negative
–5 -1 0 1 5
1
2nd Set of Membership Functions
Valve control signal [%/s]
–30 –20 –10 0 10 20 30
1
Rate of level error [cm/s]
zero positive
negative
–4 –0.5 0 0.5 4
1
President University Erwin Sitompul NNFL 6/8
Solution: Homework 5 (Cont.)
Fuzzy Control
Fuzzy Logic
 Different
membership
functions will
result
different
control
results.
President University Erwin Sitompul NNFL 6/9
Solution: Homework 5 (Cont.)
Fuzzy Control
Fuzzy Logic
Level error [cm]
zero positive
negative
–10 –? 0 ? 10
1
3rd Set of Membership Functions
Valve control signal [%/s]
–30 –20 –10 0 10 20 30
1
Rate of level error [cm/s]
zero positive
negative
–4 –0.5 0 0.5 4
1
President University Erwin Sitompul NNFL 6/10
Solution: Homework 5 (Cont.)
Fuzzy Control
Fuzzy Logic
 Different
membership
functions will
result
different
control
results.
President University Erwin Sitompul NNFL 6/11
PID-like Fuzzy Controllers
Fuzzy P Controller
u
+
–
e
r y
Fuzzy Control
Fuzzy Logic
 There are many possible realization of fuzzy controllers, as
presented in the following slides.
President University Erwin Sitompul NNFL 6/12
PID-like Fuzzy Controllers
Fuzzy PD Controller
u
+
–
e
r
y
Fuzzy Control
Fuzzy Logic
President University Erwin Sitompul NNFL 6/13
PID-like Fuzzy Controllers
Fuzzy PID Controller
u
e
r y
+
–
• Weakness: too many rules
Fuzzy Control
Fuzzy Logic
President University Erwin Sitompul NNFL 6/14
PID-like Fuzzy Controllers
Fuzzy PD+I Controller
r
+
–
e
y
Du
Fuzzy Control
Fuzzy Logic
President University Erwin Sitompul NNFL 6/15
PID-like Fuzzy Controllers
r u
+
–
e y
++
Du
Fuzzy PD+I Controller
Fuzzy Control
Fuzzy Logic
President University Erwin Sitompul NNFL 6/16
PID-like Fuzzy Controllers
Fuzzy PD+I Controller
r u
+
–
e y
++
Fuzzy Control
Fuzzy Logic
President University Erwin Sitompul NNFL 6/17
End of the Lecture
Fuzzy Control
Fuzzy Logic

More Related Content

Similar to nnfl.0620.pptx

Fta & pokayoke
Fta & pokayokeFta & pokayoke
Fta & pokayokerashmi322
 
Open loop and closed loop
Open loop and closed loopOpen loop and closed loop
Open loop and closed loopRiddhi Patel
 
Meeting w12 chapter 4 part 2
Meeting w12   chapter 4 part 2Meeting w12   chapter 4 part 2
Meeting w12 chapter 4 part 2Hattori Sidek
 
Puppet Camp Düsseldorf 2014: Continuously Deliver Your Puppet Code with Jenki...
Puppet Camp Düsseldorf 2014: Continuously Deliver Your Puppet Code with Jenki...Puppet Camp Düsseldorf 2014: Continuously Deliver Your Puppet Code with Jenki...
Puppet Camp Düsseldorf 2014: Continuously Deliver Your Puppet Code with Jenki...Puppet
 
Puppet Camp Duesseldorf 2014: Toni Schmidbauer - Continuously deliver your pu...
Puppet Camp Duesseldorf 2014: Toni Schmidbauer - Continuously deliver your pu...Puppet Camp Duesseldorf 2014: Toni Schmidbauer - Continuously deliver your pu...
Puppet Camp Duesseldorf 2014: Toni Schmidbauer - Continuously deliver your pu...NETWAYS
 
Debugging Intermittent Issues - A How To
Debugging Intermittent Issues - A How ToDebugging Intermittent Issues - A How To
Debugging Intermittent Issues - A How ToLloydMoore
 
Training for Production Management regarding the basic line management procedure
Training for Production Management regarding the basic line management procedureTraining for Production Management regarding the basic line management procedure
Training for Production Management regarding the basic line management procedureRadwan Ahmed Rahat
 
Fuzzy Logic Controller
Fuzzy Logic ControllerFuzzy Logic Controller
Fuzzy Logic Controllervinayvickky
 
PLC Programming Example - Conveyor Reject (Shift Register)
PLC Programming Example - Conveyor Reject  (Shift Register)PLC Programming Example - Conveyor Reject  (Shift Register)
PLC Programming Example - Conveyor Reject (Shift Register)ACC Automation
 
FMEA - What is FMEA. Everything about FMEA.
FMEA - What is FMEA. Everything about FMEA.FMEA - What is FMEA. Everything about FMEA.
FMEA - What is FMEA. Everything about FMEA.Dheeraj Chavan
 
Basics On Process Control and PID's.pdf
Basics On Process Control and PID's.pdfBasics On Process Control and PID's.pdf
Basics On Process Control and PID's.pdfboyrindrawan1
 
Troubleshooting QC Problems: Your QC has failed, what do you do next?
Troubleshooting QC Problems: Your QC has failed, what do you do next?Troubleshooting QC Problems: Your QC has failed, what do you do next?
Troubleshooting QC Problems: Your QC has failed, what do you do next?Randox
 
ch5 [Autosaved].ppt
ch5 [Autosaved].pptch5 [Autosaved].ppt
ch5 [Autosaved].pptmonirJihad2
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singhAdarsh Singh
 
open loop system Control system (Sindhumathy).pptx
open loop system    Control system (Sindhumathy).pptxopen loop system    Control system (Sindhumathy).pptx
open loop system Control system (Sindhumathy).pptxSindumathi5
 
basic of open and closed loop control system
basic of open and closed loop control systembasic of open and closed loop control system
basic of open and closed loop control systemSACHINNikam39
 
Screenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdfScreenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdfmuhammadsubhan626458
 

Similar to nnfl.0620.pptx (20)

Fta & pokayoke
Fta & pokayokeFta & pokayoke
Fta & pokayoke
 
Control system
Control systemControl system
Control system
 
Open loop and closed loop
Open loop and closed loopOpen loop and closed loop
Open loop and closed loop
 
Meeting w12 chapter 4 part 2
Meeting w12   chapter 4 part 2Meeting w12   chapter 4 part 2
Meeting w12 chapter 4 part 2
 
Puppet Camp Düsseldorf 2014: Continuously Deliver Your Puppet Code with Jenki...
Puppet Camp Düsseldorf 2014: Continuously Deliver Your Puppet Code with Jenki...Puppet Camp Düsseldorf 2014: Continuously Deliver Your Puppet Code with Jenki...
Puppet Camp Düsseldorf 2014: Continuously Deliver Your Puppet Code with Jenki...
 
Puppet Camp Duesseldorf 2014: Toni Schmidbauer - Continuously deliver your pu...
Puppet Camp Duesseldorf 2014: Toni Schmidbauer - Continuously deliver your pu...Puppet Camp Duesseldorf 2014: Toni Schmidbauer - Continuously deliver your pu...
Puppet Camp Duesseldorf 2014: Toni Schmidbauer - Continuously deliver your pu...
 
Debugging Intermittent Issues - A How To
Debugging Intermittent Issues - A How ToDebugging Intermittent Issues - A How To
Debugging Intermittent Issues - A How To
 
Training for Production Management regarding the basic line management procedure
Training for Production Management regarding the basic line management procedureTraining for Production Management regarding the basic line management procedure
Training for Production Management regarding the basic line management procedure
 
Ppt
PptPpt
Ppt
 
Fuzzy Logic Controller
Fuzzy Logic ControllerFuzzy Logic Controller
Fuzzy Logic Controller
 
UNIT-V.ppt
UNIT-V.pptUNIT-V.ppt
UNIT-V.ppt
 
PLC Programming Example - Conveyor Reject (Shift Register)
PLC Programming Example - Conveyor Reject  (Shift Register)PLC Programming Example - Conveyor Reject  (Shift Register)
PLC Programming Example - Conveyor Reject (Shift Register)
 
FMEA - What is FMEA. Everything about FMEA.
FMEA - What is FMEA. Everything about FMEA.FMEA - What is FMEA. Everything about FMEA.
FMEA - What is FMEA. Everything about FMEA.
 
Basics On Process Control and PID's.pdf
Basics On Process Control and PID's.pdfBasics On Process Control and PID's.pdf
Basics On Process Control and PID's.pdf
 
Troubleshooting QC Problems: Your QC has failed, what do you do next?
Troubleshooting QC Problems: Your QC has failed, what do you do next?Troubleshooting QC Problems: Your QC has failed, what do you do next?
Troubleshooting QC Problems: Your QC has failed, what do you do next?
 
ch5 [Autosaved].ppt
ch5 [Autosaved].pptch5 [Autosaved].ppt
ch5 [Autosaved].ppt
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singh
 
open loop system Control system (Sindhumathy).pptx
open loop system    Control system (Sindhumathy).pptxopen loop system    Control system (Sindhumathy).pptx
open loop system Control system (Sindhumathy).pptx
 
basic of open and closed loop control system
basic of open and closed loop control systembasic of open and closed loop control system
basic of open and closed loop control system
 
Screenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdfScreenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdf
 

More from Tigabu Yaya

ML_basics_lecture1_linear_regression.pdf
ML_basics_lecture1_linear_regression.pdfML_basics_lecture1_linear_regression.pdf
ML_basics_lecture1_linear_regression.pdfTigabu Yaya
 
03. Data Exploration in Data Science.pdf
03. Data Exploration in Data Science.pdf03. Data Exploration in Data Science.pdf
03. Data Exploration in Data Science.pdfTigabu Yaya
 
MOD_Architectural_Design_Chap6_Summary.pdf
MOD_Architectural_Design_Chap6_Summary.pdfMOD_Architectural_Design_Chap6_Summary.pdf
MOD_Architectural_Design_Chap6_Summary.pdfTigabu Yaya
 
MOD_Design_Implementation_Ch7_summary.pdf
MOD_Design_Implementation_Ch7_summary.pdfMOD_Design_Implementation_Ch7_summary.pdf
MOD_Design_Implementation_Ch7_summary.pdfTigabu Yaya
 
GER_Project_Management_Ch22_summary.pdf
GER_Project_Management_Ch22_summary.pdfGER_Project_Management_Ch22_summary.pdf
GER_Project_Management_Ch22_summary.pdfTigabu Yaya
 
lecture_GPUArchCUDA02-CUDAMem.pdf
lecture_GPUArchCUDA02-CUDAMem.pdflecture_GPUArchCUDA02-CUDAMem.pdf
lecture_GPUArchCUDA02-CUDAMem.pdfTigabu Yaya
 
lecture_GPUArchCUDA04-OpenMPHOMP.pdf
lecture_GPUArchCUDA04-OpenMPHOMP.pdflecture_GPUArchCUDA04-OpenMPHOMP.pdf
lecture_GPUArchCUDA04-OpenMPHOMP.pdfTigabu Yaya
 
6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdfTigabu Yaya
 
200402_RoseRealTime.ppt
200402_RoseRealTime.ppt200402_RoseRealTime.ppt
200402_RoseRealTime.pptTigabu Yaya
 
matrixfactorization.ppt
matrixfactorization.pptmatrixfactorization.ppt
matrixfactorization.pptTigabu Yaya
 
The Jacobi and Gauss-Seidel Iterative Methods.pdf
The Jacobi and Gauss-Seidel Iterative Methods.pdfThe Jacobi and Gauss-Seidel Iterative Methods.pdf
The Jacobi and Gauss-Seidel Iterative Methods.pdfTigabu Yaya
 
C_and_C++_notes.pdf
C_and_C++_notes.pdfC_and_C++_notes.pdf
C_and_C++_notes.pdfTigabu Yaya
 

More from Tigabu Yaya (20)

ML_basics_lecture1_linear_regression.pdf
ML_basics_lecture1_linear_regression.pdfML_basics_lecture1_linear_regression.pdf
ML_basics_lecture1_linear_regression.pdf
 
03. Data Exploration in Data Science.pdf
03. Data Exploration in Data Science.pdf03. Data Exploration in Data Science.pdf
03. Data Exploration in Data Science.pdf
 
MOD_Architectural_Design_Chap6_Summary.pdf
MOD_Architectural_Design_Chap6_Summary.pdfMOD_Architectural_Design_Chap6_Summary.pdf
MOD_Architectural_Design_Chap6_Summary.pdf
 
MOD_Design_Implementation_Ch7_summary.pdf
MOD_Design_Implementation_Ch7_summary.pdfMOD_Design_Implementation_Ch7_summary.pdf
MOD_Design_Implementation_Ch7_summary.pdf
 
GER_Project_Management_Ch22_summary.pdf
GER_Project_Management_Ch22_summary.pdfGER_Project_Management_Ch22_summary.pdf
GER_Project_Management_Ch22_summary.pdf
 
lecture_GPUArchCUDA02-CUDAMem.pdf
lecture_GPUArchCUDA02-CUDAMem.pdflecture_GPUArchCUDA02-CUDAMem.pdf
lecture_GPUArchCUDA02-CUDAMem.pdf
 
lecture_GPUArchCUDA04-OpenMPHOMP.pdf
lecture_GPUArchCUDA04-OpenMPHOMP.pdflecture_GPUArchCUDA04-OpenMPHOMP.pdf
lecture_GPUArchCUDA04-OpenMPHOMP.pdf
 
6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
 
lecture6.pdf
lecture6.pdflecture6.pdf
lecture6.pdf
 
lecture5.pdf
lecture5.pdflecture5.pdf
lecture5.pdf
 
lecture4.pdf
lecture4.pdflecture4.pdf
lecture4.pdf
 
lecture3.pdf
lecture3.pdflecture3.pdf
lecture3.pdf
 
lecture2.pdf
lecture2.pdflecture2.pdf
lecture2.pdf
 
Chap 4.ppt
Chap 4.pptChap 4.ppt
Chap 4.ppt
 
200402_RoseRealTime.ppt
200402_RoseRealTime.ppt200402_RoseRealTime.ppt
200402_RoseRealTime.ppt
 
matrixfactorization.ppt
matrixfactorization.pptmatrixfactorization.ppt
matrixfactorization.ppt
 
L20.ppt
L20.pptL20.ppt
L20.ppt
 
The Jacobi and Gauss-Seidel Iterative Methods.pdf
The Jacobi and Gauss-Seidel Iterative Methods.pdfThe Jacobi and Gauss-Seidel Iterative Methods.pdf
The Jacobi and Gauss-Seidel Iterative Methods.pdf
 
C_and_C++_notes.pdf
C_and_C++_notes.pdfC_and_C++_notes.pdf
C_and_C++_notes.pdf
 

Recently uploaded

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Recently uploaded (20)

Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 

nnfl.0620.pptx

  • 1. Lecture 6 Introduction to Neural Networks and Fuzzy Logic President University Erwin Sitompul NNFL 6/1 Dr.-Ing. Erwin Sitompul President University http://zitompul.wordpress.com 2 0 2 1
  • 2. President University Erwin Sitompul NNFL 6/2 Solution: Homework 5 Fuzzy Control Fuzzy Logic
  • 3. President University Erwin Sitompul NNFL 6/3 Solution: Homework 5 Fuzzy Control Fuzzy Logic r = 5 cm y = 7 cm e = –2 cm y = 1 cm e = +4 cm level is too high error is negative level is too low error is positive
  • 4. President University Erwin Sitompul NNFL 6/4 FC with 5 Rules Solution: Homework 5 (Cont.) Fuzzy Control Fuzzy Logic  Rule 1: IF level is okay, THEN valve is no change. Rule 2: IF level is low, THEN valve is open fast. Rule 3: IF level is high, THEN valve is close fast. Rule 4: IF level is okay AND rate is negative, THEN valve is open slow. Rule 5: IF level is okay AND rate is positive, THEN valve is close slow.  Rule 1: IF error is zero, THEN valve is no change. Rule 2: IF error is positive,THEN valve is open fast. Rule 3: IF error is negative,THEN valve is close fast. Rule 4: IF error is zero AND error rate is positive, THEN valve is open slow. Rule 5: IF error is zero AND error rate is negative, THEN valve is close slow. error = reference – level rate of error = – rate of level e = r – y e = r – y e = – y
  • 5. President University Erwin Sitompul NNFL 6/5 Solution: Homework 5 (Cont.) Fuzzy Control Fuzzy Logic Valve control signal [%/s] –30 –20 –10 0 10 20 30 1 Rate of level error [cm/s] zero positive negative –4 –0.5 0 0.5 4 1 Level error [cm] zero positive negative –5 –4 0 4 5 1 1st Set of Membership Functions
  • 6. President University Erwin Sitompul NNFL 6/6 Solution: Homework 5 (Cont.) Fuzzy Control Fuzzy Logic  Different membership functions will result different control results.
  • 7. President University Erwin Sitompul NNFL 6/7 Solution: Homework 5 (Cont.) Fuzzy Control Fuzzy Logic Level error [cm] zero positive negative –5 -1 0 1 5 1 2nd Set of Membership Functions Valve control signal [%/s] –30 –20 –10 0 10 20 30 1 Rate of level error [cm/s] zero positive negative –4 –0.5 0 0.5 4 1
  • 8. President University Erwin Sitompul NNFL 6/8 Solution: Homework 5 (Cont.) Fuzzy Control Fuzzy Logic  Different membership functions will result different control results.
  • 9. President University Erwin Sitompul NNFL 6/9 Solution: Homework 5 (Cont.) Fuzzy Control Fuzzy Logic Level error [cm] zero positive negative –10 –? 0 ? 10 1 3rd Set of Membership Functions Valve control signal [%/s] –30 –20 –10 0 10 20 30 1 Rate of level error [cm/s] zero positive negative –4 –0.5 0 0.5 4 1
  • 10. President University Erwin Sitompul NNFL 6/10 Solution: Homework 5 (Cont.) Fuzzy Control Fuzzy Logic  Different membership functions will result different control results.
  • 11. President University Erwin Sitompul NNFL 6/11 PID-like Fuzzy Controllers Fuzzy P Controller u + – e r y Fuzzy Control Fuzzy Logic  There are many possible realization of fuzzy controllers, as presented in the following slides.
  • 12. President University Erwin Sitompul NNFL 6/12 PID-like Fuzzy Controllers Fuzzy PD Controller u + – e r y Fuzzy Control Fuzzy Logic
  • 13. President University Erwin Sitompul NNFL 6/13 PID-like Fuzzy Controllers Fuzzy PID Controller u e r y + – • Weakness: too many rules Fuzzy Control Fuzzy Logic
  • 14. President University Erwin Sitompul NNFL 6/14 PID-like Fuzzy Controllers Fuzzy PD+I Controller r + – e y Du Fuzzy Control Fuzzy Logic
  • 15. President University Erwin Sitompul NNFL 6/15 PID-like Fuzzy Controllers r u + – e y ++ Du Fuzzy PD+I Controller Fuzzy Control Fuzzy Logic
  • 16. President University Erwin Sitompul NNFL 6/16 PID-like Fuzzy Controllers Fuzzy PD+I Controller r u + – e y ++ Fuzzy Control Fuzzy Logic
  • 17. President University Erwin Sitompul NNFL 6/17 End of the Lecture Fuzzy Control Fuzzy Logic