Sensor Basics and Selection

What a sensor is, the signal chain, accuracy, resolution and repeatability, response time, and a method for choosing the right sensor.

What a sensor is

A sensor responds to a physical quantity (position, temperature, pressure, light, force) and produces a signal that a controller can use. Industrial work distinguishes a few words that are often mixed up:

TermMeaningExample
Sensing elementThe part that physically responds to the quantityThermocouple junction, strain gauge, photodiode
SensorThe element plus its housing and basic outputAn inductive proximity switch
TransducerConverts one form of energy into another, often with a defined outputA pressure transducer with a 0 to 10 V output
TransmitterA sensor with signal conditioning and a standard output for transmission over a distanceA 4 to 20 mA temperature transmitter
SwitchA sensor with an on/off (discrete) output at a set pointA pressure switch, a limit switch

Sensors can be discrete (on or off: present or absent, above or below a limit) or analog (a continuous value of the quantity); contact or non-contact; active (needing a supply) or passive (producing a signal on their own, such as a thermocouple). The pages of this guide cover each kind: Proximity Sensors, Photoelectric and Vision Sensors, Position, Displacement and Speed Sensors, Temperature Sensors, Pressure, Level and Flow Sensors and Force, Load Cells and Vibration; the wiring and installation come in Sensor Outputs and Wiring and Installing and Troubleshooting Sensors.

The signal chain

The sensor signal chainPhysical quantitytemperature, force…Sensing elementresponds to the quantityConditioningbridge, amplify, filterInput and ADCPLC, controllerA transmitter packages the first three blocks into one device with a standard output (4-20 mA, 0-10 V, a fieldbus).Errors add up along the chain: the element, the conditioning, the wiring and the converter all contribute.
The path from a physical quantity to the controller.

A measurement is only as good as the weakest part of this chain. The element can be wrong (a poorly mounted thermocouple), the conditioning can add noise or drift, the cable can pick up interference, and the input card can have too little resolution. It pays to think of the whole chain, not only the sensor’s data sheet.

Reading a specification

Sensor errors and response time0255075100050100input (percent of range)output (percent of span)ideal (dashed)offset error (orange)gain error (purple)non-linearity (red)0123450.000.500.630.861.00time (time constants τ)output (fraction of final)63 percent at 1 τ95% at 3 τ, 99% at 5 τAccuracy is the total of the offset, gain and linearity errors plus drift; repeatability is how closely the same input gives the same output.
Offset, gain and non-linearity errors, and the response of a first-order sensor to a step.
TermMeaning
Range and spanThe minimum to maximum value measured. The span is the difference between them (full scale = FS)
AccuracyHow close the reading is to the true value. Given as a percentage of full scale (% FS) or of reading (% rdg), and usually includes linearity, hysteresis and repeatability
ResolutionThe smallest change that can be detected or displayed
RepeatabilityHow closely the same value gives the same reading under the same conditions: often far better than the accuracy
LinearityHow far the output departs from a straight line
HysteresisThe difference in reading depending on the direction of approach (rising or falling input)
SensitivityOutput change per unit input, for example mV per V per kg for a load cell
Response timeHow long the output takes to follow a change (for example the time to 63 or 90 percent)
Drift and temperature coefficientSlow change with time or temperature, often quoted as % FS per year or per °C
Operating conditionsTemperature, pressure, vibration, shock, ingress protection (IP), EMC and approvals

Accuracy, resolution and error budgets

Worked example: accuracy as a percentage

  • A pressure transmitter has a range of 0 to 10 bar and an accuracy of ±0.25 percent of full scale. The error is ±0.025 bar, the same at every point of the range.
  • At 10 bar that is 0.25 percent of the reading, but at 1 bar the same 0.025 bar is 2.5 percent of the reading. Choose a sensor whose range is only a little above the working value, not ten times higher.
  • Resolution of the input. A 12-bit analog input divides the span into 212 = 4 096 steps: 10 bar ÷ 4 096 = 2.44 mbar per step. This is not the accuracy; but a 16-bit input would be needed to see changes of 0.15 mbar.

Worked example: an error budget

  • Errors from independent sources combine as a root-sum-square (RSS), not as a sum, because they are unlikely all to be at their worst together. Take a sensor of 0.25 percent, signal conditioning 0.10 percent, an analog input card 0.10 percent and wiring and noise 0.05 percent.
  • RSS = √(0.25² + 0.10² + 0.10² + 0.05²) = ±0.29 percent. The straight sum is 0.50 percent: the worst case, and the safe figure for a safety or a quality limit.
  • The biggest term (the sensor) dominates: halving a small error of 0.05 percent hardly changes the total, while a better sensor changes it a lot. Spend the money where the error is.

Response time and sampling

Most sensors respond like a first-order system: after a step the output reaches 63 percent of the change in one time constant τ, 95 percent in 3τ and 99 percent in 5τ (see the figure). Thermal sensors in a protective sheath are slow; electronic sensors can be very fast. The controller must also sample fast enough: the sampling rate should be at least twice the highest frequency of interest (the Nyquist limit), and in practice five to ten times.

Worked example: a temperature sensor in a thermowell

A sensor in a thermowell has a time constant of 2 s. After a sudden temperature step it reads 63 percent of the change after 2 s, 95 percent after 6 s and 99 percent after 10 s. A PID loop with a faster control action than the sensor will oscillate: the loop tuning must allow for the sensor’s lag (see Motors, Drives and PID Control).

Standard output signals

SignalRangeProsCons
On/off (discrete)PNP or NPN, 10 to 30 V; relay contactSimple, cheap, robustOnly a threshold
4 to 20 mACurrent loopImmune to cable resistance and noise, broken-wire detection (below 4 mA), power over the loopNeeds a loop supply and a receiver resistor
0 to 10 V, 1 to 5 VVoltageSimple to readVoltage drop and noise on long cables, no broken-wire detection at 0 V
mV (thermocouple, bridge)MillivoltsDirect from the elementTiny: needs a conditioner and short, shielded wiring
Resistance (RTD, thermistor, potentiometer)OhmsSimple elementLead resistance and self-heating
Pulse / frequencySquare wave, 0.1 Hz to MHzDigital, noise-tolerant, easy to countNeeds a counter input
Serial / fieldbus (IO-Link, Modbus, HART, CANopen)Digital dataRich data, configuration and diagnostics over one cableNeeds the right master and set-up (see Industrial Communication)

A 4 to 20 mA signal of 12.5 mA is (12.5 − 4) ÷ 16 = 53.1 percent of range; 9.6 mA corresponds to 35 percent. The Analog Scaling Tool does the conversion for any range.

Choosing a sensor

  • What do you need to know? Presence, a position, a value, a rate? Discrete or analog?
  • Range and accuracy of the quantity, with the error budget above. Do not over-specify.
  • The target and the medium: material, size, color, temperature, corrosiveness, pressure, cleanliness.
  • The environment: temperature, vibration, washdown (IP67, IP69K), hazardous area (ATEX), EMC, space and mounting.
  • Speed: response time and the switching or sampling frequency needed.
  • The output and the controller: a signal the input module accepts; wiring length; power supply.
  • Life and cost: contact sensors wear; non-contact ones do not. Count spares, calibration and the cost of downtime, not only the price.
  • Safety: a sensor used for a personal-safety function must be a certified safety device (see Safety Sensors and Devices).
To measure…Common sensorsPage
Presence of a metal partInductive proximity sensorProximity Sensors
Presence of any object, at a distancePhotoelectric, capacitive, ultrasonicPhotoelectric and Vision Sensors
Position or lengthPotentiometer, LVDT, magnetostrictive, laser, linear encoderPosition, Displacement and Speed Sensors
Angle or speedEncoder, resolver, Hall sensor, tachometerEncoders, Resolvers and Feedback
TemperatureThermocouple, RTD, thermistor, infraredTemperature Sensors
Pressure, level, flowPressure transmitter, ultrasonic or radar, magnetic or vortex flowmeterPressure, Level and Flow Sensors
Force, weight, vibrationLoad cell, strain gauge, accelerometerForce, Load Cells and Vibration
People near a hazardLight curtain, safety scanner, interlockSafety Sensors and Devices

Calibration and drift

  • Calibration compares the sensor with a reference of known accuracy, ideally ten times better, traceable to a national standard, and adjusts zero (offset) and span (gain).
  • Zero and span are the two basic adjustments; non-linearity cannot be corrected by them, only by a multi-point calibration or a lookup table.
  • Intervals: from monthly (critical process) to several years (stable discrete sensors). Record the as-found values so the interval can be tuned.
  • In-situ checks: compare redundant sensors, or check against a known point (an ice bath at 0 °C, an unloaded scale, vented pressure).
  • Drift is a fact of life: temperature, mechanical stress, aging and contamination all move the zero; choose sensors with good long-term stability for important measurements.

Related

FAQ

What is the difference between accuracy and resolution?

Resolution is the smallest change a device can show. Accuracy is how close its reading is to the true value. A display with many digits can still be inaccurate.

Percent of full scale or percent of reading?

A percent-of-full-scale accuracy is a fixed error across the range, so relative error grows at low readings. A percent-of-reading accuracy scales with the value. Compare sensors on the same basis.

Do I need a 4-20 mA signal or is 0-10 V enough?

For short runs in a quiet cabinet, 0 to 10 V is fine. For longer cables, noise, or when a broken wire must be detected, use 4 to 20 mA.

How often must sensors be calibrated?

It depends on the stability and the risk: critical process and quality measurements often yearly or more often; discrete sensors rarely need calibrating, only checking and replacing when faulty.

References

  • Bentley, J. P., Principles of Measurement Systems, Pearson.
  • Fraden, J., Handbook of Modern Sensors, Springer.
  • ISO/IEC Guide 98-3 (GUM): Guide to the expression of uncertainty in measurement.

Last reviewed: October 2026. Values are worked examples; use the manufacturer’s data for the real sensor.