Input Common-Mode Range (VICR) in Comparators
← Back to:Comparators & Schmitt Triggers
This page helps ensure comparator inputs stay inside the valid common-mode range (VICR) across real-world rails, ripple, and spikes, so thresholds do not drift, mis-trigger, or recover slowly near the rails. It turns VICR and rail-to-rail crossover behavior into a practical workflow: define the input envelope, spot risky zones, verify on the bench, and guardband with confidence.
What VICR really means in comparators (not op-amps)
VICR (input common-mode range) is the guaranteed common-mode window where a comparator’s input stage stays in its intended operating region. Outside that window, a comparator may still toggle, but threshold accuracy, propagation delay, and recovery behavior are no longer assured.
- Absolute limits protect the pins; they do not mean the comparator will behave correctly.
- VICR (guaranteed) is where key metrics and correct polarity are specified under stated test conditions.
- Functional-but-not-guaranteed is the risky gray zone: toggling may happen, but offset/delay/recovery can shift unpredictably.
- Near the rails, comparators are more prone to visible failures (wrong polarity, slow recovery) because the input stage can saturate or switch regimes.
- Headroom loss: input devices lose operating margin near a rail → gain drops → effective offset shifts.
- Clamp onset: protection paths start to conduct → injected current moves the input node, especially with high source resistance.
- Saturation & recovery: internal nodes saturate or switch regimes → delay and recovery time can jump, causing wrong-polarity blips or late edges.
- Define the full VCM envelope (including start-up and transients) at VDD(min/max) and temperature corners.
- Design to the guaranteed VICR (not typical curves) and add a guardband for near-rail/crossover behavior.
- Assume any clamp conduction or high source resistance can shift the effective threshold; verify with VCM sweep measurements.
Datasheet decoding: where VICR hides and what conditions matter
VICR is rarely a single number. Its usable boundary depends on test conditions (VDD, temperature, input overdrive, output state, pull-up/load, and input bias/leakage). The goal is to separate guaranteed operating range from typical curves and to identify near-rail or crossover regions that can cause step-changes in threshold or timing.
- Absolute Maximum Ratings: beyond-the-rails allowance and any input current limit requirement.
- Recommended Operating Conditions: the range that is most likely to be guaranteed for correct behavior.
- Electrical Characteristics (tables): VICR min/max and related metrics (offset, bias/leakage, delay).
- Typical Curves: VICR/offset/delay vs VCM, VDD, temperature; look for crossover “knees”.
- Notes / Test Conditions: hidden assumptions (overdrive, output saturation, pull-up/load, measurement circuit).
- VDD and temperature: headroom changes → near-rail margin shrinks or shifts.
- Input overdrive: large swings can trigger clamp paths or saturation recovery → timing/threshold become non-ideal.
- Output state & load: saturation and pull-up choices can change internal operating points, affecting recovery.
- Bias/leakage + source resistance: Ib × Rs converts into threshold error, often worse near the rails.
- Guaranteed: table limits under explicit test conditions (often tied to Recommended Operating Conditions).
- Typical: curves without min/max bounds; useful to spot crossover trends but not safe as a design limit.
- Gray-zone warning sign: any note like “output may toggle” or “performance not guaranteed” outside VICR.
Inside the input stage: why VICR has headroom and why RR has crossover
VICR is fundamentally a headroom story. Comparator input devices and internal nodes need voltage margin to stay in their intended region. When common-mode approaches a rail, the input pair (or internal bias nodes) can leave that region, and the comparator’s effective behavior changes. Rail-to-rail (RR) inputs extend coverage by using two input stages, which introduces a crossover region where performance can step or bend.
- Non-RR input: as VCM approaches a rail, device headroom shrinks → effective input gain drops → offset grows and delay slows.
- RR input: two input stages share the job (PMOS-side and NMOS-side coverage) → mid-range handoff creates a crossover knee.
- Crossover is not “failure”, but it is a design risk zone: offset, bias/leakage, and delay can change faster than expected.
Action: keep operating VCM inside guaranteed VICR with guardband; validate with VCM sweep at corners.
Action: do not place VCM on the knee; sweep VCM and record trip & delay at VDD/TA corners.
Action: treat as a dedicated architecture topic; verify with clocked test conditions (details belong in the regenerative front-end page).
- Find any knee in offset/delay/bias vs VCM; assume it shifts with VDD and temperature.
- Keep the operating VCM away from near-rail and crossover zones; reserve margin for ripple and transients.
- Validate with a VCM sweep at VDD(min/max) and temperature corners; log trip point and delay changes.
Near-rail behavior: threshold accuracy collapse mechanisms
“Near-rail drift” is rarely random. It usually comes from a small set of mechanisms that become dominant when common-mode headroom is limited (especially at low supplies such as 1.8 V). Splitting the problem into the right bucket makes debugging fast and repeatable.
- Input-stage nonlinearity: headroom loss changes effective input gain → offset shifts and timing slows.
- Bias/leakage jump: bias or leakage changes with VCM → Ib × Rs becomes a threshold error amplifier.
- Clamp injection: protection paths start conducting → injected current disturbs the input node → step errors and slow recovery.
- Check whether the input waveform shows overshoot/undershoot that could start clamp conduction.
- Estimate whether Ib × Rs can explain the observed trip shift (repeat with a different divider value or added series R).
- Sweep VCM across the operating range and record trip point and delay; mark any knee/step as a risk zone.
Overdrive meets VICR: when “it should be fast” becomes “it becomes wrong”
Large overdrive can reduce delay, but it can also push one input (or the input common-mode) into a region where behavior is no longer guaranteed. The most common failure mode is not “slow” — it is wrong: brief wrong polarity, double toggles, or long recovery after a transient. Treat overshoot/undershoot as part of the VICR budget, not as a harmless detail.
- VICR exit: one input is forced near/over a rail → input stage leaves its guaranteed region.
- Clamp conduction: protection paths conduct → injected current disturbs the input node.
- Saturation & recovery: internal nodes saturate → output recovers late even after the input returns.
- Wrong polarity blip: output briefly moves in the opposite direction before settling.
- Short “invalid” window: output toggles twice (or produces a runt pulse) around the crossing.
- Delay becomes longer: despite larger overdrive, internal recovery dominates timing.
- Recovery tail: after a transient, the next switching event is late or inconsistent.
- Control overshoot/undershoot so neither input is forced into rail-hit conditions.
- Limit clamp current and reduce source impedance sensitivity (avoid turning injection into a threshold shift).
- Keep operating VCM away from near-rail and crossover knees; validate with a VCM sweep at corners.
Crossover under overdrive: what changes (offset/noise/delay) and how to de-risk
RR-input crossover is where two input stages share (or hand off) control. Under large swings and real-world noise, the crossover zone can amplify condition-dependence: offset may step, noise/jitter may rise, and delay may show a knee. Treat crossover as a region to avoid, or to measure and guardband.
- Offset step: trip point vs VCM shows a knee or a small step.
- Noise / edge jitter rise: repeated toggles become easier on slow or noisy crossings.
- Delay knee: delay vs VCM becomes slower or more variable in a narrow band.
- Slow input slope: the input spends longer near threshold → noise and crossover variation matter more.
- High source impedance: bias/leakage changes become Ib × Rs threshold shifts.
- Noisy common-mode: ripple pushes the operating point through the knee repeatedly.
- Open-drain pull-up too large: output edges become slow → timing becomes more condition-dependent.
Design patterns to keep inputs inside VICR
Keeping inputs inside VICR is about managing the VCM envelope (including ripple and spikes), not just the average value. The most reliable approach is to use simple, repeatable front-end patterns that keep the common-mode away from near-rail and crossover knees, and that prevent clamp injection from turning transients into threshold errors.
- Budget VCM envelope: include ripple, ringing, and probe-induced overshoot.
- Reduce sensitivity to bias/leakage and injection: avoid turning small currents into large threshold shifts.
- Prefer move VCM and limit spikes before changing devices.
Bench verification: how to measure VICR and catch crossover issues fast
VICR verification becomes repeatable when it is treated as a scripted sweep: hold ΔVIN, sweep VCM, and log trip point, delay, and any “invalid” behavior. Add a controlled transient to reveal clamp conduction and recovery issues.
- Fix ΔVIN (small and stable), then sweep VCM across the intended envelope.
- At each VCM point, log trip point, tdelay, and anomalies (double toggles, wrong blips, slow recovery).
- Repeat at VDD corners and key temperatures; repeat for different pull-up and source impedance values.
- Inject a controlled spike/step to check clamp conduction and recovery.
Layout & grounding for VICR integrity
VICR violations can be created by the PCB even when the source signal is “in range”. Ground bounce and return-path mistakes shift the local reference of the input pins, creating an effective common-mode jump that can push operation into a crossover knee or an undefined near-rail region. Keep input symmetry, return paths, and clamp loops clean and local.
- Input symmetry: keep IN+ / IN− (or IN and its reference) matched and close.
- Short loops: define a short, quiet return path so the input reference does not jump.
- Pull-up return: route open-drain pull-up current without sharing impedance with the input reference.
- Clamp loop placement: place series-R and clamps so transient current does not inject into the input reference.
- Keep input paths symmetric and tightly coupled (avoid one input “seeing” a different environment).
- Keep the input loop short: signal + return path must be close and predictable.
- Avoid high di/dt return current crossing near the input reference region (prevent effective VCM jumps).
- Define open-drain pull-up return paths; do not let pull-up current share impedance with input ground/reference.
- Prevent output switching currents from flowing through the same necks/vias used by input reference.
- Place decoupling close to VDD pins and connect to a quiet return (reduce supply-driven common-mode motion).
- Place series-R close to the comparator input (limit spike current at the sensitive node).
- Route clamp/TVS current loops away from the input reference; keep the clamp loop local to its entry point.
- Keep bias (Vmid) networks low-impedance and locally referenced; avoid long “antenna” bias returns.
- Use measurement-friendly test points: minimize probe ground lead inductance to avoid creating ringing.
Engineering checklist (requirements → risk → test)
Turn VICR into an engineering object: define requirements as envelopes, map them to concrete failure risks, and verify with scripted tests. This checklist is designed to be copied into a project template so VICR is not left as an assumption.
Applications (VICR lens only)
These scenarios fail in predictable ways under a VICR lens: near-rail headroom loss, RR crossover knees, slow edges under pull-ups, and clamp/injection during transients. Each item below maps an application to a common VICR pitfall and one avoidance move.
What to watch: guaranteed VICR vs typical curves; any near-rail notes/conditions.
One avoidance move: keep the threshold’s VCM envelope away from rails (bias/divider margin), or choose a device whose VICR includes small beyond-rail margin.
What to watch: offset/tdelay vs VCM behavior around crossover; knee width and conditions.
One avoidance move: move VCM away from the knee and add small hysteresis to prevent slow-slope chatter through the knee.
What to watch: OD pull-up conditions, logic-level compatibility, and board-level reference stability.
One avoidance move: control pull-up return paths and shape slow edges (Schmitt cleanup) while keeping inputs inside the VICR envelope.
What to watch: allowed over/under-rail voltage and input current limits; recovery conditions.
One avoidance move: limit clamp current (series R near the input) and keep nominal operation away from near-rail undefined zones.
IC selection logic (VICR-focused) + vendor questions
VICR selection is an envelope-and-corners problem. Start from the input envelope (including ripple and spikes), verify worst-case VICR, characterize RR crossover behavior, then check over/under-rail events and recovery. Only after VICR risks are closed should delay, power, and output style dominate.
- Define the envelope: VDD corners, VCM nominal + ripple, peak/spike levels, source impedance, temperature range, and output pull-up conditions.
- Match guaranteed VICR: confirm worst-case VICR under stated conditions (not only typical curves).
- RR needs crossover proof: identify the crossover region and confirm offset/tdelay behavior is acceptable through the envelope.
- Over/under-rail events: check allowed input voltage/current during transients, and confirm recovery behavior after clamp/saturation.
- Finalize: choose output type (OD vs push-pull), then budget delay and power with the VICR risks already closed.
Reference examples (starting points; verify VICR conditions)
These part numbers are provided to speed up datasheet lookup and lab verification. Selection should follow the VICR-first flow above, using worst-case conditions and guardband for the specific envelope.
FAQs (VICR / near-rail / crossover)
Short, actionable answers only. Each item is structured as: Likely cause → Check → Quick bench test → Fix → Guardband. No new theory is introduced beyond VICR, near-rail behavior, RR crossover, overdrive/clamp effects, and measurement traps.