We use cookies to give you a better experience. Carry on browsing if you're happy with this, or read our cookies policy for more information.

Skip main navigation

Ultrasonics

A robot measures the distance and location of another object by ultrasonics or echo location. Professor Richard Mitchell explains more in this video.
0.6
Hi. This is Richard Mitchell with a video explaining how we use echolocation on our robots to determine how far away they are from other objects. So if our robot is to react to its environment, it must find what else is there. How far away is the wall, say? Or how far away is another robot or some other object? And is that object on the left or on the right? Here, we can borrow some ideas from nature. For instance, bats and dolphins emit the ultrasound signals for this purpose. Let’s investigate the idea. So basic concept– an ultrasonic signal is emitted, which takes time to travel.
41.1
If it reaches an object, that signal gets reflected back, which also takes time, and the time taken for the echo to return is measured, and that gives you an idea about how far away the object. The longer the measured time, the further away the object. Works for ultrasonics. Also works for infrared. In fact, for cost reasons, for ERIC, we use infrared, whereas we’ve used ultrasounds on other robots. So here, we see a robot and a series of other objects around it. By default, the robot has a sensor which emits ultrasound straight across. Let’s see what happens. Press to Start. Here we see the signal, gets an object, gets reflected back.
81.7
There’s also a reflection here, but it’s the first one to return that we note. And we can see that it’s taken 96 units for the signal to return. If I move the object a bit closer, like so, do the same thing, comes back, and it’s only 68. That’s fine for detecting an object straight ahead, but we want to know if there’s something on the left or the right. So our robots have two sensors. First, you signal it on the left. Comes back. Then the right. Comes back. And we can see it took 40 units before the left signal returned, 52 for the right, which means that this object here is closer than that one.
124.1
But if I move that one a bit closer like so and repeat the thing, now it’s only taken 28 units, so this one is closer. So in summary, our robots have two sensors, two transmitters and associated receivers, and they first find the distance to the nearest subject to one eye, then to the other eye. Feel free to investigate this web page further. You can move the robot around. You can move the objects around and so forth. Later, you will do an exercise where you will set the robot’s speeds depending upon the information from sensors such as these.
In this short video, Richard explains how echo location is used by a robot to measure the distance and location of another object.
You will have the chance to get the robot to move on the basis of ultrasonic sensing in a simulation exercise later this week.
If you would like to investigate Ultrasonics further, you can take a closer look at the Ultrasonics web page.
This article is from the free online

Begin Robotics

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education