Fuzzy Logic and Robot Control Mundhenk and Itti, 2007.

Slides:



Advertisements
Similar presentations
Conservation of Energy
Advertisements

Objective 1- Newton’s Three Laws of Motion
Chapter 4 Linear Motion.
BATTLE OF THE BOOK Subject: SCIENCE Twenty Questions
Motion Objective 4.01 Determine the motion of an object by following and measuring its position over time.
Introductory Control Theory I400/B659: Intelligent robotics Kris Hauser.
Three featured concepts are: Speed Velocity Acceleration
60 km/h 0 km/h > 60 km/h < 60 km/h
Getting started with LEGO NXT Mindstorms software This is intended to be a short introduction to the LEGO Mindstorms software and programming the LEGO.
Chapter 4 Linear Motion.
18-Dec-14 Pruning. 2 Exponential growth How many leaves are there in a complete binary tree of depth N? This is easy to demonstrate: Count “going left”
Sensor Based Planners Bug algorithms.
SCIENCE PASS REVIEW FORCE & MOTION Brooke Ard| 5 th Grade Math & Science | Griggs Road Elementary.
Student Objective Click below for today’s topic & warmup
The Universe Motions of galaxies The expanding Universe.
Applications: Load Sway Example. Cranes load and unload containers to/from ships -Load always sways -Swaying load may hit other containers -Swaying load.
Do Now for 4/24/13 Take out E77 and 78 HW: None. E79 Inertia Around a Curve Today’s Target: I will be able to see how inertia affects how an object moves.
Basic maneuvers.
Introduction to Control: How Its Done In Robotics R. Lindeke, Ph. D. ME 4135.
Chapter 12 Driving in Adverse Conditions
Lect. 5 Lead-Lag Control Basil Hamed
DAMN : A Distributed Architecture for Mobile Navigation Julio K. Rosenblatt Presented By: Chris Miles.
Studying the Force of Gravity
Shutter Speed Afzaal Yousaf Baig
Fuzzy Logic. Priyaranga Koswatta Mundhenk and Itti, 2007.
Gravity Luke – I am your Father! I just know this is really what astronauts are thinking when they are floating around out there!
Dark Matter Masses of Galaxies Gravity and Light Black Holes What is Dark Matter?
What are Forces? A force is a push or a pull on an object.
Unit 1 – Natural Forces on a vehicle
Natural Laws and Driving
Motion Notes Physical Science.
1 Constant Following Distance Simulations CS547 Final Project December 6, 1999 Jeremy Elson.
Chapter 3 Forces.
lesson 3.3 STARTING, STOPPING, STEERING, AND TARGETING
Artificial Intelligence in Game Design Lecture 6: Fuzzy Logic and Fuzzy State Machines.
Units to read: 14, 15, 16, 17,18. Mass and Inertia Mass is described by the amount of matter an object contains. This is different from weight – weight.
Based on data collected, graph and calculate average speed using distance and time. WARM-UP Student Objective Tell me about the motion of the object for.
What is Force? A force is a push or pull that causes an object to move faster or slower, stop, change direction, or change size or shape. Without force,
MOTION Lesson 1: What Factors Affect Motion?
FORCES AND MOTION CREATED BY PHYLLIS WILLIAMS. WHAT IS A FORCE? It is a push or pull. Forces can make things move faster, slower, stop, or change direction.
Sight Word List.
The “Big Bang” Theory Birth of the Universe. The Big Bang Theory First and foremost – THIS IS A THEORY! – It is up to you whether you want to believe.
Lesson 3.3 STARTING, STOPPING, STEERING, AND TARGETING It takes considerable skill and practice to develop habits that will allow you to move the vehicle.
Welcome to Physics Main Principal #1: Physics is the study of moving objects! We want to be able to predict how objects will move in all situations.
ECE 192: NATCAR Team (Triton X) Sponsored by IEEE ( Vincent Bantigue, Joseph Formanes,
Artificial Intelligence in Game Design Lecture 8: Complex Steering Behaviors and Combining Behaviors.
WE’RE DONE WITH CHEMISTRY! NO MORE: –Chemical Equations –Writing Formulas –Periodic Table –Cations & Anions –…–…
Depth of Field. Understanding how to control the depth of field in a photograph is an essential skill for you to learn and apply to your own photographs.
Artificial Intelligence in Game Design Lecture 20: Hill Climbing and N-Grams.
Forces and motions I understand what causes and what stops motions on the planet Earth
Gravity Luke – I am your Father! I just know this is really what astronauts are thinking when they are floating around out there!
Do Now! Can you put the syllabus and Definition list in your folders for our new topic Topic 2: Mechanics.
Forces and Motion. What is Forces and Motion? Here’s a quick overview. Don’t worry, we’ll go over it piece by piece.
Robotics Training For The Riverside Robotics Society
A great man who created a complete new mathematics with many practical applications.
Gravity Luke – I am your Father!
PID Control Systems (Proportional, Integral, Derivative)
WE’RE DONE WITH CHEMISTRY!
NATURAL LAWS & DRIVING It doesn’t matter what kind of vehicle you own or how skilled a driver you are, these forces affect your driving. Learning to understand.
Force and motion 5.P.5A.1 Use mathematical and computational thinking to describe and predict the motion of an object (including position, direction,
A great man who created a complete new mathematics with many practical applications.
Chapter 3 Cruise Control
Homework 8 Min Max “Temperature is low” AND “Temperature is middle”
Forces and Motion Gravity.
Gravity Luke – I am your Father!
Homework 9 Min Max “Temperature is low” AND “Temperature is middle”
Gravity Luke – I am your Father!
Using Parametric Curves to Describe Motions
Gravity Luke – I am your Father!
lesson 3.3 STARTING, STOPPING, STEERING, AND TARGETING
Presentation transcript:

Fuzzy Logic and Robot Control Mundhenk and Itti, 2007

Problem:  We have a robot and we want it to move around obstacles based on how close we are to them. How do we do this? Current Path

Ideal New Path The closer you are to an obstacle, the harder you need to turn to avoid it. Your course adjustments are minimally proportional to the distance to an obstacle and your current speed and heading.

Very Basic Control Theory  Your speed towards a goal or away from an object should be proportional to the distance from it. If you want to get to a goal in an optimal amount of time you want to move quickly. However, you need to decelerate as you grow near the target so you can have more control.  Speed  distance-to-target

Very Basic Control Theory  In systems with momentum (i.e. the real world) we have to worry about more complex acceleration and deceleration. We can overshoot our target or stop short!  You increase your rate of deceleration based on how close you are to a goal or obstacle.  You can also integrate over the distance to a goal to create a steady state.  This is the basic idea behind a PID controller. Proportional Integral Derivative  The physical derivation of PID can be tricky, we will avoid it for now. However this part of an extremely interesting topic!

IDEA!  Lets just hack a fuzzy controller together and avoid some math. The gods will curse us…. But if it works, that may be all that matters!  Derive rule of thumb ideas for speed and direction If I’m 6 meters from the obstacle, am I far from it?

Near? Far? Ideal New Path In addition to a change in speed, we may need to turn to avoid hitting an obstacle. If we are near, our course correction may need to be more abrupt.

Try some fuzzy rules…  Lets look at adjusting trajectory first then we will look at speed… If an obstacle is near and center, turn sharp right or left. If an obstacle is far and center, turn soft left or right. If an obstacle is near, turn slightly right or left, just in case. Etc…

IF AND THEN 20 M0 M Distance Trajectory 0°90° -90° Near Far Center Hard Right Soft Right Center Turn -25°0° A very simple example... Yes the robot only turns right.

IF AND THEN 20 M0 M DistanceTrajectory 0°90° -90° Near Far Center Hard Right Soft Right Center Turn 10 ° 10 M Happy Robot ( 幸せなロボット ) El mal de plantas We have a robot and an obstacle we want to avoid. We create some fuzzy rules about how much to steer in any direction to avoid hitting the obstacle based on how far we are from it and to what degree it’s in our way. Translations by Google. Are they any good?

IF AND THEN 20 M0 M DistanceTrajectory 0°90° -90° Near Far Center Hard Right Soft Right Center Turn 10 ° 10 M Happy Robot ( 幸せなロボット ) El mal de plantas Implication of the rules: RULE 1. “Near” is less than “Center” we take the min since we are using “AND” RULE 2. We are getting near so we do a “Soft Right” RULE 3. We center to a certain degree since the obstacle is still kind of far away.

IF AND THEN 20 M0 M DistanceTrajectory 0°90° -90° Near Far Center Hard Right Soft Right Turn 13 ° 9 M Defuzzification: Center of gravity – Turn -10 ° We can see that the second rule gives us a slight right turn much of the time. Thus, it’s not a very good rule! Lets get rid of it… Aggregation

20 M0 M DistanceTrajectory 0°90° -90° Near Far Center Hard Right Center Turn 13 ° 9 M Center of gravity – Turn -10 ° The second rule turned out to not be very helpful anyways…

20 M0 M DistanceTrajectory 0°90° -90° Near Far Center Hard Right Center Turn 10 ° 6 M Center of gravity – Turn -17 ° Thus, as we get closer and the obstacle is more centered in our trajectory, we will tend to turn more to the right.

The robot works in continuous time  The fuzzy rules should change slightly at each time step. We don’t want the robot to jerk to a new trajectory too quickly. Smooth movements tend to be better. How often we need to update the controller is dependant on how fast we are moving. For instance: If we update the controller 30 times a second and we are moving < 1 kph then movement will be smooth. Ideally, the commands issued from the fuzzy controller should create an equilibrium with the observations.

Our robot has momentum  We have somewhat implicitly integrated the notion of momentum. This is why we would slow down as we get closer to an obstacle  What about more refined control of speed and direction? Use the derivative of speed and trajectory to increase or decrease the rate of change. Thus, if it seems like we are not turning fast enough, then turn faster and visa versa.

IF AND THEN 20 M0 M Distance Trajectory 0°90° -90° Near Far Center Hard Right Soft Left Center Turn -25° 10°  Trajectory Far-ish? Prevent over steering with our robotChange in Trajectory

IF AND THEN 20 M0 M Distance Trajectory 0°90° -90° Near Far Center Slow Very Slow Fast Speed 0 kph 10 kph  Distance Quick 0 mps10 mps Possible Rules to define speed

Demo