Mechatronics · Module 3 of 10
Signal Conditioning
A raw sensor signal is rarely ready to use. Signal conditioning amplifies it, filters out noise, and protects the electronics, so the small voltage becomes a clean level a converter can read.
Readiness check
This module cleans the sensor signal. Tick only what you can do closed-notes.
- Recall the op-amp non-inverting gain 1 + Rf/R1.
- Recall that a low-pass filter passes slow signals and blocks fast ones.
- Evaluate 1/(2πRC) with a calculator.
- Recall that noise sits mostly at higher frequencies than the signal.
- Multiply a gain by an input voltage.
The core idea
Signal conditioning sits between the sensor and the converter. It amplifies the signal to fill the converter's range, filters noise above the signal band, and protects and isolates the electronics. An op-amp sets the gain; an RC network sets the cutoff frequency.
non-inverting gain = 1 + Rf/R1inverting gain = −Rf/R1low-pass cutoff fc = 1/(2πRC)Sensors give millivolts, sometimes buried in noise, at impedances that do not suit the next stage. Conditioning fixes this. Amplification scales the signal so its full swing fills the converter's input range, which maximises resolution; the workhorse is the operational amplifier, whose non-inverting configuration gives a gain of 1 + Rf/R1 and whose inverting configuration gives −Rf/R1. Filtering removes what you do not want: a low-pass filter passes the slow signal and attenuates high-frequency noise, with a cutoff frequency fc = 1/(2πRC) above which the response falls away. That same low-pass filter also serves as an anti-alias filter before sampling. Beyond amplifying and filtering, conditioning protects the circuit with clamps and fuses, isolates it with optocouplers so a fault cannot travel back, and linearizes or level-shifts the signal, often using a Wheatstone bridge to turn a small resistance change into a voltage. Good conditioning is what makes the rest of the chain trustworthy.
The skills, taught in order
Five skills cover the conditioning a sensor signal usually needs.
3.1 Why condition at all
A converter has a fixed input range and resolution. If the sensor swing is a tiny fraction of that range, most of the resolution is wasted. Conditioning scales and cleans the signal so it uses the full range and carries little noise.
3.2 Amplification with op-amps
The non-inverting amplifier gives 1 + Rf/R1 and a high input impedance, ideal for a sensor. The inverting amplifier gives −Rf/R1. For the small difference voltage of a bridge, an instrumentation amplifier gives high gain with excellent common-mode rejection.
3.3 Filtering
A low-pass filter passes the signal and attenuates faster noise, with cutoff fc = 1/(2πRC). Placed before an analog-to-digital converter it also prevents aliasing. The cutoff should sit above the highest real signal frequency and below the noise.
| Configuration | Gain | Note |
|---|---|---|
| Non-inverting | 1 + Rf/R1 | high input impedance |
| Inverting | −Rf/R1 | virtual earth input |
| Low-pass RC | cutoff 1/(2πRC) | rejects high-frequency noise |
The three building blocks of conditioning and the formula each contributes.
3.4 Protection and isolation
Clamping diodes and series resistors cap the voltage and current reaching the electronics; optocouplers pass the signal as light so a fault on one side cannot cross to the other. Protection is cheap compared with a destroyed input.
3.5 Linearization and the bridge
A Wheatstone bridge converts a small resistance change, as from a strain gauge, into a differential voltage around a balance point. Downstream, a lookup or polynomial linearizes a nonlinear sensor such as a thermocouple.
Engineering connection: a strain-gauge load cell uses a bridge, an instrumentation amplifier, and a low-pass filter together, the whole conditioning toolkit in one sensor.
Worked example 1: a non-inverting amplifier
A non-inverting op-amp has R1 = 1 kΩ and Rf = 99 kΩ. Find the gain and the output for a 10 mV sensor signal.
- ProblemFind the gain and the 10 mV output for the amplifier in Figure 1.
- Given / findR1 = 1 kΩ, Rf = 99 kΩ, input 10 mV. Find gain and output.
- AssumptionsIdeal op-amp, output within the supply rails.
- ModelNon-inverting gain = 1 + Rf/R1; output = gain × input.
- EquationsA = 1 + 99/1Vout = A × 0.010
- SolveA = 1 + 99 = 100; Vout = 100 × 0.010 = 1 V.
- CheckThe 10 mV input becomes 1 V, a clean fraction of a typical converter range, with no sign change as expected for the non-inverting form.
- ConclusionA gain of 100 lifts the millivolt signal to a volt, using the converter's resolution well.
Worked example 2: an anti-alias low-pass filter
A first-order low-pass filter uses R = 10 kΩ and C = 1 nF. Find its cutoff frequency.
- ProblemFind the cutoff frequency of the filter in Figure 2.
- Given / findR = 10 kΩ, C = 1 nF. Find fc.
- AssumptionsIdeal first-order RC low-pass, no loading.
- ModelThe cutoff of a first-order RC low-pass is fc = 1/(2πRC).
- Equationsfc = 1/(2πRC)RC = 104 × 10−9 = 10−5 s
- Solvefc = 1/(2π × 10−5) = 15.9 kHz.
- CheckThe time constant is 10 microseconds; 1/(2π × 10 µs) is about 16 kHz, matching.
- ConclusionSignals below roughly 16 kHz pass; faster noise is attenuated, which also guards against aliasing if sampling stays above about 32 kHz.
Misconceptions and diagnostics
| Mistake | Symptom | Diagnostic question | Correction |
|---|---|---|---|
| Swapping gain formulas | Wrong sign or an off-by-one gain | "Inverting or non-inverting?" | Non-inverting is 1 + Rf/R1; inverting is −Rf/R1. |
| Cutoff inside the signal band | Real signal attenuated | "Is fc above my fastest signal?" | Set the cutoff above the signal, below the noise. |
| Amplifying after the noise | Noise amplified with the signal | "Did I filter before or after gain?" | Filter noise near the source; amplify the clean band. |
| Skipping the anti-alias filter | Fast noise folds into the data | "Is there a low-pass before the ADC?" | Always band-limit before sampling. |
Practice ladder
A non-inverting amplifier has R1 = 2 kΩ and Rf = 18 kΩ. Find the gain and the output for a 5 mV input.
Show answer
Gain = 1 + 18/2 = 10; output = 10 × 5 mV = 50 mV.
An inverting amplifier has R1 = 10 kΩ and Rf = 100 kΩ. Find the gain and the output for a 0.2 V input.
Show answer
Gain = −100/10 = −10; output = −10 × 0.2 = −2 V.
A low-pass filter uses R = 1 kΩ and C = 100 nF. Find its cutoff frequency.
Show answer
fc = 1/(2π × 1000 × 100 × 10−9) = 1/(2π × 10−4) = 1.59 kHz.
Condition a 2 mV/N load cell so 500 N fills a 0 to 5 V converter, with an anti-alias cutoff near 100 Hz. State the gain and an RC pair.
What good work looks like
At 500 N the cell gives 1 V, so a gain of 5 fills 5 V (for example R1 = 10 kΩ, Rf = 40 kΩ); an RC of about 1/(2π × 100) = 1.6 ms sets the cutoff, for instance R = 16 kΩ, C = 100 nF.
Working with AI, and proving it yourself
Use AI as an examiner, not a solver
Portfolio task
Take one sensor and design its conditioning: a gain to fill a converter range and a low-pass cutoff above its signal band.
Retrieval and spaced review
Closed notes. Answer out loud, then reveal.
1. Write the non-inverting gain.
1 + Rf/R1.
2. Write the low-pass cutoff.
fc = 1/(2πRC).
3. Why amplify before filtering noise?
To lift the signal to the converter range; filter near the source to reject noise first.
4. What does a Wheatstone bridge do?
Turns a small resistance change into a differential voltage around balance.
5. Why an anti-alias filter?
To band-limit the signal so fast noise does not fold into the samples.
Textbook mapping
This module follows William Bolton, Mechatronics, 6th edition. Use these references to read further.
| Topic in this module | Where to read more |
|---|---|
| Op-amp amplification | Bolton, Chapter 3, Operational amplifiers |
| Filtering and protection | Bolton, Chapter 3, Filtering and protection |
| The Wheatstone bridge | Bolton, Chapter 3, Wheatstone bridge |
Chapter numbers refer to Bolton's Mechatronics, 6th edition. Any edition with the same chapter titles is equivalent for study.