Chapter 2
Sensors, Actuators and Measurement Systems
Bachelors Program in Mechnical Engineering
AI & IoT Applications in Mechanical Engineering
•
Bachelor
Sensors, Actuators and Measurement Systems
Introduction
Mechanical engineering systems are known through measurements. Temperature, pressure, strain, vibration, flow, displacement and torque cannot be controlled reliably unless they are converted into measurable signals. A sensor performs this conversion, a signal-conditioning system makes the signal usable, a data-acquisition system digitizes and stores it, and an actuator converts a control command into physical action.
In conventional automation, these functions supported monitoring and feedback control. In AI-enabled and Internet of Things (IoT) systems, they also provide the data used for diagnosis, prediction, optimization and autonomous decision-making. However, an intelligent algorithm cannot compensate for a poorly selected sensor, incorrect calibration, electrical interference or misunderstood uncertainty. Measurement engineering therefore remains the foundation of industrial AI and IoT.
A complete measurement chain is:
Measurement and control chain from physical variable to actuator
Figure: Measurement and control chain from physical variable to actuator
Figure: A generalized measurement, communication and feedback-control chain.
Learning Objectives
By the end of this chapter, a student should be able to:
Distinguish sensors, transducers, transmitters, actuators and measurement systems.
Explain the operating principles and selection criteria for common mechanical measurements.
Design basic signal-conditioning and data-acquisition arrangements.
Apply calibration, accuracy, precision and uncertainty concepts.
Select sensors and actuators for industrial, IoT and AI applications.
Evaluate limitations, safety, cybersecurity and maintenance requirements.
1. Measurement Fundamentals
A measurand is the quantity intended to be measured, such as shaft torque or bearing temperature. A sensor responds to the measurand. A transducer converts one form of energy or physical quantity into another, commonly into an electrical signal. A sensor may therefore be regarded as a measurement transducer, although the terms are not perfectly interchangeable. A transmitter generally includes a sensor and electronics that produce a standardized output, such as 4–20 mA, 0–10 V or a digital network message.
A useful static measurement model is:
y = f(x) + b + n
Here, x is the true measurand, y is the indicated output, f(x) is the ideal response, b is a systematic bias and n is random noise. The model assumes that the sensor is operating within its specified range and that dynamic effects are either negligible or separately modeled.
Important performance characteristics include:
Range: interval between minimum and maximum measurable values.
Span: upper range value minus lower range value.
Sensitivity: change in output per unit change in input, S = ∆y/∆x.
Resolution: smallest input change distinguishable by the system.
Accuracy: closeness to the accepted reference value.
Precision: closeness of repeated readings to one another.
Linearity: closeness of the calibration curve to a specified straight line.
Hysteresis: different output for the same input depending on whether the input is increasing or decreasing.
Repeatability: agreement under the same conditions over a short period.
Drift: gradual change in output at constant input, often due to aging or temperature.
Response time: time required to respond to a change in input.
Bandwidth: frequency range over which the sensor responds acceptably.
Accuracy and precision are distinct. A set of measurements may be precise but inaccurate when a calibration bias is present. Conversely, readings scattered around the true value may be accurate on average but imprecise.
Static and dynamic response
For a first-order sensor, a common dynamic model is:
τ(dy/dt) + y = Kx
where τ is the time constant in seconds, K is static sensitivity, x is the input and y is the output. For a step input x0 and zero initial output, the response is:
y(t) = Kx0(1 − e^(−t/τ))
This model assumes linear behavior and a first-order physical response. At t = τ, the output reaches approximately 63.2% of its final value; after about five time constants it is within approximately 0.7% of the final value. A slowly responding temperature sensor is unsuitable for capturing a rapid impact event, even if its static accuracy is excellent.
2. Sensors for Mechanical Variables
Temperature
Resistance temperature detectors (RTDs) use the predictable resistance change of metals, especially platinum. Around a reference temperature, an approximate linear relation is:
R(T) ≈ R0[1 + α(T − T0)]
where R(T) is resistance at temperature T, R0 is resistance at reference temperature T0, and α is the temperature coefficient in °C⁻¹. The approximation is limited to a specified temperature range; accurate industrial conversion uses the applicable standard calibration equation.
Thermistors are semiconductor resistors with large temperature coefficients. They are sensitive and inexpensive but strongly nonlinear. Thermocouples generate a voltage from a temperature difference between a measuring junction and a reference junction. They tolerate high temperatures and vibration but have low output voltage and require reference-junction compensation. Infrared sensors measure thermal radiation without contact, making them useful for moving or inaccessible surfaces, but emissivity, reflections and line of sight affect the result.
Pressure
Pressure is force per unit area:
p = F/A
where p is pressure in pascals, F is normal force in newtons and A is area in square metres. Gauge pressure is measured relative to local atmospheric pressure; absolute pressure is measured relative to a vacuum; differential pressure is the difference between two pressure ports.
Strain-gauge pressure cells use diaphragm deformation. Piezoresistive cells change resistance under strain, while capacitive cells detect diaphragm displacement through capacitance change. Pressure connections must consider pulsation, temperature, corrosive fluids and blockage. A snubber or impulse-line restriction can protect a sensor from pressure spikes, but it also slows response.
Strain and force
A strain gauge measures deformation. Normal strain is:
ε = ∆L/L
where ε is dimensionless strain, ∆L is change in length and L is original gauge length. Metallic strain gauges are commonly arranged in a Wheatstone bridge. For small strains, the fractional resistance change is approximately:
∆R/R = Gε
where G is the gauge factor, typically near 2 for many metallic gauges. A quarter-, half- or full-bridge arrangement can improve sensitivity and compensate for temperature effects. Correct surface preparation, alignment and bonding are essential; a gauge measures strain at its installation location, not automatically the average stress throughout a component.
A load cell combines elastic deformation with strain gauges and is calibrated to force. If stress is required, the relation σ = Eε may be used for uniaxial linear-elastic loading, where σ is stress in pascals and E is Young’s modulus in pascals. This relation is not valid after yielding or in conditions involving significant plasticity.
Displacement and position
Linear variable differential transformers (LVDTs) provide contact-based or guided displacement measurement with good resolution and robust analog output. Potentiometric sensors are simple but involve mechanical wear. Optical encoders provide incremental or absolute angular position. An incremental encoder produces pulses; position is obtained by counting pulses, while an absolute encoder reports a coded position after power loss.
Inductive proximity sensors detect metallic targets without contact. Capacitive proximity sensors can detect nonmetallic materials but are affected by moisture and dielectric properties. Laser triangulation offers high-resolution distance measurement but requires suitable surface reflectivity and protection from dust.
Vibration and acceleration
Piezoelectric accelerometers generate charge or voltage when subjected to acceleration. They have excellent high-frequency response but are less suitable for static acceleration. MEMS accelerometers use microfabricated proof masses and are economical for low- to medium-frequency monitoring. The measured acceleration may be integrated to estimate velocity or displacement, but integration magnifies low-frequency bias and drift.
For a rotating machine, vibration measurements must specify location, direction, frequency range, mounting method and units. A magnet mount is convenient but may reduce high-frequency fidelity compared with a stud mount. Poor mounting can create a false diagnosis.
Flow
Differential-pressure flowmeters use a restriction such as an orifice plate. For incompressible flow, an idealized relation is:
Q = Cd A2 √[2∆p/(ρ(1 − β4))]
where Q is volumetric flow rate, Cd is discharge coefficient, A2 is throat area, ∆p is differential pressure, ρ is fluid density and β is the ratio of throat diameter to pipe diameter. The equation assumes appropriate developed flow, known fluid properties and a calibrated discharge coefficient. Real installations require straight-pipe lengths and correction for Reynolds number, temperature and compressibility where relevant.
Magnetic flowmeters require electrically conductive fluids and have no obstruction. Coriolis meters measure mass flow and density with high accuracy but are relatively expensive. Ultrasonic meters can be externally mounted, reducing intrusion, but their performance depends on acoustic coupling and flow profile.
Torque
A torsion shaft develops shear stress under torque. For a circular, homogeneous, linearly elastic shaft:
T/J = τs/r = Gθ/L
where T is torque, J is polar second moment of area, τs is shear stress at radius r, G is shear modulus, θ is angle of twist in radians and L is shaft length. The equation assumes Saint-Venant torsion, small deformation and elastic material behavior. Torque can be measured using bonded strain gauges at ±45° to the shaft axis, slip rings, rotary transformers or wireless telemetry.
3. Signal Conditioning and Data Acquisition
Raw sensor signals are rarely ready for computation. Signal conditioning may include excitation, amplification, bridge completion, isolation, linearization, filtering, cold-junction compensation, debouncing and conversion to a standard industrial signal.
A Wheatstone bridge is balanced when the ratio of one pair of resistances equals that of the other pair. In practice, bridge excitation stability and lead-wire resistance influence the output. Instrumentation amplifiers are preferred for low-level differential signals because they offer high input impedance and good common-mode rejection.
A low-pass filter attenuates high-frequency noise. For a first-order RC low-pass filter, the cutoff frequency is:
fc = 1/(2πRC)
where R is resistance in ohms, C is capacitance in farads and fc is hertz. The filter should not remove meaningful signal content. A filter designed without considering machine fault frequencies can hide the very fault being diagnosed.
Sampling and aliasing
A data-acquisition system samples a continuous signal at frequency fs. To avoid aliasing for a band-limited signal whose highest frequency is fmax, the sampling theorem requires:
fs > 2fmax
This condition alone is insufficient in practice because real signals contain unwanted higher-frequency components and filters are not ideal. An analog anti-aliasing filter is therefore placed before the analog-to-digital converter (ADC). Sampling too slowly can make a high-frequency vibration appear as a false low-frequency oscillation.
For an ideal N-bit ADC with input span Vspan, the nominal quantization step is:
q = Vspan/2N
The formula assumes an ideal ADC and defines the nominal code spacing; offset, gain error, integral nonlinearity and noise may be larger in a practical device. A 16-bit converter over a 0–10 V span has q = 10/65536 ≈ 0.153 mV.
IoT systems add gateway processing, time synchronization, communication and cloud or edge storage. Time stamps, sensor identity, engineering units, calibration status and quality flags should accompany every measurement. A value without metadata is difficult to interpret and dangerous to use in an AI model.
4. Calibration, Uncertainty and Data Quality
Calibration compares an instrument with a reference under specified conditions. A calibration curve may identify zero error, span error, nonlinearity and hysteresis. Calibration does not necessarily repair the instrument; it establishes its relationship to a reference and may generate correction coefficients.
For a linear two-point calibration, if the reference inputs are x1, x2 and corresponding outputs are y1, y2, the estimated input from an output y is:
x = x1 + (y − y1)(x2 − x1)/(y2 − y1)
This assumes a stable, approximately linear response between the calibration points. More points may be required for nonlinear sensors.
Random uncertainty is often estimated from repeated readings. The sample mean is:
x̄ = (1/n)∑xi
and the sample standard deviation is:
s = √[∑(xi − x̄)2/(n − 1)]
where n is the number of observations. The denominator n − 1 estimates population variance from a sample. For independent input quantities, a first-order combined standard uncertainty is commonly approximated by:
uc(y) = √[∑(∂f/∂xi)2u2(xi)]
where y = f(x1, x2, …), u(xi) are standard uncertainties and covariance is neglected. If inputs are correlated, covariance terms must be included. An expanded uncertainty is often reported as U = kuc, where k is a coverage factor selected according to the reporting convention and desired coverage probability; k = 2 is common but not universally equivalent to exactly 95% coverage.
Worked example: pressure measurement uncertainty
A pressure transmitter has a calibrated reading of 500 kPa. Its standard uncertainty is 2 kPa. A separate reference correction contributes 1 kPa, and the two sources are treated as independent. Thus:
uc = √(22 + 12) = √5 = 2.24 kPa
Using k = 2, the expanded uncertainty is:
U = 2(2.24) = 4.47 kPa ≈ 4.5 kPa
The result should be reported approximately as 500 kPa ± 4.5 kPa, with the coverage convention stated. This does not include an unrecognized systematic error; uncertainty analysis is only as good as the error sources considered.
5. Actuators and Industrial Selection
An actuator receives energy and a command and produces motion, force, flow or another physical effect. Common types include:
Actuator
Strengths
Limitations
Typical uses
Electric motor
Efficient, controllable, widely available
Requires electrical drive and protection
Pumps, fans, robots
Solenoid
Fast, simple, inexpensive
Usually short stroke and high transient current
Valves, locks
Pneumatic cylinder
Clean, fast, good force-to-mass ratio
Compressibility reduces stiffness; needs air supply
Clamping, pick-and-place
Hydraulic cylinder/motor
Very high force and power density
Leakage, maintenance and safety concerns
Presses, mobile machinery
Servo motor
Accurate position, speed and torque control
Higher cost and tuning complexity
CNC axes, robotics
Control valve
Regulates fluid flow continuously
Requires sizing and suitable fluid conditions
Process control
Selection begins with load, required force or torque, stroke or rotation, speed, duty cycle, accuracy, response time, energy source and environmental conditions. For a rotary actuator, mechanical power is:
P = Tω
where P is power in watts, T is torque in newton-metres and ω is angular velocity in radians per second. For a translating actuator:
P = Fv
where F is force in newtons and v is velocity in metres per second. Required actuator rating should include acceleration, friction, gravity, process load, duty cycle and a justified safety margin. Oversizing can reduce controllability, increase cost and create unnecessary hazards.
Industrial environments impose additional requirements: ingress protection, temperature rating, vibration resistance, chemical compatibility, electromagnetic compatibility, hazardous-area certification, fail-safe behavior and maintainability. A valve used to isolate fuel should not be selected solely from flow capacity; its failure position, response time and safety integrity are also important.
6. Application to AI and IoT
AI applications require representative, labeled and trustworthy data. Sensor placement should reflect the failure mechanism. Bearing-fault detection, for example, benefits from accelerometers mounted close to the bearing load path, while motor-current monitoring may provide a less intrusive but indirect indicator.
A practical condition-monitoring pipeline is:
Define the failure mode and decision required.
Select a measurable proxy and suitable sensor bandwidth.
Acquire synchronized, calibrated data with quality flags.
Extract physically meaningful features such as RMS vibration, crest factor, temperature trend or pressure differential.
Train and validate the model using operating conditions that represent deployment.
Compare predictions with maintenance records and expert judgment.
Establish alarm thresholds, escalation procedures and a human override.
For vibration, root-mean-square (RMS) value over N samples is:
xRMS = √[(1/N)∑xi2]
For a zero-mean signal, RMS represents an effective magnitude; for signals with a nonzero mean, the mean and alternating components should be interpreted separately. AI models should not be trained on a mixture of sensor faults and machine faults without labels, because the model may learn the wrong relationship.
Cybersecurity is part of measurement integrity. Authentication, authorization, encrypted communication, secure firmware updates, network segmentation and audit logs reduce the risk that false data will influence an actuator. Safety-critical control should not depend blindly on an unverified cloud prediction. Local interlocks and independent protective systems remain necessary.
7. Illustrative Case: IoT Monitoring of a Centrifugal Pump
Background
A manufacturing plant operates a centrifugal pump delivering cooling water. Unexpected bearing failures cause production interruptions. The plant proposes an IoT condition-monitoring system.
Problem
Existing measurements include motor current and discharge pressure, but they do not reliably identify early bearing degradation. Measurements are also recorded without consistent time stamps or calibration status.
Analysis
Bearing defects generate vibration components that may be attenuated if the accelerometer is mounted on a distant pipe. Temperature provides a slower indicator and is useful for confirmation. Pressure and flow identify hydraulic operation, allowing vibration data to be interpreted under changing load.
Approach and solution
An industrial accelerometer is stud-mounted on the bearing housing in the radial direction, with a temperature sensor nearby and pressure transmitters at suction and discharge. A tachometer supplies rotational speed. The acquisition unit applies an anti-aliasing filter, samples at a rate suitable for the selected vibration bandwidth, and time-synchronizes all channels. Each record includes sensor ID, units, calibration date, sampling rate and a quality flag.
Edge software calculates RMS vibration and spectral features. A model is trained only on verified healthy operation across normal speeds and flow rates. Alarm logic combines the model score with absolute vibration and temperature limits. A local programmable controller retains shutdown interlocks, while the IoT platform provides trends and maintenance alerts.
Outcome
In an illustrative deployment, a gradual rise in vibration accompanied by a temperature trend triggers inspection before catastrophic failure. The maintenance team finds lubrication degradation and replaces the bearing during a planned stoppage. The model is not treated as proof of failure; it is a decision-support tool supported by physical measurements and inspection.
Learning points
Sensor location, calibration metadata, operating context and human procedures are as important as the AI algorithm. A technically sophisticated model cannot recover information that was never measured or was corrupted during acquisition.
8. Challenges, Standards and Best Practices
Measurement systems face noise, drift, cross-sensitivity, environmental damage, electromagnetic interference, installation error and obsolescence. Sensor redundancy can improve availability, but redundant sensors must not share a common failure cause. Plausibility checks, range checks, rate-of-change checks and comparison with physical conservation laws help identify bad data.
Traceability to recognized standards and reference instruments supports confidence in calibration. Organizations should define calibration intervals from stability evidence and risk, rather than choosing an arbitrary interval. Safety-related systems require documented hazard analysis, proof testing and appropriate functional-safety practices. Electrical installations in explosive atmospheres require certified equipment and installation methods appropriate to the hazardous classification.
Best practices include:
Specify the measurand, range, bandwidth, accuracy and environment before selecting a device.
Install sensors where the measured quantity is physically representative.
Use shielded, correctly grounded wiring and separate low-level signals from power conductors.
Apply anti-aliasing filters and document sampling choices.
Record calibration, uncertainty, units, time base and sensor identity.
Validate data under normal, transient and fault conditions.
Design actuators with defined safe states and independent emergency protection.
Monitor sensor health, not only the process variable.
Treat AI output as evidence with known confidence, not as unquestionable truth.
Protect connected devices through lifecycle cybersecurity and controlled access.
Chapter Summary
Sensors and transducers convert mechanical variables into usable signals, while actuators convert commands into physical action. A measurement system includes the sensing element, excitation, signal conditioning, ADC, communication, computation and interpretation. Temperature, pressure, strain, vibration, flow, displacement and torque require different physical principles and installation practices. Static characteristics such as sensitivity, accuracy, precision, hysteresis and drift must be distinguished from dynamic characteristics such as time constant and bandwidth. Calibration establishes the relation between indication and reference; uncertainty quantifies incomplete knowledge and must include relevant error sources. Sampling, filtering and metadata determine whether digital data are trustworthy. Actuator selection depends on force, torque, speed, power, duty cycle, environment and fail-safe requirements. In AI and IoT systems, high-quality measurement, cybersecurity, traceability and human engineering judgment are prerequisites for reliable prediction and control.
Key Terms
Measurand: Quantity intended to be measured.
Sensor: Device that responds to a physical quantity.
Transducer: Device that converts one form of energy or quantity into another.
Transmitter: Sensor and electronics producing a standardized output.
Sensitivity: Change in output per unit change in input.
Accuracy: Closeness of a result to an accepted reference value.
Precision: Closeness among repeated results.
Hysteresis: Different output for the same input according to input direction.
Drift: Gradual output change at constant input.
Time constant: Parameter describing the speed of a first-order response.
Strain gauge: Resistive element whose resistance changes with deformation.
Load cell: Calibrated force-measuring transducer.
Signal conditioning: Filtering, amplification, isolation or linearization of a sensor signal.
DAQ: Data-acquisition system for sampling and processing signals.
Aliasing: False frequency behavior caused by inadequate sampling.
Calibration: Comparison with a reference under specified conditions.
Uncertainty: Quantified doubt associated with a measurement result.
Actuator: Device that converts a command and energy into physical action.
Telemetry: Remote measurement and transmission of data.
Measurand metadata: Context such as units, time, identity and calibration status accompanying data.
Review Questions
Short Answer Questions
Distinguish accuracy from precision.
What is the function of an anti-aliasing filter?
Define gauge, absolute and differential pressure.
State two advantages and two limitations of pneumatic actuators.
Why is calibration metadata important in an IoT system?
Long Answer Questions
Explain the complete measurement chain from a physical variable to a cloud-based IoT application.
Compare RTDs, thermocouples, thermistors and infrared temperature sensors.
Explain strain-gauge measurement using a Wheatstone bridge and discuss temperature compensation.
Discuss the factors involved in selecting an actuator for an industrial machine.
Explain calibration, systematic error, random error and combined measurement uncertainty.
Analytical / Application Questions
A 0–10 V, 12-bit ADC measures a pressure transmitter output. Calculate the ideal voltage quantization step and explain whether this alone determines total measurement accuracy.
Design a sensor and acquisition strategy for detecting early bearing degradation in a centrifugal pump. Justify sensor location, bandwidth, sampling, metadata and alarm logic.
A motor operates at 1,500 rev/min and requires 12 N·m at its shaft. Calculate the mechanical power and identify additional information needed before selecting the motor and drive.
Multiple Choice Questions with Answers
Question 1
Which characteristic describes closeness of repeated measurements to one another?
A. Accuracy
B. Precision
C. Sensitivity
D. Range
Correct Answer: B. Precision
Question 2
For a first-order sensor, the output reaches approximately what percentage of its final step response after one time constant?
A. 37%
B. 50%
C. 63.2%
D. 100%
Correct Answer: C. 63.2%
Question 3
Which sensor is generally suitable for measuring strain on a loaded shaft?
A. Metallic strain gauge
B. Infrared thermometer
C. Magnetic flowmeter
D. Capacitive proximity switch
Correct Answer: A. Metallic strain gauge
Question 4
A 16-bit ideal ADC has a 0–10 V input span. What is its nominal quantization step?
A. 0.153 mV
B. 1.53 mV
C. 15.3 mV
D. 153 mV
Correct Answer: A. 0.153 mV
Question 5
What is the principal purpose of an analog anti-aliasing filter?
A. Increase actuator torque
B. Remove all sensor bias
C. Limit frequency content before sampling
D. Convert voltage into pressure
Correct Answer: C. Limit frequency content before sampling
Question 6
Which flowmeter requires an electrically conductive fluid?
A. Magnetic flowmeter
B. Coriolis flowmeter
C. Orifice plate
D. Thermal mass flowmeter
Correct Answer: A. Magnetic flowmeter
Question 7
A shaft transmits 12 N·m at 1,500 rev/min. Using P = Tω, what is the approximate mechanical power?
A. 188 W
B. 1.88 kW
C. 18.8 kW
D. 188 kW
Correct Answer: B. 1.88 kW
Question 8
Which actuator is most directly associated with very high force or power density but potential leakage concerns?
A. Hydraulic actuator
B. Solenoid
C. Piezoelectric sensor
D. Potentiometer
Correct Answer: A. Hydraulic actuator
Question 9
If two independent standard uncertainties are 2 kPa and 1 kPa, what is their combined standard uncertainty?
A. 1 kPa
B. 2 kPa
C. √5 kPa, approximately 2.24 kPa
D. 3 kPa
Correct Answer: C. √5 kPa, approximately 2.24 kPa
Question 10
Why should an AI condition-monitoring model receive operating context such as speed and flow?
A. To eliminate the need for calibration
B. To distinguish normal operating changes from fault behavior
C. To guarantee zero measurement noise
D. To replace all safety interlocks
Correct Answer: B. To distinguish normal operating changes from fault behavior
AI & IoT Applications in Mechanical Engineering
Chapter 2
of 15