keepcalculator

06 Numbers and Powers

Industrial Sensors: How to Choose the Right Type

Card No. 06·73596 · Updated · Standard formula, shown below

Choosing the right industrial sensor for an automation project comes down to matching the sensor’s physical principle to the material, distance, speed, and environment of the target. You first define what you need to detect (presence, position, distance, temperature, pressure, etc.), then narrow the options by sensing range, target material, and ambient conditions. This article explains the main sensor families, their strengths and limits, and a practical selection process.

Sensor Families at a Glance

Industrial automation relies on a handful of sensor types, each based on a different physical principle:

  • Inductive proximity sensors detect only metal objects using an electromagnetic field. They are rugged, maintenance-free, and widely used for position detection of machine parts, but they cannot sense plastics, wood, or liquids.
  • Capacitive proximity sensors detect both conductive and non-conductive materials (metal, plastic, wood, liquid) by measuring a change in capacitance. They are useful for level detection but are more sensitive to humidity and material density.
  • Photoelectric sensors use light (visible or infrared) to detect objects. They come in through-beam, retro-reflective, and diffuse modes, offering long ranges and the ability to detect almost any material, but they can be affected by dust, dirt, and ambient light.
  • Ultrasonic sensors emit high-frequency sound pulses and measure the echo time. They detect solids and liquids regardless of color or transparency, work well in dusty or dirty environments, and can measure distance, but they have a minimum sensing distance and can be affected by temperature and air turbulence.
  • Laser sensors (or photoelectric with laser light) provide very precise distance measurement and tiny spot sizes, ideal for high-accuracy positioning and inspection, but they are more expensive and can struggle with highly reflective or transparent targets.
  • Temperature sensors (thermocouples, RTDs, thermistors, infrared) measure heat. Thermocouples are cheap and cover a wide range, RTDs are more accurate and stable, and infrared sensors measure without contact, useful for moving or hot objects.
  • Pressure sensors convert fluid pressure into an electrical signal, using strain gauges, capacitive, or piezoelectric principles. They are essential in hydraulic and pneumatic systems.

How Industrial Sensors Work

Most industrial sensors are active devices: they emit some form of energy (electromagnetic field, light, sound) and detect changes in that energy when an object enters the sensing zone. The sensor’s output is typically a digital signal (on/off) or an analog signal (proportional to the measured quantity).

For example, an inductive proximity sensor has an oscillator that creates a high-frequency electromagnetic field at the sensing face. When a metal target enters the field, eddy currents are induced in the metal, which dampen the oscillation. The sensor detects this damping and switches its output. The sensing distance depends on the size and material of the target, with steel giving the longest range and aluminum or copper giving shorter ranges.

Photoelectric sensors work by emitting a beam of light and detecting changes in the received light. In through-beam mode, the emitter and receiver are separate; the object breaks the beam. In retro-reflective mode, the light is reflected back by a mirror; the object breaks the beam. In diffuse mode, the light reflects off the object itself; the sensor triggers when it receives enough reflected light. The effective range varies dramatically between modes, with through-beam offering the longest range.

Ultrasonic sensors emit a burst of sound at frequencies above human hearing (typically 20–200 kHz) and measure the time it takes for the echo to return. The distance is calculated as half the time multiplied by the speed of sound. Because sound speed changes with air temperature, many ultrasonic sensors have temperature compensation.

Key Selection Factors

To choose the right sensor, work through these factors in order:

  1. Target material and properties. Is it metal, plastic, liquid, powder, transparent, dark, or reflective? This immediately rules out some technologies. For metal only, inductive is the first choice; for most other materials, photoelectric or ultrasonic are options.
  2. Sensing range. How far is the sensor from the target? Each sensor type has a maximum range, and the actual range depends on the target size and material. For example, a standard inductive sensor might have a range of 2–10 mm, while a diffuse photoelectric sensor can reach 1 m, and a through-beam can reach 30 m or more.
  3. Environment. Consider temperature, humidity, dust, oil, vibration, and washdown requirements. For dusty or dirty environments, ultrasonic sensors are often better than photoelectric because sound is not blocked by dust. For high temperatures, use sensors rated for that range or use non-contact infrared temperature sensors.
  4. Speed of operation. How fast is the target moving? Sensors have response times; a fast-moving target requires a sensor with a short response time. For example, a photoelectric sensor with a response time of 1 ms can detect objects passing at high speed, while a capacitive sensor might be slower.
  5. Output type. Do you need a simple on/off signal (NPN or PNP transistor, relay) or an analog output (0–10 V, 4–20 mA) for continuous measurement? Also consider the logic level of your PLC or controller.
  6. Mounting and space. The sensor’s physical size, mounting style (cylindrical, rectangular, flush, non-flush), and cable or connector type must fit your machine.
  7. Accuracy and repeatability. For positioning or measurement, you need a sensor with high resolution and repeatability, such as a laser or a high-quality ultrasonic sensor.
  8. Cost and lifecycle. Balance the initial cost with maintenance and downtime. Inductive sensors are inexpensive and durable; laser sensors cost more but may save money through fewer rejects.

Common Problems and Misconceptions

One common mistake is choosing a sensor based only on range without considering the target’s size and material. A diffuse photoelectric sensor’s range is specified for a standard white paper target; a dark or matte target reflects much less light, so the effective range drops significantly. Always check the sensor datasheet for the derating curve for different target colors and materials.

Another issue is ignoring the environment. A capacitive sensor that works fine in a clean, dry area may false-trigger in a humid environment because moisture changes the dielectric constant. Similarly, an ultrasonic sensor can be confused by air currents from fans or compressed air nozzles.

Many people assume that a “proximity sensor” always means inductive. In fact, the term covers inductive, capacitive, and magnetic sensors. If you need to detect a magnet, you should use a magnetic reed switch or a magnetoresistive sensor, not an inductive one.

Also, don’t forget the sensor’s sensing distance is affected by the target’s size. A small target reduces the range; a larger target can increase it up to a point. The datasheet usually specifies the range for a standard target (e.g., a square piece of steel of a certain thickness).

Comparison of Sensor Types

Here is a quick comparison to help narrow down the choice:

  • Inductive: Best for metal targets, short range (mm to a few cm), immune to dust and dirt, low cost, long life.
  • Capacitive: Detects metal and non-metal, range up to a few cm, sensitive to humidity and material density, good for level detection of powders and liquids.
  • Photoelectric (diffuse): Range up to 1 m typically, detects most materials, but affected by reflectivity and dirt on lens.
  • Photoelectric (retro-reflective): Range up to 10 m, reliable, but requires a reflector and can be fooled by shiny objects.
  • Photoelectric (through-beam): Longest range (up to 30 m+), most reliable, but requires separate emitter and receiver with alignment.
  • Ultrasonic: Range from a few cm to several meters, works on solids and liquids, immune to color and transparency, but has a blind zone near the sensor and is affected by temperature.
  • Laser: High accuracy, small spot, range up to tens of meters, but higher cost and can be affected by surface finish.

Costs and Maintenance

Cost varies widely. Inductive and capacitive sensors are generally the cheapest (tens of dollars), photoelectric sensors are moderate (tens to hundreds), and laser or high-precision sensors can cost several hundred dollars. However, the total cost of ownership includes installation, wiring, and downtime. A cheap sensor that fails frequently due to harsh conditions is more expensive than a rugged sensor that lasts years.

Maintenance is minimal for most solid-state sensors, but they do require periodic cleaning of the sensing face (especially photoelectric and ultrasonic) and checking of cable connections. Inductive sensors are nearly maintenance-free because they have no moving parts and are sealed against dust and moisture.

Safety and Regulatory Considerations

When selecting sensors for safety functions (e.g., light curtains, safety laser scanners), you must use sensors specifically rated for safety applications, such as those certified to ISO 13849 or IEC 61508. Standard industrial sensors are not safety-rated and must not be used as the only safeguard. For machine guarding, use safety light curtains or safety laser scanners, not ordinary photoelectric sensors.

Also, ensure the sensor’s electrical rating matches your control system. Most sensors operate at 10–30 V DC, but some are AC or have relay outputs. Check the maximum current and voltage ratings to avoid overloading the output.

Alternatives to Traditional Sensors

In some cases, a vision system (camera + software) can replace multiple sensors, providing inspection, measurement, and code reading in one device. Vision systems are more complex and expensive but offer flexibility.

Another alternative is a time-of-flight (ToF) sensor, which measures distance using light pulses, similar to lidar. ToF sensors are fast and accurate, but they are also more expensive.

Frequently Asked Questions

What is the difference between NPN and PNP sensors? NPN (sinking) sensors connect the output to ground when active, while PNP (sourcing) sensors connect the output to the positive supply. The choice depends on your PLC’s input card. PNP is common in Europe and the US, NPN in Asia. Always check your controller’s wiring.

Can I use an inductive sensor to detect aluminum? Yes, but the sensing distance is significantly reduced compared to steel. For example, a sensor rated for 10 mm on steel may detect aluminum at only 5–7 mm. Check the datasheet for reduction factors.

Why does my photoelectric sensor fail on transparent objects? Transparent objects do not reflect or block light sufficiently. Use a retro-reflective sensor with a polarizing filter, or use an ultrasonic sensor which is not affected by transparency.

What does “flush” and “non-flush” mean for proximity sensors? Flush (shielded) sensors can be mounted flush in metal without affecting the sensing range, but they have a shorter range. Non-flush (unshielded) sensors require a free zone around the sensing face and have a longer range.

How do I choose between a thermocouple and an RTD? Use a thermocouple for very high temperatures (above 400°C) and where cost is critical. Use an RTD for better accuracy and stability in the range -200 to 600°C. RTDs are more linear and repeatable.

Can ultrasonic sensors detect foam? Generally no. Foam absorbs or scatters the sound, making reliable detection difficult. For foam level detection, consider a capacitive or conductive sensor.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →