123 Main Street, New York, NY 10001

PGA-Type / Programmable-Gain Instrumentation Amplifiers (INA)

← Back to:Instrumentation Amplifiers (INA)

A PGA-Type INA enables one measurement front-end to cover multiple ranges by switching gain safely and deterministically. The key is to treat gain changes as timed events—define switching windows, settling/valid-data rules, and per-range accuracy/noise budgets so the ADC always sees predictable, verifiable behavior.

H2-1. What is a PGA-INA (and when it beats fixed-gain INAs)

Definition (one line)

A PGA-Type instrumentation amplifier (PGA-INA) is an INA with digitally selectable gain steps (often via I²C/SPI), enabling one front-end to cover multiple input ranges while keeping measurement fidelity within each range.

Why PGA-INA exists (the range problem)

  • One sensor, many magnitudes: small signals demand high gain for resolution, while large signals demand headroom to avoid overload.
  • One ADC, optimal use: gain steps keep the ADC input within its best SNR/linearity zone across changing operating conditions.
  • One front-end, scalable DAQ: replacing multiple fixed-gain paths reduces BOM and improves maintainability, especially with optional MUX.

Where it wins (clear, testable conditions)

Strong fit
  • Wide input span (small signals + occasional large transients) but a single ADC range is preferred.
  • Multi-range process control and DAQ front-ends requiring consistent behavior across ranges.
  • Plug-and-play sensors or uncertain source levels (auto-range or operator-selected range).
Budget carefully
  • Tight throughput or control-loop latency: gain switching introduces settling time and potential “discard samples.”
  • High source impedance or frequent MUX switching: leakage and “memory” effects can dominate.
  • Cross-range accuracy requirements: each gain may need its own error model and calibration.

Range planning checklist (turn “multi-range” into a design spec)

Define each gain range as a complete contract: input span, headroom, noise target, and switching cost must be explicit.

  • Input span per range: max differential input + required overload margin (include sensor faults and CM variation).
  • Noise/resolution target: map INA noise (wideband + 0.1–10 Hz) into effective input resolution for the measurement bandwidth.
  • Headroom: verify input CM range and output swing across gain codes and load; avoid near-rail compression.
  • Settling budget: set a numeric pass criterion for post-switch settling (e.g., settle < X LSB within < Y µs under defined ΔV/RL/CL).
  • Switching policy: hysteresis, minimum dwell time, and safe sampling sequence (discard N samples or gate ADC conversions).
PGA-INA range ladder from sensor to ADC with trade-offs Block diagram showing one sensor feeding a PGA-INA with three gain ranges G1 to G3 into an ADC/DAQ. Side bars indicate trade-offs among noise floor, overload headroom, and settling burden across ranges. Sensor Bridge / RTD / DAQ PGA-INA Programmable Gain INA Core G1 G2 G3 ADC / DAQ Sampling + Digital Output Range Trade-offs Noise Headroom Settling One front-end supports multiple ranges; each range trades noise, headroom, and settling. Define explicit pass criteria for post-switch settling and cross-range consistency.
Diagram: A PGA-INA “range ladder” keeps one ADC usable across changing signal levels—at the cost of settling and cross-range error management.

H2-2. Internal PGA implementations inside INA (ladder, switched networks, chopper+PGA)

Implementation families (what changes when the gain code changes)

PGA behavior is set by how gain is realized internally. Different implementations move risk among noise, linearity, and switching artifacts.

Resistor ladder / switched resistors

Gain steps come from precise resistor ratios. Expect clean DC behavior when ratios are stable, but switching injects charge and reconfigures loop dynamics.

Switched feedback / network reconfiguration

The loop is re-shaped per gain. Stability, settling, and overload recovery can vary significantly across codes—verify worst-case per range.

Gain cell / transconductance-based

Gain is set by internal biasing or gain cells. Noise and linearity depend on internal node swing and bias regions; datasheet conditions matter.

Chopper + PGA stacking (interaction)

Ultra-low offset/drift can be achieved, but ripple artifacts and filtering interactions may change with gain codes. Treat each gain as its own “behavior mode.”

The three consequences that must be verified per gain code

1) Noise behavior
  • Check input-referred noise density and low-frequency noise, then map them into the actual measurement bandwidth.
  • Confirm whether noise scales with gain code as expected, or whether internal nodes dominate at certain codes.
2) Linearity and headroom
  • Verify output swing and load drive across codes; near-rail compression often appears first at high gain.
  • Ensure the expected input CM range remains valid under the chosen gain and output loading.
3) Switching artifacts
  • Gain switching can cause a glitch and a re-settling tail; define a numeric settling-to-error-band criterion.
  • Overload recovery and CM step recovery may differ by code when the loop is reconfigured.

Gain step error sources (a budget-friendly decomposition)

Treat each gain code as a separate error mode. Cross-range consistency requires tracking which term dominates per code.

  • Ratio error (DC gain error): resistor ratio or gain-cell variation creates a per-code gain error and drift term.
  • Injection-induced step (glitch): switch charge injection and internal node re-charge appear as an output step + tail.
  • Ib × Rs sensitivity: input bias current and leakage translate source impedance into offset and apparent gain shifts.
  • Headroom-limited compression: insufficient output swing or internal node swing causes nonlinearity that is often code-dependent.
What to demand from datasheets (conditions included)
  • Gain error and gain drift per gain code, not only “typical at one code.”
  • Settling after gain change with explicit ΔV, RL, CL, measurement bandwidth.
  • Input bias/leakage vs temperature and input CM, especially for high source impedance sensors or MUX systems.
INA core with a switchable gain network and charge injection markers Block diagram showing input stage, a switchable feedback or gain network with gain steps, and an output stage. Small arrows indicate charge injection around switch nodes to highlight switching artifacts. PGA-INA Internal View Input Stage CMRR / Bias / Protection Switchable Gain Network G1 G2 G3 charge injection Output Stage Drive / Stability / Recovery Gain codes reconfigure the loop; verify noise, headroom, and post-switch settling per code.
Diagram: Internally, PGA gain codes switch networks inside the loop—charge injection and re-settling must be treated as first-class specs.

H2-3. Gain switching transients: glitch, settling time, and overload recovery

What appears on waveforms (three signatures)

  • Glitch / step: a fast spike or step right after the gain code changes.
  • Settling tail: a slower return into an error band after the initial glitch (often an exponential tail or mild ringing).
  • Overload recovery: if the output hits a rail (or internal nodes saturate), recovery can be much longer than “small-step settling.”

What dominates the transient (ranked by practical impact)

Switch injection + internal node re-charge

Reconfiguring gain networks injects charge and forces internal nodes to re-bias, creating a fast glitch plus a re-settling tail.

Loop dynamics (phase margin changes with gain code)

Some gain codes reshape the closed-loop response. The same load can be stable at one code but ring or settle slowly at another.

Load capacitance and sampling kickback

ADC input capacitance, anti-alias caps, and parasitics act like a dynamic capacitive load that stretches tails and can excite ringing.

Common-mode recovery and headroom limits

Near-rail operation or common-mode steps can slow recovery. Large steps may enter slew/limit regions, extending settling time sharply.

How to read “settling time” in datasheets (conditions are the spec)

Settling time numbers are only meaningful when ΔV, RL/CL, measurement bandwidth, and the error band definition are stated. Board-level loads often differ from datasheet loads.

  • ΔV (step size): larger steps are more likely to enter slew/limit regions and extend tails.
  • RL / CL (load): ADC sampling caps + filter caps + parasitics create a much harsher load than “light RL.”
  • Measurement bandwidth: bandwidth limits can hide peak glitch but do not remove tail energy.
  • Error band: “to 0.1%” and “to 0.5 LSB” are different acceptance criteria.

Executable measurement script (repeatable and acceptance-ready)

Step 1 — Glitch capture
  • Hold a steady differential input and steady common-mode.
  • Toggle the gain code at a known edge and capture output peak (±).
Step 2 — Settling-to-band
  • Define an error band ±X (output or input-referred).
  • Measure t_settle to enter and stay within ±X for a hold time T_hold.
Step 3 — Overload recovery
  • Force a worst-case event (rail hit or internal saturation).
  • Measure recovery back to linear behavior and residual error.
Pass criteria templates (fill with system budgets)
  • Peak glitch: < X mV (or input-referred < X µV) under defined ΔV/RL/CL.
  • Settling: t_settle < α·Ts and residual error < β LSB (Ts = sampling/control period).
  • Overload recovery: < Y µs with no post-recovery bias drift beyond ±Z.
Gain switching transient timing with glitch, settling and overload recovery Timing diagram showing gain code step, output waveform with glitch and settling tail, error band plus or minus X, and a highlighted overload recovery region after a rail hit. Gain Switching Timing t Gain code Output ±X band t0 +X -X t_glitch t_settle overload recovery Define ±X and measure t_settle; verify overload recovery separately from small-step settling.
Diagram: Gain switching creates a fast glitch and a slower tail; acceptance requires an explicit ±X error band and a defined settling window.

H2-4. Auto-range control loop: when it chatters and how to stop it

What auto-range really is (a discrete loop)

Auto-range is a discrete decision loop: measure → compare to thresholds → change gain state → wait for settling → resume measurement. Chatter occurs when thresholds and delays create a loop that re-triggers itself.

Why it chatters (root causes mapped to symptoms)

Thresholds too close

Noise and ripple push the measured value across the boundary repeatedly, causing back-and-forth gain toggling.

Delay and settling not accounted

Decisions are made before post-switch settling completes; the transient itself triggers the next decision.

Saturation detection lag

Overload is detected after the ADC saturates, causing repeated oscillation between “too big” and “too small” decisions.

MUX and memory effects (if used)

Channel switching transients can bias range decisions unless a blanking window and a stable estimator are used.

Engineering controls that stop hunting (parameterized, testable)

Treat range selection as a controlled state machine. Each control below maps to a specific failure mode.

Hysteresis (separate up/down thresholds)

Use UpTh and DownTh per boundary so noise does not flip states near the border.

Min-dwell (minimum time in a range)

Enforce T_dwell so the system cannot switch faster than it can settle and measure reliably.

Blanking / hold-off after a switch

Block decisions for T_blank until post-switch settling is inside ±X; discard N samples if needed.

Exception lock (anti-chatter fail-safe)

If switching occurs > N times within a short window, lock to a safe range and raise a status flag for diagnosis.

Quantified acceptance (turn “stable” into KPIs)

  • Switch rate: F_switch < F_max in steady conditions (ideally near zero).
  • False-trigger probability: mis-switches per hour/day below a defined limit under injected noise/ripple tests.
  • Throughput loss: (discarded samples + settling time) stays under a defined percentage of the sampling budget.
  • Worst-case convergence: time to reach the correct stable range after a real input change is bounded and tested.
Auto-range state machine with hysteresis, settling blanking, and min-dwell timer State diagram showing gain states G1, G2, G3 with up and down thresholds on transitions, a settling blanking block after each switch, and a minimum dwell timer to prevent chatter. Auto-Range Control (Discrete Loop) Estimator RMS / Peak / Window Decision UpTh / DownTh G1 High headroom G2 Balanced G3 High resolution UpTh DownTh UpTh DownTh Settling / Blanking T_blank / discard N Min-dwell T_dwell Use hysteresis + blanking + min-dwell; otherwise switching transients can trigger the next decision.
Diagram: Auto-range is a discrete state machine—hysteresis, blanking, and min-dwell prevent gain hunting and protect throughput.

H2-5. MUX + PGA-INA: channel memory, crosstalk, leakage, and “ghost readings”

Symptom map (match the waveform to the dominant mechanism)

  • Channel memory: the new channel starts close to the previous channel value, then decays toward the true value (often exponential).
  • Switch injection: a sharp spike/step at the switching edge, followed by a shorter tail.
  • Common-impedance coupling: other channels move when one channel switches or changes level (shared return/reference/power impedance).

Crosstalk and “ghost reading” sources (three paths that dominate in real systems)

1) Residual charge (C memory)

Input capacitance, sampling capacitance, and parasitics store charge. When the MUX changes, the “memory node” redistributes charge and briefly reflects the previous channel.

  • Strong correlation: first-sample error scales with (V_previous − V_new).
  • Strong sensitivity: high source impedance and large input C increase settling time.
2) Switch injection (edge-driven)

MUX and PGA switching inject charge into high-impedance nodes. This appears as a fast glitch that can kick the ADC input and extend effective settling.

  • Strong correlation: peak glitch aligns with the switching edge.
  • Strong sensitivity: measurement bandwidth changes the observed peak but not the underlying energy.
3) Common-impedance coupling (ground/power/reference)

Shared impedance converts switching currents into voltage errors that show up as correlated offsets across channels, especially with long leads and imperfect returns.

  • Signature: multiple channels move together when one channel is active.
  • Signature: touching/moving cables changes readings via return path capacitance and impedance.

Leakage-driven DC offset (why MUX systems are more vulnerable)

Input leakage and board surface leakage translate directly into input-referred offset when source impedance is high. Temperature and humidity can amplify the same leakage path by orders of magnitude.

  • Device paths: ESD/protection networks, MUX off-leakage, clamp structures (often strongly temperature-dependent).
  • Board paths: contamination, residue, moisture films, and long creepage distances across high-impedance nodes.
  • MUX amplifier interaction: switching repeatedly re-distributes charge, making leakage-induced bias visible as “persistent” ghost errors.
Leakage budgeting fields (minimum set)
  • I_leak vs temperature and input common-mode
  • Equivalent leakage resistance of the board surface (R_leak_equiv)
  • Sensor source impedance and allowed input-referred offset

Suppression playbook (choose actions by dominant path)

Reduce memory (residual charge)
  • Lower source impedance or add a buffer ahead of the MUX for high-Z sensors.
  • Precharge the selected channel toward the target level before measurement if supported.
  • Use dummy conversions and discard the first N samples after switching.
Reduce injection (edge and node sensitivity)
  • Schedule MUX/gain changes in a sampling quiet window; then gate/blank conversions.
  • Keep a consistent switching order (e.g., MUX first, then gain), minimizing compounded transients.
  • Add small series isolation where required, but verify added settling and noise penalties.
Reduce common-impedance coupling (return/reference)
  • Provide low-impedance local returns and keep switching currents out of sensitive reference nodes.
  • Place decoupling close to MUX and PGA-INA rails; preserve continuous return paths.
  • Use guarding and controlled routing for high-impedance inputs; avoid long parallel runs with digital edges.
Reduce leakage (DC offset stability)
  • Guard rings around high-impedance nodes; keep the guard at a driven/equivalent potential where applicable.
  • Minimize exposed high-impedance copper; increase creepage distance; control residue and moisture risks.

Verification scripts and pass criteria (turn “ghost” into metrics)

Test 1 — A→B memory settling
  • Hold channel A at V_A and channel B at V_B (use a large |V_A − V_B|).
  • Switch A→B and log the first N samples on B.
  • Compute error[n] decay and the minimum N required to enter ±X.
Test 2 — Injection peak
  • Hold a steady input and trigger on the MUX/gain change edge.
  • Measure peak glitch (±) and post-edge settling into ±X.
Test 3 — Touch/move cable robustness
  • Apply a controlled disturbance (cable touch/motion or capacitive coupling stimulus).
  • Log output deviation and ensure it remains within Y without persistent bias.
Pass criteria templates (fill with system budgets)
  • After channel switch: within N samples, error < X (output or input-referred).
  • Peak glitch: < X under defined bandwidth, RL/CL, and switch timing.
  • Touch disturbance: < Y and no persistent baseline shift after the disturbance.
MUX to PGA-INA to ADC with parasitic capacitance, leakage and memory node Block diagram showing multiple channels into a MUX, then a highlighted memory node feeding a PGA-INA and ADC. Each channel includes Cpar and Rleak markers. Arrows call out residual charge, injection and common impedance coupling. CH1 CH2 CH3 CH4 CH5 Cpar Rleak Cpar Rleak Cpar MUX CH select Memory node PGA-INA Gain code ADC Sampling C Residual C Injection Zcommon Coupling MUX switching re-distributes charge at the memory node; leakage and Zcommon turn it into persistent error.
Diagram: “Ghost readings” are usually charge memory, switch injection, or common-impedance coupling—each demands a different test and mitigation.

H2-6. Gain-dependent accuracy: offset/gain error across ranges + calibration strategy

Why each gain code behaves like a separate accuracy model

In a PGA-INA, different gain codes can change internal nodes, loop conditions, and headroom. Accuracy terms often shift with gain, so “one spec number” is not enough for cross-range consistency.

  • Offset: input-referred offset can vary by code due to different internal paths and bias conditions.
  • Gain error: resistor ratios or gain-cell settings introduce code-dependent scale errors and drift.
  • Nonlinearity/headroom: high gain reaches internal swing limits sooner, causing compression or INL shifts.
  • Drift + leakage interactions: temperature and leakage paths can create different input-referred errors at different gains.

Cross-range consistency (define it as a measurable KPI)

Convert every gain code output back to an input-equivalent estimate, then compare codes on the same applied input. This reveals whether range switching will cause visible “jumps” in reported values.

  • Consistency metric: ΔV_in_equiv(Gi, Gj) < X for defined inputs and temperatures.
  • Switching visibility: X should be below the application’s “noticeable step” threshold (system budget).

Calibration ladder (choose the minimum complexity that actually improves accuracy)

Calibration should only be as complex as the dominant error term demands. If measurement uncertainty is not well below the target, calibration coefficients become noise.

1-point (Offset)

Best when offset dominates and the scale term is already within budget across ranges.

2-point (Offset + Gain)

The default choice for multi-range systems: improves cross-range consistency by correcting scale error per gain code.

Multi-point / LUT (INL / compression)

Only worth it when nonlinearity is dominant and coefficients remain stable across temperature, time, and operating modes.

Production vs field calibration (stability decides where coefficients belong)

Production calibration
  • Targets manufacturing variation (per-code offset/gain spread).
  • Works best when coefficients are stable over temperature and aging.
Field calibration
  • Targets system-level terms (wiring, sensor offsets, installation stress, environmental gradients).
  • Requires a reference stimulus and a repeatable procedure with known uncertainty.
Coefficient stability checks (minimum acceptance)
  • Repeatability: coefficients re-fit to similar values on repeated runs.
  • Temperature robustness: coefficient drift is modelable or bounded within budget.
  • Uncertainty: stimulus + measurement uncertainty is well below the target residual error.

Validation script (per gain code) and pass criteria templates

Step 1 — Measure per-code offset and scale
  • For each gain code, measure near-zero and near-full-scale points (or a defined two-point span).
  • Compute Offset(G) and GainErr(G); repeat across temperature points if required.
Step 2 — Check cross-range consistency
  • Apply the same input and compute V_in_equiv for multiple gain codes.
  • Measure ΔV_in_equiv between codes; validate against the consistency budget.
Step 3 — Decide if LUT is justified
  • If residual error is structured (curvature/compression) and stable, consider multi-point/LUT.
  • If residual error is dominated by noise/uncertainty, avoid LUT and improve measurement chain first.
Pass criteria templates (fill with system budgets)
  • Cross-range consistency: ΔV_in_equiv(Gi, Gj) < X across defined inputs and temperatures.
  • Drift budget: input-equivalent drift < Y across temperature and aging window.
  • Residual after calibration: < Z with measurement uncertainty well below Z.
Gain-dependent error stacks and calibration ladder Three stacked error bars for gain settings G1, G2, G3 showing offset, gain error, drift, and leakage contributions. A calibration ladder on the right shows 1-point, 2-point, and LUT options. Per-Gain Error Stacks + Calibration Ladder Each gain has its own error composition G1 G2 G3 Offset GainErr Drift Leakage Calibration ladder 1-pt 2-pt LUT Stable Low Unc.
Diagram: Error composition shifts with gain; choose the lightest calibration rung that improves cross-range consistency without fitting noise.

H2-7. Noise vs bandwidth vs gain: how to translate datasheet numbers into real resolution

Pick the right noise number for the job (slow variables vs dynamic signals)

Slow variables

Use 0.1–10 Hz noise (peak-to-peak) to bound short-term reading jitter over seconds-to-tens-of-seconds windows. This is the number that decides “how steady the display looks.”

Dynamic signals

Use noise density (nV/√Hz) plus the system’s effective noise bandwidth to compute RMS noise. This is the number that decides real resolution under a defined bandwidth.

Gain is a trade: resolution, bandwidth, and saturation risk move together

  • Input-referred noise often improves when gain increases, because the same output noise maps back to a smaller input-equivalent error.
  • Bandwidth typically shrinks at higher gain, changing effective noise bandwidth and reducing throughput or dynamic tracking capability.
  • Headroom margin gets tighter, so overload and recovery time can dominate real accuracy during auto-ranging or fast transients.

Translation workflow: datasheet → input-equivalent RMS noise → effective resolution

The same noise density can yield very different RMS noise depending on filtering, sampling, and gain-dependent bandwidth. Use this workflow per gain code.

Step 1 — Choose the noise entry
  • Wideband: noise density (nV/√Hz) for dynamic resolution under a defined bandwidth.
  • Low-frequency: 0.1–10 Hz noise (pp) for slow-window reading jitter bounds.
Step 2 — Define the effective noise bandwidth (NEB)
  • NEB is set by analog filtering, gain-dependent INA bandwidth, and digital averaging/filters.
  • Always compute NEB per range, because higher gain often narrows the front-end bandwidth.
Step 3 — Convert to input-equivalent RMS noise
  • RMS noise scales with √NEB; then map back to input by dividing by the selected gain code.
  • If saturation/recovery occurs, resolution is limited by recovery time, not by noise.
Step 4 — Express “effective resolution per range”
  • Report: Vn_in_rms(G) under the chosen bandwidth and filter plan.
  • Verify: throughput (bandwidth/settling) and headroom margins still meet the system budgets.

Using 0.1–10 Hz noise correctly (avoid mixing low-frequency pp with wideband RMS)

  • 0.1–10 Hz noise is best treated as a slow-window jitter bound for readings updated over seconds-scale intervals.
  • Noise density integrates into RMS noise through the effective noise bandwidth; it is the right tool for dynamic resolution budgeting.
  • A range may look “quiet” at low-frequency but still be dominated by wideband noise once bandwidth increases.

Per-range acceptance (resolution + throughput + headroom as one gate)

Each range must pass three gates. If any gate fails, the effective resolution is not deliverable in the system.

  • Resolution: Vn_in_rms(G) < X (system budget)
  • Throughput: BW_eff(G) ≥ target (or t_settle(G) ≤ budget)
  • Headroom: Vout_peak(G) within rail margins under worst-case load

Fillable budgeting fields (minimum set per gain)

Field G1 G2 G3
Noise density (nV/√Hz)
0.1–10 Hz noise (pp)
NEB (effective noise bandwidth)
Vn_in_rms(G)
Headroom check (Vout_peak / margin)
Per-range noise and bandwidth bars with effective resolution ladder Three gain ranges G1 G2 G3 each showing a noise bar and bandwidth bar. A ladder on the right illustrates effective resolution changing with range under defined bandwidth and filters. Noise ↔ Bandwidth ↔ Gain (per range) → Effective resolution G1 G2 G3 Noise BW NEB NEB NEB Effective resolution Res1 Res2 Res3 Defined BW Defined filter
Diagram: noise and bandwidth trade differently across gain codes; effective resolution only exists under a defined bandwidth and filter plan.

H2-8. Input CM range and output headroom: avoiding near-rail distortion across gain settings

Think in “windows”: input common-mode, output swing, and linear region must overlap

Rail-to-rail labels do not guarantee linear operation at all gains and loads. Each gain code creates a different usable window where input CM, output swing, and linearity overlap.

Near-rail failure modes (field-visible signatures)

Near-rail nonlinearity

As output approaches a rail, gain compresses and input-equivalent error grows. Range switching can expose this as “value jumps” across gain codes.

Output current limit

Heavy loads, large capacitive loads, or aggressive filters can push the output stage into current limit, degrading distortion and extending settling.

Slow CM recovery

Input common-mode steps or overload events can create long tails. If recovery time exceeds the measurement cadence, effective resolution collapses.

Headroom budget (per gain): avoid designing into the near-rail region

For each gain code, predict peak output under worst-case input and verify rail margins under the real load. If margin is insufficient, accuracy is limited by compression and recovery, not by noise.

Minimum checks (repeat for G1 / G2 / G3)
  • Compute peak output relative to the chosen bias/reference point.
  • Verify rail margin at worst-case load and temperature.
  • Verify settling/recovery within the system cadence after CM steps or range changes.

Design actions that keep all gain codes inside the usable window

Set the bias/VOCM point first

Choose a reference point that centers the worst-case output swing for the highest gain range, then validate lower gains still meet their swing needs.

Reserve headroom for transients

Include line steps, sensor faults, and auto-range boundary conditions. Headroom margins should survive the worst-case event, not only typical operation.

Control the load and stability region

Output swing and distortion depend on RL/CL. Use isolation where required and verify stability and settling in the real filter/ADC load condition.

Place anti-alias filtering where the driver is controlled

Avoid hanging large capacitors directly on a weak output node. Filter placement should preserve phase margin and keep recovery time within budget.

Pass criteria templates (near-rail distortion becomes measurable)

  • Linearity near rails: input-equivalent error < X at the worst-case CM and output swing.
  • Recovery time: after CM step or overload, t_recover < budget.
  • Load condition: swing and settling meet targets under the real RL/CL and filter/ADC load.
Headroom map across gain codes: input common-mode vs output swing window A headroom map with input common-mode on the horizontal axis and output swing window on the vertical axis. Three rectangles represent usable windows for G1, G2, and G3, plus rail margin lines and a VOCM reference line. Headroom map: Input CM vs Output swing window (per gain) Input CM Output swing (linear) Rail margin Rail margin VOCM G1 G2 G3 Avoid rails All gains Load matters RL / CL
Diagram: each gain code creates a different linear “window” in CM vs swing space; headroom must be validated under real load and transient conditions.

H2-9. Driving ADCs and filters: stability regions, capacitive loads, and settling criteria

Why “driving an ADC” is not a DC load problem

SAR ADC inputs behave like a time-varying capacitive load. The sampling switch and sampling capacitor inject charge back into the driver (“kickback”), creating output spikes and ringing that must settle within the acquisition window. If settling is not met, effective resolution collapses even when noise density looks excellent.

Kickback mechanics: what to observe and what actually matters

  • Field signature: narrow spikes at sampling edges, followed by ringing or a slow tail correlated with the sample rate.
  • Key point: spike amplitude is less important than how fast the residue returns inside the settling window.
  • Range coupling: higher gain may change bandwidth and phase margin, so the same ADC can settle differently across gain codes.

Stability region control: Riso and Cf are isolation tools, not decoration

Capacitive loads add phase lag and can pull the output stage into ringing or borderline instability. Isolation and shaping must be validated against the real sampling transient, not just with a DC load.

Practical control sequence (repeat per gain code)
  1. Isolate the sampling capacitor with Riso to reduce the severity of kickback seen by the driver loop.
  2. Shape high-frequency spikes with a small Cf at the ADC-side node when needed.
  3. Validate with both step response and sampling-edge observation; passing one but failing the other is common.

Anti-alias filter choices and their hidden settling costs

1st-order RC

Simple and predictable, but the R and C directly affect both the driver load and the acquisition settling. If the pole is pushed too low, settling can fail even though noise improves.

2nd-order (passive / active)

Steeper attenuation, but passive networks often look more capacitive to the driver. Active filters can improve driveability but must be validated for stability and settling in the full chain.

Settling criteria: make “0.5 LSB” meaningful by binding the conditions

Settling time is only a valid requirement when the step size, error band, load, measurement bandwidth, and the exact sampling window are specified.

Pass criteria templates
  • Sampling-window criterion: residue at the end of acquisition < β·LSB (or system error band).
  • Time-budget criterion: t_settle < α·T_acq (or < α·T_s if settling must complete before the next conversion).
  • Stability criterion: ringing decays into the error band without sustained oscillation.

Verification scripts (3 must-run tests) and minimum reporting fields

Must-run tests
  1. Step response (small step and large step) to capture ringing and large-signal recovery.
  2. Full-scale sine near the target band to expose compression or stability sensitivity under dynamic swing.
  3. Sampling-edge observation synchronized to CONVST/SCLK to validate settling inside the acquisition window.
Minimum report fields
  • Gain code, Riso/Cf, AAF topology and values
  • fs, T_acq, step size ΔV, error band definition
  • t_settle, spike decay time, pass/fail summary
PGA-INA driving a SAR ADC with Riso and Cf: kickback path and settling window Block diagram from PGA-INA output through isolation resistor Riso to a SAR ADC input with sampling capacitor. Arrows show the kickback path. A small waveform window indicates a settling window and error band. INA output → Riso/Cf → SAR ADC (kickback + settling window) PGA-INA Riso Cf SAR ADC SW Csample Kickback Settling window ±X T_acq
Diagram: the ADC sampling network injects kickback; Riso/Cf placement is validated by whether the residue is inside the error band at the end of the acquisition window.

H2-10. Digital control (I²C/SPI): update timing, sync sampling, fault flags, and safe states

The three control questions that must be answered for deterministic measurements

  • When does a gain write take effect? immediate vs boundary-based update.
  • How is the change synchronized? single channel vs multi-channel coherent update.
  • How is it confirmed and made safe? readback/flags and safe-state behavior on errors.

Update timing: align “update boundary” with the sampling instant

A gain change is only valid when it happens in a safe window. If an update overlaps with the ADC acquisition, readings can be corrupted by mixed-gain behavior and incomplete settling.

Practical rules
  • Apply gain changes only at a defined update boundary that is outside the acquisition window.
  • Reserve a guard time for analog settling after update before the next sampling instant.

Multi-channel sync: create “LDAC-like” behavior with a shared apply/trigger domain

Shadow → Apply

Write new gain codes into a shadow register, then assert a single apply event so all channels switch at the same boundary.

ADC trigger alignment

Use the ADC trigger as the system timing reference and constrain gain updates to occur only in the safe interval before acquisition.

Preventing unintended gain changes (bus noise, glitches, and partial writes)

  • Gate gain writes behind an explicit enable/unlock state so random traffic cannot modify critical registers.
  • Use readback confirmation after writes and reject updates that do not match the intended code.
  • Enforce non-acquisition update windows so even valid writes cannot corrupt measurements.

Fault flags and safe states: keep data trustworthy under errors

Safe-state behaviors
  • On communication errors: freeze gain at the last confirmed code and raise a fault flag.
  • On overload: switch to a safer range only at a controlled boundary and enforce minimum dwell time before switching again.
  • On invalid readback/CRC: reject the update and keep output behavior deterministic.

Verification hooks and pass/fail templates for control determinism

Must-check hooks
  • Capture SPI/I²C transactions, update/apply strobes, and ADC trigger/conversion edges on the same time base.
  • Verify readback matches intended gain codes before treating data as valid.
  • Inject communication faults and confirm the system enters the defined safe state without uncontrolled gain changes.
Pass criteria templates
  • Update boundary is repeatable and occurs outside acquisition windows.
  • Sync skew across channels is below the system threshold.
  • On errors, gain remains locked at a confirmed code and a fault flag is asserted.
MCU control of PGA-INA over SPI/I2C with trigger-aligned update boundary and sampling instant Block diagram showing MCU sending SPI/I2C to PGA-INA then ADC. A trigger line aligns the update boundary and sampling instant. Shadow and apply blocks inside PGA-INA indicate deterministic updates. Control determinism: update boundary aligned to sampling instant MCU PGA-INA Shadow Apply ADC SPI/I²C Signal TRIG / SYNC Timing Update boundary Sampling instant Guard
Diagram: writes go to Shadow, then Apply at a defined update boundary; the shared trigger domain ensures updates never overlap the ADC sampling instant.

H2-11. Application patterns (how PGA is used; details link out)

What stays constant across applications

A PGA-INA is most valuable when one analog path must cover multiple ranges with controlled switching rules: range thresholds, settling windows, and “valid-data” timing are defined as engineering constraints, not as afterthoughts.

Pattern 1 — Multi-range process control: small signal + overload survivability

  • Range plan: define G1/G2/G3 as “resolution range” vs “headroom range”, with explicit up/down thresholds.
  • Anti-hunt strategy: hysteresis + minimum dwell time + asymmetric thresholds; lockout on repeated overload events.
  • Pass criteria templates: switching rate below a defined limit; after switching, residue enters the error band within the allowed window.

Pattern 2 — Multi-channel DAQ: MUX + PGA throughput budgeting

The dominant limiter is often not the ADC, but the per-channel time budget consumed by MUX switching, analog settling after channel/range changes, and any required discard/dummy conversions.

Minimal budgeting template (fill with system numbers)
  • Per-channel cycle ≈ t_mux + t_settle(channel) + N_discard · T_sample + t_acq
  • Pass criteria: after switching, error returns within X threshold in ≤ N_discard samples

Pattern 3 — RTD / thermocouple: use PGA to place weak signals into the ADC “sweet spot”

  • High gain for resolution: amplify microvolt-to-millivolt signals to maximize ADC usage without saturating on worst-case offsets.
  • Low gain for headroom / diagnostics: detect overload, wiring faults, or unexpected common-mode shifts without losing determinism.
  • Valid-data rule: range changes must be outside acquisition windows, and the next “valid sample index” must be defined.

Links-out boundary (to avoid topic overlap)

This section only covers the PGA usage role. System-level details (process safety/EMC, MUX physics/layout, RTD/thermocouple compensation and calibration) should be handled in their dedicated pages to keep this topic vertically focused.

Three PGA-INA application patterns: Process control, DAQ with MUX, and RTD/thermocouple One diagram with three stacked panels. Each panel shows Sensor to PGA-INA to ADC. Process panel highlights range plan G1/G2/G3. DAQ panel includes MUX and discard samples. RTD/TC panel highlights resolution vs headroom. Application patterns (PGA role only): Process / DAQ / RTD Process control Multi-channel DAQ RTD / Thermocouple Sensor PGA-INA ADC G1 G2 G3 Range plan MUX PGA-INA ADC N Discard Sensor PGA-INA ADC Hi-G Lo-G
Diagram: the same “Sensor → PGA-INA → ADC” chain is reused; what changes is the range plan, timing budget, and the definition of valid data after switching.

H2-12. IC selection logic (fields → risk mapping → inquiry template)

Selection starts from risks, not from a parameter dump

PGA-INA selection becomes straightforward when every datasheet field is mapped to a system risk and each risk is closed with a verification test and a pass criterion.

Fields → risks mapping (the minimum set to request and verify)

Gain steps & step error → cross-range consistency risk
  • Verify offset/gain per range and the delta between adjacent ranges
  • Pass criteria: cross-range mismatch stays within the calibration budget
Settling vs code change → throughput / control-loop risk
  • Verify t_settle per gain transition with defined ΔV and load
  • Pass criteria: settling completes inside the allowed window
Input bias/leakage → high source-R / protection network risk
  • Verify DC offsets with realistic series resistors and clamp structures
  • Pass criteria: offset drift stays below the error budget across conditions
Output drive/stability → ADC drive risk
  • Verify stability with the real ADC input (kickback) and AAF topology
  • Pass criteria: residue enters the error band by the acquisition deadline
Interface & sync behavior → multi-channel determinism risk
  • Verify update boundary, readback confirm, and sync skew
  • Pass criteria: updates never overlap acquisition windows
Flags/diagnostics → safe-state / field reliability risk
  • Verify behavior under overload and communication faults
  • Pass criteria: gain freezes at a confirmed state and faults are surfaced

Vendor inquiry template (request the test conditions, not only “typical” numbers)

  • Settling after gain change: ΔV step size, RL/CL load, measurement bandwidth, temperature range, and error band definition
  • Gain step error per range: distribution (min/typ/max or statistics), drift vs temperature, long-term stability
  • Input leakage/bias with protection: test setup including any recommended series resistors/clamps, humidity/temperature conditions if available
  • ADC drive guidance: stable CL range, recommended Riso/Cf, and a settling-to-LSB example tied to acquisition timing
  • Interface semantics: update boundary behavior, readback mechanism, sync method, and fault reporting

Verification gates (tie every risk to a board-level test)

  1. Range transition test: fixed input, step gain codes, record waveform and define t_settle to the system error band.
  2. ADC drive test: observe sampling-edge spikes and verify residue at the end of acquisition across all gain codes.
  3. Leakage sensitivity test: validate offsets with realistic protection networks and high source impedance boundaries.
  4. Control determinism test: time-align writes, apply events, and ADC triggers; inject comms faults and confirm safe states.

Reference part numbers (starting points for datasheet lookup)

These examples are provided only to speed up datasheet discovery. Final selection should be driven by the risk mapping and the verification gates above.

  • TI PGA280 — SPI-controlled programmable-gain instrumentation amplifier family example
  • TI PGA281 — PGIA example for range switching and throughput constraints
  • Analog Devices ADA4255 — SPI-controlled PGIA example (focus on update semantics and accuracy)
  • Analog Devices ADA4254 — PGIA-family example for industrial measurement front-ends
  • Microchip MCP6S21 / MCP6S22 / MCP6S26 / MCP6S28 — SPI PGA with MUX options (DAQ pattern starting point)
  • Analog Devices / Maxim MAX9939 — programmable-gain front-end example (compare gain steps and settling behavior)
PGA-INA selection flow: requirements to risks to vendor questions and verification tests Flowchart showing requirements, risk map, must-have fields, vendor questions, verification tests, and pass criteria. A side column lists the main risk buckets: cross-range, settling, leakage, ADC drive, sync, diagnostics. Selection flow (fields → risks → questions → tests → pass criteria) Requirements Risk map Must-have fields Vendor questions (test conditions) Verification tests → Pass criteria Risk buckets Cross-range Settling Leakage ADC drive Sync Diagnostics
Diagram: selection is a closed loop — requirements define risks; risks define fields and vendor questions; board tests close the loop with pass criteria.

Request a Quote

Accepted Formats

pdf, csv, xls, xlsx, zip

Attachment

Drag & drop files here or use the button below.

H2-13. FAQs (accordion; short, actionable) + JSON-LD

Each answer follows a fixed 4-line format: Likely cause → Quick check → Fix → Pass criteria.

Why does the output “jump” when changing gain even with steady input?
Likely cause
Internal network switching injects charge and forces a loop transient, creating a brief output step/glitch.
Quick check
Trigger the scope on the gain-code edge; measure peak glitch (ΔV_glitch) and time to re-enter an error band (±X).
Fix
Move gain updates outside the acquisition window; add output isolation (Riso) and/or a small Cf per stability guidance.
Pass criteria
ΔV_glitch at the ADC pin < X mV and |residual| < β·LSB within t_settle < α·T_sample for all gain transitions.
Why does settling time look fine in the datasheet but not on the board?
Likely cause
Board conditions differ from datasheet conditions (ΔV, RL/CL, bandwidth, measurement window), plus ADC kickback and filters add extra settling burden.
Quick check
Compare ΔV step, RL/CL, and measurement bandwidth to the datasheet test; probe at the ADC pin with a low-capacitance probe.
Fix
Add/adjust Riso/Cf for the ADC load; reduce effective CL; increase acquisition time or move the AAF corner to meet phase/settling targets.
Pass criteria
Under real ΔV, RL/CL, and probe bandwidth, |residual| < β·LSB by the acquisition deadline across temperature range (Tmin…Tmax).
Auto-range keeps hunting between two gains—how much hysteresis is enough?
Likely cause
Thresholds are too close relative to noise/ ripple and switching latency, so the discrete control loop oscillates.
Quick check
Log gain code vs time and input estimate; measure noise peak-to-peak in each range and compare to the up/down thresholds.
Fix
Set hysteresis ≥ k·noise_margin; add minimum dwell time; use asymmetric up/down thresholds and a lockout after repeated overload.
Pass criteria
Switching rate < F_hunt_max and dwell time ≥ T_dwell_min; false switching probability < P_max under worst-case noise/ripple.
MUX channel switching shows ghost readings—how to confirm charge memory vs leakage?
Likely cause
Ghost readings come from residual charge on parasitic/sampling capacitance (memory) or from DC leakage paths (contamination, clamps, ESD, humidity).
Quick check
After switching from a known level, observe decay: exponential-to-zero suggests memory; a stable offset that changes with humidity/temperature suggests leakage.
Fix
Add dummy/discard conversions (N); precharge the node; reduce source impedance or add a buffer; use guard/cleaning to control leakage.
Pass criteria
After any channel switch, |error| < X within N samples; touch/cable-move sensitivity < Y; humidity test drift remains within budget.
Why does higher source resistance worsen gain step error more than expected?
Likely cause
Input bias/leakage and switching charge injection create an input error that scales with source resistance and parasitic capacitance.
Quick check
Sweep source resistance (Rs) and record step error vs Rs; compare “input shorted” vs “real source + protection network”.
Fix
Reduce Rs or add a buffer; minimize leakage in clamps/ESD paths; balance input impedances and keep protection values consistent across channels.
Pass criteria
Step error contribution from Rs stays < budget for Rs≤Rs_max; slope d(error)/d(Rs) stays below limit across Tmin…Tmax.
SPI/I²C writes succeed but gain doesn’t change—what to probe first?
Likely cause
The write reaches the bus but not the active register boundary (wrong page/bit order) or an update/latch condition is missing (or the device is fault-locked).
Quick check
Read back the gain register; scope CS/SCLK and verify bit order/address; check any fault/ready pin and power-good state.
Fix
Add write+readback verification and a clear update/latch step; slow bus edges if needed; clear fault state before applying new gain.
Pass criteria
Register readback matches the requested gain within one transaction; gain update completes within t_update_max for N consecutive updates.
Gain change causes ADC codes to saturate briefly—how to sequence sampling safely?
Likely cause
The ADC samples during the gain-switch transient or overload recovery, so the front-end briefly exceeds the ADC input range.
Quick check
Align gain-code edge and ADC trigger on a scope; probe the ADC input at the sampling instant and confirm when the waveform re-enters the error band.
Fix
Gate sampling (blank N samples) after any gain update; apply gain changes only on a frame boundary; add Riso/Cf to reduce transient peak at the ADC pin.
Pass criteria
No ADC saturation after switching; first valid sample index is deterministic; |residual| < β·LSB by sample #N_valid for all transitions.
Why does adding RC/RFI filter increase settling time dramatically?
Likely cause
Added poles and source impedance slow the step response and can reduce phase margin when driving capacitive loads or ADC kickback.
Quick check
Compare step response with/without the RC; look for ringing/slow tails at the ADC pin; estimate the added RC time constant vs the acquisition window.
Fix
Separate “RFI filter” from “stability isolation” (use small R for RFI, dedicated Riso for ADC drive); retune corner frequencies to preserve settling.
Pass criteria
t_settle meets target under worst-case ΔV and gain; ringing amplitude < X% and decays within N cycles; acquisition deadline is met.
Why does noise increase at high gain more than expected—what dominates?
Likely cause
At high gain, low-frequency noise (1/f), source impedance noise, input current noise, and aliasing often dominate over the “headline” noise density.
Quick check
Measure with input shorted vs real source; compare 0.1–10 Hz p-p vs wideband RMS; change bandwidth/averaging and observe scaling.
Fix
Limit measurement bandwidth (AAF/averaging); reduce source resistance or buffer; choose a gain schedule that avoids saturating noise sources.
Pass criteria
Integrated noise per range < budget; effective resolution ≥ target bits; 0.1–10 Hz noise p-p < X and wideband RMS < Y.
Multi-channel sync update still has skew—what mechanism is usually responsible?
Likely cause
The “sync” is still sequential (per-channel writes) or the device lacks a true latch boundary, so channels apply gain at different internal edges.
Quick check
Scope channel outputs and the update strobe; measure skew across channels while varying bus speed and transaction order.
Fix
Use a hardware latch/LDAC-like pin (write-all then strobe); use a shared frame boundary (SPI frame/chain) aligned to the ADC trigger.
Pass criteria
Channel-to-channel update skew < X (time or samples) and is deterministic across power cycles and N repeated updates.
Output oscillates only at certain gains—what stability condition changed?
Likely cause
Gain changes alter loop gain and effective bandwidth, shifting phase margin; the same load/AAF can become unstable at specific gains.
Quick check
Identify oscillation frequency vs gain; repeat with different CL and Riso; check whether oscillation appears only when driving the ADC/AAF.
Fix
Add/retune output isolation (Riso) and a small Cf; reduce effective CL at the output; keep AAF poles separated from the stability compensation.
Pass criteria
No sustained oscillation for any gain; ringdown < N cycles and peak-to-peak ripple < X; settling meets acquisition deadline.
How to design a production test to validate all gain ranges quickly?
Likely cause
Production escapes happen when tests do not cover cross-range consistency and worst-case transitions (settling/overload) under controlled conditions.
Quick check
Define a minimal stimulus set (0, mid, near-fullscale) and run a gain sweep; record offset/gain per range and the worst gain-transition waveform.
Fix
Automate: (1) static points for offset/gain, (2) one worst-case transition for settling, (3) one overload-and-recover event; bin results by range.
Pass criteria
Total test time < T_max; each range meets offset/gain limits; worst transition meets |residual| < β·LSB by deadline; yield metrics are tracked per range.