Choosing a Contactless Sensor to Measure Objects at a Distance

Three options come to mind for determining which contactless sensor to use when measuring objects at a distance: photoelectric sensors, ultrasonic sensors, and radar detection. Understanding the key differences among these types of technologies and how they work can help you decide which technology will work best for your application.

Photoelectric sensor

The photoelectric sensor has an emitter that sends out a light source. Then a receiver receives the light source. The common light source LED (Light Emitting Diodes), has three different types:

    • Visible light (usually red light) has the shortest wavelength, but allows for easy installment and alignment as the light can be seen.
    • Lasers are amplified beams that can deliver a large amount of energy over a distance into a small spot, allowing for precise measurement.
    • Infrared light is electromagnetic radiation with wavelengths longer than visible light, generally making them invisible to the humans. This allows for infrared to be used in harsher environments that contain particles in the air.

Along with three types of LEDs, are three models of photoelectric sensors:

    • The retro-reflective sensor model includes both an emitter and receiver in one unit and a reflector across from it. The emitter sends the light source to the reflector which then reflects the light back to the receiver. When an object comes between the reflector and the emitter, the light source cannot be reflected.
    • The through-beam sensor has an emitter and receiver in two separate units installed across from the emitter. When an object breaks the light beam, the receiver cannot receive the light source.
    • The diffuse sensor includes an emitter and receiver built into one unit. Rather than having a reflector installed across from it the light source is reflective off the object back to the receiver.

The most common application for photoelectric sensors is in detecting part presence or absence. Photoelectric sensors do not work well in environments that have dirt, dust, or vibration. They also do not perform well with detecting clear or shiny objects.

Ultrasonic sensor

The ultrasonic sensor has an emitter that sends a sound wave at a frequency higher than what a human can hear to the receiver.  The two modes of an ultrasonic sensor include:

    • Echo mode, also known as a diffused mode, has an emitter and receiver built into the same unit. The object detection works with this mode is that the emitter sends out the sound wave, the wave then bounces off the target and returns to the receiver. The distance of an object can be determined by timing how long it takes for the sound wave to bounce back to the receiver.
    • The second type of mode is the opposed mode. The opposed mode has the emitter and receiver as two separate units. Object detection for this mode works by the emitter will be set up across from the receiver and will be sending sound waves continuously and an object will be detected once it breaks the field, similarly to how photoelectric sensors work.

Common applications for ultrasonic sensors include liquid level detection, uneven surface level detection, and sensing clear or transparent objects. They can also be used as substitutes for applications that are not suitable for photoelectric sensors.

Ultrasonic sensors do not work well, however, in environments that have foam, vapors, and dust. The reason for this is that ultrasonic uses sound waves need a medium, such as air, to travel through. Particles or other obstructions in the air interfere with the sound waves being produced. Also, ultrasonic sensors do not work in vacuums which don’t contain air.

Radar detection

Radar is a system composed of a transmitter, a transmitting antenna, a receiving antenna, a receiver, and a processor. It works like a diffuse mode ultrasonic sensor. The transmitter sends out a wave, the wave echoes off an object, and the receiver receives the wave. Unlike a sound wave, the radar uses pulsed or continuous radio waves. These wavelengths are longer than infrared light and can determine the range, angle, and velocity of objects. radar also has a processor that determines the properties of the object.

Common applications for radar include speed and distance detection, aircraft detection, ship detection, spacecraft detection, and weather formations. Unlike ultrasonic sensors, radar can work in environments that contain foam, vapors, or dust. They can also be used in vacuums. Radio waves are a form of electromagnetic waves that do not require a transmission medium to travel. An application in which radar does not perform well is detecting dry powders and grains. These substances have low dielectric constants, which are usually non-conductive and have low amounts of moisture.

Choosing from an ultrasonic sensor, photoelectric sensor, or radar comes down to the technology being used. LEDs are great at detecting part presences and absence of various sizes. Sound waves are readily able to detect liquid levels, uneven surfaces, and part presence. Electromagnetic waves can be used in environments that include particles and other substances in the air. It also works in environments where air is not present at all. One technology is not better than the other; each has its strengths and its weaknesses. Where one cannot work, the others typically can.

Protecting photoelectric and capacitive sensors

Supply chain and labor shortages are putting extra pressure on automation solutions to keep manufacturing lines running. Even though sensors are designed to work in harsh environments, one good knock can put a sensor out of alignment or even out of condition. Keep reading for tips on ways to protect photoelectric and capacitive sensors.

Mounting solutions for photoelectric sensors

Photoelectric sensors are sensitive to environmental factors that can cloud their view, like dust, debris, and splashing liquids, or damage them with physical impact. One of the best things to do from the beginning is to protect them by mounting them in locations that keep them out of harm’s way. Adjustable mounting solutions make it easier to set up sensors a little further away from the action. Mounts that can be adjusted on three axes like ball joints or rod-and-mount combinations should lock firmly into position so that vibration or weight will not cause sensors to move out of alignment. And mounting materials like stainless steel or plastic can be chosen to meet factors like temperature, accessibility, susceptibility to impact, and contact with other materials.

When using retroreflective sensors, reflectors and reflective foils need similar attention. Consider whether the application involves heat or chemicals that might contact reflectors. Reflectors come in versions, especially for use with red, white, infrared, and laser lights, or especially for polarized or non-polarized light. And there are mounting solutions for reflectors as well.

Considering the material and design of capacitive sensors

Capacitive sensors must also be protected based on their working environment, the material they detect, and where they are installed. Particularly, is the sensor in contact with the material it is sensing or not?

If there is contact, pay special attention to the sensor’s material and design. Foods, beverages, chemicals, viscous substances, powders, or bulk materials can degrade a sensor constructed of the wrong material. And to switch perspectives, a sensor can affect the quality of the material it contacts, like changing the taste of a food product. If resistance to chemicals is needed, housings made of stainless steel, PTFE, and PEEK are available.

While the sensor’s material is important to its functionality, the physical design of the sensor is also important. A working environment can involve washdown processes or hygienic requirements. If that is the case, the sensor’s design should allow water and cleaning agents to easily run off, while hygienic requirements demand that the sensor not have gaps or crevices where material may accumulate and harbor bacteria. Consider capacitive sensors that hold FDA, Ecolab, and CIP certifications to work safely in these conditions.

Non-contact capacitive sensors can have their own special set of requirements. They can detect material through the walls of a tank, depending on the tank wall’s material type and thickness. Plastic walls and non-metallic packaging present a smaller challenge. Different housing styles – flat cylindrical, discs, and block styles – have different sensing capabilities.

Newer capacitive technology is designed as an adhesive tape to measure the material inside a tank or vessel continuously. Available with stainless steel, plastic, or PTFF housing, it works particularly well when there is little space available to detect through a plastic or glass wall of 8mm or less. When installing the tape, the user can cut it with scissors to adjust the length.

Whatever the setting, environmental factors and installation factors can affect the functionality of photoelectric and capacitive sensors, sometimes bringing them to an untimely end. Details like mounting systems and sensor materials may not be the first requirements you look for, but they are important features that can extend the life of your sensors.

 

Food for Thought: Should a Fork Sensor be Your First Choice?

When it comes to reliability and accuracy, there is no optical sensing mode better than the through-beam photoelectric sensor. Its reliability is a result of the extraordinary levels of excess gain – the measurement of light energy above the level required for normal sensing. The more excess gain, the more tolerant of dirt, moisture and debris accumulating on the sensor.

Excess gain comparison

The accuracy of through-beams results from a tight, well-defined sensing area. This chart shows a comparison between the popular sensing modes.

When it comes to reliability and accuracy, there is no optical sensing mode better than the through-beam photoelectric sensor. Its reliability is a result of the extraordinary levels of excess gain – the measurement of light energy above the level required for normal sensing. The more excess gain, the more tolerant of dirt, moisture and debris accumulating on the sensor. The accuracy of through-beams results from a tight, well-defined sensing area. This chart shows a comparison between the popular sensing modes.

The sensing area starts with an emitted beam projected onto the receiver. The wider the emitted beam, the easier to align. Once aligned, you now have the effective beam which is basically the size of the emitter and receiver lens. The smaller the lens, the smaller the effective beam. Apertures can also be used to narrow down the effective beam.

Simple detection

A target is detected when it breaks the effective beam. The simple detection principle means these sensors can detect anything, regardless of color, texture, or reflectivity. They are generally used in applications that require a sensing range of 2mm to 100m! The simplicity of their operation and wide range make them a go-to detection solution across industries.

Fork sensor, effective beam_emitted beamTraditional through-beam sensors consist of two separate pieces which must be separately mounted and wired, and perfectly aligned to work. This can be inconvenient and time consuming. But for those applications that can use an opening from 5mm to 220mm, self-contained through-beam sensors, also called fork sensors, provide the usefulness of traditional through-beams without the trouble of alignment. With the emitter and receiver in one housing, they are automatically aligned and require only half the wiring effort.

Light types

Available in four different light types – red light, pinpoint red light, infrared and laser – they can detect even difficult and tiny parts. Red light and pinpoint red light are used for most applications, while laser light is used for small part detection, as small as 0.08 mm. Infrared improves detection efforts in dirty environments.

Through-beam sensors are a go-to solution for photoelectric applications, but with tough housings, various lighting options, and the ease of installation and alignment, fork sensors should be first on your list of photoelectric sensors to consider.

Photoelectric Basics – Distance Measuring

Some photoelectric applications require not only knowing if the object is present or not but exactly where the object is while providing a continuous or dynamic value representative of the objects location.  For instance, if a robot is stacking a product is the stack at the correct height or how many additional pieces can be placed on the stack, how large is the coil or roll diameter of a product, and how high is the level or how much further can the product move before it is in position.  Distance sensors can provide this dynamic information and in some case provide a digital output as well for alarms.

RetroreflectiveThese sensors are normally based on diffuse sensing technology. However, in some cases retro-reflective technology is used for extremely long sensing distances.  As with diffuse sensors there is only one device to mount and wire.  However, due to the technology required for the higher resolutions, lensing, electronics and outputs these devices are typically much more expensive than a discrete diffuse sensor.

Similar to a diffuse sensor the distance sensor emits a pulsed light that strikes an object and a certain amount of light is reflected back to the sensor’s receiver.  The sensor then generates an analog output signal that is proportional to the distance to the target.  The technology that is utilized within the sensor to determine the distance is either Time of Flight or Triangulation.

PrintTime of Flight sensors are more immune to target color and texture than light intensity based system because of the time component.  These devices measure greater distances than the triangulation method however there is a sacrifice in resolution.

PrintTriangulation sensors emit a pulsed light towards the target object.  The light is then reflected back to the receiver.  When the light reaches the sensor it will strike the photosensing diode at some angle.  The distance between the sensor and the target determines the angle in which the light strikes the receiver.  The closer the target is the sensor the greater the angle.
Triangulation based sensors being dependent on the amount of reflected light are more susceptible to target characteristics such as color and texture.  These sensors are characterized by short to mid-range sensing distance however they provide higher resolutions than TOF sensors.

Output signals are either 0…10 volts, 1…10 volts or 4…20mA each of which has their pros and cons.  Voltage outputs, 0 – 10 or 1- 10 volts, are easier to test and there is typically a broader offering of interface devices.  However voltage outputs are more susceptible to noise from motors, solenoids or other coils and voltage drops of the wire.  In addition generally voltage output cable runs should be less than 50 feet.  Also since 0 volts is an acceptable output value broken wires, device failures, or power failures can go undetected.

Current outputs, 4 – 20 mA, provide the best noise immunity, are not affected by voltage drop and the cables lengths can exceed 50 feet.  Since the sensor will be providing 4mA at zero distance its lowest possible signal, if the sensor should fail, the cable damaged or a power failure the interface device can detect the absence of the signal and notify an operator.  Current outputs are more difficult to test and in some cases are affected by temperature variations.

For more information about photoelectric sensors, request your copy of Balluff’s Photoelectric Handbook.

Photoelectric Output Operate Modes and Output Types

Photoelectric sensors are used in a wide variety of applications that you encounter every day. They are offered in numerous housing styles that provide long distance non-contact detection of many different types of objects or targets. Being used in such a variety of applications, there are several outputs offered to make integration to control systems easy and depending on the sensing mode when the output is activated in the presence of the target.

DiffuseDiffuse sensors depend on the amount of light reflected back to the receiver to actuate the output. Therefore, Light-on (normally open) operate refers to the switching of the output when the amount of light striking the receiver is sufficient, object is present. Likewise, Dark-on (normally closed) operate would refer to the target being absent or no light being reflected back to the receiver.

RetroreflectiveRetroreflective and through-beam sensors are similar in the fact they depend on the target interrupting the light beam being reflected back to the receiver. When an object interrupts the light beam, preventing the light from reaching the receiver, the output will energize which is referred to as Dark-on (normally open) operate switching mode or normally open. Light-on (normally closed) operate switching mode or normally closed output in a reflex sensor is true when the object is not blocking the light beam.

signalsOutputs from photoelectric sensors are typically either digital or analog. Digital outputs are on or off and are usually three wire PNP (sourcing output) or NPN (sinking outputs). The exception to this is a relay output that provides a dry or isolated contact requiring voltage being applied to one pole.

Analog outputs provide a dynamic or continuous output that varies either a voltage (0-10 volt) or current (4-20mA) throughout the sensing range. Voltage outputs are easier to integrate into control systems and typically have more interface options. The downside to a voltage output is it should not be ran more than 50 feet. Current outputs can be ran very long lengths without worry of electrical noise. As additional advantage of the analog output is that it has built in diagnostics, at its minimum there will always be some current at the input unless the device completely fails or the wire is damaged.

Some specialty photoelectric sensors will provide a serial or network communication output for communications to higher level devices. Depending on the network, IO Link, for instance, additional diagnostics can be provided or even parameterization of the sensors. io-link
Interested in learning more about photoelectrics basics? You can also request a copy of the new Photoelectric Handbook.

The Other Retro-Reflective Sensors

Most of the time when we think of Retro-Reflective sensors the first thing that comes to mind is a photoelectric sensor. Photoelectric offerings use a reflector to reflect light from the internally mounted emitter and receiver. Retro photoelectric sensors come in many form factors with light source options such as infrared, red light and laser types.

Ultrasonic sensors are commonly forgotten when reflective sensors are needed in a particular application. Ultrasonic sensors when set up in “Window Mode” are similar to a photoelectric sensor however the ultrasonic sensor can use an existing background as the reflective surface such as a metal plate or a solid background. The sensor simply returns a signal as soon as an object fully covers the reflector. This mode is ideal for detecting difficult targets that photoelectric sensor can have trouble with such as poorly reflective materials

ultrasonicThe example shows an Ultrasonic sensor set up in window mode. The sensor is sending a sound wave to the background (reflector) so a target can be detected when entering the detection area between the sensor and the reflector background.

For more information Ultrasonic sensors, click here.