Test & Measurement


Colour and contrast sensors

25 October 2023 Test & Measurement

Colours are something quite natural, and most people can identify them without any problem. Technically, however, colours are simply electromagnetic waves of varying length. Detection of colours by a sensor, however, is performed using different approaches. For this purpose, various types of vision systems and sensors that detect colour and contrast are used, depending on what the outcome needs to be.


Figure 1. Reflective colour sensor.


Figure 2. Contrast sensor.

Methods of colour detection

Colour recognition with specialist sensors is not as simple as it may seem. Colours are electromagnetic waves of different wavelengths, whose value falls within the visible light spectrum – somewhere in the range from 400 (violet) to 700 nm (red). Outside of this spectrum, there are other types of electromagnetic waves, which cannot be seen with the naked eye, such as X-rays, infrared or microwaves.

Every colour sensor operates by reading the electromagnetic wavelength. It sends a beam of white light to the examined object, against which the light is reflected and is sent back to the sensor where it is analysed.

Simple devices, also known as colorimeters, are usually based on three RGB filters, which transmit waves of specific lengths only. These then reach the light-sensitive elements, where they are measured (converted into a measurable value – usually a voltage). As soon as the voltage value is available, the electronics in the sensor can easily convert it into something comprehensible to a human or other machine.

Spectrophotometers are an alternative to sensors with RGB filters, although a much more complex one. In this case, the wave reflected by the surface is dispersed into beams of a specific colour, which are then captured by the corresponding photosensitive elements. In this way, the colour of the examined object can be determined very precisely.

In operation and design, contrast sensors are somewhat reminiscent of the already introduced vision colour sensors. Here, a beam of light is also transmitted, which, once it is reflected by the surface under examination, returns to the module. There, it is analysed in terms of its strength – in other words, the amount of light that has returned to the sensor is checked. On this basis, the contrast can be determined. The darker the surface to be tested, the less light will return to the sensor, and thus fewer photons will reach the photosensitive element that will convert the value into a voltage. It is worth knowing that contrast sensors are not based only on white light. They can also emit beams in other colours, making it easier to analyse the contrast of coloured objects.

Applications of vision sensors

Vision colour and contrast sensors are very much in use in modern industrial plants. These include industries such as automotive, pharmaceutical, food, chemical, and printing. Vision sensors are an indispensable part of larger machine assemblies, where they serve as detectors to determine the production quality. They are also used in many types of sorting machines available.

When choosing vision sensors, it is worth considering aspects such as the sensitivity of the module, the maximum detection distance or the electrical parameters. The choice will mainly depend on the industry and application. In most cases, specifying a particular colour will not be necessary. Many production inspections are in fact solely based on colour determination according to the OK/NOK principle. Simple and inexpensive vision sensors will be ideal for such solutions. In the case of more demanding production processes, more precise sensors should be sought, as their capabilities in terms of colour or contrast detection will be much greater.

For more information contact Transfer Multisort Elektronik, +48 42 293 5299, [email protected], www.tme.eu




Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Identifying interference in 5G and LTE networks
Test & Measurement
The latest Field Master software release provides a dual display of the LTE or 5G Frame structure, with automatic placement of gates on the Uplink slots alongside the RF spectrum of the gated time slots.

Read more...
High-speed AWG generates up to 20 sine waves
Vepac Electronics Test & Measurement
Spectrum Instrumentation has released a new firmware option for its range of versatile 16-bit Arbitrary Waveform Generators, with sampling rates up to 1,25 GS/s and bandwidths up to 400 MHz.

Read more...
Digitisers upgraded with pulse generator option
Vepac Electronics Test & Measurement
Spectrum Instrumentation has added the Digital Pulse Generator option to its ultrafast digitisers (with up to 10 GS/s speed) and arbitrary waveform generators.

Read more...
Network Master Pro to provide support of OpenZR+
Tamashi Technology Investments Test & Measurement
Anritsu Corporation has introduced the 400G (QSFP-DD) multi-rate module MU104014B that supports the new interface standard.

Read more...
Upgrade brings extra layer of detection to Fluke’s acoustic imagers
Comtest Test & Measurement
The firmware 5.0 update helps to boost efficiency and allows maintenance technicians to scan large areas quickly, and visually pinpoint technical issues before they become critical.

Read more...
Companies collaborate on EnviroMeter
Avnet Silica Test & Measurement
STMicroelectronics and Mobile Physics have joined forces to create EnviroMeter for accurate air-quality monitoring on smartphones. Time-of-flight optical sensing enables an accurate personal air quality monitor and smoke detector.

Read more...
PCB test points
Vepac Electronics Test & Measurement
Maintaining these access points in the final production versions will prove invaluable during the life of the equipment for service, adjustment, and debug, or repair activities.

Read more...
RFID reader
Test & Measurement
The EXA81 from Brady turns any smartphone or tablet into a personal radar that can pick up radio signals from all RFID-labelled items.

Read more...
Proximity sensor with VCSEL
Avnet Abacus Test & Measurement
Vishay’s newest small package proximity sensor, the VCNL36828P, combines low idle current with an I2C interface and smart dual slave addressing.

Read more...
CNH data output devices for AI applications
Altron Arrow Test & Measurement
STMicroelectronics’ CH family of time-of-flight sensor devices feature compact and normalised histogram (CNH) data output for artificial intelligence applications requiring raw data from a high-performance multizone ToF sensor.

Read more...