Presentation is loading. Please wait.

Presentation is loading. Please wait.

NEURO-FUZZY LOGIC 1 X 0 A age 1 0 20 Crisp version for young age.

Similar presentations


Presentation on theme: "NEURO-FUZZY LOGIC 1 X 0 A age 1 0 20 Crisp version for young age."— Presentation transcript:

1

2 NEURO-FUZZY LOGIC

3 1 X 0 A

4 age 1 0 20 Crisp version for young age

5 201016 age 1 0 A kid The teenager A young man Crisp definitions of young age

6 1 age 0 65 Crisp version of old age

7 1 age 0 65 70 75 Elderly Old Oldest Crisp definitions of old age

8 FUZZY SETS

9 age 1 20 652545 0,9 0,2 0 Possible fuzzy set of young age

10 age 1 0 65 25 16 45 0,2 0 0,8 Possible fuzzy set of old age

11 MEMBERSHIP FUNCTIONS

12 65 age 1 0,8 0,2 0 20 4525 Young Old Possible membership functions for young and old ages

13 IF-THEN LINGUISTIC RULES

14 age 1 0 16 65 young old middle aged 40 IF a man have age less than 40 years old, THEN he is a young manIF a man have age more than 40 years old, THEN he is old manIF a man have age 40 years old, THEN he is middle aged man

15 1 0 negative positive zero max min IF a man is old and his age is more than 40 years old, THEN level of car incidents protection is high (positive) IF a man is young and his age is less than 40 years old, THEN level of car incidents protection is low (negative) IF a man is middle-aged and his age about 40 years old, THEN level of car incidents protection is normal (zero point).

16

17 1 age lessabout 40 more 32 0,7 0,2 0 minmax level 0 negative zero positive 0,7 0,2 Center of gravity 32 years old age less than 40 with degree 0.7; Level of car incident protection, in this age, is negative (low) with the same degree 32 years old age is about 40 with degree 0.2; Level of car incident protection, in this age, is normal (zero) with the same degree Center of gravity calculation is crisp value of car incident protection level for age 32 years old.

18 FUZZY LOGIC CONTROL SYSTEMS

19 distance 1 0 less than 10cm more than 10 cm about 10 cm 10 cm IF distance between the robot and the obstacle is less than 10 cm, THEN steer for (a) -10 degr. IF distance between the robot and the obstacle is more than 10 cm, THEN steer for( a )+10degr. IF distance between the robot and the obstacle is 10 cm, THEN go straightforward

20 1 0 negative positive zero a max a min IF distance between the robot and the obstacle is more than 10 cm, THEN turn to the right ( a is positive) IF distance between the robot and the obstacle is less than 10 cm, THEN turn to the left ( a is negative) IF distance between the robot and the obstacle is nearly 10 cm, THEN keep the direction

21 1 distance less nearly 10 cm more 5 cm 0,7 0,2 0 a mina max0 negative zero positive 0,7 0,2 Center of gravity 5cm less than 10 cm with degree 0.7; Steering angle has to be negative with the same degree ( turn to the left) 5 cm is nearly 10 cm with degree 0.2; Steering angle has to be normal (zero) with the same degree (keep the direction) Center of gravity calculation is crisp output of control value

22 FUZZY LOGIC CONTROLLER

23 Forward Fast SmallBig Rule 3 Backward Medium Forwad Medium SmallRule 2 Forwad Medium Forwad Medium Big Rule 1 Right motorLeft motor BackRightFrontLeft Motor SpeedsDistancesRules IF the distance to the left is Big and the distance in front is Big and the distance to the right is Big and the distance on the back is Big THEN left motor speed is Forward Medium and right motor speed is Forward Medium

24 Forward Fast SmallBig Rule 3 Backward Medium Forwad Medium Small Rule 2 Forwad Medium Forwad Medium Big Rule 1 Right motorLeft motor BackRightFrontLeft Motor SpeedsDistancesRules IF the distance in front is Small (other distances are not considered) THEN left motor speed is Forward Medium and right motor speed is Backward Medium.

25 Forward Fast SmallBig Rule 3 Backward Medium Forwad Medium SmallRule 2 Forwad Medium Forwad Medium Big Rule 1 Right motorLeft motor BackRightFrontLeft Motor SpeedsDistancesRules IF the distance to the left is Big and distance in front is Big and distance to the right is Big and distance to the back is Small THEN left motor speed is Forward Fast and right motor speed is Forward Fast

26 Small Medium Big Membership functions Input Left moto r Left motor Right motor Logical Operations Membership functions Output Distance Left Front Right Back AND Inference Right moto r FUZZY LOGIC CONTROLLER

27 NEURAL NETWORK CONTROL SYSTEMS

28 summing unit threshold PERCEPTRON 0.3-0.26 -0.51 -0.77 0.31 0.2 0.2 0.15 0.26 Right motor (weights) 0.3 0.2 0.2 0.3 -0.72 -0.46 -0.2 0.26 0.15 Left motor (weights) Threshold S1 S2 S3 S4 S5 S6 S7 S8 Sensors SAMPLE OF PERCEPTRON FOR CONTROL

29 S1 S2 S3 S4 S5 S6 S7 S8 Sensors Summarizing of weights Motors Left Forward Right Back Threshold Left motor Right motor Distance SAMPLE OF PERCEPTRON NETWORK FOR CONTROL

30 ADAPTIVE NEURO-FUZZY CONTROLLER

31 FLC MLP error desired performance Learning parameter performance actual performance output Rule 1: IF (Gradient of Error is Negative Big) AND (Change Gradient of Error is Negative Big) THEN Change of Learning Parameters is Negative Small ………… Rule 13: IF (Gradient of Error is Zero Equal) AND (Change Gradient of Error is is Zero Equal) THEN Change of Learning Parameters is Positive Small …………. Rule 25: IF( Gradient of Error is Positive Big ) AND ( Change Gradient of Error is is Positive Big) THEN Change of Learning Parameters is Negative Small FLC- Fuzzy Logic Controller MLP- Multilayer Perceptron

32


Download ppt "NEURO-FUZZY LOGIC 1 X 0 A age 1 0 20 Crisp version for young age."

Similar presentations


Ads by Google