SlideShare a Scribd company logo
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 & pokayoke
rashmi322
 
Open loop and closed loop
Open loop and closed loopOpen loop and closed loop
Open loop and closed loop
Riddhi 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 To
LloydMoore
 
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
Radwan Ahmed Rahat
 
Ppt
PptPpt
Fuzzy Logic Controller
Fuzzy Logic ControllerFuzzy Logic Controller
Fuzzy Logic Controller
vinayvickky
 
UNIT-V.ppt
UNIT-V.pptUNIT-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)
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.pdf
boyrindrawan1
 
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].ppt
monirJihad2
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singh
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
Sindumathi5
 
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
SACHINNikam39
 
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
muhammadsubhan626458
 

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.pdf
Tigabu 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.pdf
Tigabu Yaya
 
MOD_Architectural_Design_Chap6_Summary.pdf
MOD_Architectural_Design_Chap6_Summary.pdfMOD_Architectural_Design_Chap6_Summary.pdf
MOD_Architectural_Design_Chap6_Summary.pdf
Tigabu Yaya
 
MOD_Design_Implementation_Ch7_summary.pdf
MOD_Design_Implementation_Ch7_summary.pdfMOD_Design_Implementation_Ch7_summary.pdf
MOD_Design_Implementation_Ch7_summary.pdf
Tigabu Yaya
 
GER_Project_Management_Ch22_summary.pdf
GER_Project_Management_Ch22_summary.pdfGER_Project_Management_Ch22_summary.pdf
GER_Project_Management_Ch22_summary.pdf
Tigabu Yaya
 
lecture_GPUArchCUDA02-CUDAMem.pdf
lecture_GPUArchCUDA02-CUDAMem.pdflecture_GPUArchCUDA02-CUDAMem.pdf
lecture_GPUArchCUDA02-CUDAMem.pdf
Tigabu Yaya
 
lecture_GPUArchCUDA04-OpenMPHOMP.pdf
lecture_GPUArchCUDA04-OpenMPHOMP.pdflecture_GPUArchCUDA04-OpenMPHOMP.pdf
lecture_GPUArchCUDA04-OpenMPHOMP.pdf
Tigabu Yaya
 
6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf6_RealTimeScheduling.pdf
6_RealTimeScheduling.pdf
Tigabu Yaya
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
Tigabu Yaya
 
lecture6.pdf
lecture6.pdflecture6.pdf
lecture6.pdf
Tigabu Yaya
 
lecture5.pdf
lecture5.pdflecture5.pdf
lecture5.pdf
Tigabu Yaya
 
lecture4.pdf
lecture4.pdflecture4.pdf
lecture4.pdf
Tigabu Yaya
 
lecture3.pdf
lecture3.pdflecture3.pdf
lecture3.pdf
Tigabu Yaya
 
lecture2.pdf
lecture2.pdflecture2.pdf
lecture2.pdf
Tigabu Yaya
 
Chap 4.ppt
Chap 4.pptChap 4.ppt
Chap 4.ppt
Tigabu Yaya
 
200402_RoseRealTime.ppt
200402_RoseRealTime.ppt200402_RoseRealTime.ppt
200402_RoseRealTime.ppt
Tigabu Yaya
 
matrixfactorization.ppt
matrixfactorization.pptmatrixfactorization.ppt
matrixfactorization.ppt
Tigabu Yaya
 
L20.ppt
L20.pptL20.ppt
L20.ppt
Tigabu 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.pdf
Tigabu Yaya
 
C_and_C++_notes.pdf
C_and_C++_notes.pdfC_and_C++_notes.pdf
C_and_C++_notes.pdf
Tigabu 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

RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 

Recently uploaded (20)

RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 

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