Robotic Architectures: Schema Lecture 7a. Motor Schemas ● Based upon schema theory: Explains motor behavior in terms of concurrent control of many different.

Slides:



Advertisements
Similar presentations
Reactive and Potential Field Planners
Advertisements

Lecture 7: Potential Fields and Model Predictive Control
Phantom Limb Phenomena. Hand movement observation by individuals born without hands: phantom limb experience constrains visual limb perception. Funk M,
Robot Sensor Networks. Introduction For the current sensor network the topography and stability of the environment is uncertain and of course time is.
Lecture 4: Command and Behavior Fusion Gal A. Kaminka Introduction to Robots and Multi-Robot Systems Agents in Physical and Virtual Environments.
Artificial Intelligence Chapter 5 State Machines.
Probabilistic Path Planner by Someshwar Marepalli Pratik Desai Ashutosh Sahu Gaurav jain.
Embedded System Lab Kim Jong Hwi Chonbuk National University Introduction to Intelligent Robots.
AuRA: Principles and Practice in Review
Autonomous Robot Navigation Panos Trahanias ΗΥ475 Fall 2007.
Topics: Introduction to Robotics CS 491/691(X) Lecture 10 Instructor: Monica Nicolescu.
ECE 4340/7340 Exam #2 Review Winter Sensing and Perception CMUcam and image representation (RGB, YUV) Percept; logical sensors Logical redundancy.
Autonomous Mobile Robots CPE 470/670 Lecture 11 Instructor: Monica Nicolescu.
Motor Schema - Based Mobile Robot Navigation System - Ronald C. Arkin.
Autonomous Mobile Robots CPE 470/670 Lecture 10 Instructor: Monica Nicolescu.
Autonomous Mobile Robots CPE 470/670 Lecture 8 Instructor: Monica Nicolescu.
Motor Schema Based Navigation for a Mobile Robot: An Approach to Programming by Behavior Ronald C. Arkin Reviewed By: Chris Miles.
Autonomous Mobile Robots CPE 470/670 Lecture 10 Instructor: Monica Nicolescu.
Behavior- Based Approaches Behavior- Based Approaches.
AuRA: Autonomous Robot Architecture From: Integrating Behavioral, Perceptual, and World Knowledge in Reactive Navigation Ron Arkin, 1990.
Radial Basis Function Networks
Introduction to Behavior- Based Robotics Based on the book Behavior- Based Robotics by Ronald C. Arkin.
Artificial Intelligence Lecture No. 28 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Introduction SNR Gain Patterns Beam Steering Shading Resources: Wiki:
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.
Presentation on Neural Networks.. Basics Of Neural Networks Neural networks refers to a connectionist model that simulates the biophysical information.
4 Introduction to AI Robotics (MIT Press)Chapter 4: The Reactive Paradigm1 The Reactive Paradigm Describe the Reactive Paradigm in terms of the 3 robot.
Network Aware Resource Allocation in Distributed Clouds.
SOFTWARE DESIGN.
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.
Faculty of Engineering Sciences Department of Basic Science 5/26/20161W3.
Modelling Language Evolution Lecture 1: Introduction to Learning Simon Kirby University of Edinburgh Language Evolution & Computation Research Unit.
Chapter 24 Gauss’s Law. Let’s return to the field lines and consider the flux through a surface. The number of lines per unit area is proportional to.
Mobile Robot Navigation Using Fuzzy logic Controller
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.
Intelligent Robotics Today: Robot Control Architectures Next Week: Localization Reading: Murphy Sections 2.1, 2.3, 2.5, 3.1, 3.5, 3.6, 4.1 – 4.3, 4.5,
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Ch. 25 –Robotics Thursday –Robotics continued Home Work due next Tuesday –Ch. 13:
4 Introduction to AI Robotics (MIT Press)Chapter 4: The Reactive Paradigm1 The Reactive Paradigm Describe the Reactive Paradigm in terms of the 3 robot.
Behavior-based Multirobot Architectures. Why Behavior Based Control for Multi-Robot Teams? Multi-Robot control naturally grew out of single robot control.
4 Introduction to AI Robotics (MIT Press)Chapter 4: The Reactive Paradigm1 The Reactive Paradigm Describe the Reactive Paradigm in terms of the 3 robot.
Autonomous Mobile Robots CPE 470/670 Lecture 10 Instructor: Monica Nicolescu.
Robotic Architectures Lezione 8. Robotic architecture Computer architecture: Computer architecture:  discipline devoted to the design of highly specific.
March 31, 2016Introduction to Artificial Intelligence Lecture 16: Neural Network Paradigms I 1 … let us move on to… Artificial Neural Networks.
Artificial Intelligence
Copyright © Cengage Learning. All rights reserved.
Neural Networks.
Copyright © Cengage Learning. All rights reserved.
PHYS 1444 – Section 004 Lecture #11
State Machines Chapter 5.
Copyright © Cengage Learning. All rights reserved.
Part 3 Design What does design mean in different fields?
Probabilistic Robotics
Build Intelligence from the bottom up!
Build Intelligence from the bottom up!
Intelligent Agents Chapter 2.
Mathematics & Path Planning for Autonomous Mobile Robots
Devil physics The baddest class on campus AP Physics
Design Model Like a Pyramid Component Level Design i n t e r f a c d s
Artificial Intelligence Chapter 2 Stimulus-Response Agents
Day 33 Range Sensor Models 12/10/2018.
Sathish Vadhiyar Courtesy: Dr. David Walker, Cardiff University
Build Intelligence from the bottom up!
Artificial Intelligence Lecture No. 28
Probabilistic Map Based Localization
Robot Intelligence Kevin Warwick.
Market-based Dynamic Task Allocation in Mobile Surveillance Systems
Chapter 4: The Reactive Paradigm
CHAPTER I. of EVOLUTIONARY ROBOTICS Stefano Nolfi and Dario Floreano
Behavior Based Systems
Presentation transcript:

Robotic Architectures: Schema Lecture 7a

Motor Schemas ● Based upon schema theory: Explains motor behavior in terms of concurrent control of many different activities Schema stores both how to react and the way that reaction can be realized A distributed model of computation Provides a language for connecting action and perception Activation levels are associated with schemas that determine their readiness or applicability for acting Provides a theory of learning through acquisition and tuning

Recall: Behaviors and Schema Theory BEHAVIOR Release r Sensory Input Pattern of Motor Actions Perceptual Schema Motor Schema

Categorization of Motor Schemas

Schema architecture ● Schema is a pattern of action, a basic unit of action from which complex actions are constructed ● Two kinds of schemas Motor schemas and Perceptual schemas ● A schema stores both how to react and the way that reaction can be realized ● Provides a language for connecting action and perception ● Activation levels are associated with schemas that determine their readiness or applicability for acting ● Many systems exists? e.g. Callisto - a foraging robot, GT Hummer

What are Schemas? ● Schemas are functional units (intermediate between overall behavior and neural function) for analysis of cooperative competition in the brain program units especially suited for a system which has continuing perception of, and interaction with, its environment a programming language for new systems in computer vision, robotics and expert systems a bridging language between Distributed AI and neural networks for specific subsystems

Perceptual And Motor Schemas ● A perceptual schema embodies the process whereby the system determines whether a given domain of interaction is present in the environment. ● A schema assemblage combines an estimate of environmental state with a representation of goals and needs ● The internal state is also updated by knowledge of the state of execution of current plans made up of motor schemas ● which are similar to control systems but distinguished by the fact that they can be combined to form coordinated control programs

Motor Schemas Issues ● Behavioral responses are all represented as vectors generated using a potential fields approach ● Coordination is achieved by vector addition ● No predefined hierarchy exists for coordination; instead, behaviors are configured at run-time ● Pure arbitration is not used; each behavior can contribute in varying degrees to robot’s overall response

Perception-Action Schema Relationships Es 1 Es 2 Es 3 Ps 1 Ps 2 Ps 3 Pss 1 Pss 2 Ms 2 Ms 1 Environmental Sensors ENVIRONMENTENVIRONMENT Motor Schemas Robot Vector Motors S PS = Perceptual Schema PSS = Perceptual Subschema MS = Motor Schema ES = Environmental Sensor

Output of Motor Schemas ● Output Vector: consists of both orientation and magnitude components ● V magnitude denotes magnitude of resultant response vector ● V direction denotes orientation

Behavioral Fusion via Vector Summation Behavior 1 Behavior 2 Behavior 3 Behavior 4 PERCEPTIONPERCEPTION Behavioral fusion S R = S (G i * R i ) Fused behavioral response

Defined Motor Schemas ● Move-ahead ● Move-to-goal ● Avoid-static-obstacle ● Dodge ● Escape ● Stay-on-path ● Noise ● Follow-the-leader ● Probe ● Dock ● Avoid-past ● Move up, move-down, maintain altitude ● Teleautonomy ● Each of these can be defined as a potential field of output vector responses.

Introduction to Potential Fields ● Potential field: array (or field) of vectors representing space ● Vector v = (m,d): consists of magnitude (m) and direction (d) ● Vector represents a force ● Typically drawn as an arrow ● Typically drawn as an arrow:

Potential Fields ● Vector space is 2D world, like bird’s eye view of map ● Map divided into squares, creating (x,y) grid ● Each element represents square of space ● Perceivable objects in world exert a force field on surrounding space

Five Primitive Potential Fields Uniform Perpendicular Tangential Attraction Repulsion

Magnitude Profiles ● Change in velocity in different parts of the field distance magnitudemagnitude ConstantLinearExponential Dropoff Field closest to an attractor/repellor will be stronger

Programming a Single Potential Field ● Repulsive field with linear drop-off: ● where D is max range of field’s effect

Single Repulsive Field Pseudocode typedef struct { double magnitude; double direction; } vector; vector repulsive(double d, double D) { if (d <= D) { outputVector.direction = -180; // turn around outputVector.magnitude = (D – d) / D; }// linear dropoff else { outputVector.direction = 0.0; outputVector.magnitude = 0.0; } return outputVector; }

Runaway Behavior Pseudocode vector runaway( ) { double reading; reading = readSonar();// perceptual schema Vector = repulsive(reading, MAX_DISTANCE);// motor schema return Vector; } while (robot == ON) { Vrunaway = runaway(reading);// motor schema turn(Vrunaway.direction); forward(Vrunaway.magnitude * MAX_VELOCITY); }

Field to Be Computed ● Only portion of field affecting robot is computed ● Robot uses functions defining potential fields at its position to calculate component vector

Combining Fields/Behaviors ● Compute each behavior’s potential field ● Sum vectors at robot’s position to get resultant output vector

Combined schemas

Issues with Combining Potential Fields ● Impact of update rates: Lower update rates can lead to “jagged” paths ● Robot treated as point: Expect robot to change velocity and direction instantaneously (can’t happen) ● Local minima: Vectors may sum to 0.

The Problem of Local Minima ● If robot reaches local minima, it will just sit still Local minima: vectors sum to 0

Schemas: Deadlock Problem

Dealing with Local Minima ● Inject noise, randomness: “Bumps” robot out of minima ● Include “avoid-past” behavior: Remembers where robot has been and attracts the robot to other places ● Use “Navigation Templates” (NaTs): The “avoid” behavior receives as input the vector summed from other behaviors Gives “avoid” behavior a preferred direction ● Insert tangential fields around obstacles

Schemas: Navigational templates

Motor Schema Encodings I ● Move-to-goal (ballistic): ● Avoid-static-obstacle: S where S = sphere of influence of obstacle R R = radius of obstacle G G = gain d d = distance of robot to center of obstacle

Example schemas I

Motor Schema Encodings II ● Stay-on-path: where: W W = width of path P P = off-path gain G G = on-path gain D D = distance of robot to center of path Vdirection = along a line from robot to center of path, heading toward centerline

Example Schemas II

Motor Schema Encodings III ● Move-ahead: ● Noise:

Example schemas III

Schemas: the effect of using different gain vector values gi

Behavioral coordination: action selection

Designing with Schemas ● Characterize motor behaviors needed ● Decompose to most primitive level, use biological guidelines where appropriate ● Develop formulas to express reaction ● Conduct simple simulations ● Determine perceptual needs to satisfy motor schema inputs ● Design specific perceptual algorithms ● Integrate/test/evaluate/iterate

Strengths and Weaknesses ● Strengths: support for parallelism; run-time flexibility; timeliness for development; support for modularity ● Weaknesses: niche targetability; hardware retargetability; combination pitfalls (local minima, oscillations)‏