Robotics & Control Systems

Chapter 3
Sensors, Actuators and Mechatronic Integration

Bachelors Program in Mechnical Engineering
Robotics & Control Systems   •   Bachelor

Sensors, Actuators and Mechatronic Integration

Introduction

A robot is not merely a mechanical structure with a computer attached. It is a mechatronic system in which mechanical components, sensors, actuators, power electronics, communication networks, and control algorithms operate as an integrated whole. Sensors convert physical variables into information; controllers interpret that information; actuators convert electrical, pneumatic, or hydraulic energy into motion and force. The quality of the complete robot therefore depends on the compatibility of all these elements.

In industrial and mobile robotics, component selection is governed by measurable requirements: range, resolution, accuracy, repeatability, bandwidth, loading, environmental protection, safety, maintainability, and cost. A sensor with excellent resolution may be unsuitable if it saturates under expected conditions. A powerful actuator may be unsuitable if its transmission introduces excessive backlash. Integration must therefore be treated as a systems-engineering problem rather than a catalogue-selection exercise.

Learning Objectives

After studying this chapter, the reader should be able to:

  1. Explain the operating principles and selection criteria for encoders, force, vision, inertial, and proximity sensors.
  2. Characterize electric, pneumatic, and hydraulic actuators.
  3. Relate torque, speed, force, power, efficiency, and transmission ratio.
  4. Explain the purpose of drives, signal conditioning, and data-acquisition systems.
  5. Identify sources of measurement error, delay, noise, backlash, and saturation.
  6. Design a basic sensor–controller–actuator integration architecture.
  7. Evaluate a mechatronic design against performance, safety, and maintenance requirements.

1. The Mechatronic Measurement-and-Actuation Chain

A typical closed-loop robotic joint contains the following chain:

Closed-loop mechatronic system Referencer(t) Controllererror processing Drivepower conversion Actuatormotor / valve Mechanismplant and load Sensorsposition, force, etc. Measured feedback y(t)
Closed-loop mechatronic system showing reference, controller, drive, actuator, mechanical plant, sensors, and feedback
Figure: Closed-loop mechatronic system showing reference, controller, drive, actuator, mechanical plant, sensors, and feedback

Figure: Basic closed-loop sensor–controller–actuator architecture.

The signal path includes physical measurement, transduction, electrical conditioning, analogue-to-digital conversion, computation, digital-to-analogue or pulse-width-modulated drive commands, power amplification, actuation, and mechanical response. Each stage can introduce gain error, offset, quantization, delay, noise, or saturation.

A useful distinction is between accuracy, closeness to the true value, and precision, repeatability of a measurement. Resolution is the smallest distinguishable increment, while repeatability describes consistency under repeated identical conditions. These properties are not interchangeable. A sensor may have high resolution but poor absolute accuracy because of calibration error.

2. Sensor Characterization and Selection

A sensor specification should include:

  • Measurement variable and range
  • Sensitivity and nominal transfer function
  • Accuracy, precision, repeatability, and hysteresis
  • Resolution and sampling bandwidth
  • Response time and latency
  • Electrical interface and power requirement
  • Environmental limits, ingress protection, shock, vibration, and temperature
  • Calibration requirements, failure modes, and diagnostic features

If a sensor output is approximately linear, its model may be written as

y = Sx + b + n

where y is the measured output, x is the physical input, S is sensitivity, b is offset, and n represents noise. This model is useful for calibration but does not imply that all errors are random or constant. Temperature drift, hysteresis, cross-sensitivity, and saturation may require additional terms.

2.1 Encoders

Encoders measure angular position, angular displacement, or speed. Incremental encoders generate pulses as a shaft rotates. Quadrature channels A and B are phase-shifted by approximately 90 electrical degrees, allowing direction detection. An index channel commonly provides one reference pulse per revolution. An incremental encoder loses absolute position when power is removed unless a homing procedure is performed.

Absolute encoders assign a unique digital code to each shaft position. Single-turn devices measure one revolution; multi-turn devices also record the number of revolutions. Absolute encoders are valuable in robots that must recover position immediately after restart.

For an incremental encoder with N counts per revolution, the ideal angular increment is

∆θ = 2π/N

where ∆θ is in radians. The definition of N must be checked carefully: manufacturers may specify pulses per revolution, cycles per revolution, or counts after quadrature decoding. If a quadrature signal is decoded on all four edges, the effective count can be four times the cycle count.

For a sampling interval ∆t, an approximate speed estimate is

ω ≈ ∆θ/∆t

where ω is angular speed in rad/s. Counting pulses over a fixed time gives good low-speed resolution but introduces update delay; measuring pulse period gives faster updates but is more sensitive to timing noise.

Encoder errors include eccentric mounting, interpolation error, quantization, electrical noise, missed counts, backlash between the encoder and load, and thermal expansion. A motor-mounted encoder measures motor position, not necessarily output position. In a geared joint with compliance or backlash, an output-side encoder may provide substantially better control of actual joint position.

2.2 Force and Torque Sensors

Force sensors commonly use strain gauges, piezoelectric elements, capacitive structures, or semiconductor sensing elements. A strain-gauge load cell changes resistance as its elastic element deforms. A Wheatstone bridge converts small resistance changes into a differential voltage. Force/torque sensors may be installed at a robot wrist, in a gripper, or beneath a workpiece.

Force sensors should be selected according to expected force, overload capacity, stiffness, bandwidth, cross-axis sensitivity, drift, and mounting conditions. A sensor with a range far above the actual load may provide inadequate useful resolution; a sensor with a range too low may saturate or be damaged.

Piezoelectric sensors offer high stiffness and useful dynamic response but are less suitable for measuring constant static force because charge leakage causes drift. Strain-gauge sensors are commonly preferred for static and quasi-static loads, although they require bridge excitation and amplification.

2.3 Vision Sensors

A vision system includes optics, illumination, an image sensor, processing hardware, and algorithms. Important characteristics include field of view, working distance, focal length, pixel count, pixel size, frame rate, exposure time, dynamic range, lens distortion, and illumination stability.

A camera does not directly measure object dimensions without calibration. For a pinhole camera model, a point with coordinates (X,Y,Z) projects approximately to

u = fX/Z + cu, v = fY/Z + cv

where f is focal length in pixel units, (u,v) are image coordinates, (cu,cv) is the principal point, and Z is depth relative to the camera. The simplified expression assumes an ideal pinhole camera and neglects lens distortion. Calibration estimates intrinsic parameters and the camera pose relative to the robot or workspace.

Vision is powerful for object identification, pose estimation, inspection, and navigation. Its limitations include sensitivity to illumination, occlusion, reflective surfaces, motion blur, computational latency, and ambiguity in depth. Lighting, fixturing, and calibration are often as important as camera resolution.

2.4 Inertial Sensors

An inertial measurement unit (IMU) generally combines accelerometers and gyroscopes; many also include a magnetometer. An accelerometer measures specific force, which includes the effect of gravity according to the sensor’s frame and motion. A gyroscope measures angular velocity. Orientation is estimated by integrating angular velocity and combining it with gravity or magnetic references.

Pure integration accumulates bias. If a gyroscope has constant bias b, the angular estimation error grows approximately as

θerror(t) ≈ bt

where t is elapsed time. Sensor fusion, often using complementary or Kalman filtering, reduces drift by combining fast gyroscope information with slower absolute references. Filtering must account for sample timing, coordinate frames, vibration, and possible magnetic interference.

2.5 Proximity Sensors

Inductive sensors detect conductive metal, capacitive sensors detect changes in capacitance, photoelectric sensors use light, and ultrasonic sensors estimate distance from acoustic time of flight. Radar and time-of-flight optical sensors extend proximity measurement to longer ranges or difficult lighting conditions.

Selection depends on target material, sensing distance, response time, beam geometry, background sensitivity, contamination, and required safety performance. A photoelectric sensor may detect a nonmetallic object that an inductive sensor cannot, whereas an inductive sensor is often more tolerant of visual contamination.

3. Actuators and Power Conversion

An actuator produces force or torque from an energy source. Its selection is determined by required motion, peak and continuous load, speed, duty cycle, controllability, stiffness, efficiency, noise, maintenance, and safety.

3.1 Electric Actuators

Common electric actuators include brushed DC motors, brushless DC motors, permanent-magnet synchronous motors, induction motors, and stepper motors. Electric systems offer clean operation, high controllability, straightforward digital integration, and good energy efficiency.

For a rotational actuator,

Pm = Tω

where Pm is mechanical power in watts, T is torque in N·m, and ω is angular speed in rad/s. The electrical input power is greater than mechanical output when losses are present. A motor must be checked for both continuous thermal torque and short-duration peak torque.

Stepper motors are useful for economical positioning, but open-loop operation can lose synchronism under overload. Servo motors generally use feedback and can regulate position, velocity, or torque. Motor selection must include reflected inertia, acceleration requirements, and the effect of the transmission.

3.2 Pneumatic Actuators

Pneumatic cylinders use compressed air to generate linear force. Ideally,

F = pA

where F is cylinder force, p is gauge pressure relative to the opposing pressure, and A is effective piston area. For a double-acting cylinder, the retracting area is smaller because the rod occupies part of the piston area:

Aretract = π(D² − d²)/4

where D is piston diameter and d is rod diameter. Actual force is lower because of seal friction, pressure losses, and dynamic effects.

Pneumatics are clean, inexpensive, and capable of rapid simple motion. They are comparatively compliant and difficult to position precisely because air is compressible and friction is nonlinear. Valves, regulators, flow controls, silencers, and safety exhaust devices are essential parts of the system.

3.3 Hydraulic Actuators

Hydraulic cylinders and motors use pressurized fluid. Hydraulics provide high force and power density, making them suitable for heavy machinery, mobile robots, and demanding industrial systems. They require pumps, reservoirs, valves, filters, hoses, and contamination control.

Hydraulic systems can achieve accurate motion when equipped with proportional or servo valves and position feedback. However, leakage, fluid heating, noise, fire risk for some fluids, and maintenance requirements complicate integration.

3.4 Transmissions

Gears, belts, chains, lead screws, ball screws, harmonic drives, cycloidal reducers, and cable drives transform motor speed and torque. For an ideal reduction ratio i = ωm/ωl,

Tl = iTm

where ωm and ωl are motor and load speeds, and Tm and Tl are motor and load torques. With efficiency η, the practical output torque is

Tl = ηiTm

and output speed is ωl = ωm/i. These relations assume a fixed ratio and neglect elastic deformation. Backlash, bearing friction, torsional compliance, and reflected inertia may dominate positioning performance.

For a translational screw drive with lead L metres per revolution, ideal linear speed is

v = L n

when n is expressed in revolutions per second. For a screw of efficiency η, approximate torque required to produce axial force F is

T ≈ FL/(2πη)

This relation assumes a steady load and neglects acceleration, friction variation, and preload effects.

4. Drives and Control Interfaces

A drive is the power-electronic interface between a controller and an actuator. DC motor drives regulate voltage or current; brushless motor drives perform electronic commutation; variable-frequency drives control AC motor frequency and voltage; servo drives commonly close current, velocity, and position loops.

The inner current loop is usually faster than the velocity loop, which is faster than the position loop. This cascade permits the drive to regulate motor torque rapidly while the supervisory controller commands motion. The drive must be compatible with motor voltage, current, feedback type, braking requirements, regenerative energy, and communication protocol.

Pulse-width modulation controls average motor voltage by varying duty ratio. Ideal average voltage for a unipolar switch is approximately

Vavg = D Vdc

where D is duty ratio between 0 and 1 and Vdc is DC-bus voltage. Actual motor current depends on resistance, inductance, back electromotive force, switching frequency, and the control loop.

Safety functions may include emergency stop, safe torque off, overcurrent protection, thermal protection, overspeed detection, and limit switches. Safety devices should not depend solely on ordinary software control. Their design must follow applicable machinery and functional-safety standards and a documented risk assessment.

5. Signal Conditioning and Data Acquisition

Raw sensor signals are rarely suitable for direct computation. Signal conditioning may provide amplification, filtering, isolation, linearization, bridge excitation, demodulation, level shifting, and protection.

A differential amplifier rejects common-mode voltage and amplifies the difference between two input signals. This is important for strain gauges and long cable runs. Shielding, grounding, twisted-pair wiring, and galvanic isolation reduce electromagnetic interference and ground loops.

An analogue low-pass filter attenuates high-frequency components. Sampling must satisfy the Nyquist condition for a band-limited signal:

fs > 2fmax

where fs is sampling frequency and fmax is the highest frequency present. In practice, the analogue anti-aliasing filter must attenuate frequencies above half the sampling rate. Sampling exactly at the theoretical limit is not a robust engineering choice because real signals are not perfectly band-limited.

An ideal N-bit ADC with input span Vrange has quantization step approximately

q = Vrange/2N

The quantization uncertainty is commonly modeled as approximately ±q/2 for an ideal converter, although total accuracy also includes gain error, offset error, nonlinearity, reference error, and noise.

A data-acquisition system should specify channel count, resolution, sample rate, synchronization, input range, isolation, timestamp quality, storage, and communication latency. Sensors measuring dynamic interactions must be time-synchronized; otherwise, an apparent phase error may be mistaken for a mechanical or control problem.

6. Integration Design Method

A disciplined integration process proceeds as follows:

  1. Define the task, workspace, load, cycle time, accuracy, and safety requirements.
  2. Identify measurable states and disturbances: position, velocity, force, temperature, vibration, and contact.
  3. Establish actuator force, torque, speed, acceleration, duty-cycle, and energy requirements.
  4. Select transmissions while evaluating backlash, stiffness, efficiency, and maintenance.
  5. Select sensors according to range, bandwidth, resolution, environmental conditions, and failure behavior.
  6. Design signal conditioning, sampling, grounding, communications, and timing.
  7. Specify drives and protection devices.
  8. Model worst-case loads and test calibration, saturation, noise, latency, and fault response.
  9. Validate the integrated system rather than qualifying components only in isolation.

A useful design principle is observability of the required state. If the controller must regulate end-effector force but only motor position is measured, structural compliance and friction may make force poorly observable. Adding a wrist force sensor or estimating force from motor current may improve performance, but current-based estimation is affected by motor constants, friction, acceleration, and gearbox losses.

Worked Example: Motor and Gearbox Selection

An axis must deliver 12 N·m continuously at 60 rpm. The gearbox ratio is 20:1 and efficiency is 0.85. Determine the required continuous motor torque and motor speed, neglecting acceleration and transmission compliance.

The load speed is ωl = 60/60 = 1 rev/s, or 2π rad/s. The motor speed is

nm = 20 × 60 = 1200 rpm

Using Tl = ηiTm,

Tm = Tl/(ηi) = 12/(0.85 × 20) ≈ 0.706 N·m

The motor mechanical output power is approximately

Pm = Tmωm

where ωm = 2π(1200/60) = 40π rad/s. Thus,

Pm ≈ 0.706 × 40π ≈ 88.7 W

The selected motor should exceed 0.706 N·m continuous torque at 1200 rpm, with additional margin for acceleration, friction, thermal conditions, and transient load. A motor rated exactly at the calculated value would not be a robust selection.

Applied Case: Illustrative Robotic Pick-and-Place Cell

Background

An illustrative manufacturing cell uses a six-axis robot to pick metal components from a conveyor and place them into a fixture. Components vary slightly in orientation, and the cell must detect failed gripping and protect personnel during access.

Problem

A position-only system occasionally misgrips parts because conveyor placement varies. A proximity switch confirms part presence but cannot determine orientation. Motor current alone does not reliably distinguish a successful grasp from contact with the fixture.

Analysis

The task requires object localization, orientation estimation, gripper confirmation, and collision-sensitive behavior. A camera provides two-dimensional pose information, while a gripper force sensor or calibrated finger displacement sensor provides grasp confirmation. Joint encoders remain necessary for robot configuration, but they do not measure actual gripping force. Lighting variation and reflective metal surfaces are identified as major vision risks.

Approach

A fixed industrial camera is mounted above the conveyor and calibrated relative to the robot base. Controlled diffuse illumination reduces reflections. The robot uses absolute joint encoders and a wrist-mounted force sensor. A proximity sensor confirms that a component is within the pickup region. The drive system includes torque limits and safe torque-off capability. The controller rejects image results with excessive calibration residuals or low feature confidence, then requests a controlled re-image rather than blindly executing a pick.

Sensor timestamps are synchronized with robot motion. Force thresholds are established experimentally for successful and failed grasps, with separate limits for approach, contact, and lift. A safety scanner stops motion when a protected zone is entered.

Outcome

The integrated design improves placement reliability because vision corrects positional variation and force feedback detects unsuccessful gripping. The case also demonstrates that no single sensor is sufficient: encoders measure configuration, vision measures external geometry, proximity confirms presence, and force measures interaction.

Learning Points

  • Sensor redundancy should be functional, not merely duplicative.
  • Calibration and lighting are part of a vision system.
  • Feedback location determines what the controller can actually regulate.
  • Safety must include independent protective functions.
  • Timing and synchronization are essential when combining sensors.

Limitations, Ethics, and Contemporary Developments

Sensors and actuators fail in ways that may be dangerous: an encoder can lose counts, a camera can produce a confident but incorrect classification, a valve can stick, and a force sensor can saturate. Designs should use plausibility checks, watchdogs, limit monitoring, safe states, and fault logs. Safety-related systems require documented risk assessment, validation, and compliance with applicable national and international standards.

Vision and AI-based perception raise governance issues. Training data may not represent all lighting, objects, or operating conditions. A model should not be treated as infallible merely because its average test accuracy is high. Traceability, version control, explainable fault handling, human oversight, cybersecurity, and protection of recorded images are important in production systems.

Contemporary developments include smart sensors with embedded diagnostics, Ethernet-based real-time communication, collaborative robot torque sensing, event-based cameras, miniature force–torque sensors, and model-based sensor fusion. These technologies improve capability but also increase software complexity, attack surface, and dependence on configuration management. The engineering objective remains dependable task performance, not maximum technological novelty.

Best Practices

  • Specify measurement and actuation requirements before choosing products.
  • Distinguish resolution, accuracy, repeatability, bandwidth, and latency.
  • Place sensors where the controlled variable is physically observable.
  • Use calibration procedures that represent actual temperature, loading, and geometry.
  • Provide anti-aliasing filters and synchronized timestamps.
  • Account for continuous and peak actuator ratings separately.
  • Include transmission backlash, compliance, friction, and efficiency in the model.
  • Design grounding, shielding, isolation, and cable routing deliberately.
  • Test normal operation, overload, disconnection, saturation, communication loss, and sensor disagreement.
  • Document assumptions, calibration data, software versions, and safety functions.

Chapter Summary

Sensors transform physical variables into information, while actuators transform supplied energy into mechanical action. Encoders provide incremental or absolute position; force and torque sensors measure interaction; cameras provide geometric and semantic information; IMUs estimate motion and orientation; and proximity sensors detect targets without contact. Each technology has characteristic ranges, errors, bandwidths, and environmental limitations.

Electric actuators provide controllable and efficient motion, pneumatic actuators provide rapid and economical force, and hydraulic actuators provide high force density. Drives regulate power and commonly implement nested current, velocity, and position loops. Transmissions trade speed for torque but introduce efficiency losses, backlash, compliance, and friction. Signal conditioning and data acquisition determine whether sensor information is sufficiently clean, synchronized, and timely for control.

Successful mechatronic integration begins with task requirements and ends with system-level validation. Calibration, sampling, timing, grounding, safety, fault handling, and cybersecurity are engineering requirements rather than afterthoughts. The most effective designs combine complementary sensors and locate feedback so that the controlled physical variable is genuinely observable.

Key Terms

Sensor: Device that measures a physical variable and produces a usable signal.

Actuator: Device that converts supplied energy into force or motion.

Encoder: Sensor for angular position, displacement, or speed.

Incremental encoder: Encoder that reports changes in position through pulses.

Absolute encoder: Encoder that reports a unique code for each position.

Resolution: Smallest distinguishable measurement increment.

Accuracy: Closeness of a measurement to the true value.

Repeatability: Consistency under repeated identical conditions.

Hysteresis: Dependence of output on the direction or history of input change.

IMU: Inertial measurement unit containing accelerometers and gyroscopes, often with a magnetometer.

Proximity sensor: Sensor that detects a nearby object without physical contact.

Drive: Power-electronic interface controlling an actuator.

Transmission: Mechanical mechanism that transforms speed, torque, or motion.

Backlash: Lost motion caused by clearance between mating mechanical elements.

Signal conditioning: Amplification, filtering, isolation, excitation, or other preparation of sensor signals.

ADC: Analogue-to-digital converter.

Aliasing: Misrepresentation of frequency caused by inadequate sampling.

Bandwidth: Frequency range over which a system responds adequately.

Calibration: Process of relating measured output to known reference values.

Observability: Extent to which required internal or physical states can be inferred from available measurements.

Review Questions

Short Answer Questions

  1. Distinguish accuracy, precision, resolution, and repeatability.
  2. What is the difference between incremental and absolute encoders?
  3. Why is an anti-aliasing filter used before an ADC?
  4. State two advantages and two limitations of pneumatic actuators.
  5. Why may an output-side encoder be preferable to a motor-side encoder?

Long Answer Questions

  1. Explain the operating principles, selection criteria, and limitations of encoders, force sensors, vision sensors, IMUs, and proximity sensors.
  2. Compare electric, pneumatic, and hydraulic actuation for a six-axis industrial robot.
  3. Explain how drives, transmissions, signal conditioning, and data acquisition interact in a closed-loop joint.
  4. Discuss the effects of backlash, compliance, friction, quantization, noise, and latency on robot control.
  5. Develop a complete sensor and actuator architecture for a robotic assembly station, including safety and fault handling.

Analytical / Application Questions

  1. A 30:1 gearbox has 80% efficiency and must deliver 24 N·m at its output. Calculate the ideal motor speed ratio and the continuous motor torque required, then identify practical design margins that must be considered.
  2. A 12-bit ADC measures a 0–5 V sensor signal. Calculate its ideal quantization step and explain why the actual measurement uncertainty may be larger.
  3. A robot uses a camera, joint encoders, a wrist force sensor, and a proximity sensor for insertion of a part. Propose a sequence that uses all four sensors and explain how the system should respond if their information is inconsistent.

Multiple Choice Questions with Answers

Question 1

Which encoder type provides a unique position code immediately after power restoration?

A. Absolute encoder

B. Incremental encoder

C. Resolver used without excitation

D. Index-only encoder

Correct Answer: A. Absolute encoder

Question 2

A gearbox has ratio 10:1 and efficiency 0.8. If motor torque is 2 N·m, the approximate output torque is:

A. 0.16 N·m

B. 2.5 N·m

C. 16 N·m

D. 25 N·m

Correct Answer: C. 16 N·m

Question 3

What is the principal purpose of an anti-aliasing filter?

A. Increase actuator torque

B. Remove frequencies that could be misrepresented during sampling

C. Convert digital data into analogue voltage

D. Measure absolute position

Correct Answer: B. Remove frequencies that could be misrepresented during sampling

Question 4

Which actuator is generally most appropriate when very high force density and hydraulic infrastructure are available?

A. Small stepper motor

B. Pneumatic bellows only

C. Hydraulic actuator

D. Passive spring

Correct Answer: C. Hydraulic actuator

Question 5

For a pneumatic cylinder, ideal force is most directly related to:

A. Pressure multiplied by effective piston area

B. Voltage multiplied by resistance

C. Frequency divided by wavelength

D. Pixel count multiplied by focal length

Correct Answer: A. Pressure multiplied by effective piston area

Question 6

A major limitation of pure gyroscope integration is:

A. It cannot measure angular velocity

B. Its error grows because of bias and drift

C. It requires a hydraulic pump

D. It has no response to rotation

Correct Answer: B. Its error grows because of bias and drift

Question 7

Which sensor is usually best suited to detecting a nearby steel target without contact and with little sensitivity to visible lighting?

A. Inductive proximity sensor

B. Colour camera

C. Ultrasonic microphone only

D. Thermocouple

Correct Answer: A. Inductive proximity sensor

Question 8

In the ideal relation Pm = Tω, mechanical power increases when torque is constant and:

A. Angular speed increases

B. Resistance becomes zero only

C. Sampling rate decreases

D. Encoder resolution decreases

Correct Answer: A. Angular speed increases

Question 9

What does a differential amplifier commonly improve in a strain-gauge measurement?

A. Common-mode noise rejection

B. Gear reduction ratio

C. Pneumatic compressibility

D. Camera depth directly

Correct Answer: A. Common-mode noise rejection

Question 10

Why can a wrist force sensor add information that motor current alone cannot reliably provide?

A. It measures interaction nearer to the actual contact location

B. It eliminates all calibration requirements

C. It always measures position more accurately than an encoder

D. It operates without any signal conditioning

Correct Answer: A. It measures interaction nearer to the actual contact location

Robotics & Control Systems
Chapter 3 of 15