A brief introduction to Time-of-Flight sensing. Part 1 The basics

Time-of-Flight is the latest technology for accurate and affordable distance sensors. This is the first of two articles bringing you the fundamentals of Time-of-Flight technology.
optical sensor array

What is the Time-of-Flight principle?

Time-of-Flight (ToF) sensors are used for a range of applications, including robot navigation, vehicle monitoring, people counting, and object detection. ToF distance sensors use the time that it takes for photons to travel between two points to calculate the distance between the points.

What is the Time-of-Flight principle?What is the Time-of-Flight principle?

What are Photons?

Photons are the elementary particles that make up light. They come in different wavelengths, from long-wavelength radio waves that bring you your favorite music, to short wavelength, high-energy X-rays that doctors use to see through your body. ToF sensors use wavelengths somewhere in the middle of the electromagnetic spectrum, close to visible light.

depth sensing camera

There are three critical attributes of photons that we need to remember for ToF: Photons carry energy; they travel at a constant speed, usually the speed of light; they rarely travel alone.

The number of photons emitted by ToF sensors is enormous. We can estimate the number of photons used by a ToF sensor in one measurement using our measurement parameters. If we use a TeraRanger Evo sensor that emits photons at 940 nm, 100 mW for 50 μs, we can work out the number of photons emitted in one measurement:

ToF Formula
time-of-flight distance sensor

HOW DO WE CALCULATE DISTANCES FROM TIME?

So, we know photons travel at the speed of light, which is often abbreviated to ‘c’. The speed of light is incredibly fast, 300000km/s. In fact, it is impossible to travel any faster. This means that it takes photons a very short amount of time to travel vast distances. For example, to travel from the sun to the earth takes a photon just eight minutes, while from the moon to the earth takes 1.28 seconds! For an idea of how long it takes to travel more earthly distances, it takes a photon just 33 ns to travel 10 m, and 1 m takes 3.3 ns. As a general rule of thumb, photons travel at 30 cm/ns.

HOW DOES THE OBJECT YOU ARE DETECTING AFFECT YOUR TOF MEASUREMENTS?

The object that the photons hit inevitably has its own characteristics, and all surfaces reflect light differently. When light hits a surface, it can be absorbed, reflected or transmitted. The proportion of light reflected by the surface is called its reflectance. However, the reflectance doesn’t only depend on the surface, but also the type of light being reflected. Be careful: Do not assume the reflectivity of a surface is the same for visible and near-infrared light! (4)

When a surface reflects light, it can also be reflected in a variety of different ways.

Time-of-Flight camera depth sensing
light sensor array

Irregular surfaces can cause significant complications for ToF measurements, as it can be difficult for the sensor to understand which photons came from where. In confined spaces, photons can also bounce off walls and other objects, further confusing the measured distance.

SO, WITH ALL THESE FACTORS, HOW MUCH LIGHT ACTUALLY MAKES IT BACK TO THE TOF SENSOR?

Our LED Evo sensors have a field of view instead of a point measurement, and the illumination density of the light gets lower as the distance increases. So, at a distance of 1m, the sensor illuminates an area approximately 4x4cm.

Let’s assume that the object has 88% reflectance. That means that about 21 billion of our 24 billion photons are reflected by the surface. If the light is reflected equally in all directions, the reflected photons will form a half-sphere. Our Evo receiver lens is 1cm2, representing 0.00000039% of the area of the half-sphere when it reaches the detector. So, our Evo sensor will receive around 80,000 of the 24 billion photons that it sent out!

The art of making great ToF sensors is creating a sensor that can send the light out and receive as many of the returning photons as possible!

HOW DOES THE ENVIRONMENT AFFECT YOUR TOF MEASUREMENTS?

ToF sensors are sensitive to ambient light, as they can’t tell if photons were emitted by the sensor or have arrived from other light sources. ToF sensors tend to work better indoors, where there is little or no ambient light. Outdoors light from the sun travels through the atmosphere at different angles, interacting with dust and vapor as it goes. As a result, outdoor ToF sensors encounter a characteristic spectrum of light (see Figure 5) with gaps in the light spectrum at energies where water vapor, oxygen, and CO2 absorb light. In theory, these gaps in the solar spectrum are ideal wavelengths for ToF sensors to operate, as there is less interference from ambient light.

optical sensor array

In the second article of this ‘Introduction to Time of Flight’ series, we will talk about the two varieties of ToF, direct ToF and indirect ToF. Direct ToF uses short pulses of light, and we measure the time until each pulse returns to the sensor to measure the distance to an object. Indirect ToF sensors emit a continuous wave of modulated light, and the phase of the reflected light is used to calculate the distance to the object. Stay tuned for the next part in this series!

References and Further Reading

1. ‘Time-of-Flight Cameras: Principles, Methods and Applications’ — M. Hansard, S. Lee, O. Choi, R.P. Horaud, Springer, 2013.
2. ‘Time of Flight Principle’ https://www.Tredecile.com/time-of-flight-principle/
3. ‘The Nature of Light’ — C. Roychoudhuri, A.F Kracklauer, K. Creath, CRC Press, 2017.
4. ‘Theory of Reflectance and Emittance Spectroscopy’ — B. Hapke, Cambridge University Press, 2012.

Related products

0
My Cart