Independent learning for embedded-systems engineersHardware · Firmware · Software
TEA-103CORE EMBEDDED SYSTEMS TOPICFOUNDATION

Sensors, actuators and signal acquisition

Follow the complete physical signal chain—from the quantity being measured to the action taken—and design each conversion, assumption and failure response deliberately.

After this module, you should be able to:

  • Describe a complete measurement and actuation chain
  • Select sensors using meaningful performance characteristics
  • Reason about conditioning, sampling and calibration
  • Design diagnostic and verification coverage for physical interfaces
01 / SIGNAL CHAIN

The system does not receive reality. It receives a representation.

A sensor converts a physical quantity—the measurand—into an electrical or digital representation. Conditioning, conversion, timing and software then transform that representation again. Each stage adds limits, uncertainty, delay and possible failure modes.

PHYSICAL INPUTMeasurand and sensorRange, dynamics, environment, mounting and cross-sensitivity
ACQUISITIONCondition, filter and convertExcitation, amplification, reference, ADC, timing and calibration
DECISIONInterpret and validateScaling, plausibility, state, diagnostics and control logic
COMMANDControl outputSetpoint, rate limit, interlock and output enable
ENERGYDriver and actuatorVoltage, current, heat, motion, saturation and protection
PHYSICAL RESULTOutcome and feedbackResponse, disturbance, load, independent monitoring and safe state
Trace engineering units end to end.State where volts become degrees, counts become newtons or pulse width becomes torque. Unit, sign, offset and scaling errors are interface failures.
02 / SENSING

Choose the sensor for the behaviour you must distinguish.

CharacteristicWhat it means in practiceDesign question
RangeMinimum and maximum input without unacceptable damage or loss of performance.What normal, transient and fault values are credible?
AccuracyCloseness to the reference value under stated conditions.What total error is allowed across temperature and life?
Precision / repeatabilityAgreement between repeated measurements.Can the system reliably distinguish the required change?
ResolutionSmallest observable increment in the output chain.Is useful resolution limited by noise rather than converter bits?
Bandwidth and responseHow quickly changing input is represented.Which dynamics must be captured and which should be rejected?
Drift and hysteresisChange with time and dependence on previous input direction.What calibration or compensation is needed?
Cross-sensitivityResponse to temperature, vibration, supply or another unwanted influence.Can environment mimic the quantity being measured?

Sensor selection includes installation. Mechanical stress, cable routing, heat sources, grounding, connector resistance and ingress protection can dominate laboratory data-sheet performance.

03 / ACQUISITION

Sampling must preserve the information the decision needs.

Condition before conversion

The analogue front end may provide excitation, protection, impedance matching, amplification, level shifting and filtering. Its output must remain within the converter’s input and common-mode limits for normal and credible abnormal conditions.

Control aliasing

The theoretical Nyquist threshold requires a sampling frequency greater than twice the highest frequency to be represented. A practical design also needs an analogue anti-alias filter, realistic transition band and margin for interference and timing uncertainty. Sampling faster does not recover information already distorted or clipped upstream.

Use an honest error budget

ADC bit depth is not system accuracy. Include sensor error, reference tolerance, offset, gain error, noise, non-linearity, temperature effects, quantisation, timing and calibration residuals. Effective number of bits can be far lower than nominal resolution.

Make time part of the data

For multiple channels, define whether samples are simultaneous or sequential, when timestamps are assigned and how acquisition aligns with control outputs. Stale but plausible data can be more dangerous than clearly invalid data.

04 / ACTUATION

An actuator converts information into energy.

The command signal is only one part of the actuation chain. The driver, supply, load, mechanical transmission, thermal behaviour and feedback path determine what actually happens.

  • Define voltage, current, duty cycle, force, torque, speed, travel and thermal limits.
  • Consider saturation, stiction, backlash, wear, stall, blocked motion and loss of supply.
  • Specify the de-energised condition and whether it is genuinely safe for every operating state.
  • Separate command monitoring from outcome monitoring: reading back an output register does not prove physical action.
  • Use interlocks or independent cut-offs where software response is too slow or cannot be trusted for the hazard.

Worked example: closed-loop temperature control

ThermistorDivider and filterADCScalingPlausibilityControlHeater driverThermal cut-off

Useful diagnostics include open- and short-circuit thresholds, rate-of-change limits, disagreement with an independent sensor and a check that temperature responds after heater energy is applied. Each diagnostic needs a detection time and a defined system response.

05 / EVIDENCE

Verify the chain under realistic conditions.

Signal-chain specification

Range, units, transfer functions, filtering, sampling, latency and diagnostic thresholds.

Error and timing budgets

Allocated contributors, assumptions, worst-case combination and acceptance limits.

Calibration strategy

Reference standards, points, coefficients, storage, validity and recalibration triggers.

Interface tests

Known physical or electrical stimuli at nominal, boundary and abnormal conditions.

Fault-injection tests

Open, short, stuck, drift, noise, stale data, saturation, jam and feedback loss.

Environmental evidence

Performance across temperature, supply, EMC, vibration, ageing and relevant loads.

Common failure patterns

Data-sheet accuracy

A component figure is treated as end-to-end accuracy without installation, conditioning or software errors.

Digital equals valid

A sensor returns a well-formed number that is stale, out of context or physically implausible.

Command equals action

The controller confirms its requested output but does not detect a disconnected or jammed actuator.

Calibration hides design error

Calibration compensates offset while noise, saturation, drift or non-linearity remain uncontrolled.

06 / REFERENCES

Further learning

KEY TAKEAWAY

Engineer the physical loop end to end.

A dependable embedded system controls the complete chain from measurand to data, decision, energy and verified physical outcome—including uncertainty, timing and failure behaviour at every conversion.