Autonomous Mobile Robots CPE 470/670 Lecture 9 Instructor: Monica Nicolescu.

Slides:



Advertisements
Similar presentations
Heuristic Search techniques
Advertisements

ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Elephants Don’t Play Chess
Lecture 8: Three-Level Architectures CS 344R: Robotics Benjamin Kuipers.
AuRA: Principles and Practice in Review
Lecture 6: Hybrid Robot Control Gal A. Kaminka Introduction to Robots and Multi-Robot Systems Agents in Physical and Virtual Environments.
Detailed Design Kenneth M. Anderson Lecture 21
A Summary of the Article “Intelligence Without Representation” by Rodney A. Brooks (1987) Presented by Dain Finn.
Autonomous Mobile Robots CPE 470/670 Lecture 11 Instructor: Monica Nicolescu.
Topics: Introduction to Robotics CS 491/691(X) Lecture 10 Instructor: Monica Nicolescu.
Robotics CSPP Artificial Intelligence March 10, 2004.
Topics: Introduction to Robotics CS 491/691(X) Lecture 11 Instructor: Monica Nicolescu.
Brent Dingle Marco A. Morales Texas A&M University, Spring 2002
Autonomous Mobile Robots CPE 470/670 Lecture 11 Instructor: Monica Nicolescu.
Experiences with an Architecture for Intelligent Reactive Agents By R. Peter Bonasso, R. James Firby, Erann Gat, David Kortenkamp, David P Miller, Marc.
SSS: A Hybrid Architecture Applied to Robot Navigation Jonathan H. Connell IBM T.J. Watson Research Center Review Paper By Kai Xu What’s this?
Autonomous Mobile Robots CPE 470/670 Lecture 10 Instructor: Monica Nicolescu.
Autonomous Mobile Robots CPE 470/670 Lecture 8 Instructor: Monica Nicolescu.
Topics: Introduction to Robotics CS 491/691(X) Lecture 8 Instructor: Monica Nicolescu.
Autonomous Mobile Robots CPE 470/670 Lecture 9 Instructor: Monica Nicolescu.
Topics: Introduction to Robotics CS 491/691(X) Lecture 7 Instructor: Monica Nicolescu.
Integration of Representation Into Goal- Driven Behavior-Based Robots By Dr. Maja J. Mataric` Presented by Andy Klempau.
Autonomous Mobile Robots CPE 470/670 Lecture 10 Instructor: Monica Nicolescu.
Autonomous Mobile Robots CPE 470/670 Lecture 8 Instructor: Monica Nicolescu.
Topics: Introduction to Robotics CS 491/691(X)
Behavior- Based Approaches Behavior- Based Approaches.
A Robust Layered Control System for a Mobile Robot Rodney A. Brooks Presenter: Michael Vidal.
Autonomous Mobile Robots CPE 470/670 Lecture 9 Instructor: Monica Nicolescu.
Behaviour Based approaches to robotics Jeremy Wyatt School of Computer Science University of Birmingham.
Architectural Design Establishing the overall structure of a software system Objectives To introduce architectural design and to discuss its importance.
What is it? A mobile robotics system controls a manned or partially manned vehicle-car, submarine, space vehicle | Website for Students.
Mobile Robot Control Architectures “A Robust Layered Control System for a Mobile Robot” -- Brooks 1986 “On Three-Layer Architectures” -- Gat 1998? Presented.
Introduction to Behavior- Based Robotics Based on the book Behavior- Based Robotics by Ronald C. Arkin.
1/19 Component Design On-demand Learning Series Software Engineering of Web Application - Principles of Good Component Design Hunan University, Software.
Robotica Lecture 3. 2 Robot Control Robot control is the mean by which the sensing and action of a robot are coordinated The infinitely many possible.
Autonomous Mobile Robots CPE 470/670 Lecture 11 Instructor: Monica Nicolescu.
Lecture #12 Distributed Algorithms (I) CS492 Special Topics in Computer Science: Distributed Algorithms and Systems.
SAMANVITHA RAMAYANAM 18 TH FEBRUARY 2010 CPE 691 LAYERED APPLICATION.
Artificial Intelligence Chapter 25 Agent Architectures Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Behavior Based Systems Behavior Based Systems Lezione 6.
Autonomous Mobile Robots CPE 470/670 Lecture 8 Instructor: Monica Nicolescu.
SOFTWARE DESIGN.
Introduction to Robotics In the name of Allah. Introduction to Robotics o Leila Sharif o o Lecture #3: A Brief.
Robotica Lecture 3. 2 Robot Control Robot control is the mean by which the sensing and action of a robot are coordinated The infinitely many possible.
Electrical Engineering Design Project - Fall 2002 Electrical/Computer Engineering Design Project Fall 2002 Lecture 4 – Robotics.
University of Windsor School of Computer Science Topics in Artificial Intelligence Fall 2008 Sept 11, 2008.
Robotica Lecture Review Reactive control Complete control space Action selection The subsumption architecture –Vertical vs. horizontal decomposition.
Brooks’ Subsumption Architecture EEL 6838 T. Ryan Fitz-Gibbon 1/24/2004.
Introduction of Intelligent Agents
Instructional Objective  Define an agent  Define an Intelligent agent  Define a Rational agent  Discuss different types of environment  Explain classes.
Robotics Club: 5:30 this evening
Subsumption Architecture and Nouvelle AI Arpit Maheshwari Nihit Gupta Saransh Gupta Swapnil Srivastava.
Abstract A Structured Approach for Modular Design: A Plug and Play Middleware for Sensory Modules, Actuation Platforms, Task Descriptions and Implementations.
Mike Graves Summer 2005 University of Texas at Dallas Implicit Invocation: The Task Control Architecture Mike Graves CS6362 Term Paper Dr. Lawrence Chung.
Behavior-based Multirobot Architectures. Why Behavior Based Control for Multi-Robot Teams? Multi-Robot control naturally grew out of single robot control.
Autonomous Mobile Robots CPE 470/670 Lecture 10 Instructor: Monica Nicolescu.
ROBOTICS COE 584 Robotic Control Architecture.
Intelligent Agents Chapter 2. How do you design an intelligent agent? Definition: An intelligent agent perceives its environment via sensors and acts.
Robotic Architectures Lezione 8. Robotic architecture Computer architecture: Computer architecture:  discipline devoted to the design of highly specific.
Robot Control. Open Loop Control Sends commands to make a robot preform some movement without attempting to check if it is doing things properly. For.
Artificial Intelligence Chapter 25 Agent Architectures
Build Intelligence from the bottom up!
Build Intelligence from the bottom up!
Intelligent Agents Chapter 2.
Build Intelligence from the bottom up!
SAMANVITHA RAMAYANAM 18TH FEBRUARY 2010 CPE 691
Subsuption Architecture
Artificial Intelligence Chapter 25. Agent Architectures
Artificial Intelligence Chapter 25 Agent Architectures
Chapter 12: Building Situated Robots
Presentation transcript:

Autonomous Mobile Robots CPE 470/670 Lecture 9 Instructor: Monica Nicolescu

CPE 470/670 - Lecture 9 Reactive Control Reactive control is based on tight (feedback) loops connecting a robot's sensors with its effectors Purely reactive systems do not use any internal representations of the environment, and do not look ahead –They work on a short time-scale and react to the current sensory information Reactive systems use minimal, if any, state information

CPE 470/670 - Lecture 9 Collections of Rules Reactive systems consist of collections of reactive rules that map specific situations to specific actions Analog to stimulus-response, reflexes –Bypassing the “brain” allows reflexes to be very fast Rules are running concurrently and in parallel Situations –Are extracted directly from sensory input Actions –Are the responses of the system (behaviors)

CPE 470/670 - Lecture 9 The Subsumption Architecture Principles of design –systems are built from the bottom up –components are task-achieving actions/behaviors (avoid-obstacles, find-doors, visit-rooms) –components are organized in layers, from the bottom up –lowest layers handle most basic tasks –all rules can be executed in parallel, not in a sequence –newly added components and layers exploit the existing ones

CPE 470/670 - Lecture 9 Communication Through the World Collecting soda cans: Herbert Herbert’s capabilities –Move around without running into obstacles –Detect soda cans using a camera and a laser –An arm that could: extend, sense if there is a can in the gripper, close the gripper, tuck the arm in

CPE 470/670 - Lecture 9 Herbert Look for soda cans, when seeing one approach it When close, extend the arm toward the soda can If the gripper sensors detect something, close the gripper If can is heavy, put it down, otherwise pick it up If gripper was closed, tuck the arm in and head home The robot did not keep internal state about what it had just done and what it should do next: it just sensed!

CPE 470/670 - Lecture 9 More on Herbert There is no internal wire between the layers that achieve can finding, grabbing, arm tucking, and going home However, the events are all executed in proper sequence. Why? Because the relevant parts of the control system interact and activate each other through sensing the world

CPE 470/670 - Lecture 9 World as the Best Model This is a key principle of reactive systems & Subsumption Architecture: –Use the world as its own best model! If the world can provide the information directly (through sensing), it is best to get it that way, than to store it internally in a representation (which may be large, slow, expensive, and outdated)

CPE 470/670 - Lecture 9 Subsumption System Design What makes a Subsumption Layer, what should go where? There is no strict recipe, but some solutions are better than others, and most are derived empirically How exactly layers are split up depends on the specifics of the robot, the environment, and the task

CPE 470/670 - Lecture 9 Designing in Subsumption Qualitatively specify the overall behavior needed for the task Decompose that into specific and independent behaviors (layers) Determine behavior granularity Ground low-level behaviors in the robot’s sensors and effectors Incrementally build, test, and add

CPE 470/670 - Lecture 9 Genghis (MIT) Walk over rough terrain and follow a human (Brooks ’89) –Standup Control leg’s swing position and lift –Simple walk –Force balancing Force sensors provide information about the ground profile –Leg lifting: step over obstacles –Obstacle avoidance (whiskers) –Pitch stabilization –Prowling –Steered prowling

CPE 470/670 - Lecture 9 The Nerd Herd (MIT) Foraging example (Matarić ’93) –R1 robots (IS robotics) Behaviors involved: –Wandering –Avoiding –Pickup –Homing

CPE 470/670 - Lecture 9 Tom and Jerry (MIT) fsdf Tom Jerry

CPE 470/670 - Lecture 9 Pros and Cons Some critics consider the lack of detail about designing layers to be a weakness of the approach Others feel it is a strength, allowing for innovation and creativity Subsumption has been used on a vast variety of effective implemented robotic systems It was the first architecture to demonstrate many working robots

CPE 470/670 - Lecture 9 Benefits of Subsumption Systems are designed incrementally –Avoid design problems due to the complexity of the task –Helps the design and debugging process Robustness –If higher levels fail, the lower ones continue unaffected Modularity –Each “competency” is included into a separate layer, thus making the system manageable to design and maintain –Rules and layers can be reused on different robots and for different tasks

CPE 470/670 - Lecture 9 Behavior-Based Control Reactive systems –Too inflexible, use no representation, no adaptation or learning Deliberative systems –Too slow and cumbersome Hybrid systems –Complex interactions among the hybrid components Behavior-based control involves the use of “behaviors” as modules for control

CPE 470/670 - Lecture 9 What Is a Behavior? Behavior-achieving modules Rules of implementation Behaviors achieve or maintain particular goals (homing, wall-following) Behaviors are time-extended processes Behaviors take inputs from sensors and from other behaviors and send outputs to actuators and other behaviors Behaviors are more complex than actions (stop, turn- right vs. follow-target, hide-from-light, find-mate etc.)

CPE 470/670 - Lecture 9 Principles of BBC Design Behaviors are executed in parallel, concurrently –Ability to react in real-time Networks of behaviors can store state (history), construct world models/representation and look into the future –Use representations to generate efficient behavior Behaviors operate on compatible time-scales –Ability to use a uniform structure and representation throughout the system

CPE 470/670 - Lecture 9 An Example Task: Mapping Design a robot that is capable of: –Moving around safely –Make a map of the environment –Use the map to find the shortest paths to particular places Navigation & mapping are the most common mobile robot tasks

CPE 470/670 - Lecture 9 Map Representation The map is distributed over different behaviors We connect parts of the map that are adjacent in the environment by connecting the behaviors that represent them The network of behaviors represents a network of locations in the environment Topological map: Toto (Matarić ’90)

CPE 470/670 - Lecture 9 Toto’s Controller

CPE 470/670 - Lecture 9 Landmark Detection Keep track of what was sensed and how it was moving –meandering  cluttered area –constant compass direction, go straight  left, right walls –moving straight, both walls  corridor

CPE 470/670 - Lecture 9 Building a Map Each landmark was stored in a behavior Whenever a new landmark was discovered a new behavior was added Adjacent landmarks are connected by communication wires This resulted in a topological representation of the environment, i.e., a topological world model

CPE 470/670 - Lecture 9 Toto’s Mapping Behaviors Each landmark was stored in a behavior Each such landmark behavior stored (remembered) some information –landmark type (wall, corridor, irregular) –compass heading –approximate length/size –some odometry my-behavior-type: corridor my-compass-direction: NV my-approximate-location: x,y my-approximate-length: length whenever received (input) if input(behavior-type)= my-behavior-type and input (compass-direction) = my-compass-direction then active <- true

CPE 470/670 - Lecture 9 Localization Whenever a landmark is detected, its description (type, compass direction, etc.) is sent to all behaviors in parallel  the one that matches becomes active When nothing in the map matches  a new place/landmark was discovered and added to the map If an existing behavior was activated, it inhibited any other active behaviors

CPE 470/670 - Lecture 9 Getting Around Toto can use the map to navigate The behavior that corresponds to the goal sends messages (spreads activation) to all of its neighbors The neighbors send messages to their neighbors in turn So on, until the messages reach the currently active behavior This forms path(s) from the current state to the goal

CPE 470/670 - Lecture 9 Path Following Toto did not keep a sequence of behaviors Instead, messages were passed continuously –Useful in changing environments How does Toto decide where to go if multiple choices are available? –Rely on the landmark size: behaviors add up their own length as messages are passed from one behavior to another  give path length –Choose the shortest path Thus, one behavior at a time, it reached the goal Video:

CPE 470/670 - Lecture 9 Expression of Behaviors Example: –Going from a classroom to another What does it involve? –Getting to the destination from the current location –Not bumping into obstacles along the way –Making your way around students on corridors –Deferring to elders –Coping with change in the environment

CPE 470/670 - Lecture 9 Stimulus-Response Diagrams Behaviors are represented as a general response to a particular stimulus move-to-class avoid-object dodge-student stay-right defer-to-elder COORDINATORCOORDINATOR class location detected object detected student detected path detected elder Actions

CPE 470/670 - Lecture 9 Finite State Acceptor Diagrams Useful for describing aggregations and sequences of behaviors Finite state acceptor: –Q: set of allowable behavioral states –  : transition function from (input, current state)  new state –q 0 : initial state –F: set of accepting (final) states StartJourney Lost At-class move error reached-class othernot-at-classall

CPE 470/670 - Lecture 9 Formal Methods Have very useful properties for the programmer –Can be used to verify designer intentions –Provide a framework for formal analysis of the program, adequacy and completeness –Facilitate the automatic generation of control systems –Provide a common language for expressing robot behaviors –Provide support for high-level programming language design

CPE 470/670 - Lecture 9 Situated Automata Kaelbling & Rosenschein (’91) Controllers are designed as logic circuits Capable of reasoning REX: Lisp-based language –First language to encode a reactive systems with synchronous digital circuitry Gapps: goals are specified more directly –Achievement, maintenance, execution –Logical boolean operators are used to create higher-level goals  generate circuits

CPE 470/670 - Lecture 9 Situated Automata (defgoalr (ach in-classroom) (if (not start-up) (maint (and (maint move-to-classroom) (maint avoid-objects) (maint dodge-students) (maint stay-to-right-on-path) (maint defer-to-elders) )

CPE 470/670 - Lecture 9 Discrete Behavioral Encoding The behavior consists of a set finite set of (situation, response) pairs Rule-based systems IF antecedent THEN consequent Condition-action production rules (Nilsson ’94) –Produce durative actions: “move at 5m/s” vs. “move 5 m” The Subsumption Architecture ( whenever condition & consequent) ( defbehavior name & inputs outputs declarations processes)

CPE 470/670 - Lecture 9 Readings M. Matarić: Chapter 11, 12, 14