Course Code: BME054
Course: AKTU B.Tech 3rd Year, Semester V
Unit: Sensor and Transducer
Branch: Mechanical Engineering
Unit II Overview
Understand sensor principles, performance and practical use. Compare all listed sensing methods, interpret static and dynamic characteristics, and connect sensor outputs to a controller through compatible conditioning and interfaces.
Topics Covered
| Syllabus area | Pages |
|---|---|
| Definitions, classification and static performance | 2-4 |
| Dynamic characteristics and sampling | 5 |
| Inductive, capacitive and photoelectric sensors | 5-8 |
| Ultrasonic, magnetic, Hall and tactile sensors | 8-11 |
| Load cells, LVDTs and sensor selection | 11-14 |
| Sensor interfacing and measurement integration | 14-16 |
| Solved examples and applications | 16-19 |
| Exam questions with answers | 20-22 |
| Quick revision and glossary | 23-24 |
Learning Outcomes
-
1. Classify sensors and transducers clearly.
-
2. Interpret static and dynamic performance.
-
3. Explain each listed sensing principle.
-
4. Apply sensor selection and calibration concepts.
-
5. Describe compatible sensor interfacing.
Included in These Notes
31 explained sections; 22 labelled diagrams and sketches; 10 realistic images; 20 solved calculations and cases; 24 short answers; 5 structured long answers; comparison tables and quick revision.
Study Approach
Understand. Trace the physical quantity to a usable signal.
Compare. State targets, performance, output and limitations.
Apply. Check calibration, units, timing and input compatibility.
Core idea: a sensor result is useful only when its principle, calibration, dynamic response and interface suit the task. More digits alone do not establish more accurate information.
1. Sensor and transducer: meaning and roles
A sensor detects a physical quantity or event and supplies information about it. A transducer converts one form of physical quantity or energy into another. An electrical measurement system commonly uses a sensing element and transduction mechanism to obtain a usable electrical signal.
Example. A strain gauge changes resistance when strained. A load-cell structure converts applied load into strain, and a bridge/readout converts the resistance changes into an indicated force. The complete device contains several linked functions.
System position. Sensors provide observations to a controller; actuators change the physical process. A motor may contain an encoder, but its torque-producing role and the encoder’s measuring role remain different.
Practical distinction. Detecting part presence supplies an event; measuring displacement supplies a quantity over a range. A sensor’s housing alone does not reveal its principle, output format or performance. Identify the measured quantity, conversion and interface.
2. Classification by measurand, contact and output
Sensors can be classified by the measurand: displacement, proximity, speed, force, temperature or another quantity. They can also be grouped by physical principle, contact requirement and output representation. These classifications overlap.
Contact and non-contact. A tactile pad needs mechanical interaction; inductive, capacitive, optical, magnetic and ultrasonic arrangements can detect without touching a target. Non-contact does not mean unaffected by mounting, contamination or environment.
Output. Analogue outputs vary over a defined range; switching outputs indicate a state; digital measurement interfaces transmit coded values or messages. A switch output is not automatically a complete numerical measurement.
Example. A Hall-effect device can be a linear analogue sensor, a threshold switch or a latch. Naming the Hall principle does not identify one compulsory output type.
| Criterion | Examples |
|---|---|
| Measurand | Position, presence, force, speed |
| Contact | Tactile/contact; non-contact |
| Principle | Resistive, capacitive, inductive, optical, magnetic, acoustic |
| Output | Analogue value, switching state, coded digital data |
3. Active, passive, primary and secondary terminology
In one common transducer classification, an active or self-generating transducer produces an electrical response from the measured phenomenon, such as a thermocouple or piezoelectric element. A passive or modulating element needs excitation to reveal a changing resistance, capacitance or inductance.
State the convention. In other fields, active sensing means emitting energy toward a target, as with an ultrasonic ranging device. That usage differs from self-generating transducer terminology. Avoid a bare active/passive label without explaining its meaning.
Primary and secondary. A primary element first responds to the measurand; a secondary stage converts that response into another usable form. In a strain-gauge load cell, an elastic member strains and bonded gauges respond electrically.
Power distinction. A self-generating sensing principle does not prove the entire instrument needs no external power. Amplifiers, displays, communication and control electronics can still require a supply.
4. Range, span, sensitivity and calibration
Range gives the permitted measurement interval; span is the difference between its upper and lower limits. A range from -10 to +10 mm has a span of 20 mm, not 10 mm.
Sensitivity is output change per input change under stated conditions. For a linear model V = Sx + b, S is sensitivity and b is offset. Sensitivity can vary over a nonlinear characteristic, so one constant slope is not always sufficient.
Calibration establishes the relationship between reference values and indications under specified conditions. It identifies corrections or parameters; adjustment changes an instrument. Calibration is not the same as pressing a zero button.
Working method. State input/output units, excitation and range. Use more than one reference point to investigate span and nonlinearity. A two-point straight-line fit does not prove the response is linear between those points.
5. Accuracy, precision, repeatability and error
Accuracy describes closeness to the reference or true value under the measurement convention. Precision concerns agreement among repeated results. A device can repeatedly give the same biased value, so good repeatability does not prove accuracy.
Repeatability concerns repeated indications under specified unchanged conditions. Reproducibility involves changed conditions as defined in the comparison. State the conditions rather than treating every spread in results as the same property.
Error expressions. Signed error = indication – reference. Relative error uses a specified reference basis. A limit stated as percent of full-scale span differs from the same percentage of reading, especially near the lower end of the range.
Example. A stated limit of 1% of a 100 N span corresponds to 1 N. At a 20 N reading, 1 N is 5% of that reading. This does not change the original full-scale specification.
6. Resolution, threshold, linearity and loading
Resolution is the smallest change distinguishable under specified conditions. Threshold is the input level or change needed to produce a specified response. Noise and processing can limit useful distinguishability even when a converter offers many numerical codes.
Linearity describes closeness to a defined straight-line reference. The reference may be endpoint-based, best-fit or another specified convention. A percentage nonlinearity figure is incomplete without its basis and conditions.
Loading. A measurement device can disturb what it measures. Mechanical contact can add force; an electrical input can draw current and alter a voltage. Suitable input impedance and mechanical design reduce unwanted influence.
Important comparison. More displayed decimal places do not establish better accuracy or effective resolution. Consider the entire chain: sensor, conditioning, conversion, calibration and environment.
7. Hysteresis, dead band, drift and stability
Hysteresis means the indication or switching state depends on the direction or history of input change. A proximity switch may turn on at one approach distance and turn off at a different withdrawal distance.
Dead band is a defined interval of input change that produces no specified output response. It is related to but not identical with every use of hysteresis. Specify the observed characteristic instead of using both terms interchangeably.
Drift is a change in indication or calibration with time or other stated conditions when the intended measurand relationship should remain fixed. Zero drift changes offset; sensitivity drift changes slope. Temperature can affect both.
Use. Deliberate switching hysteresis can prevent rapid chatter near a threshold. It also means a single threshold number does not describe both approach and withdrawal. Mounting and target conditions must be held consistent when comparing readings.
8. Dynamic characteristics and first-order response
Dynamic characteristics describe how a measurement follows an input that changes with time. Response time, delay, rise time, settling behaviour, overshoot and frequency response address different aspects. A static calibration alone cannot establish these properties.
First-order model. For a zero-initial-output step to a final value Y, y(t) = Y[1 – exp(-t/τ)] when the stated model applies. The time constant τ is the time to reach about 63.2% of the total step change.
Interpretation. The model reaches about 95.0% at 3τ and 98.2% at 4τ. It approaches the final value asymptotically rather than reaching an exact final value at one time constant. Other sensors can have delay or higher-order dynamics.
Selection. A fast control task requires the entire observation chain to be timely. Sensor response, filtering, conversion, communication and controller update time all contribute. Excessive smoothing can hide a short event.
9. Frequency response, switching speed and sampling
Bandwidth describes a specified frequency range over which response satisfies a defined criterion. It is not the same as maximum switching frequency or ADC sample rate. Amplitude attenuation and phase lag both affect dynamic measurement.
Short events. A moving target remains in a sensing zone for approximately target length divided by speed under the simple geometry. Sensor switching delays and input-processing time must be short enough to recognise the event reliably.
Sampling. Digital sampling observes values at discrete times. Ideal recovery of a band-limited signal requires a sample rate greater than twice its highest retained frequency, along with appropriate reconstruction assumptions. Practical systems need anti-alias filtering and margin.
Aliasing. Unwanted high-frequency content can appear as misleading lower-frequency content after sampling. Analogue anti-alias filtering belongs before conversion; digital smoothing cannot generally recover information already aliased.
10. Inductive proximity sensor: construction and principle
An inductive proximity sensor detects a suitable metal target through interaction with an alternating electromagnetic field. A typical arrangement contains an oscillator and sensing coil, detection circuitry and an output stage.
Working sequence. The oscillator energises the coil. A nearby conductive target supports induced eddy currents that change field loading and oscillator behaviour. The detection stage evaluates this change and switches the output according to the design.
Target effects. Sensing distance depends on target material, size, geometry, mounting and the particular sensor. Non-ferrous metals may have different response factors from a standard steel target; specialised sensors can compensate for selected differences.
Limit. An ordinary inductive proximity switch is not a general detector for wood, paper or an empty plastic object. Do not confuse it with a capacitive sensor simply because the two products have similar cylindrical housings.
11. Inductive sensing: applications and mounting
Applications. Detecting steel machine parts, gear teeth, carriage end positions and metallic workpiece presence are common uses. The switching signal can support counting or position events when speed and target geometry are suitable.
Mounting. Flush/shielded and non-flush/unshielded arrangements have different installation constraints. Nearby metal can affect the sensing field. Respect the selected sensor’s specified clearances, target and operating distance rather than assuming the rated value is guaranteed in every installation.
Performance. Repeatability, hysteresis, switching delay and environmental rating matter. A detected target does not automatically mean its distance is measured continuously; many devices give only an on/off output.
Selection example. For part-presence confirmation at a dirty machine fixture, an inductive switch may suit a metal part. Verify the actual target and mounting conditions before depending on it as an interlock input.
12. Capacitive proximity sensor: principle and uses
A capacitive proximity sensor detects a change in capacitance caused by a nearby target. Its electrodes and surrounding electric field form a sensing arrangement influenced by target geometry, separation and dielectric properties.
Basic relationship. The ideal parallel-plate expression C = εA/d explains why permittivity, area and separation matter, but an industrial proximity sensor usually has a fringing-field geometry. Do not use the simple formula as an exact product-distance model.
Targets. Suitable devices can detect metals and selected non-metallic materials such as liquids, powders or plastics. Detection through a non-metallic wall can be possible when wall, material and sensitivity settings are suitable.
Limitations. Moisture, deposits, nearby objects and dielectric changes can alter response. Adjusting sensitivity can change susceptibility to unwanted targets. Capacitive does not mean every material is detected equally well at the same distance.
13. Photoelectric sensors: basic principle and through-beam
A photoelectric sensor uses emitted light and a receiver to detect changes associated with a target. LEDs or other supported emitters provide light; a photosensitive receiver and processing electronics evaluate the received signal.
Through-beam. The emitter and receiver occupy separate opposing positions. An opaque target passing through the path reduces received light. Correct alignment, target size and adequate signal margin are important.
Output mode. Light-ON and dark-ON describe the relationship between received-light condition and the output according to the product’s definitions. Beam interruption does not universally imply one fixed electrical output state.
Applications. Part counting, carton presence and passage detection can use this arrangement. Dirt, ambient light, interference and transparent targets need appropriate consideration. A visible red ray is not required for operation.
14. Retroreflective and diffuse photoelectric arrangements
Retroreflective. Emitter and receiver are in the same housing and face a separate retroreflector. The reflector returns light toward the sensor. A target between them changes the received return. Polarised arrangements can help distinguish selected unwanted reflections.
Diffuse-reflective. The target itself returns part of the emitted light toward the receiver. There is no compulsory separate reflector. Colour, surface finish, angle and background can strongly affect ordinary diffuse detection.
Background suppression. Suitable distance-settable designs use additional optical geometry or processing to distinguish target and background. This is not a universal property of every low-cost diffuse sensor.
Selection. Compare alignment access, target properties, required distance and mounting space. Transparent or highly reflective targets can need specialised devices. Identify the actual light path in the diagram and in the answer.
| Arrangement | Receiver relationship | Important condition |
|---|---|---|
| Through-beam | Opposite separate emitter | Beam alignment and interruption |
| Retroreflective | With emitter; separate reflector | Reliable return from reflector |
| Diffuse | With emitter; target returns light | Target/background reflection behaviour |
15. Ultrasonic sensor: time-of-flight principle
An ultrasonic sensor uses acoustic energy above the usual human-audible range. A pulse-echo ranging arrangement transmits a pulse and detects a return from a suitable target. Electronics measure the relevant travel time.
Distance. For a monostatic round trip in a uniform medium, d = ct/2, where c is sound speed and t is the measured out-and-back time after accounting for relevant device delays. The division by two is essential.
Near and far limits. Transducer ringing and recovery can create a blind zone near the sensor. Weak or unsuitable echoes and timing limits restrict maximum useful range. A target inside the blind zone does not automatically yield a valid very small distance.
Environment. Sound speed depends on the medium and conditions, including air temperature. Surface angle, sound absorption, airflow and multiple reflections can affect results. A smooth tilted surface may reflect energy away from the receiver.
16. Ultrasonic applications and selection
Applications. Level measurement, distance observation and detection of targets with varying optical colour can use ultrasonic arrangements. Unlike optical methods, acoustic reflection does not rely on the target being bright in visible light.
Level geometry. If a sensor is mounted above a tank, a measured distance to the surface must be converted using the defined sensor-to-datum distance. Liquid level is not always equal to the directly measured air gap.
Limits. Foam, turbulence, vapour, irregular surfaces and acoustic interference can affect echoes. Separate sensors may need synchronisation or suitable separation to avoid interpreting one another’s pulses.
Comparison. Use the actual medium, target, beam pattern, blind zone and temperature behaviour. No non-contact principle is universally best; an ultrasonic sensor is not a metal-only detector and is not unaffected by its environment.
17. Magnetic sensors and reed-switch operation
Magnetic sensing includes several principles that respond to a magnetic field or changes associated with magnetic targets. Reed switches, Hall devices and magnetoresistive devices are related categories but do not use identical mechanisms.
Reed switch. In a common normally-open arrangement, ferromagnetic reeds are sealed in a small envelope. An appropriate external magnetic field magnetises the reeds so their free ends attract and make contact. Removing sufficient field lets them separate according to the design.
Applications. Door/guard position indication and cylinder-piston position indication can use an associated magnet. A reed device can sense through suitable non-magnetic enclosure material, but field strength, orientation and spacing matter.
Limits. Contact bounce, switching ratings, magnetic hysteresis and mechanical handling must be considered. A bare reed contact is not automatically a rated machine-safety function or a semiconductor Hall switch.
18. Hall effect: principle and measurement geometry
The Hall effect produces a transverse electrical response in a current-carrying material subjected to an appropriate magnetic field. Charge-carrier deflection establishes a transverse electric field under the stated geometry.
Simple model. For an ideal single-carrier slab, the magnitude can be written |VH| = |IB|/(n|q|t) when current and field have the required perpendicular orientation. Here n is carrier density and t is thickness along the relevant field direction. Device outputs usually include additional electronics.
Direction. Current, magnetic field and Hall-voltage measurement directions are mutually related. Polarity depends on carrier sign, field/current direction and terminal convention. A diagram must show field orientation rather than an unexplained arrow beside a box.
Distinction. A Hall sensor requires suitable bias and signal processing; it does not operate by physically touching reeds together. The measured field can originate from a permanent magnet or a current-generated magnetic field.
19. Hall sensors: outputs and applications
Linear Hall devices provide an output related to a measured field component over a specified range. A zero-field output can be offset or ratiometric; it is not universally zero volts. Digital variants apply thresholds or encode measured data.
Switches and latches. A magnetic switch changes state at specified field conditions. A latch retains a state until the specified opposite or release condition occurs. Device polarity and thresholds must come from its actual definition.
Applications. Shaft/rotor position, rotational event counting, magnet position and current sensing are common examples. A complete angle or displacement measurement also needs a suitable magnet geometry and processing model.
Limitations. Temperature, mounting tolerances, unwanted fields, magnetic saturation and supply/offset behaviour affect results. A changing output near a magnet does not automatically give an accurate distance without calibration.
20. Tactile sensors: contact, force and pressure information
A tactile sensor obtains information through mechanical contact, often at a gripper or surface. Depending on the design it can indicate touch, normal force, pressure distribution or selected shear/slip-related behaviour.
Principles. Piezoresistive pads change resistance under deformation; capacitive pads change capacitance; piezoelectric elements generate charge for appropriate changing loads. These are different transduction options, not one universal tactile circuit.
Array. A tactile array samples contact across multiple cells, often called taxels. Their outputs can reveal a contact pattern, subject to spatial resolution, cross-talk, calibration and mechanical coupling.
Limits. Hysteresis, creep, wear, temperature and mounting can affect readings. A piezoelectric contact sensor with leakage is generally better suited to changing events than indefinite static force measurement. Touch detection alone does not guarantee accurate force.
21. Tactile applications and contact interpretation
Robotic gripping. Tactile information can help detect initial contact, limit grip force or investigate slipping. The controller must interpret readings together with the gripper mechanics and object properties.
Force and pressure. Average pressure is force divided by stated contact area. Real contact pressure is often non-uniform, so one average value does not establish every local stress or the number of loaded taxels.
Example. A force signal can change when an object deforms or moves in a gripper. It may indicate a need to adjust handling, but it does not prove the object’s material or identity without an appropriate sensing/model arrangement.
Selection. Check required force range, contact shape, spatial detail, response, durability and surface compliance. Protective layers can change sensitivity and load distribution and therefore require system-level calibration.
22. Load cell: elastic element and strain gauges
A load cell converts applied load into a usable signal. A common electrical load cell uses an elastic member carrying bonded resistance strain gauges. Applied load strains the member, changing the gauges’ resistance.
Strain relationship. For small changes in a simple gauge model, ΔR/R = GFε, where GF is gauge factor and ε is strain. Positive or negative strain changes depend on gauge orientation and material behaviour.
Bridge. Gauges can form a Wheatstone bridge with excitation across one pair of terminals and a differential output across the other. Suitable tension/compression placement increases useful output and can help compensate common environmental effects.
Limits. Force direction, off-axis loading, overload, creep, temperature and mounting influence the result. A weighing assembly measures force and may report mass using a calibration convention; force in newtons and mass in kilograms are different quantities.
23. Load-cell output, conditioning and applications
Rated sensitivity. Load-cell sensitivity is often specified in mV/V at a rated load. Multiply by the actual excitation voltage to estimate full-scale differential output under that stated specification. mV/V is not the same as mV per newton.
Example. A zero-balanced cell rated 2 mV/V at 1,000 N with 5 V excitation produces a nominal 10 mV differential output at rated force under the ideal linear model. At 500 N the corresponding output is 5 mV.
Conditioning. Stable excitation, differential/instrumentation amplification, suitable filtering and an appropriate converter support measurement. Ratiometric conversion can reduce some excitation sensitivity when the reference is related appropriately to excitation.
Applications. Weighing platforms, material dosing, force testing and press monitoring use suitable load-cell arrangements. Calibration must account for mechanical installation and the complete readout chain, not just the bare bridge.
24. LVDT: construction and differential principle
A linear variable differential transformer (LVDT) measures linear displacement through a movable magnetic core and transformer coupling. A common arrangement has a central primary and two symmetrically placed secondary windings.
Excitation. An AC signal excites the primary. Core position changes coupling to the secondaries. They are connected in series opposition, so the relevant output is their differential voltage under the winding/terminal convention.
Null. At the ideal central position, secondary magnitudes match and cancel. Moving the core changes the difference. Over the specified linear range, a conditioned signed output is approximately proportional to displacement.
Direction. Crossing null reverses the differential AC phase under a fixed reference convention. Raw magnitude alone cannot distinguish equal displacements on opposite sides; phase-sensitive processing or an equivalent signed measurement is required.
25. LVDT signal conditioning and applications
Signal chain. Provide suitable AC excitation, acquire the differential secondary response, demodulate with a relevant reference, filter and scale. Conditioning can supply a signed DC or digital position output according to the implementation.
Advantages. In a suitable design, the core moves without electrical sliding contacts, offering fine measurement capability and good repeatability. This does not mean that every mechanical bearing, linkage or complete installation has zero friction.
Limitations. Excitation, alignment, linear-range limits, temperature, magnetic interference and electronics affect performance. A residual null voltage can exist in a real device; the ideal zero-difference picture is a reference model.
Applications. Machine-tool displacement, gauging, valve/spool position and actuator feedback are examples. Define the reference position and positive direction before interpreting a signed reading.
26. Selecting among the listed sensor principles
Choose from the measurement task, not from a familiar product name. State target material, distance, contact permission, required information, event speed, environment and controller input format.
Examples. Metal presence can suit inductive proximity. Selected non-metal levels can suit capacitive detection. Beam interruption can suit photoelectric sensing. Acoustic ranging can suit a suitable reflecting surface. Magnetic position needs a compatible field arrangement.
Quantitative tasks. Force measurement can use a properly installed load cell; fine signed displacement can use an LVDT; contact patterns can use a tactile array. A switch output cannot automatically substitute for a continuous measurement.
Verification. Test representative targets and conditions, including extremes. The most sensitive setting is not necessarily the most reliable because unwanted targets, noise and drift may also cause response.
| Principle | Typical information | Important influence |
|---|---|---|
| Inductive | Metal presence | Material and mounting |
| Capacitive | Suitable target/level | Dielectric and moisture |
| Photoelectric | Optical target event | Alignment and reflection |
| Ultrasonic | Echo distance | Sound speed and geometry |
| Magnetic/Hall | Field-related position/event | Magnet arrangement |
| Tactile | Contact or contact load | Surface mechanics |
| Load cell | Applied load | Mounting and excitation |
| LVDT | Signed linear displacement | Excitation and linear range |
27. Sensor interfacing: the complete signal path
Interfacing connects a sensor’s physical/electrical output to a controller input with compatible supply, level, reference, timing and data interpretation. It includes signal conditioning and conversion where needed.
Check first. Identify supply requirements, output type, maximum signal range, source/load behaviour, input impedance and reference connections. A 24 V industrial switching output is not automatically compatible with a 3.3 V microcontroller pin.
Analogue route. Excitation or bias -> sensor -> protection/conditioning -> anti-alias filter where required -> ADC -> scaling. A digital sensor may instead need a compatible logic interface and communication protocol.
System interpretation. A valid electrical reading still needs calibration, units, timestamp and status. The controller should distinguish normal values, unavailable data and defined faults instead of treating every numeric code as trustworthy.
28. Switching interfaces: NPN, PNP and contact signals
NPN sinking output. In a common three-wire DC arrangement, the active output provides a path toward the negative/common supply. The load or compatible input path is connected toward the positive supply. The exact circuit must match the input module.
PNP sourcing output. The active output supplies a path from the positive supply toward the load/input, whose return is connected appropriately toward the negative/common supply. PLC input terminology can vary, so inspect the actual circuit rather than matching names alone.
Contacts and wire count. A dry contact, two-wire electronic switch, three-wire sensor and complementary-output device have different supply and leakage behaviour. Two-wire electronic switches can have off-state leakage and on-state residual voltage.
NO and NC. Normally-open/normally-closed functional definitions relate to the defined target/unactuated condition, not an automatic guarantee of fault detection. Appropriate level adaptation, isolation or input circuitry is required for incompatible voltage domains.
29. Analogue interfaces, amplification and current loops
Voltage inputs. Match sensor output range and common-mode conditions to the receiving input. Differential inputs measure a difference but still have permitted common-mode limits. High input impedance reduces loading in suitable voltage measurements.
Low-level bridges. A load-cell signal can be only millivolts. Differential amplification must provide adequate gain while tolerating offset, noise and common-mode voltage. The amplifier cannot recover clipped data or remove every mechanical error.
Current loop. A 4-20 mA transmitter maps a stated measurement range to loop current. A suitable receiver can measure the voltage across a precision resistor. Verify compliance voltage, resistor dissipation and input limits; a resistor alone is not a complete protected interface.
Example. Across 250 Ω, 4 mA gives 1 V and 20 mA gives 5 V. That full range exceeds an unprotected 3.3 V ADC input, so a different validated interface is necessary.
30. ADC resolution, scaling, filtering and timing
Ideal code spacing. An n-bit converter has 2^n possible codes. In an ideal uniform-bin model with input span VFS, one LSB is VFS/2^n. Endpoint calibration may use a different code-to-value convention, so state the model.
Scaling. Convert a voltage or code into engineering units using the calibrated slope and offset. Resolution of the converter is only one contributor; analogue noise, reference error and sensor behaviour affect effective results.
Filtering. Reject unwanted interference while preserving useful dynamics. Anti-alias filtering precedes sampling when needed. Averaging may reduce some random noise but increases latency and cannot remove systematic calibration bias.
Timing. Sensor updates, conversion duration, communication and controller scanning determine when a value becomes available. A data-ready timestamp and validity flag can matter as much as another decimal place.
31. Digital interfaces, noise control and validation
Digital communication. A sensor may use a defined serial interface or industrial communication system. Match logic levels, electrical signalling, addressing, message format, update rate and timeout behaviour. Coded data is not immune to stale values or configuration errors.
Noise control. Appropriate grounding/reference strategy, cable routing, shielding, differential signalling and isolation can reduce unwanted coupling. There is no universal rule that every shield must be connected identically; use the complete installation design.
Debouncing and diagnostics. Contact bounce may require suitable hardware or timed processing. Debounce time must still permit the required event. Plausibility, range, continuity and timeout checks can detect selected faults, but no single check proves every sensor is healthy.
Commissioning. Verify supply and signal compatibility, calibrate the installed chain, test range and dynamic response, and check defined fault behaviour. Record target geometry, environmental conditions and parameters so later comparisons are meaningful.
| Check | Question |
|---|---|
| Electrical | Are supply, levels, load and references compatible? |
| Measurement | Are calibration, range and units correct? |
| Timing | Are updates and event delays acceptable? |
| Environment | Do mounting, contamination and interference matter? |
| Status | Can stale or invalid data be identified? |
SOLVED EXAMPLES AND APPLICATIONS
The following are original teaching examples. Identify the relevant role, working principle and assumptions before interpreting the result.
Solved example 2.1: Classify a sensing chain
A force deforms an elastic member; gauges change resistance; a bridge/amplifier supplies a voltage. Identify the stages.
-
1. Mechanical response. The elastic member responds to force by strain under its loading arrangement.
-
2. Electrical conversion. Strain gauges change resistance; excitation and bridge circuitry create a differential signal.
-
3. Usable information. Conditioning/conversion and calibration provide an indicated force.
Answer. A complete load measurement contains mechanical, transduction and interface stages. The gauge alone is not the entire weighing instrument.
Solved example 2.2: Range and span
A displacement sensor has a stated range of -10 to +10 mm. Find span.
-
1. Use both limits. Span = upper limit – lower limit.
-
2. Calculate. 10 – (-10) = 20 mm.
Answer. The span is 20 mm. The positive limit alone is not the span.
Solved example 2.3: Sensitivity and offset
A linear sensor gives 0.5 V at 0 units and 4.5 V at 100 units. Find slope and the output at 60 units.
-
1. Find slope. S = (4.5 – 0.5)/(100 – 0) = 0.04 V/unit.
-
2. Apply offset. V = 0.04 x 60 + 0.5 = 2.9 V.
Answer. Sensitivity is 0.04 V/unit and the indicated output is 2.9 V under the linear model. Two endpoints do not prove actual intermediate linearity.
Solved example 2.4: Percent of full-scale span
A teaching specification limits error to 1% of a 100 N span. Express the limit in newtons and as a percentage of a 20 N reading.
-
1. Full-scale basis. 0.01 x 100 = 1 N.
-
2. Reading basis. 1/20 x 100 = 5%.
Answer. The limit corresponds to ±1 N, which is ±5% of the stated 20 N reading. Do not silently change the specification’s original basis.
Solved example 2.5: Signed indication error
A reference is 50 mm and an instrument indicates 51.2 mm. Use error = indication – reference.
-
1. Subtract. 51.2 – 50 = +1.2 mm.
-
2. Relative expression. 1.2/50 x 100 = +2.4% relative to the stated reference.
Answer. Signed error is +1.2 mm or +2.4% of that reference. This is not automatically a percent-of-full-scale specification.
Solved example 2.6: Switching hysteresis
A proximity switch turns on at 5 mm during approach and turns off at 6 mm during withdrawal. Find the gap difference.
-
1. Compare transition positions. The two transitions occur at different gaps because direction/history matters.
-
2. Calculate magnitude. 6 – 5 = 1 mm.
Answer. The hysteresis gap is 1 mm under these conditions. State approach and withdrawal definitions with the values.
Solved example 2.7: First-order response
A first-order zero-initial-output sensor responds to a step with time constant 0.2 s. State output fractions at 0.2 s and 0.6 s.
-
1. Normalise time. The times are τ and 3τ respectively.
-
2. Evaluate. 1 – exp(-1) = 0.6321; 1 – exp(-3) = 0.9502.
Answer. About 63.2% and 95.0% of the total step change. Exact final output is not reached after one time constant.
Solved example 2.8: Target dwell time
A 20 mm opaque target crosses the effective sensing line at 1 m/s. Under the simple geometry, estimate its beam-blocking interval.
-
1. Convert length. 20 mm = 0.020 m.
-
2. Time. 0.020/1 = 0.020 s = 20 ms.
Answer. The ideal blocking interval is 20 ms. Sensor and input-processing delays must be assessed separately to determine reliable recognition.
Solved example 2.9: Choose an inductive target
Would an ordinary inductive proximity switch be a suitable general detector for an empty plastic carton?
-
1. Identify principle. It relies on electromagnetic interaction with a suitable conductive metallic target.
-
2. Select alternative. Depending on the task, a photoelectric, capacitive or ultrasonic arrangement may be more suitable.
Answer. Not as a general plastic-only detector. Choose using the actual target, environment, sensing distance and required output.
Solved example 2.10: Distinguish three optical paths
Identify the arrangement with opposite emitter/receiver, one with a separate reflector, and one using target reflection.
-
1. Opposite units. Separate aligned emitter and receiver form a through-beam arrangement.
-
2. Return paths. A separate retroreflector gives retroreflective sensing; target-returned light gives diffuse-reflective sensing.
Answer. Through-beam, retroreflective and diffuse respectively. Output light/dark mode must still be defined.
Solved example 2.11: Ultrasonic round-trip distance
Assume sound speed 343 m/s and a corrected round-trip echo time 4 ms. Find distance.
-
1. Convert time. 4 ms = 0.004 s.
-
2. Use round trip. d = 343 x 0.004/2 = 0.686 m.
Answer. Distance is 0.686 m under the uniform-medium and corrected-time assumptions. Omitting the factor 2 would double it incorrectly.
Solved example 2.12: Tank level from air gap
A sensor is 2.0 m above a defined tank-bottom datum and measures a vertical air gap 0.686 m. Find surface height above that datum.
-
1. Define geometry. Surface height = sensor-to-datum height – measured gap.
-
2. Calculate. 2.0 -0.686 = 1.314 m.
Answer. The surface is 1.314 m above the datum, assuming the measured echo is from the intended surface and the geometry is valid.
Solved example 2.13: Reed switch or Hall device?
A magnet moves two sealed ferromagnetic contacts together. Is this the Hall effect?
-
1. Identify physical action. Magnetised reeds attract and close a contact in the common described arrangement.
-
2. Separate Hall mechanism. Hall sensing uses an electrical transverse response in biased material, with appropriate electronics.
Answer. It is a reed-switch mechanism, not the Hall effect. Both are magnetic sensing approaches but have different mechanisms and interfaces.
Solved example 2.14: Average contact pressure
A tactile contact carries 10 N over a stated total contact area 200 mm². Find average pressure.
-
1. Convert area. 200 mm² = 200 x 10^-6 m² = 0.0002 m².
-
2. Divide. p = 10/0.0002 = 50,000 Pa = 50 kPa.
Answer. Average pressure is 50 kPa. Actual local pressure can be non-uniform, so this does not define every taxel value.
Solved example 2.15: Strain-gauge resistance change
For a simple gauge model, R = 120 Ω, GF = 2 and strain 500 microstrain. Find ΔR.
-
1. Convert strain. 500 microstrain = 500 x 10^-6 = 0.0005.
-
2. Apply model. ΔR =R x GF x ε = 120 x 2 x 0.0005 = 0.12 Ω.
Answer. The magnitude is 0.12 Ω under the stated model; sign depends on tensile/compressive strain and convention.
Solved example 2.16: Load-cell sensitivity and force
A zero-balanced load cell is rated 2 mV/V at 1,000 N. Excitation is 5 V. Find nominal output at full load and at 500 N.
-
1. Rated differential output. 2 mV/V x 5 V = 10 mV at 1,000 N.
-
2. Linear fraction. At 500/1,000 = 0.5 rated force, output = 5 mV.
Answer. Nominal outputs are 10 mV and 5 mV. Excitation, tare, mounting and calibration affect actual readings.
Solved example 2.17: Amplify a bridge output
A differential bridge signal spans 0 to 10 mV and an ideal conditioning stage must span 0 to 3.0 V with zero offset. Find gain.
-
1. Use compatible units. 10 mV = 0.010 V.
-
2. Gain. 3.0/0.010 = 300.
Answer. Ideal signal gain is 300. The actual amplifier must also satisfy common-mode, offset, noise, supply and output-swing limits.
Solved example 2.18: LVDT signed displacement
An illustrative conditioned LVDT output is 0.4 V/mm with zero at null. Interpret -1.2 V.
-
1. Use signed scale. Displacement =output/sensitivity.
-
2. Calculate. -1.2/0.4 = -3 mm.
Answer. Displacement is -3 mm relative to the defined null/direction. Raw AC magnitude alone would not establish that sign.
Solved example 2.19: Current-loop receiver
A 4-20 mA transmitter represents 0-100 units. Interpret 12 mA and calculate the voltage across 250 Ω.
-
1. Scale the measurement. (12 -4)/(20 -4) x 100 = 50 units.
-
2. Receiver voltage. 0.012 A x 250 Ω = 3.0 V.
Answer. The indicated value is 50 units and receiver voltage is 3.0 V at that current. At 20 mA the resistor produces 5 V, so full-range compatibility with a 3.3 V input is not established.
Solved example 2.20: ADC code count and ideal resolution
A 12-bit converter uses a 3.3 V input span. Find code count and ideal uniform-bin LSB.
-
1. Code count. 2^12 = 4,096 codes, numbered 0 through 4,095.
-
2. Spacing model. LSB = 3.3/4,096 V = 0.000805664 V, approximately 0.8057 mV.
Answer. There are 4,096 possible codes and an ideal bin width about 0.8057 mV. Resolution is not the same as complete measurement accuracy.
EXAM QUESTIONS WITH ANSWERS
Practice questions covering the definitions, comparisons and applications in Unit II.
Short-answer practice
Q1. Define sensor and transducer.
Answer. A sensor detects a physical quantity or event; a transducer converts a physical quantity or energy form into another. A measurement device commonly combines sensing and conversion functions.
Q2. Why must active/passive terminology be qualified?
Answer. Active can mean self-generating transduction or, in a different convention, emission of probing energy. State the classification convention to avoid confusing these meanings.
Q3. Distinguish range and span.
Answer. Range gives lower and upper measurement limits. Span is their difference, so a -10 to+10 mm range has 20 mm span.
Q4. Define sensitivity.
Answer. Sensitivity is output change per input change under stated conditions. For a linear relation it is the slope, with appropriate output/input units.
Q5. How is repeatability different from accuracy?
Answer. Repeatability concerns repeated agreement under defined unchanged conditions. Accuracy concerns closeness to a reference; repeated biased values can be repeatable but inaccurate.
Q6. Define resolution.
Answer. Resolution is the smallest distinguishable change under specified conditions. Converter code count and displayed digits alone do not establish useful system resolution.
Q7. What is hysteresis?
Answer. A response depends on input direction or history. A switching sensor can have different approach and withdrawal transition positions.
Q8. What are zero and sensitivity drift?
Answer. Zero drift changes offset; sensitivity drift changes slope. Both can alter the measurement relationship with time or environmental conditions.
Q9. What is a first-order time constant?
Answer. For the stated first-order step model, one time constant gives about 63.2% of the total output change from its initial value.
Q10. Why is sample rate not bandwidth?
Answer. Sample rate counts observations per second; bandwidth describes a defined frequency-response criterion. The analogue chain and filtering constrain usable information.
Q11. What does an inductive proximity sensor detect?
Answer. An ordinary inductive proximity sensor detects suitable metal targets through alternating-field loading and eddy-current interaction. Target and mounting conditions affect range.
Q12. What does a capacitive sensor observe?
Answer. It observes capacitance changes caused by target geometry and dielectric properties. Suitable products can detect selected metal and non-metal targets.
Q13. Describe through-beam sensing.
Answer. A separate emitter and receiver face each other. A suitable target changes the received beam condition; output mode depends on the selected device.
Q14. Describe retroreflective sensing.
Answer. Emitter and receiver share a housing and use a separate reflector to return light. A target changes that returned signal.
Q15. Describe diffuse photoelectric sensing.
Answer. The target itself returns part of the emitted light to a receiver in the sensor housing. Target and background properties influence response.
Q16. Write the pulse-echo distance relationship.
Answer. For a corrected round-trip time t and appropriate sound speed c, distance d =ct/2. Geometry, blind zone and echo validity must be considered.
Q17. What is an ultrasonic blind zone?
Answer. It is a near region in which ringing/recovery or other device limits prevent the specified valid measurement. A very close echo is not automatically usable.
Q18. Explain a common reed switch.
Answer. An appropriate magnetic field magnetises ferromagnetic reeds so they attract and close a contact in the described normally-open arrangement.
Q19. What is the Hall effect?
Answer. It is a transverse electrical response in a biased current-carrying material under an appropriate magnetic field. Polarity depends on carrier and direction conventions.
Q20. What is a tactile sensor?
Answer. It obtains information through contact, such as touch, force or pressure distribution. The physical principle and accuracy depend on the design.
Q21. What does mV/V mean for a load cell?
Answer. It gives rated differential output per volt of excitation at the specified rated load. Multiply by excitation to estimate nominal full-scale signal.
Q22. What is the ideal LVDT null condition?
Answer. At the central ideal position, secondary voltages cancel under series opposition. Real residual output and conditioning offsets can remain.
Q23. How is LVDT direction distinguished?
Answer. Raw differential AC phase reverses across null under a fixed convention. Suitable demodulation or signed processing distinguishes direction.
Q24. Why are NPN/PNP labels insufficient for wiring?
Answer. The actual output path, supply, input-module reference, load and voltage ratings must match. A 24 V sensor output is not directly compatible with every logic input.
Structured long-answer practice
Use a definition, clearly separated points, a relevant example and a labelled diagram or comparison where appropriate. Match the length to the marks and the question rather than memorising a fixed word count.
Long question 1. Explain dynamic characteristics and sampling requirements.
Answer
-
1. Dynamic behaviour. Changing inputs reveal delay, rise/settling behaviour, frequency response and possible overshoot that static calibration does not establish.
-
2. First-order model. For a zero-initial step, y/Y = 1 -exp(-t/τ) when the model applies. Response is about 63.2% at τ and 95% at 3τ, not instantaneously complete.
-
3. Events. Estimate a moving target’s dwell using length/speed under the given geometry. Include sensor switching and controller-input delays before claiming reliable capture.
-
4. Sampling. A band-limited ideal signal requires sample rate greater than twice the highest retained frequency under reconstruction assumptions. Practical designs need suitable analogue anti-alias filtering and margin.
-
5. System limit. Filtering can reduce unwanted components but adds delay. Sample rate, sensor bandwidth and maximum switching frequency describe different properties; evaluate the complete chain.
Long question 2. Compare inductive, capacitive, photoelectric and ultrasonic sensors.
Answer
-
1. Inductive. An alternating coil field interacts with a suitable metallic target through eddy-current loading. Material, geometry and nearby metal influence sensing distance.
-
2. Capacitive. A target changes the sensing capacitance through geometry and dielectric properties. Suitable products detect selected non-metallic levels or objects, but moisture and deposits can interfere.
-
3. Photoelectric. Through-beam uses opposite emitter/receiver; retroreflective uses a separate reflector; diffuse uses target-returned light. Alignment, surface and background influence the appropriate arrangement.
-
4. Ultrasonic. Acoustic pulse-echo ranging uses d =ct/2 for corrected round-trip time. Sound speed, blind zone, echo geometry and surface conditions matter.
-
5. Selection. Start from target, distance, environment, event speed and required information. A switching event is different from a calibrated continuous value; no principle is universally best.
Long question 3. Explain magnetic, Hall-effect and tactile sensing.
Answer
-
1. Magnetic categories. Magnetic sensing includes reed contacts and semiconductor field-sensitive devices. They share an interest in magnetic conditions but differ in mechanism and electrical interface.
-
2. Reed operation. A suitable field magnetises sealed ferromagnetic reeds and can attract them into contact. Consider bounce, field orientation, switching ratings and defined release behaviour.
-
3. Hall principle. A current-carrying material under an appropriately oriented magnetic field develops a transverse electrical response. Current, field and voltage directions must be identified.
-
4. Hall outputs. Linear, switching, latching or coded outputs are possible. Magnet geometry and calibration determine whether the result represents position, an event or another quantity.
-
5. Tactile sensing. Contact pads or arrays can use piezoresistive, capacitive or piezoelectric principles. Grip/contact information depends on mechanics, range, spatial resolution, creep and calibration; touch alone is not exact force.
Long question 4. Explain load cells and LVDTs with signal conditioning.
Answer
-
1. Load-cell structure. An elastic member strains under load, and bonded gauges change resistance. In the simple small-change model, ΔR/R =GFε. A bridge converts changes into a differential signal.
-
2. Bridge measurement. Rated mV/V sensitivity is multiplied by excitation to obtain nominal rated-load output. Stable excitation, differential amplification, filtering and suitable conversion support the readout.
-
3. LVDT construction. A movable core changes coupling between a central AC-excited primary and two outer secondaries. Series opposition produces an output difference; the ideal centred difference is zero.
-
4. Direction and conditioning. Differential phase reverses across null under a defined reference. Excitation and demodulation/filtering provide a signed position estimate. Raw magnitude alone does not establish direction.
-
5. Applications and limits. Load cells serve weighing/force tasks; LVDTs serve displacement/gauging. Mounting, load direction or core alignment, temperature and installed calibration constrain actual performance.
Long question 5. Explain how sensors are interfaced to a mechatronic controller.
Answer
-
1. Compatibility. Determine supply, output format, voltage/current limits, references, input impedance, timing and status conventions. A matching connector shape does not establish compatibility.
-
2. Switch signals. NPN commonly sinks toward common; PNP commonly sources from positive supply. Match the actual module circuit, leakage and residual voltage. Contacts may require debouncing.
-
3. Analogue signals. Excite/bias the sensor as required, protect and condition the signal, apply anti-alias filtering where needed, convert and scale. Low-level bridges need suitable differential measurement.
-
4. Conversion and data. An n-bit uniform-bin model has 2^n codes and span/2^n ideal LSB. Digital interfaces also need level, protocol, update and timeout agreement. Numerical resolution is not system accuracy.
-
5. Validate. Calibrate the installed chain, test representative events and environmental limits, and define invalid/stale-data handling. Grounding, cable routes, shielding and isolation belong to the complete design.
QUICK REVISION – UNIT II
The complete unit at a glance
| Syllabus area | Essential understanding |
|---|---|
| Definitions | Measurand, sensor, transducer and qualified classification conventions. |
| Static performance | Range/span, sensitivity, calibration, accuracy, repeatability, resolution, linearity and drift. |
| Dynamic performance | Time response, time constant, bandwidth, event speed, delay and sampling. |
| Presence and distance | Inductive, capacitive, photoelectric and ultrasonic principles and limits. |
| Magnetic and contact | Reed and Hall mechanisms; tactile pads/arrays and contact interpretation. |
| Load and displacement | Strain-gauge bridges, mV/V sensitivity, LVDT excitation/differential phase and conditioning. |
| Interfacing | Signal/supply compatibility, NPN/PNP, amplification, loops, ADC, timing and validation. |
Principles and selection checks
| Sensor | Operating idea and important check |
|---|---|
| Inductive | Alternating field/eddy-current interaction; suitable metal, mounting and response. |
| Capacitive | Target changes capacitance; dielectric, wall and moisture influence. |
| Photoelectric | Light interruption/return; distinguish through-beam, retroreflective and diffuse paths. |
| Ultrasonic | Acoustic echo timing; round trip, medium, blind zone and valid surface echo. |
| Reed / Hall | Field-induced contact motion versus semiconductor transverse electrical response. |
| Tactile | Contact-based information; force, pattern, compliance and calibration limits. |
| Load cell | Elastic strain and bridge output; loading geometry, excitation and amplification. |
| LVDT | Movable-core transformer difference; signed phase-sensitive interpretation near null. |
Calculation rules and assumptions
| Quantity | Defined relationship |
|---|---|
| Span | Upper limit – lower limit. |
| Linear sensitivity | Output change / input change; include offset when interpreting values. |
| Signed error | Indication – reference under the stated convention. |
| First-order step | Fraction = 1 – exp(-t/time constant), for the specified model. |
| Pulse echo | Distance = sound speed x corrected round-trip time / 2. |
| Average pressure | Force / stated contact area; does not define each local pressure. |
| Strain gauge | Change in resistance / resistance = gauge factor x strain. |
| Load-cell rating | Rated mV/V x excitation gives nominal full-load differential output. |
| 4-20 mA scaling | Fraction of span = (current – 4 mA) / 16 mA. |
| Ideal uniform ADC bin | Input span / 2^n, with 2^n codes. |
Memory cues
Sensor choice: target, quantity, range, speed, environment, output. Performance: closeness is not repeated agreement. Interfacing: supply, signal, reference, timing and status must match.
Abbreviations and key terms
| Term | Meaning | Term | Meaning |
|---|---|---|---|
| Measurand | Quantity intended to be measured | Proximity | Presence/near-target detection |
| Transducer | Physical-quantity/energy conversion element | Eddy current | Induced circulating current in a conductor |
| Range | Lower-to-upper measurement interval | Dielectric | Material influencing electric-field behaviour |
| Span | Upper limit minus lower limit | Photoelectric | Light-based sensing |
| Sensitivity | Output change per input change | Pulse echo | Transmit and receive a reflected pulse |
| Offset | Nonzero intercept under a stated model | Hall effect | Transverse response under current and magnetic field |
| Calibration | Relationship to reference values under conditions | Taxel | Spatial cell of a tactile array |
| Repeatability | Repeated agreement with defined unchanged conditions | Load cell | Load-to-signal measurement device |
| Resolution | Smallest distinguishable change under conditions | LVDT | Linear variable differential transformer |
| Hysteresis | Direction/history-dependent response | ADC | Analogue-to-digital converter |
| Drift | Change in the measurement relationship | LSB | Least significant bit / ideal code spacing context |
| Time constant | First-order time to 63.2% of step change | Aliasing | Misrepresentation after unsuitable sampling |
Common mistakes to avoid
-
Using active/passive without stating the convention.
-
Confusing range with span or repeatability with accuracy.
-
Mixing percent-of-reading and percent-of-full-scale limits.
-
Calling one time constant complete settling.
-
Treating every plastic object as an ordinary inductive target.
-
Drawing diffuse and retroreflective light paths identically.
-
Omitting the round-trip factor in ultrasonic distance.
-
Equating reed-contact motion with the Hall effect.
-
Using raw LVDT magnitude alone to infer direction.
-
Connecting incompatible industrial and logic voltage domains.
-
Assuming ADC bits establish system accuracy or that digital filtering removes aliasing.
Final answer check: identify the measurand and principle, label the physical conversion and output, state performance/units, describe an application and limitation, and check the complete controller interface.