Chapters

13 Sensor Circuits: Bridges and Noise

sensors
sensor
circuits
signal

Prerequisites: Sensor Circuit Fundamentals | Electronics Fundamentals

This enables: ADC and Noise Reduction | Sensor Interfacing

13.1 Start With the Situation

A conditioned voltage is readable, but bridge sensors and long field wiring expose smaller errors. The team must calculate gain, trace noise and grounds, and decide where analog conditioning should end.

13.2 Overview

This route develops bridge interfaces and follows their noise and grounding risks into a sensor choice.

This is part 2 of 2. Review Sensor Circuits: Conditioning and Filters when you need the first route.

13.3 Learning Objectives

By the end of this chapter, you will be able to:

  • calculate load-cell bridge amplification
  • identify sensor circuit noise and ground loops
  • compare analog and digital sensor boundaries

13.4 Chapter Roadmap

Follow the original sections below in order. They begin at the reviewed split boundary and keep every worked example, figure, check, and supporting banner with the section that owns it.

Load Cell Bridge Amplification

Scenario: A load cell for a beehive monitoring system uses a Wheatstone bridge with strain gauges. The bridge outputs only 2mV/V at full scale (50kg). You need to interface this with an Arduino Uno’s 10-bit ADC.

Before calculating load-cell gain, inspect Figure to connect the bridge’s millivolt output to its mechanical source. Mounting, preload, wiring, and cable strain can change the evidence before any amplifier or ADC sees it.

A metal bar load cell removed from a digital weighing scale with its signal cable attached
A bar load cell converts tiny strain in this metal element into the millivolt bridge signal calculated below. The mounting holes, loading direction, cable strain relief, excitation wiring, and mechanical preload all affect the evidence long before the HX711 applies gain. Photo: Gannu03, CC BY-SA 4.0

Read Figure, start with the metal sensing beam and its mounting holes, then follow the attached cable toward the bridge excitation and differential output leads. That physical path explains why the HX711 calculation below sets electronic resolution but cannot remove mechanical installation error or drift.

Given:

  • Load cell sensitivity: 2mV/V (with 5V excitation = 10mV full scale at 50kg)
  • Bridge output at 0kg: 0mV (ideally balanced)
  • Arduino ADC: 10-bit, 5V reference
  • Required accuracy: Better than 100g resolution

Steps:

  1. Calculate signal range:

    • At 50kg: 2mV/V x 5V = 10mV
    • At 0kg: 0mV
    • Signal range: 0-10mV
  2. Determine minimum required gain:

    • Arduino LSB: 5V / 1024 = 4.88mV
    • To detect 100g (0.2% of 50kg): need 0.002 x 10mV = 0.02mV resolution
    • Required gain to make 0.02mV visible: 4.88mV / 0.02mV = 244x minimum
    • Use gain of 500x for safety margin
  3. Select instrumentation amplifier: HX711 (dedicated load cell amplifier)

    • Built-in 128x gain option
    • 24-bit ADC (much better than Arduino’s 10-bit)
    • Includes filtering and offset compensation
  4. Calculate expected resolution with HX711:

    • Full scale output: 10mV x 128 = 1.28V (within 0-2.5V input range)
    • 24-bit ADC: 2^24 = 16,777,216 levels
    • Weight per LSB: 50kg / 16,777,216 = 0.003g per step

Result: Using HX711 provides 0.003g resolution, far exceeding the 100g requirement. Practical accuracy limited by load cell drift and noise, typically achieving 1-5g repeatability.

Key Insight: For precision measurements like load cells, dedicated signal conditioning ICs (HX711, ADS1231) outperform general-purpose solutions. They combine optimized gain, filtering, and high-resolution ADC in a single chip designed for the specific application.

Physics PhoebeCheckpoint: Worked Interfaces
  • A 20mV thermistor span can use almost the full ADC range after amplification.
  • A 2mV/V load cell with 5V excitation produces only 10mV at 50kg.
  • HX711 combines 128x gain, filtering, and a 24-bit ADC for bridge measurements.

13.5 Signal Conditioning Circuit Detail

The earlier pipeline named functions; Figure 13.1 shows how analogue circuit stages implement them before the ADC. Read from the instrumentation amplifier through the filter and level-shift stages, checking what each block changes and what it must preserve.

A sensor signal passes through an instrumentation amplifier, anti-alias filter, sample-and-hold and ADC. Component panels explain gain, cutoff, held voltage and quantized output.
Figure 13.1: Signal conditioning circuit showing amplification, filtering, and level shifting stages.

In Figure 13.1, amplification raises the differential signal while rejecting common-mode content, filtering limits unwanted bandwidth, and level shifting places the result inside the ADC input range. The order matters: a clipped amplifier output or overloaded ADC cannot be repaired by downstream processing. This circuit view turns the chapter’s gain, cutoff, and range calculations into one interface contract.

Now step outward with Figure 13.2. Follow the diagram from the physical phenomenon through transduction and conditioning to data processing, and locate the detailed circuit at the conditioning stage rather than mistaking it for the whole measurement system.

Geometric block diagram of complete sensing system showing physical phenomenon input, sensing element transduction, signal conditioning with amplification and filtering, and output to data processing unit for IoT sensor integration
Figure 13.2: Generic sensing application flow from physical measurement to data processing

Read Figure 13.2 left to right. The sensing element first converts the phenomenon into an electrical quantity; conditioning makes that quantity compatible with conversion; data processing then scales, checks, or acts on the result. Every stage can add limits, so the detailed circuit earns its place only when its output preserves the physical change the application needs to distinguish.

13.6 Noise Sources and Mitigation

Understanding where noise enters the signal path helps design effective mitigation strategies.

Before choosing a filter or averaging interval, inspect Figure 13.3 to diagnose the disturbance by source and frequency behaviour. Mitigation works best when it targets the coupling mechanism rather than merely smoothing every sample.

Noise sources and mitigation strategies diagram showing EMI high-frequency interference mitigated with shielding, ground loops causing 50/60Hz hum mitigated with star grounding, and thermal noise mitigated with sample averaging.
Figure 13.3: Noise diagnosis guide: EMI from motors and Wi-Fi adds high-frequency noise (mitigate with shielding). Ground loops cause 50/60Hz hum (use single-point ground). Thermal noise is always present (average samples). Combining hardware filtering with software averaging achieves clean readings even in noisy environments.

Read Figure 13.3, compare the high-frequency interference path with the mains-frequency ground-loop path, then note the unavoidable thermal-noise floor. Shielding, grounding, hardware filtering, and averaging address different mechanisms, carrying the chapter from noise symptoms to defensible countermeasures.

Sensor Circuit Noise Sources

Core Concept: Sensor signals are corrupted by three main noise sources - EMI (high-frequency interference from motors/radios), ground loops (50/60Hz hum from multiple ground connections), and thermal noise (random fluctuations inherent to all electronic components). Why It Matters: In industrial IoT deployments, unmitigated noise can produce ADC reading variations of 5-15% of full scale, causing false alarms, missed events, and unreliable control loops that waste energy or create safety hazards. Key Takeaway: Apply a two-stage defense - use hardware filtering (RC low-pass with cutoff above your signal frequency but below noise) to remove high-frequency EMI, then apply software median filtering to reject impulse spikes before averaging for thermal noise reduction.

13.7 Analog vs Digital Sensor Tradeoff

Analog Chain vs Digital Sensor

Decision context: When selecting sensors for a new IoT design, choosing between raw analog sensors with custom signal conditioning versus integrated digital sensors with built-in ADC.

FactorAnalog Signal ChainDigital Sensor (I2C/SPI)
PowerLower sensor power; conditioning circuit adds 1-10mAHigher sensor power (built-in ADC, processor); 0.1-5mA typical
CostLower sensor cost ($0.10-$5); conditioning adds $1-$10Higher sensor cost ($2-$30); minimal external components
AccuracyCustomizable; can optimize for specific applicationFixed by manufacturer; often excellent out-of-box
FlexibilityFull control over gain, filtering, sampling rateLimited to manufacturer’s configuration options
Development TimeLonger (circuit design, PCB layout, calibration)Shorter (library exists, drop-in replacement)
Noise ImmunitySusceptible to EMI on analog tracesDigital signals resistant to noise; shielded internal ADC
Board SpaceLarger (op-amps, capacitors, resistors)Smaller (single IC, minimal passives)

Choose Analog Signal Chain when:

Start by You need maximum flexibility in signal conditioning (custom filters, gains). Then Lowest component cost is critical at high volumes (10,000+ units). Next You require non-standard sampling rates or resolutions. Finally The sensor type is only available as analog output (legacy, specialized).

Choose Digital Sensor when:

Start by Development speed is prioritized over ultimate optimization. Then You need reliable, calibrated measurements without sensor expertise. Next PCB space is limited (wearables, miniaturized designs). After that EMI/noise environment is challenging (industrial, motor-heavy). Finally Multiple sensors needed (I2C bus simplifies wiring).

Default recommendation: Digital sensors (I2C/SPI) for most IoT projects unless you have specific signal conditioning requirements that cannot be met by available digital sensors, or you are optimizing BOM cost at scale.

Physics PhoebeCheckpoint: Noise and Sensor Choice
  • Industrial noise can add 5-15% full-scale variation.
  • Ground loops can inject 10-100mV; twisted pairs can reduce pickup by 20-40 dB.
  • Digital I2C/SPI sensors simplify design, while analog chains keep custom gain, filtering, and sampling control.

13.8 Ground Loop Pitfall

Ground Loops in Sensor Systems

The Mistake: Running separate ground wires from each sensor back to the microcontroller, creating ground loops that inject 50/60Hz mains hum and motor noise into sensor readings.

Why It Happens: It seems logical to connect each sensor’s ground directly to the MCU ground pin. In reality, small voltage differences between ground points create circulating currents that couple noise into sensitive analog measurements.

The Fix: Implement star-ground topology:

Start with Single ground point: All sensor grounds connect to ONE central point near the ADC. Then Ground plane: Use a copper pour on PCB as low-impedance ground reference. Next Twisted pairs: Run signal and ground wires twisted together (3-4 twists per inch). Finally Differential measurement: Use instrumentation amplifiers (INA128, AD620) for long cable runs.

Specific values:

Start by Ground loop voltage can reach 10-100mV in industrial environments. Then On 12-bit ADC (0.8mV/step), this adds +/-125 counts of noise. Next Twisted pair reduces magnetic pickup by 20-40 dB. Finally Adding 100nF ceramic capacitor from signal to ground at ADC input provides additional filtering.

13.9 Voltage Divider and Bridge Circuits

The Wheatstone bridge (covered above) and simple voltage dividers are the two fundamental resistive sensor interface circuits. The voltage divider provides a simple output proportional to resistance ratio, while the bridge offers differential measurement with superior noise rejection.

Before reusing a divider at the ADC boundary, inspect Figure 13.4 to identify the source, resistor ratio, output node, and loading assumptions.

Voltage divider circuit with two resistors in series, an output tap, and the formula for scaling a sensor voltage before ADC measurement.
Figure 13.4: A voltage divider scales a sensor voltage before ADC measurement.

Read Figure 13.4 from the input through both series resistors to the midpoint voltage. The ratio scales the signal, but source impedance and ADC acquisition current connect this simple circuit to the buffering and settling checks discussed in the chapter.

Voltage divider circuit for resistive sensor interfaces

Key Takeaway

Signal conditioning is the difference between garbage data and precision measurement. Raw sensor signals are almost never suitable for direct ADC connection — they need amplification (to use the full ADC range), filtering (to remove electrical noise), and level shifting (to match voltage requirements). For precision applications like load cells and strain gauges, dedicated signal conditioning ICs (HX711, INA128) outperform general-purpose circuits by combining optimized amplification, filtering, and high-resolution ADC in a single chip.

Temperature Terry was working in a factory, trying to measure the weight of honey jars on a conveyor belt. But there was a problem…

“My strain gauge signal is only 1.25 millivolts!” Sammy cried. “That’s like trying to hear a mouse whisper in a thunderstorm!”

the microcontroller couldn’t read it. “Sorry Sammy, my ADC needs at least a few hundred millivolts to see anything useful. Your signal is just lost in the noise.”

the LED had an idea. “What if we use a WHEATSTONE BRIDGE? It’s like a perfectly balanced seesaw. When no weight is on the scale, everything is balanced and the output is zero. But when a honey jar sits on it, the tiny change in the strain gauge tips the seesaw just a little bit!”

“But 1.25 millivolts is still too quiet!” Max protested.

“That’s where the AMPLIFIER comes in!” said the battery. “Think of it like this: the Wheatstone bridge whispers the weight reading, the amplifier is a super-powered hearing aid that makes the whisper 500 times louder! Now that 1.25 millivolt whisper becomes a nice, clear 625 millivolt shout!”

“And before the signal reaches me,” Max added, “it passes through a FILTER that removes all the buzzing from the factory motors. It’s like noise-canceling headphones for electrical signals!”

Sammy was amazed. “So the signal conditioning chain is: Bridge detects tiny change, Amplifier makes it louder, Filter cleans up the noise, then Max can read it perfectly?”

“Exactly! And with a special chip called the HX711, all of this happens in one tiny package. It can measure weights down to 0.003 grams — that’s lighter than a single grain of rice!”

“Signal conditioning really is a superpower!” Sammy beamed.

Anti-Alias Before ADC Sampling

The Mistake: An industrial vibration monitoring system samples an accelerometer at 1 kHz (1000 samples/second) without any anti-aliasing filter between the sensor output and the ADC input. The system is supposed to detect bearing faults by analyzing vibration frequencies up to 400 Hz. During testing, engineers observe mysterious “ghost frequencies” around 150 Hz that don’t correspond to any actual mechanical vibration.

Why It Happens: The Nyquist-Shannon theorem states that you can only accurately represent frequencies up to half your sampling rate (called the Nyquist frequency). For 1 kHz sampling, the Nyquist frequency is 500 Hz. Any frequency components above 500 Hz in the input signal will “alias” — appear as false lower frequencies in the digitized data.

Real Example:

  • Sampling rate: 1000 Hz → Nyquist frequency: 500 Hz
  • Actual vibration at 650 Hz (above Nyquist)
  • Aliased frequency: |650 - 1000| = 350 Hz (false signal!)
  • This 350 Hz “ghost” corrupts your analysis

Aliasing Rule of Thumb: any input frequency above half the sampling rate folds back into the measured data as a false lower frequency.

With 1 kHz sampling:

  • A real 650 Hz vibration can appear as a false 350 Hz signal.
  • A real 1200 Hz vibration can appear as a false 200 Hz signal.
  • A real 2800 Hz vibration can also appear as a false 200 Hz signal, which means two different physical problems can look identical after sampling.

Why It’s Dangerous:

  1. You can’t distinguish real from aliased signals in the digital data
  2. Multiple high frequencies can alias to the same low frequency (collision)
  3. Filtering after ADC doesn’t help — damage is already done

The Fix: Add an anti-aliasing filter (analog low-pass filter) BEFORE the ADC:

Design Steps:

  1. Determine maximum frequency of interest: 400 Hz (bearing fault signatures)
  2. Choose sampling rate: 1000 Hz (2.5× maximum frequency, provides margin)
  3. Calculate filter cutoff frequency:
    • Nyquist frequency: 500 Hz
    • Anti-aliasing filter cutoff: 450 Hz (between max interest and Nyquist)
    • Filter type: 2nd-order Butterworth for flat passband
  4. Implement RC filter: for a second-order Sallen-Key filter near 450 Hz, one practical starting point is 10 kOhm resistors with 33 nF capacitors. That is close enough for a first prototype, then you verify the real cutoff with measurement.

Filter Performance (2nd-order Butterworth, fc = 450 Hz):

  • At 400 Hz (max interest): -2.1 dB (78% of signal passes)
  • At 450 Hz (cutoff): -3.0 dB (71% of signal)
  • At 650 Hz (alias example): -7.3 dB (43% of signal)
  • At 1000 Hz: -14 dB (20% of signal)

Note: The -2.1 dB attenuation at 400 Hz is a tradeoff inherent to placing the cutoff close to the maximum frequency of interest. If signal preservation near 400 Hz is critical, increase the cutoff to 480 Hz (at the cost of less alias rejection), or use a higher-order filter (4th-order Butterworth gives only -0.5 dB at 400 Hz with the same 450 Hz cutoff).

Key Specifications:

ParameterValuePurpose
Passband0-400 HzPreserve vibration signals of interest
Transition band400-500 HzGradual rolloff (steeper = more complex filter)
Stopband500+ HzAttenuate frequencies above Nyquist
Stopband attenuation>12 dB/octave2nd-order rolloff; use 4th-order for >40 dB at Nyquist

Real-World Impact:

ScenarioWithout Anti-AliasingWith Anti-Aliasing Filter
True 350 Hz faultReads 350 Hz (correct)Reads 350 Hz (preserved)
650 Hz harmonicAliases to 350 Hz (false positive)Attenuated -7 dB with 2nd-order filter; use 4th-order for better rejection
EMI at 50 kHzAliases to multiple low freqs (noise)Attenuated >60 dB

Industry Best Practices:

  1. Sample at 2.5-5× your highest frequency of interest (not just 2×)
  2. Anti-aliasing filter cutoff at 0.4-0.45× sampling rate
  3. Use at least 2nd-order filter (4th-order for critical applications)
  4. Verify with spectrum analyzer before deployment
  5. Document filter specs in technical documentation

Quick Test: To verify your anti-aliasing filter is working, inject a known high-frequency signal (e.g., 800 Hz sine wave) into your system. If it correctly shows up as highly attenuated (or doesn’t appear at all) in your ADC data, your filter is working. If you see it aliased to a low frequency with significant amplitude, your filter is inadequate.

Cost-Benefit: A $0.25 RC filter (two resistors, two capacitors) prevents false alarms that could cost thousands in unnecessary maintenance or missed real faults. Anti-aliasing is mandatory for any system that processes signals with unknown high-frequency content.

Physics PhoebeCheckpoint: Anti-Aliasing
  • Sampling at 1 kHz gives a 500 Hz Nyquist frequency.
  • A 650 Hz vibration can appear as 350 Hz; 1200 Hz and 2800 Hz can both appear as 200 Hz.
  • Filter before the ADC, because filtering after sampling cannot remove aliases.

13.10 Practice Check

13.11 Concept Relationships

This ConceptRelates ToRelationship Type
Instrumentation AmplifierWheatstone BridgeAmplifies differential voltage from bridge output
Gain CalculationADC RangeFormula maps sensor output to full ADC span
Anti-Aliasing FilterNyquist TheoremRemoves frequencies above fs/2 before sampling
Common-Mode RejectionNoise ImmunityCMRR rejects interference present on both inputs
Ground LoopsNoise SourceSingle-point grounding prevents circulating currents
Label the Diagram
Code Challenge

13.12 Bridge Linearity and Amplifiers

The worked examples above show where bridge and amplifier blocks sit in a signal-conditioning chain. Continue to Bridge Linearity and Instrumentation Amplifiers when the sensing element is a strain gauge, load cell, pressure bridge, or other millivolt differential source. That page separates the practical sizing details from this overview: bridge baseline cancellation, quarter-bridge gain calculations, instrumentation-amplifier common-mode rejection, and thermal dummy-gauge cancellation.

13.13 Summary

This chapter covered signal conditioning essentials:

Start with Signal Processing Pipeline: Six stages from physical phenomenon to digital output. Then Wheatstone Bridge: Precision measurement of small resistance changes using differential voltage. Next Gain Calculation: Match sensor output range to ADC input range for maximum resolution. After that Instrumentation Amplifiers: High CMRR, adjustable gain, designed for bridge circuits. Continue by Noise Mitigation: Hardware filtering, grounding practices, and software averaging. Finally Design Tradeoffs: Analog flexibility vs digital simplicity based on project requirements.

13.14 See Also

Start with Sensor Circuit Fundamentals - Voltage dividers, RC filters, basic building blocks. Then Electronics Fundamentals - Op-amp theory, semiconductor devices. Next Analog and Digital Electronics - ADC/DAC conversion theory. After that Sensor Interfacing - I2C, SPI communication protocols. Finally Signal Processing Essentials - DSP algorithms.

Common Pitfalls

Most standard op-amps cannot swing their output all the way to the supply voltage — they saturate 1-2 V below the rail. For 3.3 V single-supply designs, use a rail-to-rail op-amp (e.g., MCP6001) to avoid clipping the conditioned signal before it reaches the ADC.

Setting excessive amplifier gain causes the ADC to clip when the sensor produces large outputs. Calculate the maximum sensor output, multiply by the gain, and confirm the result fits within 90% of the ADC reference voltage to leave headroom for noise and signal peaks.

Long unguarded analog traces running next to digital clock lines pick up switching noise through capacitive coupling. Keep analog signal traces short, route them away from high-frequency digital lines, and add a ground guard trace alongside sensitive analog paths.

Bridge sensitivity scales with excitation voltage, but higher voltage increases self-heating in the sensing resistor, changing its resistance and introducing error. Use the manufacturer’s recommended excitation voltage and avoid increasing it to improve sensitivity.

13.15 What’s Next

ChapterDescription
Bridge Linearity and Instrumentation AmplifiersBridge baseline cancellation, quarter-bridge gain, common-mode rejection, and thermal cancellation for load cells and strain gauges
Sensor Data ProcessingAnalog-to-digital conversion challenges, resolution vs noise tradeoffs, and filtering techniques
Sensor Interfacing and ProcessingI2C, SPI, and UART protocols for connecting conditioned signals to microcontrollers
Sensor Circuit FundamentalsReview voltage dividers, RC filters, and basic building blocks covered before this chapter
Analog and Digital ElectronicsDeeper ADC/DAC conversion theory and op-amp circuit analysis
Signal Processing EssentialsDSP algorithms for further digital-domain filtering and analysis