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.




Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Compact high precision magnetometer
Future Electronics Test & Measurement
Bosch Sensortec has introduced the BMM350, a compact 16-bit, 3-axis magnetometer engineered to deliver high accuracy, low noise, and exceptional energy efficiency in space constrained designs.

Read more...
Ultra compact NTC thermistors
RS South Africa Test & Measurement
Murata Manufacturing Co. has expanded its compact NCU03 series of NTC thermistors with two ultra-small 0603M devices tailored for consumer and automotive designs.

Read more...
Omniflex uses LoRaWAN to track water usage
Omniflex Remote Monitoring Specialists Test & Measurement
Omniflex has helped New South Wales Ports improve its ability to track water usage by installing remote monitoring to 38 water meters at its Port Kembla site, sending the data to the NSWPorts web portal.

Read more...
Surviving the extremes: Understanding shock and vibration in MEMS sensors
Altron Arrow Editor's Choice Test & Measurement
By considering factors such as mechanical headroom, damping, and system-level robustness, designers can ensure that the chosen sensor not only survives, but performs reliably over time.

Read more...
Advanced pressure monitoring sensor
EBV Electrolink Test & Measurement
The Infineon KP497 is an advanced, highly integrated digital pressure sensor designed for demanding automotive and industrial applications, with a particular focus on battery management systems.

Read more...
Slimline 150 W bench PSU
Vepac Electronics Test & Measurement
The PeakTech P 6222 is the company’s new, slim laboratory power supply that offers precisely adjustable output values of 30 V and 5 A with a continuous power output of 150W.

Read more...
Redefining edge intelligence in RF analysis
Vepac Electronics Test & Measurement
The HAROGIC PXR Series bridges the gap between benchtop-grade RF performance and high-performance edge computing.

Read more...
Otto Wireless appointed as sole agent for Dragino Technology
Otto Wireless Solutions Test & Measurement
Dragino is a globally recognised leader in LoRaWAN and Internet of Things products and solutions, and is known for delivering reliable, cost-effective hardware.

Read more...
AI-ready rugged spectrum analysis for the field
Vepac Electronics Test & Measurement
The HAROGIC PXR Series is a rugged, benchtop-grade spectrum analyser and an AI-ready open platform in a single portable instrument.

Read more...
Digid announces its nanoscale temperature and force sensors are ready for mass deployment
Test & Measurement
Digid, a pioneer of nanoscale sensing technology, recently announced that its patented printed electronics fabrication technology has been fully qualified for volume production of temperature and force sensors as small as 1 µm long.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved