290 likes | 380 Views
CI Controllers for Lego Robots - Comparison Study. M. Gavalier, M. Hudec, R. Jak ša and P. Sinčák {gavalier,hudecm,jaksa,sincak}@neuron-ai.tuke.sk Dep. Of Cybernetics and AI ,TU Ko šice E-ISCI 2000
E N D
CI Controllers for Lego Robots - Comparison Study M. Gavalier, M. Hudec, R. Jakša and P. Sinčák {gavalier,hudecm,jaksa,sincak}@neuron-ai.tuke.sk Dep. Of Cybernetics and AI ,TU Košice E-ISCI 2000 Special thanks to Mr. S. Kaleta for his help in design and contruction the position detection system.
Structure of Presentation • Definiton of Task • Setup of the Fuzzy and ANN Controller • Lego Robot • Comparison of Fuzzy and ANN (+RL) • Examples of behavior
Definition of task • Motivation • Our goal is to bring the car from point A to the point B • Making a comparison of NN and Fuzzy controllers on the task of “intelligent parking procedure” • 2 types of environments
Observed parameters • The error of parking • The error of trajectory
Observed parameters • Number of collisions with obstacle(s) • Number of collisions with borders
Controller(s) • INPUT : • angle of vehicle • x coordinate of vehicle • OUTPUT: • steering angle
Fuzzy Controller (no obstacles) • 35 fuzzy rules • IF x=LE AND =RB THEN =PS LE – left RB – right below PS – positive small • Defuzzyfication – centroid • Mamdami fuzzy controller
Membership functions LE – Left LC – Left Center CE – Center RC – Right Center RI – Right RB Right below RU – Right Upper VE - Vertical NB – negative big NM- Negative medium ZE –zero
Neural Controller (no obstacles) • FF NN • Std. Backpropagation • 2 input, {5,7,10,20} hidden, 1 output neuron • Training data set was produced by Fuzzy C. • 3000 path samples were used
Experiments (no obstacles) Target place Starting place Fuzzy controller Neuro controller
Experiments (no obstacles) Fuzzy controller Neuro controller
Experiments (RL, no obstacles) 200. trial
Experiments (RL, no obstacles) 400. trial
Experiments (RL, no obstacles) 600. trial
Experiments (RL, no obstacles) 800. trial (last)
Results (no obstacles) Ratio of trajectory Error Fuzzy:NN is 1.0117
Experiments (with obst.) • Fuzzy: added 2 rules for obstacle detection • NN: added an NN for control close to obstacle(s)
NN RL Controller Paths after 100 and 200 trials
NN RL Controller Paths after 300 and 400 trials
Moving to the real (fuzzy) Simulator Real trajectory of robot
Moving to the real (neuro) Simulator Real trajectory of robot
Moving to the real Desired path… …and the reality …
Conclusion and further work • NN ? Fuzzy • RL
IR Port Lego Robot RCX Brick IR sensor HxWxL : 90x105x150 mm