Skip main navigation

Internal sensors

Read how internal sensors are used to measure aspects about the robot itself, in this case speed, in this article by Professor Richard Mitchell.
Small robot created by a student at the University of Reading, with spinning wheel and 2 small flippers
© University of Reading

Internal sensors are used to measure aspects about the robot itself, such as how fast it is going and at what angle it is facing.

When we consider how fast a robot is going, we need to know about its speed, which is about how its position is changing, but also the direction of travel. So formally we refer to velocity, which is the speed at which an object travels and the direction of travel.

For mobile robots, their velocity can be determined by how fast their wheels are rotating. This can be obtained by adding an encoder to the wheel which has a series of slits in it. In addition, there is a light which shines from one side of the encoder, and two detectors on the other side, which see the light when it comes through a slit.

How often the light is detected gives an indication of speed. Whether the first or second detector sees the light indicates the direction.

Figure 1 below illustrates this, showing the signals detected by A and B as the wheel slows down and then reverses direction.

Diagram to illustrate the detectors and quadrature sensors on a robot used to measure its speed

Figure 1: The detectors and quadrature sensors on a robot used to measure its speed (click to expand)

On ERIC we measure speed in a different way, which will be explained later in the course.

When an object is rotating, at any time it is at a particular angle, and the change of angle as it rotates is termed angular velocity. Robots can use gyroscopes to measure angular velocity.

Similarly, a magnetometer can be used to detect magnetic field and hence direction of travel.

© University of Reading
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