How Does an Ultrasonic Sensor Work?

Slides:



Advertisements
Similar presentations
What Is an Electric Motor? How Does a Rotation Sensor Work?
Advertisements

How Does an Ultrasonic Sensor Work?
LabView Basics.
How Does a Sound Sensor Work?
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Mine Mapping Choose a Sensor.
Measuring Distance with Sound Waves. You are driving and need to determine the distance between your car and the car in front of you. Come up with a way.
 Some animals such as bats, use ultrasound waves to detect obstacles and objects around them.  Ultrasounds are reflected of surfaces or objects and.
Computational Neurobiology Center, College of Engineering, University of Missouri, Columbia MO DAY 2 – 50 minutes HOW DOES A ROBOT MOVE?
How Does a Light Sensor Work?. 1. How do humans sense light? 2. Provide an example “stimulus-sensor- coordinator-effector-response” framework using the.
1 Ultrasonic Distance Sensor. 2 How it Works The distance sensor emits short bursts of sound and listens for this sound to echo off of nearby objects.
Robot Sensors and Sound. Gather information from the surroundings and send it to the computer (called the “intelligent brick” in a LEGO robot) Robot sensors.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
Control Using Sound. 1. What is sound? 2. How does the LEGO sound sensor sense sound? 2 Control Using Sound Pre-Quiz.
Don’t Bump into Me!. 1. How do bats sense distance? 2. Describe how bats sense distance in a “stimulus-sensor-coordinator-effector- response” framework.
17.4 Sound and Hearing Sound waves are longitudinal waves that travel through a medium. Many behaviors of sound can be explained by using a few properties:
Music by Touch. 1. Provide an example “stimulus-sensor- coordinator-effector-response” framework for both your (human) sense of touch and the robotic.
Using Sound for many purposes
Sound from Left or Right?. Pre-Activity Quiz 1. How does our sense of hearing work? 2. Why do we have two ears? 3. How does a stethoscope work? (A device.
Traffic Monitoring System using Acoustic Sensors Yuping Dong May 14, 2008.
Chapter 16.5: Using Sound Pg
Obstacle Detection Introductory Presentation. Opening Activity If you were blindfolded, what senses would you use to find things in the room?
Sentry System Multiple Sensors
Are we like robots? JEOPARDY Center for Computational Neurobiology, University of Missouri.
Enables your robot to see, recognize, avoid objects, and detect movement. It uses the same scientific principle that bats use. It measures distance in.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
How Do You Make a Program Wait?
Remote Control Using Bluetooth
NXT Mindstorms Kit Programming
DAY 2 – 50 minutes HOW DOES A ROBOT MOVE?
Line-Follower Challenge
Don’t Bump into Me! Presentation > TeachEngineering.org
Sonar and Echolocation
Echolocation.
What Is an Electric Motor? How Does a Rotation Sensor Work?
1.) How do animals and people use sound?
Frequency determines pitch
What Is Bluetooth? How Does It Differ from a Wired Connection?
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
How Does a Color Sensor Work?
Robot Soccer Challenge
Sound Wave Interactions
Sound Chapter 12.
LEGO Robotics Ultrasonic Sensor
How Does a Touch Sensor Work?
Loops and Switches Pre-Quiz
Music by Touch Music by Touch Presentation > TeachEngineering.org
Introductory Presentation
Echolocation and Sonar
Humans and Other Animals
Introductory Presentation
Obstacle Detection Ultrasonic Sensor.
Introductory Presentation
Echolocation.
The Physics of Sound.
Center for Computational Neurobiology, University of Missouri
Warm Up- What is a robot? Describe in one sentence what you understand by the term ‘robot’ 2. What are the main parts of a robot? What do people do to.
Maze Challenge Maze Challenge activity > TeachEngineering.org
The Uses Ultrasonics.
ACTIVITY MOVEMENT TASK USING SENSORS - HUMANS AND ROBOTS (75 MINUTES)
Center for Computational Neurobiology, University of Missouri
I can match a qualitative graph to a situation. GOFO!
Sound Collect a sheet from the front and follow the instruction to complete the left hand box Write down here how you think sound travels from the school.
Introductory Presentation
Using Waits, Loops and Switches
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
How Does an Ultrasonic Sensor Work?
Obstacle Detection.
Humans and Other Animals
Basic Robotic Programming
Presentation transcript:

How Does an Ultrasonic Sensor Work? How Does an Electronic Sensor Work? Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri

Ultrasonic Sensor Pre-Quiz How do humans sense distance? How do bats sense distance? Provide an example “stimulus-sensor- coordinator-effector-response” framework using the bat.

Ultrasonic Sensor Pre-Quiz Answers How do humans sense distance? Humans estimate distance using their eyes, which is usually not a very accurate method. How do bats sense distance? Bats sense distance using sound. They emit sound waves and receive back reflected waves. The time it takes to receive the waves back provides them with a very good estimate of the distance. This is exactly how ultrasonic sensors estimate distance. Provide an example “stimulus-sensor-coordinator-effector- response” framework using the bat. Example for bats: calls made by mouth > ears hear reflected waves > brain decides what to do > wing muscles move > flight path changed, as needed. Bats use this same method to catch mosquitoes, too!

Ultrasonic Sensor An ultrasonic sensor has two parts: A transmitter that sends out a signal that humans cannot hear A receiver that receives the signal after it has bounced off nearby objects The sensor sends out its signal and determines how long the signal takes to come back. If the object is very close to the sensor, the signal comes back quickly If the object is far away from the sensor, the signal takes longer to come back If objects are too far away from the sensor, the signal takes so long to come back (or is very weak when it comes back) that the receiver cannot detect it The sensor sends a message back to the computer brick telling it the time taken for the signal to return. Then the brick uses this info to compute how far away the object is. Can you name a similar sensing performed by a bird that works like this? Bats, dolphins, porpoises and some whales use echolocation, sometimes called biosonar.

Neuro-Distance Sensor Robotic Distance Sensor How does a bat locate its prey in the dark? Robotic Distance Sensor

Echolocation Bats use a process called “echolocation” to locate prey or other objects. What is echolocation? Bats produce a very high-pitch sound (ultrasonic, beyond the human hearing range). Those sound waves travel through air and bats listen carefully to any echoes that return. By determining how long echoes take to return, bats estimate the distances of the objects. Bats also determine how big objects are and in which direction they are located. The bat brain processes the echoes similarly to human brains.

Echolocation (continued) How does an ultrasonic sensor work? During the processing of echoes in a bat brain, it forms an image in its head similar to how humans use both visual and aural (hearing) information to identify objects. Bats also process visual information as humans do, contrary to popular belief. How does an ultrasonic sensor work? The ultrasonic sensor uses a pair of transducers. The sensor emits a sound pulse and measures the distance of the object depending on the time taken by the echo to return back to the other side. Electrical energy is converted to sound to send the pulse, and then the sound received back is converted to electricity, which is what the brick understands.

Review: Robot Sensors (As stated in an earlier activity,) robot sensors: Gather information from the surroundings and send it to the computer brick Robot sensors can only be used if the robot’s program asks for information from them! Similarly, the robot can only act on information from the sensors if its program tells it to do so! How do sensors send signals to the LEGO brick/computer? The sensors send information through the wires (similar to the nervous system in your body) that connect them to the LEGO brick, which uses the information if its program requires it.

How Can We Measure Distance? Bats use the same principle! The ultrasonic sensor sends out sound from one side and receives sound reflected from an object on the other side. The sensor uses the time it takes for the sound to come back from the object in front to determine the distance of an object. Bats use the same principle! The “sonic” in ultrasonic refers to sound, and “ultra” means that humans cannot hear it (but bats and dogs can hear those sounds). The ultrasonic sensor can measure distances in centimeters and inches. It can measure from 0 to 2.5 meters, with a precision of 3 cm. It works very well and provides good readings in sensing large-sized objects with hard surfaces. But, reflections from soft fabrics, curved objects (such as balls) or very thin and small objects can be difficult for the sensor to read. Note: Two ultrasonic sensors in the same room may interfere with each other’s readings.

How Are Ultrasonic Sensors Made? The LEGO ultrasonic sensor sends an ultrasonic sound (which you cannot hear) from one of the “eyes” shown to the right , and receives the reflection in the other “eye,” which acts like a microphone. The air pressure vibrations makes the diaphragm move in that microphone, and this diaphragm motion is sensed and converted into an electrical signal (like the sound sensors you have studied). The time lag between the sent and received sound is used by the brick to estimate the distance to the object. As mentioned before, this is how bats also estimate distance.

Mini-Activity 1: Let’s Investigate How does the brick read the signal from the ultrasonic sensor? Do This: Attach the sensor to the LEGO brick as shown below.  Use the VIEW command to go the ultrasonic sensor. Then place your hand in front as shown below. The display should show distance of your hand from the sensor.  10 minutes for Mini-Activity 1 Check the working of the ultrasonic sensor using the “Try Me” option.  Note your observations from your experimentation and show to the teacher. Center for Computational Neurobiology, University of Missouri

Mini-Activity 2 Do This: Connect the LEGO brick to the ultrasonic sensor and a motor, as shown to the left.  Use the computer to program the NXT brick so that it plays one music when an object is close to it (less than 10 inches), and keeps the motor turning. If the object is farther than 10 inches, have the program stop. 15 minutes for Mini-Activity 2; answers on slides 15-18 for the teacher. On a separate sheet of paper, provide a step-by- step explanation describing how the program works. Center for Computational Neurobiology, University of Missouri

Mini-Activity 2 Answer for the Teacher

Mini-Activity 2 Answer for the Teacher (continued)

Mini-Activity 2 Answer for the Teacher (continued)

Mini-Activity 2 Answer for the Teacher (continued)

Ultrasonic Sensor Post-Quiz How do humans sense distance? How do bats sense distance? Provide an example “stimulus-sensor- coordinator-effector-response” framework using an EV3 ultrasonic sensor.

Ultrasonic Sensor Post-Quiz Answers How do humans sense distance? Humans estimate distance using their eyes, which is usually not a very accurate method. How do bats sense distance? Bats sense distance using sound. They emit sound waves and receive back reflected waves. The time it takes to receive the waves back provides them with a very good estimate of the distance. This is exactly how ultrasonic sensors estimate distance. Provide an example “stimulus-sensor-coordinator-effector- response” framework using an NXT ultrasonic sensor. Example: object in front of the ultrasonic sensor > ultrasonic sensor > LEGO brick/computer > robot motor > robot moves

Vocabulary sensor: A device that converts one type of signal to another; for instance, the speedometer in a car collects physical data and calculates and displays the speed the car is moving. auditory: Related to hearing. peripheral: Surrounding. ultrasonic: A sound of a frequency that humans cannot hear, but dogs and bats can. transducer: Another term for a sensor (see above). echolocation: Biological sonar used by animals such as bats and dolphins, in which the animal sends out a call and uses the echo to locate and identify surrounding objects. Center for Computational Neurobiology, University of Missouri

Images Sources Slides 1, 4, 5, 8, 10, 11, 12: LEGO device images; source: LEGO MINDSTORMS NXT User’s Guide Slide 1: blue bat: source: Microsoft® clipart: http://office.microsoft.com/en- us/images/results.aspx?qu=bat&ex=1#ai:MC900319526| Slide 5: moth; source: Microsoft® clipart: http://office.microsoft.com/en- us/images/results.aspx?qu=moth&ex=1#ai:MC900438026| Slide 5: bat; source: Microsoft® clipart: http://office.microsoft.com/en- us/images/results.aspx?qu=bat&ex=1#ai:MC900354219| Slide 5: chair; source: Microsoft® clipart: http://office.microsoft.com/en- us/images/results.aspx?qu=chair&ex=1#ai:MC900030372|mt:1| Slide 5: composite image by author Slide 9: diagram of sonar/radar principle for distance measurement; source: 2005 Georg Wiora, Wikimedia Commons: http://commons.wikimedia.org/wiki/File:Sonar_Principle_EN.svg Slides 13-16 : Screen capture images by the author.