Sensors and Actuators in Mechatronics: Types and Examples

Sensors and actuators explained: how they close the loop in mechatronics, main types, sensor terms, 4 to 20 mA scaling and actuator selection.

Editorial Staff · Reviewed by Technical Team · Published

Think of a cooling fan that speeds up when a cabinet gets hot, or a robot gripper that stops when a part is detected. In both cases sensors and actuators do the real work at the edge of the machine. The sensor turns a physical quantity into an electrical signal, and the actuator turns an electrical command back into motion or force.

We will follow one closed loop from sensor to actuator, then go through the sensor and actuator types you meet in mechatronics. You will also learn the datasheet terms, scale a real 4 to 20 mA signal into degrees Celsius and see how to choose each part for a job.

Short answer
sensors and actuatorsnoun, mechatronics

Sensors and actuators are the input and output devices of a mechatronic system: a sensor converts a physical quantity into an electrical signal, and an actuator converts a controller command into motion or force.

  • Sensor measures the process
  • Controller compares and decides
  • Actuator acts on the process
  • Loop repeats continuously
Watch: How sensors and actuators work in 18 seconds

How sensors and actuators work in a closed loop

The elements of a mechatronic system form a loop. Below, a temperature sensor watches the air in an enclosure and a fan motor cools it.

SetpointControllerPLC or MCUDriverPWM powerActuatorfan motorProcessenclosure airSensorRTD transmittercommandairflowtemperature4 to 20 mA
A closed loop: the sensor measures the process, the controller decides, and the actuator acts on the process.
Download diagram (WebP)
  1. Sense. The RTD changes resistance with temperature, and its transmitter sends a 4 to 20 mA current to the controller.
  2. Compare. The controller converts the current into degrees Celsius and compares it with the set point, often with a PID controller.
  3. Command. The controller sends a low power command to the driver, which supplies the motor current.
  4. Act. The fan motor turns electrical energy into airflow, the enclosure cools, and the sensor reports the new temperature.

The controller links the two, so the machine corrects itself when the load or the surroundings change.

Types of sensors in mechatronics

Bolton groups sensors by what they measure. For each group below you get the physical principle and the signal the controller receives.

A potentiometer is a resistive voltage divider. The wiper voltage is proportional to the position of the slider, so the output is an analog voltage.

An LVDT (linear variable differential transformer) has one primary and two secondary coils around a moving core. The AC output grows with core displacement, and its phase shows the direction.

An incremental encoder gives two pulse trains, A and B, in quadrature. Counting the pulses gives position, and which channel leads gives direction. An absolute encoder gives a unique code for every position, so it knows where it is at power up.

Proximity switches give an on or off signal when a target is near, and IEC 60947-5-2 covers them.

  • Inductive: a coil makes a high frequency field. Eddy currents in a metal target damp the oscillator and the output switches. Detects metals only.
  • Capacitive: the target changes the capacitance of the sensing face. Detects metals and non-metals such as plastic, wood and liquids.
  • Photoelectric: a light beam is broken or reflected. Through-beam, retroreflective and diffuse types exist.
  • Ultrasonic: measures the echo time of a sound pulse, so it also gives distance.

A strain gauge is a fine foil grid bonded to a part. When the part strains, the grid resistance changes: ΔR/R = G × ε, where G, the gauge factor, is about 2 for metal foil gauges.

A load cell is a metal element carrying strain gauges in a Wheatstone bridge. Pressure sensors use a diaphragm with strain gauges, a capacitive gap or a piezoresistive silicon chip.

A thermocouple is two different metals joined at a junction. It produces a small voltage that depends on the temperature difference between the hot and cold junctions (the Seebeck effect).

An RTD is a platinum resistor. A Pt100 has 100 Ω at 0 °C (IEC 60751), and its resistance rises almost linearly with temperature. A thermistor is a semiconductor resistor with a much larger but nonlinear change in resistance.

Sensor performance terms

Sensor datasheets use a common set of terms, and you need them to compare two sensors fairly.

TermMeaning
Range and spanRange is the lowest to highest input the sensor can measure; span is the difference between those limits
Accuracy and errorError is the difference between the measured and true value; accuracy states the largest expected error, often as a percentage of full scale
SensitivityChange in output per unit change of input, for example mA per °C
ResolutionSmallest change of input that gives a detectable change of output
HysteresisDifferent outputs for the same input, depending on whether the input is rising or falling
NonlinearityHow far the real output curve departs from a straight line
RepeatabilityHow closely the output agrees when the same input is applied several times
Response timeTime the output takes to reach a stated percentage of its final value after a step change

Sensor output signals

Most industrial sensors give the controller one of three kinds of signal.

  • Analog current: 4 to 20 mA (IEC 60381-1). The 4 mA live zero lets the controller spot a broken wire, and current is not affected by voltage drop along the cable.
  • Analog voltage: for example 0 to 10 V or 1 to 5 V. Simple, but cable resistance and noise affect it more.
  • Digital: on or off switching outputs, pulse trains from encoders, or a fieldbus message. A three-wire DC proximity switch is either PNP (it switches the load to the positive supply) or NPN (it switches the load to 0 V).

The analog input card of a PLC must match the signal type, which is one of the points in PLC hardware selection.

Worked example: scaling a 4 to 20 mA sensor signal

The controller reads a current and must turn it into engineering units. The scaling is a straight line between the two ends of the range.

Linear 4 to 20 mA scaling
PV=LRV+I−416 (URV−LRV)PV = LRV + \frac{I - 4}{16}\,(URV - LRV)
PV measured value in engineering units
I loop current, mA
LRV lower range value, at 4 mA
URV upper range value, at 20 mA
Worked exampleTemperature from a 4 to 20 mA transmitter
Given
RTD temperature transmitter ranged 0 to 150 °C, output 4 to 20 mA. The controller reads 12.8 mA through a 250 Ω input resistor.
Find
The temperature, the voltage at the input resistor and the sensitivity of the transmitter
Assumptions
Linear transmitter output; no calibration error; the 250 Ω resistor is exact
  1. Step 1Fraction of span = (12.8 − 4) / 16 = 8.8 / 16 = 0.55
  2. Step 2Temperature = 0 + 0.55 × (150 − 0) = 82.5 °C
  3. Step 3Input voltage = 12.8 mA × 250 Ω = 3.2 V (the range 4 to 20 mA becomes 1 to 5 V)
  4. Step 4Sensitivity = 16 mA / 150 °C = 0.107 mA per °C
Answer82.5 °C, read as 3.2 V at the input; sensitivity 0.107 mA per °C

Limitations: Real transmitters add calibration error and drift, and the RTD itself is only nearly linear. A reading below 4 mA means a fault, not a temperature below the range.

Types of actuators in mechatronics

Bolton divides actuation systems into electrical, pneumatic, hydraulic and mechanical types. A driver, relay or valve always sits between the controller output and the actuator.

  • Solenoid: a coil pulls an iron plunger, giving a short on or off linear stroke for locks, valves and diverters.
  • DC motor: speed rises with armature voltage, and torque rises with current. Speed is usually set with PWM.
  • Stepper motor: moves a fixed angle per pulse; a common hybrid stepper has 1.8° per step, or 200 steps per revolution.
  • Servo motor: a motor with a feedback sensor and drive, used for fast and accurate positioning. See servo vs stepper motor.

Compressed air drives cylinders and grippers through solenoid operated directional control valves. Single acting cylinders return by spring; double acting cylinders use air both ways.

Pneumatics are fast, clean and low cost. Air is compressible, so stopping a cylinder accurately in mid stroke is hard, and most pneumatic axes simply move end to end.

Oil from a pump, at a much higher pressure than shop air, drives cylinders and hydraulic motors. Oil is almost incompressible, so hydraulics give very large forces with stiff, controllable motion.

The price is a pump unit, the risk of leaks and more maintenance.

A piezoelectric actuator changes length slightly when a voltage is applied. The movement is only micrometres, but it is very fast and precise, so it suits optics and fine positioning.

Mechanical elements such as lead screws, gears, cams and belts are not actuators by themselves. They convert the actuator motion into the motion the load needs.

Two simple formulas size most actuators at first pass. A cylinder force is pressure times piston area, so a 50 mm bore cylinder at 6 bar (600 kPa) pushes about 600,000 × π × 0.025² ≈ 1178 N before friction losses. A 1.8° stepper on a lead screw with a 5 mm lead moves 5 / 200 = 0.025 mm per full step.

4 to 20 mA12.8 mA= 82.5 °C on a 0 to 150 °C range
Cylinder force1178 N50 mm bore at 6 bar
Stepper on 5 mm lead0.025 mmper 1.8° step

Choosing sensors and actuators for a job

Pick both ends of the loop together, because a fast actuator is wasted on a slow sensor.

  • Sensor first by quantity and range: what must be measured, its range, and the accuracy and resolution the task needs.
  • Check speed: sensor response time and actuator speed must suit how fast the process changes.
  • Match the environment: temperature, dust, water, vibration and electrical noise.
  • Match the interface: 4 to 20 mA, voltage, PNP or NPN, or fieldbus, to suit the controller inputs and outputs.
  • Size the actuator for force or torque and stroke, with margin for friction and acceleration, then pick the driver or valve to suit it.

Key formulas for sensors and actuators

QuantityFormulaSymbols and units
4 to 20 mA scalingPV = LRV + (I − 4) ÷ 16 × (URV − LRV)I in mA; LRV and URV = range limits in engineering units
SensitivityS = Δoutput ÷ Δinputfor example mA per °C
Strain gaugeΔR/R = G × εG = gauge factor (about 2 for metal foil), ε = strain
Cylinder forceF = p × Ap in Pa, A = π d² ÷ 4 in m², F in N
Stepper linear resolutionΔx = lead ÷ steps per revolutionlead in mm; 360° ÷ 1.8° = 200 steps per revolution

Sensors and actuators interview and viva questions

Tap a question to hide its answer and test yourself.
Q1What is the difference between a sensor and an actuator?

A sensor converts a physical quantity such as temperature or position into an electrical signal for the controller. An actuator converts a controller command into motion or force that acts on the process.

Q2Why can a capacitive proximity sensor detect plastic but an inductive one cannot?

An inductive sensor relies on eddy currents in a metal target, while a capacitive sensor responds to any material that changes the capacitance of its sensing face.

Q3What current corresponds to 82.5 °C on a 0 to 150 °C, 4 to 20 mA transmitter?

12.8 mA, because 82.5 is 55 percent of the span and 4 plus 0.55 times 16 mA gives 12.8 mA.

Q4Why are pneumatic cylinders hard to stop in mid stroke?

Air is compressible, so the piston position shifts with load. Most pneumatic axes therefore move end to end, and hydraulics or electric drives are used for controlled positioning.

Q5What is the difference between an incremental and an absolute encoder?

An incremental encoder gives pulses that must be counted from a reference, while an absolute encoder gives a unique code for every position, so it knows its position at power up.

Frequently asked questions

Is a transducer the same as a sensor?

A transducer is any device that converts energy from one form to another. A sensor is the transducer element that responds to the measured quantity. Many actuators, such as motors and solenoids, are also transducers, because they turn electrical energy into motion.

Why do analog sensors use 4 to 20 mA and not 0 to 20 mA?

The 4 mA live zero means a healthy sensor never sends 0 mA. A reading near zero therefore shows a broken wire or a failed transmitter, and the 4 mA can also power a two-wire transmitter. A current signal is also not affected by the voltage drop along long cables.

Is a relay or a solenoid valve an actuator?

A solenoid is an actuator because it turns current into a linear stroke. A solenoid valve uses that stroke to switch compressed air or oil to a cylinder, so it is part of the actuation chain. A relay is a switching device that passes power to the actuator.

References

  1. W. Bolton, Mechatronics: Electronic Control Systems in Mechanical and Electrical Engineering, 7th ed., Pearson, 2019
  2. D. G. Alciatore and M. B. Histand, Introduction to Mechatronics and Measurement Systems, 5th ed., McGraw-Hill, 2019
  3. J. Fraden, Handbook of Modern Sensors: Physics, Designs, and Applications, 5th ed., Springer, 2016
  4. IEC 60947-5-2:2019 Low-voltage switchgear and controlgear, Part 5-2: Control circuit devices and switching elements, Proximity switches
  5. IEC 60381-1:1982 Analogue signals for process control systems, Part 1: Direct current signals
  6. IEC 60751:2022 Industrial platinum resistance thermometers and platinum temperature sensors

Get one engineering email a week

New articles, worked examples and study notes every week. Free, no spam, unsubscribe any time.

Zenta Engineering

Articles written by the Zenta Engineering editorial staff are checked by our technical team against the references listed on each page, following our editorial policy. Editorial policy.

Related articles