16-311 Intro. to Robotics Sensing and Sensors Steve Stancliff.

Slides:



Advertisements
Similar presentations
A brief overview of sensors (and why you should love them)
Advertisements

Chem. 133 – 2/12 Lecture. Announcements Lab Work –Supposed to Cover Set 2 Labs – but I probably won’t cover all and then will give an extra day for period.
Controller Systems Tufts EMID - Spring Typical Controller System Sensors Acquisition System (Arduino) Mapping Software (Max) Output (Reason)
Programming Logic Controllers
LabView Basics.
INTRODUCTION TO ROBOTICS INTRODUCTION TO ROBOTICS Part 4: Sensors Robotics and Automation Copyright © Texas Education Agency, All rights reserved.
Semiconductor Input Devices
Stephanie Pitcher GK-12. SENSORS  Are devices capable of detecting change:  Temperature  Pressure  Humidity  Speed  And Many more …  There are.
Last time we saw: DC motors – inefficiencies, operating voltage and current, stall voltage and current and torque – current and work of a motor Gearing.
[HW] 2015 – sensors purpose of a sensor:
Overview of Our Sensors For Robotics. What makes a machine a robot?
CMPE 118 MECHATRONICS Introduction to Sensors Or, How the world gets into our programs.
1 Chapter 5 Sensors and Detectors A detector is typically the first stage of a communication system. Noise in this stage may have significant effects on.
Part A: Controlling Oscillation Frequency with Capacitors and Resistors Part B: Diodes and Light Experiment Timer.
16722 Mo: signals36+1 signals.
SENIOR DESIGN 10/16.
Electronics Design Laboratory Lecture #11, Fall 2014
Lecture – 7 Basic input and output
Chapter One Characteristics of Instrumentation بسم الله الرحمن الرحيم.
Motion detector ​ Bikesh Shrestha ​ Ari Rajamäki.
Sensors Introduction Describing Sensor Performance Temperature Sensors
Basics of Sensors. A sensor is a device which is used to sense the surroundings of it & gives some useful information about it. This information is used.
Embedded Systems Development and Applications Terrence Mak The Chinese University of Hong Kong CENG /15.
Sensors - 1 Intro to Sensors. Sensors - 2 Physical Principles of Sensing Generation of electrical signals in response to nonelectrical influences Electric.
ELECTRONICS PRIMER. Assignment: WEB-based Electronics Tutorial Basic definitions Components Ohm's Law LEDs and Transistors Additional electronics tutorials.
ISAT 303-Lab3-1  Measurement of Condition: Lab #3 (2005):  List of parameters of condition: –Linear distance, angular displacement, vibration, displacement,
Getting started with interactive projects using the Arduino, Max and Processing.
Basics of Measurement and Instrumentation
Introduction to Robotics and ASU Robots Yinong Chen (Ph.D.) School of Computing, Informatics, and Decision Systems Engineering.
Input technologies All require some form of data acquisition –e.g. Image scanner, Microphone Once acquired, if the signal is not already digital, it will.
Magnetic Contactor For handling large current and voltage.
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.
Sensors are mostly electronic devices used to monitor or capture something.
LSU 06/04/2007Electronics 61 Data Acquisition Electronics Unit – Lecture 6 Sensors and Transducers Signal conditioning Data sampling and recording.
Introduction to Engineering Lab 4 – 1 Basic Data Systems & Circuit Prototyping Agenda REVIEW OF LAB 3 RESULTS DEFINE a DATA SYSTEM  MAJOR TYPES  ELEMENTS.
Seminar ON SMART SENSOR Submitted by : SUBIR KUMAR GHOSH Roll No. IN-14/04 Electrical & Instrumentation Deptt. B.E 7th Semester JORHAT ENGINEERING COLLEGE,
ELECTRONICS PRIMER II.
Sensors I Lecture is based on material from Robotic Explorations: A Hands-on Introduction to Engineering, Fred Martin, Prentice Hall, 2001.
Choose a category. You will be given the answer. You must give the correct question. Click to begin.
Sensors Por: Flora Gibson.
INTRODUCTION TO ROBOTICS INTRODUCTION TO ROBOTICS Part 4: Sensors Robotics and Automation Copyright © Texas Education Agency, All rights reserved.
Optoelectronics.
EMBEDDED SYSTEM & ROBOTICS. Introduction to robotics Robots are machines capable of carrying out a complex series of actions automatically. Robotics is.
Sensors For Mobile Phones  Ambient Light Sensor  Proximity Sensor  GPS Receiver Sensor  Gyroscope Sensor  Barometer Sensor  Accelerometer Sensor.
Chem. 133 – 2/11 Lecture. Announcements Lab today –Will cover 4 (of 8) set 2 labs (remainder covered on Tuesday) –Period 1 will extend one day Website/Homework.
Chem. 133 – 2/9 Lecture. Announcements Return Q1 + HW 1.1 This week’s seminar: on aerosol air pollution in Asia Lab –Sign up for term project instruments.
Infrared IR Sensor Circuit Diagram and Working Principle.
SECURITY SYSTEM USING PIR. OVERVIEW  Introduction of Embedde system  Aim of the project  Current scenario  Limitations of Current scenario  Futurescope.
Sensors For Robotics. What makes a machine a robot?
Getting to Know Your Digital Camera It is important to know the features of your camera, it will make taking pictures (creating images) more enjoyable.
The sensors guide fingerprint sensors rate monitor gyroscope camera
Input and Sensor Input: Any signal or information digital or analog that is processed in a system is known as input. Sensor: A sensor is an object whose.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 10: Digital Systems by Muhazam Mustapha, December 2011.
1 - An Introduction to Sensors P roduced at Warwick University by Margaret Low Simon Leigh
Sensors for Robotics Introduction. Human Sensing Sense: Vision Audition Gustation Olfaction Tactition What sensed: EM waves Pressure waves Chemicals -
ELECTRONICS PRIMER.
Instrumentation & Measurement
Digital Light Sources First introduced in 2001.
Electronic Control Systems Week 3 – Switches and Sensors
Measurements & Instrumentation – Module 3
SENIOR DESIGN PROJECT 1/30/06.
Introduction to Robots
دکتر سعید شیری قیداری & فصل 4 کتاب
Chem. 133 – 2/9 Lecture.
Day 32 Range Sensor Models 11/13/2018.
Getting to Know Your Digital Camera
Probabilistic Robotics
Distance Sensor Models
Noise I Abigail Firme.
Presentation transcript:

Intro. to Robotics Sensing and Sensors Steve Stancliff

Credits Much borrowage from Mel Siegel ’ s slides “ Ranging Sensors ” section from the old slides by: Sean Pieper Bob Grabowski Howie Choset

Outline Why Sense? Senses / Sensors Transduction Interfacing - Hardware Interfacing - Software References

Why Sense? Why not just program the robot to perform its tasks without sensors? Uncertainty Dynamic world Detection / correction of errors

Human Sensing Sense: Vision Audition Gustation Olfaction Tactition What sensed: EM waves Pressure waves Chemicals - flavor Chemicals - odor Contact pressure

Human Sensing Sense Thermoception Nociception Equilibrioception Proprioception What sensed: Heat Pain Sense of balance Body awareness

Animal Sensing Magnetoception (birds) Electroception (sharks, etc.) Echolocation (bats, etc.) Pressure gradient (fish)

Human Sensors Sense: Vision Audition Gustation Olfaction Tactition Sensor: Eyes Ears Tongue Nose Skin

Human Sensors Sense: Thermoception Nociception Equilibrioception Proprioception Sensor: Skin Skin, organs, joints Ears Muscles, joints

Robot Sensors Sense: Vision Audition Gustation Olfaction Tactitions Thermoception Nociception Sensor: Camera Microphone Chemical sensors Contact sensors Thermocouple ?

Robot Sensors Sense: Equilibrioception Proprioception Magnetoception Electroception Echolocation Pressure gradient Sensor: Accelerometer Encoders Magnetometer Voltage sensor Sonar Array of pressure sensors?

Robot Sensors EM spectrum beyond visual spectrum (RADAR, LIDAR, radiation, infrared) Chemical sensing beyond taste and smell Hearing beyond human range Lots more.

Infrared Ranging Magnetic Reed Switch Gas Radiation Piezo Bend Resistive Bend Pendulum Resistive Tilt CDS Cell IR Modulator Receiver UV Detector Metal Detector Robot Sensors – A Sampling Gyroscope Compass PIR GPS Magnetometer Sonar Ranging Rotary Encoder Pressure Pyroelectric Detector Accelerometer Linear Encoder Camera Lever Switch Laser Rangefinder Microphone

Transduction What do all of these sensors have in common? They all transduce the measurand into some electrical property (voltage, current, resistance, capacitance, inductance, etc.)

Transduction Many sensors are simply an impedance (resistance, capacitance, or inductance) which depends on some feature of the environment: Thermistors: temperature  resistance Humidity sensors: humidity  capacitance Magneto-resistive sensors: magnetic field  resistance Photo-conductors: light intensity  resistance

Transduction Other sensors are fundamentally voltage sources: Electrochemical sensors: chemistry  voltage Photovoltaic sensors: light intensity  voltage

Transduction Still other sensors are fundamentally current sources: Photocell : photons/second  electrons/second Some sensors collect (integrate) the current, outputting electrical charge: CCD: photons  charge

Interfacing - Hardware How can we interface each of these types of signals to a computer? Voltage Compare to a reference voltage Current Pass it through a reference resistor, measure the voltage across the resistor Resistance Use a fixed resistor to make a voltage divider, measure the voltage across one of the resistors

Interfacing - Hardware Voltage Compare to a reference voltage Most microcontroller boards have 0-5V input lines. The 5V reference is internal to the board. If your device outputs a voltage higher than the input range, use a voltage divider to measure a fraction of it.

Interfacing - Hardware Voltage divider: Figure from

Interfacing - Hardware Current: Pass it through a reference resistor, measure the voltage across the resistor Figure from

Interfacing - Hardware Resistance: Use a fixed resistor to make a voltage divider, measure the voltage across one of the resistors Figure from

Interfacing – Hardware Higher-level interfacing. Complicated sensors (cameras, GPS, INS, etc.) usually include processing electronics and provide a high-level output (USB, firewire, RS-232, RS-485, ethernet, etc.)

Interfacing - HB Handy Board input ports: Source: “The Handy Board Technical Reference”, Fred G. Martin, 2000.

Interfacing - HB Handy Board input connector: Input port has 47k pull-up resistor. When nothing is connected, it will read +5V Source: “The Handy Board Technical Reference”, Fred G. Martin, 2000.

Interfacing - HB Digital sensor: Switch pulls input down to ground when closed. Source: “The Handy Board Technical Reference”, Fred G. Martin, 2000.

Interfacing - HB Resistive sensor: Sensor forms voltage divider with internal pull-up resistor. Source: “The Handy Board Technical Reference”, Fred G. Martin, 2000.

Interfacing - Software Calibration For many sensors you want to calibrate a maximum and minimum and/or a threshold value. Those values can be subject to ambient conditions, battery voltage, noise, etc. You need to be able to easily calibrate the sensor in the environment it will operate in, at run time.

Interfacing - Software Ex: Calibrating a light sensor: Perhaps you want to calibrate the brightest ambient light value. For instance, in the Braitenberg lab, if you know the brightest ambient value, then anything brighter than that is the goal.

Interfacing - Software Ex: Calibrating a light sensor: Manual calibration: Robot prints light sensor readings to the LCD. Move it around until you find the maximum. Press a button to store those values. Automatic calibration: Robot moves around the room (spin in place? drive around randomly?) Stores the highest value it encounters.

Interfacing - Software Ex: Calibrating an encoder (for a device with a limited range of motion): Manual calibration: Move the device to one end of the motion. Press a button to record that position. Move the device to the other end of the motion. Press a button to record that position. Automatic calibration: Robot moves the device in one direction until it hits a limit switch. Records that value. Then moves in the other direction until it hits another limit switch. Records that value.

Interfacing - Software Signal conditioning. For many sensors if you just take the values straight from the hardware you will get erratic results. Signal conditioning can be done in hardware or software. Often both are used. We’ll talk about software methods here.

Interfacing - Software Signal conditioning – averaging. With a light sensor or a range sensor, you may want to average several readings together. This will reduce errors that are equally distributed above and below the true value.

Interfacing - Software Signal conditioning – debouncing. When a switch is pressed, the mechanical contacts will bounce around briefly. The electrical signal looks something like this: stable bouncing 50 μs Figure from slides for Mechatronic Design.

Interfacing - Software Signal conditioning – debouncing. The result is that your program may think that the switch was pressed multiple times. One easy way to debounce in software is to only read the sensor value periodically, with a period larger than the settling period for the switch. In the previous slide, the settling period was 150ms The downside to this method is that it reduces the rate at which you can read real changes.

Intensity-based infrared: Ranging Sensors

Intensity-based infrared: Easy to implement (few components) Works very well in controlled environments Sensitive to ambient light Ranging Sensors time voltage time voltage Increase in ambient light raises DC bias

Modulated infrared: Ranging Sensors limiterdemodulator bandpass filteramplifier comparator integrator 600us Input Output

Modulated infrared: Insensitive to ambient light Built in modulation decoder (typically 38-40kHz) Used in most IR remote control units ( good for communications) Mounted in a metal Faraday cage Cannot detect long on-pulses Requires modulated IR signal Ranging Sensors

Digital infrared: Ranging Sensors Optical lenses +5v output input gnd 1k

Digital infrared: Optics to covert horizontal distance to vertical distance Insensitive to ambient light and surface type Minimum range ~ 10cm Beam width ~ 5deg Designed to run on 3v -> need to protect input Uses shift register to exchange data (clk in = data out) Moderately reliable for ranging Ranging Sensors

Polaroid ultrasonic: Ranging Sensors

Polaroid ultrasonic: Ranging Sensors Digital Init Chirp 16 high to low -200 to 200 V Internal Blanking Chirp reaches object m/s Temp, pressure Echoes Shape Material Returns to Xducer Measure the time

Problems: Azimuth uncertainty Specular reflections Multipass Highly sensitive to temperature and pressure changes Minimum range Ranging Sensors

Naive sensor model Ranging Sensors

Problem with naive model: Ranging Sensors

Problem with naive model: Ranging Sensors

Reducing azimuth uncertainty: Pixel based methods (most popular) Region of constant depth Arc transversal method Focusing multiple sensors Ranging Sensors

Certainty grid approach: Combine info with Bayes rule (Moravec and Elfes) Ranging Sensors

Arc transversal method: Uniform distribution on arc Consider transversal intersections Take the median Ranging Sensors

Arc transversal method: Ranging Sensors

Mapping example: Ranging Sensors

More To Learn There ’ s a lot more to it: Input and output impedance Amplification Environmental noise ADC, DAC noise Sensor error and uncertainty Data filtering, sensor fusion, etc.

Questions?

References Useful books Handbook of Modern Sensors: Physics, Designs and Applications, Fraden. The Art of Electronics, Horowitz & Hill. Sensor and Analyzer Handbook, Norton. Sensor Handbook, Lederer. Information and Measurement, Lesurf. Fundamentals of Optics, Jenkins and White.

References Useful websites: (sensors + hand-helds) (hand-helds) (instruments, enormous) (instruments, big) (instruments, small) (optics ++) (comprehensive listing of sensors etc. and links)