How Do Contrast Sensors Work?

Contrast sensors are photoelectronic sensors that work according to the principle of a reflex sensor: Emitted light is reflected by the object, reabsorbed and evaluated. Contrast sensors are used to detect markings based on differences in contrast. They are characterized by high switching speeds and low jitter. Different contrast detection technologies are available to achieve the best possible detection:
- Laser red light + monochrome photodiode
- White light + monochrome photodiode
- White light + RGB photodiode
What Is the Difference Between Light and Laser Light?
Light consists of electromagnetic radiation visible to the human eye that propagates in different wavelength ranges when emitted by a light source. Laser light is created by stimulated emission that amplifies light, i.e. high concentrations of rectified light waves are bundled into a beam.
What Is a Color Space and Which Is Particularly Relevant for Sensors?
A color space is a defined color coordinate system used to systematize and standardize colors. This determines the amount of colors and the method of color representation. In a color space, colors are described by coordinates where the axes represent different color properties, such as color intensity, brightness, tone or saturation. The RGB and CMYK color spaces are particularly relevant for industry. The RGB color space is used for sensors, because they collect color information in the form of red, green and blue color channels.
RGB Color Space
RGB uses light to create colors by combining red, green and blue.
CMYK Color Space
The CMYK color space is mainly used in printing and produces colors with cyan, magenta, yellow and black.
What Is White Light Based on the RGB Color Space?
The RBG color model works as an additive color mix. White light is created by mixing red, green and blue light. Black results in the absence of light of any wavelength.

What Are the Reflective Properties of Colored Surfaces?
Contrast Sensor Technologies
How Do Contrast Sensors with White Light Work?
Contrast sensors with white light LED emit white light in the form of a rectangular light spot that is reflected back from the surface to the receiver of the sensor, which then evaluates this light.

Receiver with RGB Photodiode (P1PWxxx)
The receiver consists of three areas corresponding to the RGB color space. Depending on the color of the contrast marking, the light is reflected back to the receiver according to the reflection properties and evaluated based on the three channels.

Receiver with Monochrome Photodiode (WM03xxx)
The photodiode of the receiver consists of a single continuous surface. Depending on the color of the contrast marking, the light is reflected back to the receiver according to the reflection properties. The receiver evaluates the received brightness and sorts it into a grayscale.
How Do Contrast Sensors with Laser Light Work?

Contrast sensors with laser light emit a spot of red laser light, the reflection of which is evaluated by the receiver. The receiver uses a monochrome photodiode. Contrast sensors with laser light are available in a digital and an analog version:
- Digital version (YM24PAH, YP11VAH): The switching threshold is set to a certain brightness level. This brightness value is then compared with the amount of light reflected by the object.
- Analog version (YP11MGV): The analog output outputs a voltage proportional to the brightness. The output voltage increases along with the degree of brightness.
Technology Comparison of Contrast Sensors with Laser Light and LED White Light
Industries for Preferred Use of White Light LED Contrast Sensors
Packaging Industry
Contrast sensors with LED white light are used for print mark recognition in the packaging industry.
Gıda endüstrisi
LED beyaz ışıklı kontrast sensörleri, gıda endüstrisinde baskı işaretlerinin algılanmasında kullanılır.
Baskı endüstrisi
Beyaz ışıklı LED kontrast sensörleri, baskı endüstrisinde çok çeşitli baskı işaretlerini algılar.
Lazer ışıklı kontrast sensörlerinin tercih edilen kullanımı için sektörler
Otomotiv endüstrisi
Lazer ışığına sahip kontrast sensörleri, otomotiv endüstrisinde kontrast algılaması için kullanılır.
Plastik endüstrisi
Plastik endüstrisinde kontrast algılaması için lazer ışığına sahip kontrast sensörleri kullanılır.
Kontrast sensörlerinin uygulamaya tanıtılması nasıl çalışır?
Lazer ışığına sahip kontrast sensörlerinde ayar potansiyometre ile yapılır. Yani eşik değeri manuel olarak ayarlanır.
Beyaz ışık LED'li kontrast sensörleri, tuşa basılarak tanıtılır. Sensör, teach-in anahtarıyla anahtarlama eşiğini otomatik olarak hesaplar. Bunun için iki farklı tanıtma modu mevcuttur:- İki noktalı teach-in: İki noktalı teach-in'de bir tanıtma işleminde objeye, yani markaya ve başka bir tanıtma işleminde arka plana tanıtılır. Sensör, belirlenen ve kaydedilen iki ölçüm değeri arasında anahtarlama noktasını, iki teach-in noktası arasında olacak şekilde hesaplar.
- Dinamik teach-in: Dinamik teach-in'de sensör, otomatik teach-in'i mümkün kılan bir kayıt moduna alınır. Bu modda ölçülen değerler kaydedilir. Kayıt modu sona erdikten sonra minimum ve maksimum ölçülen değerler arasında bir anahtarlama noktası hesaplanır.
Çıkışlar ve arayüzler
Dijital anahtarlama çıkışı

Analog çıkış

Kontrast sensörleri için montaj talimatları

Sensör, baskı işaretine paralel olarak hizalanır.
