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.

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

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now