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

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

1 Signals, Circuits, and Computers John Athanasiou Part B Spring 2010.
Introduction to Robotics Lecture One Robotics Club -Arjun Bhasin.
Sensors.
INTRODUCTION TO ROBOTICS INTRODUCTION TO ROBOTICS Part 4: Sensors Robotics and Automation Copyright © Texas Education Agency, All rights reserved.
Sensors For Robotics Robotics Academy All Rights Reserved.
Sensors For Robotics Robotics Academy All Rights Reserved.
Last time we saw: DC motors – inefficiencies, operating voltage and current, stall voltage and current and torque – current and work of a motor Gearing.
Autonomous Mobile Robots CPE 470/670 Lecture 5 Instructor: Monica Nicolescu.
Artificial Intelligence Intelligent Agents 2 Norvig, Ch. 2 and Nilsson, Ch. 1, 2, 25.
Introduction to Robotics In the name of Allah. Introduction to Robotics o Leila Sharif o o Lecture #2: The Big.
Introduction to Robotics
Topics: Introduction to Robotics CS 491/691(X) Lecture 4 Instructor: Monica Nicolescu.
Autonomous Mobile Robots CPE 470/670 Lecture 3 Instructor: Monica Nicolescu.
CS 561, Sessions 27 1 Towards intelligent machines Thanks to CSCI561, we now know how to… - Search (and play games) - Build a knowledge base using FOL.
Autonomous Mobile Robots CPE 470/670 Lecture 4 Instructor: Monica Nicolescu.
Autonomous Mobile Robots CPE 470/670 Lecture 5 Instructor: Monica Nicolescu.
Autonomous Mobile Robots CPE 470/670
The Role of Sensors in Robotics The Role of Sensors in Robotics.
ST13 – (Complex) Sensor systems 1 (Complex) sensor systems Lecturer: Smilen Dimitrov Sensors Technology – MED4.
Sensors Introduction Describing Sensor Performance Temperature Sensors
1 Sensors BADI Year 3 John Errington MSc. 2 Sensors Allow a design to respond to its environment – e.g. a line following robot may use photosensors to.
Introduction to Machine Vision Systems
N.B. Please register for the course with the ITO Please attend a practical in the coming week: –Either 10:00, 13:05 Tuesday –Or 10:00, 13:05 Friday If.
Light and Color. Light is a form of energy light travels extremely fast and over long distances light carries energy and information light travels in.
PPT ON ROBOTICS AEROBOTICSINDIA.COM. ROBOTICS WHAT IS ROBOTICS THE WORD ROBOTICS IS USED TO COLLECTIVILY DEFINE A FIELD IN ENGINEERING THAT COVERS THE.
CS 546: Intelligent Embedded Systems Gaurav S. Sukhatme Robotic Embedded Systems Lab Center for Robotics and Embedded Systems Computer Science Department.
Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception.
Sensing self motion Key points: Why robots need self-sensing Sensors for proprioception in biological systems in robot systems Position sensing Velocity.
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
Juhana Leiwo – Marco Torti.  Position and movement  Direction of acceleration (gravity) ‏  Proximity and collision sensing  3-dimensional spatial.
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.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
Module 6 Perception.
Perception The process of organizing and interpreting information, enabling us to recognize meaningful objects and events.
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.
Robot sensors MVRT 2010 – 2011 season. Analog versus Digital Analog Goes from 0 to 254 Numerous values Similar to making waves because there are not sudden.
General Agent Architectures Agent Processing – Concepts, Examples Example of a simple Reflexive Agent Types of Agents Task Environments Examples of Agent.
Autonomous Mobile Robots CPE 470/670 Lecture 6 Instructor: Monica Nicolescu.
Robotics Sharif In the name of Allah. Robotics Sharif Introduction to Robotics o Leila Sharif o o Lecture #2: The.
University of Windsor School of Computer Science Topics in Artificial Intelligence Fall 2008 Sept 11, 2008.
Instructional Objective  Define an agent  Define an Intelligent agent  Define a Rational agent  Discuss different types of environment  Explain classes.
INTRODUCTION TO ROBOTICS INTRODUCTION TO ROBOTICS Part 4: Sensors Robotics and Automation Copyright © Texas Education Agency, All rights reserved.
Autonomous Robots Vision © Manfred Huber 2014.
Perception The process of organizing and interpreting information, enabling us to recognize meaningful objects and events.
3:01 PM Three points for today Sensory memory (SM) contains highly transient information about the dynamic sensory array. Stabilizing the contents of SM.
1Ellen L. Walker 3D Vision Why? The world is 3D Not all useful information is readily available in 2D Why so hard? “Inverse problem”: one image = many.
Robotics/Machine Vision Robert Love, Venkat Jayaraman July 17, 2008 SSTP Seminar – Lecture 7.
Intelligent Robotics Today: Vision & Time & Space Complexity.
Robotics Sharif In the name of Allah Robotics Sharif Introduction to Robotics o Leila Sharif o o Lecture #4: The.
Bridges To Computing General Information: This document was created for use in the "Bridges to Computing" project of Brooklyn College. You are invited.
Arms, Legs, Wheels, Tracks, and What Really Drives Them Effectors and Actuators.
I NTRODUCTION TO R OBOTICS Basics of Sensors Md. Khalilur Rhaman Lec Reff.: Dr. M. Rokonuzzaman 1.
1. 2 What is Digital Image Processing? The term image refers to a two-dimensional light intensity function f(x,y), where x and y denote spatial(plane)
Pick N Place Robot. Pick N Place Robot Introduction:  Pick and Place robot is the one which is used to pick up an object and.
Electrical Engineer Responsibilities
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Programming & Sensors.
Electrical Engineer Responsibilities
Sensors For Robotics Robotics Academy All Rights Reserved.
Chapter 4 Sensory Contributions to Skilled Performance
Sensors For Robotics Robotics Academy All Rights Reserved.
Electrical Engineer Responsibilities
AQA GCSE 6 Systems approach to designing Design and Technology 8552
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Electrical Engineer Responsibilities
Common Classification Tasks
Sensors and actuators Sensors Resistive sensors
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Presentation transcript:

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

CPE 470/670 - Lecture 42 Review DC motors –inefficiencies, operating voltage and current, stall voltage and current and torque – current and work of a motor Gearing –Up, down, combining gears Servo motors Effectors –DOF –Locomotion: holonomicity, stability –Manipulation: direct and inverse kinematics

CPE 470/670 - Lecture 43 Effectors Effector: any robot device that has an effect on the environment Robot effectors –Wheels, tracks, arms grippers The role of the controller –get the effectors to produce the desired effect on the environment, based on the robot’s task

CPE 470/670 - Lecture 44 Wheels Wheels are the locomotion effector of choice in robotics –Simplicity of control –Stability If so, why don’t animals have wheels? –Some do!! Certain bacteria have wheel-like structures –However, legs are more prevalent in nature Most robots have four wheels or two wheels and a passive caster for balance –Such models are non-holonomic

CPE 470/670 - Lecture 45 Differential Drive & Steering Wheels can be controlled in different ways Differential drive –Two or more wheels can be driven separately and differently Differential steering – Two or more wheels can be steered separately and differently Why is this useful? –Turning in place: drive wheels in different directions –Following arbitrary trajectories

CPE 470/670 - Lecture 46 Getting There Robot locomotion is necessary for –Getting the robot to a particular location –Having the robot follow a particular path Path following is more difficult than getting to a destination Some paths are impossible to follow –This is due to non-holonomicity Some paths can be followed, but only with discontinuous velocity (stop, turn, go) –Parallel parking

CPE 470/670 - Lecture 47 Why Follow Trajectories? Autonomous car driving Surgery Trajectory (motion) planning –Searching through all possible trajectories and evaluating them based on some criteria (shortest, safest, most efficient) –Computationally complex process –Robot shape (geometry) must be taken into account Practical robots may not be so concerned with following specific trajectories

CPE 470/670 - Lecture 48 Manipulation Manipulation: moving a part of the robot (manipulator arm) to a desired location and orientation in 3D The end-effector is the extreme part of the manipulator that affects the world Manipulation has numerous challenges –Getting there safely: should not hurt others or hurt yourself –Getting there effectively Manipulation started with tele-operation

CPE 470/670 - Lecture 49 Teleoperation Requires a great deal of skill from the human operator –Manipulator complexity –Interface constraints (joystick, exoskeleton) –Sensing limitations Applications in robot-assisted surgery

CPE 470/670 - Lecture 410 Kinematics Kinematics: correspondence between what the actuator does and the resulting effector motion –Manipulators are typically composed of several links connected by joints –Position of each joint is given as angle w.r.t adjacent joints –Kinematics encode the rules describing the structure of the manipulator Find where the end-point is, given the joint angles of a robot arm

CPE 470/670 - Lecture 411 Types of Joints There are two main types of joints Rotary –Rotational movement around a fixed axis Prismatic –Linear movement

CPE 470/670 - Lecture 412 Inverse Kinematics To get the end-effector to a desired point one needs to plan a path that moves the entire arm safely to the goal –The end point is in Cartesian space (x, y, z) –Joint positions are in joint space (angle  ) Inverse Kinematics: converting from Cartesian (x, y, z) position to joint angles of the arm (theta) Given the goal position, find the joint angles for the robot arm This is a computationally intensive process

CPE 470/670 - Lecture 413 Sensors Physical devices that provide information about the world Based on the origin of the received stimuli we have: –Proprioception: sensing internal state - stimuli arising from within the agent (e.g., muscle tension, limb position) –Exteroception: sensing external state – external stimuli (e.g., vision, audition, smell, etc.) The ensemble of proprioceptive and exteroceptive sensors constitute the robot’s perceptual system

CPE 470/670 - Lecture 414 Sensor Examples Physical PropertySensor contactswitch distanceultrasound, radar, infrared light levelphotocells, cameras sound levelmicrophone rotationencoders and potentiometers accelerationaccelerometers gyroscopes

CPE 470/670 - Lecture 415 More Sensor Examples Physical PropertySensor magnetismcompass smellchemical temperaturethermal, infra red inclinationinclinometers, gyroscopes pressurepressure gauges altitudealtimeters strainstrain gauges

CPE 470/670 - Lecture 416 Knowing what’s Going On Perceiving environmental state is crucial for the survival or successful achievement of goals Why is this hard? –Environment is dynamic –Only partial information about the world is available –Sensors are limited and noisy –There is a lot of information to be perceived Sensors do not provide state Sensors are physical devices that measure physical quantities

CPE 470/670 - Lecture 417 Types of Sensors Sensors provide raw measurements that need to be processed Depending on how much information they provide, sensors can be simple or complex Simple sensors: –A switch: provides 1 bit of information (on, off) Complex sensors: –A camera: 512x512 pixels –Human retina: more than a hundred million photosensive elements

CPE 470/670 - Lecture 418 Getting Answers From Sensors Given a sensory reading, what should I do? –Deals with actions in the world Given a sensory reading, what was the world like when the reading was taken? –Deals with reconstruction of the world Simple sensors can answer the first question –Their output can be used directly Complex sensors can answer both questions –Their information needs to be processed

CPE 470/670 - Lecture 419 Signal to Symbol Problem Sensors produce only signals, not symbolic descriptions of the world To extract the information necessary for making intelligent decisions a lot of sensor pre-processing is needed –Symbols are abstract representations of the sensory data Sensor pre-processing –Uses methods from electronics, signal processing and computation

CPE 470/670 - Lecture 420 Levels of Processing Finding out if a switch is open or closed –Measure voltage going through the circuit  electronics Using a microphone to recognize voice –Separate signal from noise, compare with store voices for recognition  signal processing Using a surveillance camera –Find people in the image and recognize intruders, comparing them to a large database  computation

CPE 470/670 - Lecture 421 Perception Requirements Perception requires more than just sensors: Sensors –Power and electronics Computation –More power and electronics Connectors –To connect it all

CPE 470/670 - Lecture 422 Perception Designs Historically perception has been treated in isolation –perception in isolation –perception as “king” –perception as reconstruction Generally it is not a good idea to separate: –What the robot senses –How it senses it –How it processes it –How it uses it

CPE 470/670 - Lecture 423 A Better Way Instead it is good to think about it as a single complete design –The task the robot has to perform –The best suited sensors for the task –The best suited mechanical design that would allow the robot to get the necessary sensory information for the task (e.g. body shape, placement of the sensors)

CPE 470/670 - Lecture 424 A New Perceptual Paradigm Perception without the context of actions is meaningless Action-oriented perception How can perception provide the information necessary for behavior? –Perceptual processing is tuned to meet motor activity needs –World is viewed differently based on the robot’s intentions –Only the information necessary for the task is extracted Active perception How can motor behaviors support perceptual activity? –Motor control can enhance perceptual processing –Intelligent data acquisition, guided by feedback and a priori knowledge

CPE 470/670 - Lecture 425 Using A Priori Knowledge of the World Perceptual processing can benefit if knowledge about the world is available Expectation-based perception (what to look for) –Knowledge of the world constraints the interpretation of sensors Focus of attention methods (where to look for it) –Knowledge can constrain where things may appear Perceptual classes (how to look for it) –Partition the world into categories of interaction

CPE 470/670 - Lecture 426 Sensor Fusion A man with a watch knows what time it is; a man with two watches isn’t so sure Combining multiple sensors to get better information about the world Sensor fusion is a complex process –Different sensor accuracy –Different sensor complexity –Contradictory information –Asynchronous perception Cleverness is needed to put this information together

CPE 470/670 - Lecture 427 Neuroscientific Evidence Our brain process information from multiple sensory modalities –Vision, touch, smell, hearing, sound Individual sensory modalities use separate regions in the brain (sight, hearing, touch) Vision itself uses multiple regions –Two main vision streams: the “what” (object recognition) and the “where” (position information) –Pattern, color, movement, intensity, orientation

CPE 470/670 - Lecture 428 What Can We Learn from Biology? Sensor function should decide its form Evolved sensors have specific geometric and mechanical properties Examples –Flies: complex facetted eyes –Birds: polarized light sensors –Bugs: horizon line sensors –Humans: complicated auditory systems Biology uses clever designs to maximize the sensor’s perceptual properties, range and accuracy

CPE 470/670 - Lecture 429 Psychological Insights: Affordances Affordances : refer to the meaning of objects in relation to an organism’s motor intents Perceptual entities are not semantic abstractions, but opportunities that the environment presents Perception is biased by the robot’s task A chair: –Something to sit in –Something blocking the way –Something to throw if attacked

CPE 470/670 - Lecture 430 How Would You Detect People? Use the interaction with the world, keep in mind the task Camera: great deal of processing Movement: if everything else is static: movement means people Color: If you know the particular color people wear Temperature: can use sensors that detect the range of human body heat Distance: If any open-range becomes blocked

CPE 470/670 - Lecture 431 How Would You Measure Distance? Ultrasound sensors (sonar) provide distance measurement directly (time of flight) Infra red sensors provide return signal intensity Two cameras (i.e., stereo) can be used to compute distance/depth A laser and a camera: triangulate distance Laser-based structured light: overly grid patterns on the world, use distortions to compute distance

CPE 470/670 - Lecture 432 Sensor Categories Passive Sensors –Measure a physical property from the environment Active Sensors –Provide their own signal and use the interaction of the signal with the environment –Consist of an emitter and a detector Sensor complexity –Determined by the amount of processing required Active/passive –Determined by the sensor mechanism

CPE 470/670 - Lecture 433 Electronics for Simple Sensors Ohm’s law –Explains the relationship between voltage (V), current (I) and resistance (R) Series resistance –Resistances in series add up Voltage divider –Voltage can be divided by using two resistors in series V = IR V in = I(R 1 + R 2 ) V out = V in R 2 /(R 1 + R 2 )

CPE 470/670 - Lecture 434 Switch Sensors Among the simplest sensors of all Do not require processing, work at “circuit” level If the switch is open  there is no current flowing If the switch is closed  current will flow Can be –Normally open (more common) –Normally closed

CPE 470/670 - Lecture 435 Uses of Switch Sensors Contact sensors: –detect contact with another object (e.g., triggers when a robot hits a wall or grabs an object, etc.) Limit sensors: –detect when a mechanism has moved to the end of its range (e.g., triggers when a gripper is wide open) Shaft encoder sensors: –detect how many times a shaft turns (e.g., a switch clicks at every turn, clicks are counted)

CPE 470/670 - Lecture 436 Example of Switch Uses In everyday life –Light switches, computer mouse, keys on the keyboard, buttons on the phone In robotics –Bump switch: detect hitting an obstacle –Whisker: 1.Attach a long metal whisker to a switch; when the whisker has bent enough the switch will close 2.Place a conductive wire (whisker) inside a metal tube; when the whisker bends it touches the tube and closes the circuit

CPE 470/670 - Lecture 437 Light Sensors Light sensors measure the amount of light impacting a photocell The sensitivity of the photocell to light is reflected in changes in resistance –Low when illuminated V sens –High when in the dark: V sens Light sensors are “dark” sensors Could invert the output so that low means dark and high means bright ~= 0v ~= +5 v

CPE 470/670 - Lecture 438 Uses of Light Sensors Can measure the following properties –Light intensity: how light/dark it is –Differential intensity: difference between photocells –Break-beams: changes in intensity Photocells can be shielded to improve accuracy and range R photo2 = R photo1 V out = 2.5 v R photo2 << R photo1 V out ~= +5 v (R2 more light) R photo2 >> R photo1 V out ~= gnd

CPE 470/670 - Lecture 439 Polarized Light Waves in normal light travel in all directions A polarizing filter will only let light in a specified direction  polarized light Why is it useful? –Distinguish between different light sources –Can tell if the robot is pointed at a light beacon –One photocell will receive only ambient light, while the other receives both ambient and source light –In the absence of filters both photocells would receive the same amount of light

CPE 470/670 - Lecture 440 Polarized Light Sensors Filters can be combined to select various directions and amounts of light Polarized light can be used by placing polarizing filters: –at the output of a light source (emitter) –at the input of a photocell (receiver) Depending on whether the filters add (pass through) or subtract (block) the light, various effects can be achieved

CPE 470/670 - Lecture 441 Resistive Position Sensors Finger flexing in Nintendo PowerGlove In robotics: useful for contact sensing and wall-tracking Electrically, the bend sensor is a simple resistance The resistance of a material increases as it is bent The bend sensor is less robust than a light sensor, and requires strong protection at its base, near the electrical contacts Unless the sensor is well-protected from direct forces, it will fail over time

CPE 470/670 - Lecture 442 Potentiometers Also known as “pots” Manually-controlled variable resistor, commonly used as volume/tone controls of stereos Designed from a movable tab along two ends Tuning the knob adjusts the resistance of the sensor

CPE 470/670 - Lecture 443 Biological Analogs All of the sensors we have seen so far exist in biological systems Touch/contact sensors with much more precision and complexity in all species Polarized light sensors in insects and birds Bend/resistance receptors in muscles and many more...

CPE 470/670 - Lecture 444 Active Sensors Active sensors provide their own signal/stimulus (and thus the associated source of energy) reflectance break-beam infra red (IR) ultrasound (sonar) others

CPE 470/670 - Lecture 445 Reflective Optosensors Include a source of light emitter (light emitting diodes LED) and a light detector (photodiode or phototransistor) Two arrangements, depending on the positions of the emitter and detector –Reflectance sensors: Emitter and detector are side by side; Light reflects from the object back into the detector –Break-beam sensors: The emitter and detector face each other; Object is detected if light between them is interrupted

CPE 470/670 - Lecture 446 Photocells vs. Phototransistors Photocells –easy to work with, electrically they are just resistors –their response time is slow –suitable for low frequency applications (e.g., detecting when an object is between two fingers of a robot gripper) Reflective optosensors (photodiode or phototransistor) –rapid response time –more sensitive to small levels of light, which allows the illumination source to be a simple LED element

CPE 470/670 - Lecture 447 Reflectance Sensing Used in numerous applications Detect the presence of an object Detect the distance to an object Detect some surface feature (wall, line, for following) Bar code reading Rotational shaft encoding

CPE 470/670 - Lecture 448 Properties of Reflectivity Reflectivity is dependent on the color, texture of the surface –Light colored surfaces reflect better –A matte black surface may not reflect light at all Lighter objects farther away seem closer than darker objects close by Another factor that influences reflective light sensors –Ambient light: how can a robot tell the difference between a stronger reflection and simply an increase in light in the robot’s environment?

CPE 470/670 - Lecture 449 Ambient light Ambient / background light can interfere with the sensor measurement To correct it we need to subtract the ambient light level from the sensor measurement This is how: –take two (or more, for increased accuracy) readings of the detector, one with the emitter on, one with it off, –then subtract them The result is the ambient light level

CPE 470/670 - Lecture 450 Calibration The ambient light level should be subtracted to get only the emitter light level Calibration: the process of adjusting a mechanism so as to maximize its performance Ambient light can change  sensors need to be calibrated repeatedly Detecting ambient light is difficult if the emitter has the same wavelength –Adjust the wavelength of the emitter

CPE 470/670 - Lecture 451 Readings F. Martin: Chapter 3, Section 6.1 M. Matarić: Chapters 7, 8