SlideShare una empresa de Scribd logo
1 de 17
FUZZY LOGIC CONTROL IN
AUTOMATED CAR SYSTEM
Presented by:
Mrunal Selokar [2013BCS065]
Suraj Bobade [2013BCS072]
WHAT IS IT…..?
The automated car system takes the
car speed and the distance of the
obstacle as an input and decides what
angular turn the car should take 
STEPS IN FUZZY INFERENCE
SYSTEM
• Fuzzification
• Rules
• Inference
• Defuzzification
FUZZIFICATION
Parameters of the fuzzy sets
SPEED:
slow [20 to 60 kmph]
Medium [40 to 80 kmph]
fast [60 to 100 kmph]
OBSTACLE DISTANCE:
Close [5 to 15 meters]
Medium [10 to 20 meters]
Far [15 to 25 meters]
RULES
Rule 1: If (obstacle is far)&(speed is slow) then angle is straight
Rule 2: If (obstacle is far)&(speed is medium) then angle is smallT
Rule 3: If (obstacle is far)&(speed is fast) then angle is medT
Rule 4: If (obstacle is med)&(speed is slow) then angle is smallT
Rule 5: If (obstacle is med)&(speed is medium) then angle is medT
Rule 6: If (obstacle is med)&(speed is fast) then angle is bigT
Rule 7: If (obstacle is close)&(speed is slow) then angle is medT
Rule 8: If (obstacle is close)&(speed is medium) then angle is bigT
Rule 9: If (obstacle is close)&(speed is fast) then angle is bigT
EXAMPLE
Speed= 45kmph ; obstacle distance= 12 meter
Delta1 =x - point1
Delta2 =point 2 – x
If(Delta1<=0 or Delta2<=0)
the Degree of membership=0
Else
Degree of membership= min { (Delta1
*slope1),(Delta2 *slope2 ),1}
For speed under slow region:
Point1=20,point2=60
Delta1=45-20=25
Delta2=60-45=15
Slope1=y2-y1/x2-x1
=1-0/40-20
=1/20
=0.05
Slope1=y2-y1/x2-x1
=1-0/60-40
=1/20
=0.05
µ=min{25*0.05 , 15*0.05 , 1}
=min{1.25,0.75,1}
=0.75
For speed under medium region:
Point1=40,point2=80
Delta1=45-40=5
Delta2=80-45=35
Slope1=y2-y1/x2-x1
=1-0/60-40
=1/20
=0.05
Slope1=y2-y1/x2-x1
=1-0/80-60
=1/20
=0.05
µ=min{5*0.05 , 35*0.05 , 1}
=min{0.25,1.75,1}
=0.25
For obstacle distance under close region:
Point1=5,point2=15
Delta1=12-5=7
Delta2=15-12=3
Slope1=y2-y1/x2-x1
=1-0/10-5
=1/5
=0.2
Slope1=y2-y1/x2-x1
=1-0/15-10
=1/5
=0.2
µ=min{7*0.2 , 3*0.2 , 1}
=min{1.4,0.6,1}
=0.6
For obstacle distance under medium region:
Point1=10,point2=20
Delta1=12-10=2
Delta2=20-12=8
Slope1=y2-y1/x2-x1
=1-0/15-10
=1/5
=0.2
Slope1=y2-y1/x2-x1
=1-0/20-15
=1/5
=0.2
µ=min{2*0.2 , 8*0.2 , 1}
=min{0.4,1.6,1}
=0.4
Speed:
Slow: µ=
0.75
Medium: µ=
0.25
Fast: µ= 0
Obstacle distance:
Close: µ= 0.6
Medium: µ= 0.4
Far: µ= 0
Resulting degrees of
membership
Rule 1 =0
Rule 2 =0
Rule 3 =0
Rule 4 =min{0.4,0.75}=0.4
Rule 5 =min{0.4,0.25}=0.25
Rule 6= min{0.4,0}=0
Rule 7=0
Rule 8=0
Rule 9=0
Maximum = 0.4
Centroid= (∑Ax) ∑A
=A*40/A
= 40 degrees
Therefore, the car will turn by 40
degrees.
THANK YOU 

Más contenido relacionado

La actualidad más candente

Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Mahmoud El-tayeb
 
Neuro-fuzzy systems
Neuro-fuzzy systemsNeuro-fuzzy systems
Neuro-fuzzy systemsSagar Ahire
 
Fuzzy logic control of washing m achines
Fuzzy logic control of washing m achinesFuzzy logic control of washing m achines
Fuzzy logic control of washing m achinespradnya patil
 
Application of fuzzy logic
Application of fuzzy logicApplication of fuzzy logic
Application of fuzzy logicViraj Patel
 
Kinematic models and constraints.ppt
Kinematic models and constraints.pptKinematic models and constraints.ppt
Kinematic models and constraints.pptssuser8698eb
 
Performance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning AlgorithmsPerformance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning AlgorithmsKush Kulshrestha
 
An Introduction to Soft Computing
An Introduction to Soft ComputingAn Introduction to Soft Computing
An Introduction to Soft ComputingTameem Ahmad
 
Fuzzy set and its application
Fuzzy set and its applicationFuzzy set and its application
Fuzzy set and its applicationKalaivananRaja
 
camera-based Lane detection by deep learning
camera-based Lane detection by deep learningcamera-based Lane detection by deep learning
camera-based Lane detection by deep learningYu Huang
 
Cognitive Robotics & Applications.pdf
Cognitive Robotics & Applications.pdfCognitive Robotics & Applications.pdf
Cognitive Robotics & Applications.pdfSuvin Nimnaka
 
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...Mohammed Bennamoun
 

La actualidad más candente (20)

Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Neuro-fuzzy systems
Neuro-fuzzy systemsNeuro-fuzzy systems
Neuro-fuzzy systems
 
Fuzzy logic control of washing m achines
Fuzzy logic control of washing m achinesFuzzy logic control of washing m achines
Fuzzy logic control of washing m achines
 
Application of fuzzy logic
Application of fuzzy logicApplication of fuzzy logic
Application of fuzzy logic
 
Seminar.1pptx
Seminar.1pptxSeminar.1pptx
Seminar.1pptx
 
Kinematic models and constraints.ppt
Kinematic models and constraints.pptKinematic models and constraints.ppt
Kinematic models and constraints.ppt
 
Fuzzy+logic
Fuzzy+logicFuzzy+logic
Fuzzy+logic
 
Adaptive cruise control acc
Adaptive cruise control accAdaptive cruise control acc
Adaptive cruise control acc
 
Performance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning AlgorithmsPerformance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning Algorithms
 
If then rule in fuzzy logic and fuzzy implications
If then rule  in fuzzy logic and fuzzy implicationsIf then rule  in fuzzy logic and fuzzy implications
If then rule in fuzzy logic and fuzzy implications
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy logic mis
Fuzzy logic misFuzzy logic mis
Fuzzy logic mis
 
An Introduction to Soft Computing
An Introduction to Soft ComputingAn Introduction to Soft Computing
An Introduction to Soft Computing
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy set and its application
Fuzzy set and its applicationFuzzy set and its application
Fuzzy set and its application
 
camera-based Lane detection by deep learning
camera-based Lane detection by deep learningcamera-based Lane detection by deep learning
camera-based Lane detection by deep learning
 
Cognitive Robotics & Applications.pdf
Cognitive Robotics & Applications.pdfCognitive Robotics & Applications.pdf
Cognitive Robotics & Applications.pdf
 
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
 
Fuzzy and nn
Fuzzy and nnFuzzy and nn
Fuzzy and nn
 

Similar a Fuzzy Logic Control in Automated Car System

adapative cruse control sushant
adapative cruse control sushantadapative cruse control sushant
adapative cruse control sushantsushant vharakat
 
Driving in TORCS using modular fuzzy controllers - Poster - EvoGAMES 2017
Driving in TORCS using modular fuzzy controllers - Poster - EvoGAMES 2017Driving in TORCS using modular fuzzy controllers - Poster - EvoGAMES 2017
Driving in TORCS using modular fuzzy controllers - Poster - EvoGAMES 2017Antonio Mora
 
Speed and acceleration
Speed and accelerationSpeed and acceleration
Speed and accelerationGreg Scrivin
 
SAM_METHOD 1 _Training Presentation .pptx.pdf
SAM_METHOD 1 _Training Presentation .pptx.pdfSAM_METHOD 1 _Training Presentation .pptx.pdf
SAM_METHOD 1 _Training Presentation .pptx.pdfhasansyeadbuft
 

Similar a Fuzzy Logic Control in Automated Car System (6)

adapative cruse control sushant
adapative cruse control sushantadapative cruse control sushant
adapative cruse control sushant
 
Driving in TORCS using modular fuzzy controllers - Poster - EvoGAMES 2017
Driving in TORCS using modular fuzzy controllers - Poster - EvoGAMES 2017Driving in TORCS using modular fuzzy controllers - Poster - EvoGAMES 2017
Driving in TORCS using modular fuzzy controllers - Poster - EvoGAMES 2017
 
Speed and acceleration
Speed and accelerationSpeed and acceleration
Speed and acceleration
 
Ais 040(rev.1)
Ais 040(rev.1)Ais 040(rev.1)
Ais 040(rev.1)
 
SAM_METHOD 1 _Training Presentation .pptx.pdf
SAM_METHOD 1 _Training Presentation .pptx.pdfSAM_METHOD 1 _Training Presentation .pptx.pdf
SAM_METHOD 1 _Training Presentation .pptx.pdf
 
IPMU TORCS
IPMU TORCSIPMU TORCS
IPMU TORCS
 

Último

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
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
(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
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 

Último (20)

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
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
(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
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 

Fuzzy Logic Control in Automated Car System

  • 1. FUZZY LOGIC CONTROL IN AUTOMATED CAR SYSTEM Presented by: Mrunal Selokar [2013BCS065] Suraj Bobade [2013BCS072]
  • 2. WHAT IS IT…..? The automated car system takes the car speed and the distance of the obstacle as an input and decides what angular turn the car should take 
  • 3. STEPS IN FUZZY INFERENCE SYSTEM • Fuzzification • Rules • Inference • Defuzzification
  • 4. FUZZIFICATION Parameters of the fuzzy sets SPEED: slow [20 to 60 kmph] Medium [40 to 80 kmph] fast [60 to 100 kmph] OBSTACLE DISTANCE: Close [5 to 15 meters] Medium [10 to 20 meters] Far [15 to 25 meters]
  • 5.
  • 6. RULES Rule 1: If (obstacle is far)&(speed is slow) then angle is straight Rule 2: If (obstacle is far)&(speed is medium) then angle is smallT Rule 3: If (obstacle is far)&(speed is fast) then angle is medT Rule 4: If (obstacle is med)&(speed is slow) then angle is smallT Rule 5: If (obstacle is med)&(speed is medium) then angle is medT Rule 6: If (obstacle is med)&(speed is fast) then angle is bigT Rule 7: If (obstacle is close)&(speed is slow) then angle is medT Rule 8: If (obstacle is close)&(speed is medium) then angle is bigT Rule 9: If (obstacle is close)&(speed is fast) then angle is bigT
  • 7. EXAMPLE Speed= 45kmph ; obstacle distance= 12 meter
  • 8.
  • 9. Delta1 =x - point1 Delta2 =point 2 – x If(Delta1<=0 or Delta2<=0) the Degree of membership=0 Else Degree of membership= min { (Delta1 *slope1),(Delta2 *slope2 ),1}
  • 10. For speed under slow region: Point1=20,point2=60 Delta1=45-20=25 Delta2=60-45=15 Slope1=y2-y1/x2-x1 =1-0/40-20 =1/20 =0.05 Slope1=y2-y1/x2-x1 =1-0/60-40 =1/20 =0.05 µ=min{25*0.05 , 15*0.05 , 1} =min{1.25,0.75,1} =0.75
  • 11. For speed under medium region: Point1=40,point2=80 Delta1=45-40=5 Delta2=80-45=35 Slope1=y2-y1/x2-x1 =1-0/60-40 =1/20 =0.05 Slope1=y2-y1/x2-x1 =1-0/80-60 =1/20 =0.05 µ=min{5*0.05 , 35*0.05 , 1} =min{0.25,1.75,1} =0.25
  • 12. For obstacle distance under close region: Point1=5,point2=15 Delta1=12-5=7 Delta2=15-12=3 Slope1=y2-y1/x2-x1 =1-0/10-5 =1/5 =0.2 Slope1=y2-y1/x2-x1 =1-0/15-10 =1/5 =0.2 µ=min{7*0.2 , 3*0.2 , 1} =min{1.4,0.6,1} =0.6
  • 13. For obstacle distance under medium region: Point1=10,point2=20 Delta1=12-10=2 Delta2=20-12=8 Slope1=y2-y1/x2-x1 =1-0/15-10 =1/5 =0.2 Slope1=y2-y1/x2-x1 =1-0/20-15 =1/5 =0.2 µ=min{2*0.2 , 8*0.2 , 1} =min{0.4,1.6,1} =0.4
  • 14. Speed: Slow: µ= 0.75 Medium: µ= 0.25 Fast: µ= 0 Obstacle distance: Close: µ= 0.6 Medium: µ= 0.4 Far: µ= 0 Resulting degrees of membership
  • 15. Rule 1 =0 Rule 2 =0 Rule 3 =0 Rule 4 =min{0.4,0.75}=0.4 Rule 5 =min{0.4,0.25}=0.25 Rule 6= min{0.4,0}=0 Rule 7=0 Rule 8=0 Rule 9=0 Maximum = 0.4
  • 16. Centroid= (∑Ax) ∑A =A*40/A = 40 degrees Therefore, the car will turn by 40 degrees.