Light, infrared and distance sensors

How ambient light sensors match the eye, how infrared thermometers read temperature, how time-of-flight sensors time light, and how each misleads you.

Core

What light, infrared and time-of-flight sensors actually measure An ambient light sensor filters light to the eye's V(λ) curve before a silicon photodiode and reports lux; an infrared thermometer turns the infrared a surface emits into a temperature; a time-of-flight sensor times its own light out to a target and back. Each column lists how the reading goes wrong and how to check it. Ambient light sensor Light V(λ) filter Silicon photodiode Illuminance, lux V(λ): 360 to 830 nm peak at 555 nm bare silicon: to 1100 nm Can read high under halogen light; under dark covers that pass infrared Check it against a reference light meter, sensor close under the window (about ±55°) Infrared thermometer Surface Thermometer Corrects for emissivity Temperature 8 to 14 µm band calibrated on emitters with emissivity close to 1 Reads low clean, polished metal (low emissivity), unless the reading is corrected for emissivity Spot (D:S) fill the field of view; one maker: 1 % to 35 % of energy from outside spot Time-of-flight Sensor Target Times light out and back Distance, mm 940 nm, 20 to 2500 mm ±5 % from 200 mm (one maker's sensor) Range falls 18 % grey card: 2500 mm in 350 lux fluorescent, 550 mm in 14 000 lux halogen light Check it calibrate in the product, cover glass fitted, no target within 40 cm
An ambient light sensor, an infrared thermometer and a time-of-flight sensor: what each measures, how its reading goes wrong, and how to check it.

Key points

  1. An ambient light sensor reports illuminance in lux, filtered to respond like the light-adapted eye: the CIE photopic function V(λ), defined from 360 to 830 nm and peaking at 555 nm. One maker lists display backlight control, lighting control systems and street lights as uses.123
  2. A bare silicon photodiode responds out to about 1100 nm, beyond what the eye sees, so sensors for visible light add a filter. One maker says most such sensors still read differently under different lamps, some because they do not stay at zero in the near infrared; its own may read a little high under halogen light.432
  3. A cover can make this worse: many dark windows dim visible light but pass infrared, raising the infrared share at the sensor. One maker says its sensor, with a half-sensitivity angle of about ±55°, must sit as close as possible under a large enough window to give results comparable to a reference light meter.23
  4. A non-contact infrared thermometer infers temperature from the infrared a surface emits, in a band such as 8 to 14 µm. It is generally calibrated on blackbody sources, with emissivity close to 1. A clean, polished metal has low emissivity, so it reads colder than it is unless the reading is corrected for it.56
  5. The distance-to-spot ratio (D:S) relates distance to the diameter of the spot holding a set share of the energy collected. The target must fill the field of view: one maker says 1 % to 35 % of the energy, by instrument quality, can come from outside the spot, and reflections from warm surroundings are collected too.6
  6. A time-of-flight distance sensor times how long its own light, usually near infrared, takes to reach a target and reflect back. One maker's single-zone sensor uses 940 nm light, ranges 20 to 2500 mm and is typically within ±5 % from 200 mm. Uses include robotics, automation, liquid level and camera autofocus.78910
  7. In one maker's datasheet, maximum range on an 18 % grey card falls from 2500 mm in 350 lux fluorescent light to 550 mm in 14 000 lux halogen light, once calibrated in the product, cover glass fitted, no target within 40 cm. The maker says shiny targets can cause multiple reflections; dark ones are less detectable.87

Common mistakes

  • Hiding a light sensor under dark cover glass and trusting its lux. Many dark windows pass infrared, so the sensor sees a larger share of light the eye cannot see.
  • Pointing an infrared thermometer at clean, polished metal and believing the number. Its low emissivity makes the surface read colder than it is.
  • Testing a time-of-flight sensor on a grey card in dim light, then expecting the same range in bright halogen light, or skipping calibration behind its cover glass.