sensors. sensors are for perception sensors are physical devices that measure physical quantities....

15
Sensors

Upload: darren-rodgers

Post on 11-Jan-2016

226 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception

Sensors

Page 2: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception

Sensors are for Perception• Sensors are physical devices that measure physicalquantities.– Such as light, temperature, pressure

– Proprioception (internal) and Exteroception (external) make up the perceptual system of a robot

• Sensor noise and errors are inherent in physicalmeasurement, thus the challenge of uncertainty

• Issues with Sensors:– Sensors produce signals, not symbols.– Signal-to-symbol problem: from sensor input how do you form an intelligent response which will require a symbolic form. Such as a camera waiting for a person to smile (symbol) before taking a photo (response).

• Sensor Fusion: Combining multiple sensors to get betterinformation about the world.

Page 3: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception

Switches

Switches measure current to detect an open or closed circuit.

Page 4: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception

Levels of Processing• Electronics (low level): such as measuring voltages• Signal processing (medium level): such as separating voice fromnoise• Computation (high level): such as recognizing an object from animage• Examples:

Bump Sensors (low) Odometer (low)Sonar (medium)Speech (medium)Vision (high)

Given the sensor input,– Both simple and complex sensors can be used to answer the

question:What should a robot do? (action in the world)

– Complex sensors can also be used to answer the question:What was the world like? (reconstruction of the world)

Page 5: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception

Locating People

Camera is the most obvious, but the most complex to process the signal.

Temperature: locate objects within human body temperature.Movement: locate objects moving that are a certain size.Color: locate objects of skin color, or human clothes.Distance: locate objects that block a previously area that was open.

The sensors will need to be calibrated before use in the robot.

What kind of sensor would you use to locate people in a room?

Page 6: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception

Finding Distance using Sonar

Page 7: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception

Simple Sensors

Simple Sensors are sensors that don’t require a lot of processing.

• Passive vs. Active (applies to both simple orcomplex)

– Passive: measures a physical property only, with a detectorEx: switches, resistive light sensors, cameras

– Active: provides own signal/stimulus, with both an emitter and a detectorEx: reflectance and break beam, ultrasound and laser.

Page 8: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception

Types of Sensors

Contact Sensor

Limit sensor

Shaft encoder sensor

Page 9: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception

Light Sensors• Photocells convert light intensity to resistance in the circuit• Work even with invisible light (such as infrared)• Could be used for measuring intensity, differential intensity or break in continuity

– Reflectance sensors: active sensors with emitter anddetector side by side– Break beam sensors: emitter and detector face eachother• Calibration is used to reduce noise

Page 10: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception
Page 11: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception
Page 12: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception
Page 13: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception
Page 14: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception
Page 15: Sensors. Sensors are for Perception Sensors are physical devices that measure physical quantities. – Such as light, temperature, pressure – Proprioception

Sensory inputs, such as the value of the light sensor, will make the robot a little more intelligent.

• We need a decision-making mechanism so that our robots can react to their environment autonomously (without a human touching it).

• Decision making is achieved by conditional executionin the programming environment.

• In MindStorms, by using Conditional Constructs (if-then-else) , we can allow programs to behave differently based on different values of sensor inputs.

Decision Making