A common offset in RC timing cancels only when every level used in the crossing model shares the same additive change. For high level , threshold , and initial baseline , assume and fixed time constant . The crossing time is
Adding to all three levels leaves both differences unchanged, so the invariance in the header is exact. It describes a shared readout zero, or an equivalently translated step with a translated initial condition, rather than every possible physical offset experiment.
The three sensitivities make the cancellation visible locally:
A common random offset has covariance matrix for these three inputs and contributes zero to the propagated timing variance. NIST's primary law retains exactly such covariance terms; setting them to zero would represent another measurement model.[ref]
For an original nonzero-baseline example, take , , and . The crossing is about . Adding to all three levels leaves it exactly unchanged. Adding the same offset only to and while keeping the baseline fixed instead increases it by about . The two-level sensitivity is , predicting to first order.
A calibration test must state whether the initial capacitor output, electronic comparator reference, input level and readout share the offset. Independent threshold errors, uncertainty of the time constant, and baseline memory remain even when this one common component cancels. The full distinction is developed in correlated threshold and amplitude errors in RC timing; a common gain is a separate invariance treated in ratiometric cancellation of RC timing gain errors.
Electronic comparator 2026-11-05
An electronic comparator is an electrical circuit that converts the ordering of two input electric potential differences into an output state. For the usual non-inverting convention, the output is high when and low when . Unlike a linear amplifier, an electronic comparator deliberately makes a threshold decision; its output does not report how large the input difference is. A sensor signal can therefore become a pulse marking the instant it crosses a reference.
Real threshold decisions have an input offset voltage and a finite propagation delay. The permitted input range and the output drive also matter: an open-drain output needs a pull-up resistor, whereas a push-pull output drives both states. The manufacturer’s inverting example explicitly includes the pull-up resistor and explains how input offset voltage, resistor tolerances and internal hysteresis affect the thresholds.[ref]
With a single threshold, a slowly varying input plus electrical noise can cause repeated transitions. A Schmitt trigger adds hysteresis: the threshold depends on the existing output state. For an illustrative non-inverting design, suppose the output switches high on a rise through and low on a fall through . At , either output is possible, depending on the preceding input. The interval is deliberate memory of the last state, rather than an ambiguous instantaneous comparison. Positive feedback can produce this behavior; the cited design derives the two thresholds from the feedback resistor network.[ref]
A useful bench demonstration applies a slow triangular input with a small superposed ripple and displays both input and output on an oscilloscope. Record the rising and falling switching levels separately. Repeated transitions near one level demonstrate noise sensitivity; distinct rising and falling levels demonstrate hysteresis. The time between an input crossing and the output transition measures propagation delay, a different quantity from the separation between the two thresholds.
Missing comparator reset in an RC pulse train occurs when the filtered output never spends a finite interval below the reset threshold between pulses. In the periodic first-order model, with and , the baseline is the minimum output and equals
For a nonhysteretic ideal electronic comparator with , leaves no finite low interval. At equality the waveform merely touches the threshold. This is different from a pulse whose peak never reaches threshold and therefore gives no finite high interval.
Solving the strict reset condition gives
Separate rising and falling transitions also require the peak to exceed the threshold. Both inequalities matter, so increasing the quiet interval is not automatically sufficient to produce an accepted output pulse from a weak input.
For an original three-regime example, take , , and . The reset boundary is . At , the periodic baseline/peak are about : after startup the electronic comparator does not reset. At , they are , allowing both transitions. At , the peak is only about , so no finite high interval is produced. The same input height and high duration can therefore give three different output patterns as repetition changes.
The threshold-reset margin for a periodic RC pulse train must also accommodate uncertainty and switching dynamics. With a Schmitt trigger, the lower switching threshold controls reset while the upper one controls acceptance. The capacitor-level inequalities alone do not specify propagation delay or a real electronic comparator's minimum switching dwell time.
A test records the source, capacitor output and electronic comparator output together while sweeping . A steady high output with a pulsing input should be compared with the measured capacitor minimum before being attributed to a source failure. The RC decay model can be checked independently using the primary laboratory's natural-response method.[ref]
Range-switching hysteresis uses different thresholds for changing from a more sensitive instrument range to a less sensitive one and for changing back. Within the intervening interval, the current range is retained. The selected range therefore depends on the previous state as well as the present measurement indication. This prevents small fluctuations near a single boundary from repeatedly triggering gain ranging.
A concrete electronic analogue is an electronic comparator with two switching thresholds. The primary circuit example specifies upper and lower thresholds of and and explains why one threshold can produce unwanted transitions with a noisy or slowly changing input. Those are comparator circuit values, not specifications for an autoranging measurement instrument.[ref]
For an original two-range current measurement, let denote high sensitivity and low sensitivity. Use an input-current estimate , expressed on the same calibrated scale in either range. Switch when , switch when , and otherwise keep the previous state. The hysteresis interval has width .
Starting in , the indication sequence selects . A single threshold at would instead select and switch at every step after the first. At a steady underlying with bounded readout fluctuations of , neither boundary is crossed; either previous range remains selected.
The thresholds should lie within the usable overlap established by range-overlap calibration. If the two ranges give inconsistent current estimates, a switch can itself move the indication across the opposite threshold and create a cycle. The comparison must therefore use the corrected measurand estimate, not identical raw output voltages from different gains.
Hysteresis is not temporal averaging and does not ensure that the new reading has settled. Reserve headroom for a rapidly rising input, reject readings during the required settling time, and verify that the less sensitive range still meets its noise-limited detection threshold. An input that jumps beyond the current range can cause amplifier clipping before the controller reacts, even when its two-threshold rule is correct.
RC pulse-width discrimination converts an input-duration test into a threshold observation on an RC circuit. For a relaxed first-order load with time constant , a positive rectangular input of height and duration reaches peak output . An ideal electronic comparator has a nonzero interval above fixed threshold precisely when
Equality only touches the threshold at the peak. The parent threshold-crossing time of a finite rectangular pulse through an RC load derives the full response and the rejected-pulse boundary.
This is a duration discriminator only while the input height is controlled. At a fixed duration, the same condition is
A larger input can pass the threshold even when a smaller pulse of exactly the same duration fails. The minimum accepted duration decreases with height, with derivative .
For an original example, choose , , and . The minimum height for a nonzero comparator interval is about . A pulse peaks at about and is rejected; a pulse peaks at about and is accepted. Treating this observation as a width-only decision would conflate two different inputs.
A pulse-generator experiment therefore sweeps width at a recorded height and threshold, measures the actual capacitor waveform on an oscilloscope, and allows the initial state to relax. A residual baseline in RC pulse-width discrimination changes the next pulse's peak and invalidates the relaxed-state formula. Probe and comparator input capacitance also belong in the effective time constant. The natural-decay apparatus in MIT's RC laboratory supplies a direct component-level check of that time constant.[ref] Comparator propagation delay and hysteresis are additional dynamics, not part of the ideal RC acceptance inequality.
The reset dwell time below threshold in an RC pulse train is the continuous time for which the filtered electric potential difference lies below an electronic comparator's threshold between successive accepted pulses. A positive threshold-reset margin for a periodic RC pulse train ensures a crossing in the ideal model, but does not ensure a long enough low interval for the intended electronics.
Consider the periodic RC low-pass filter response to a high level lasting , followed by zero input for a quiet time . Let be the time constant, the periodic baseline at the start of the high interval and the peak at its end. Assume a nonhysteretic ideal electronic comparator and . Solving the two exponential segments gives the rising crossing time , measured from the high interval's start, and the falling crossing delay , measured from its end:
The below-threshold interval runs from the falling crossing to the next rising crossing. Therefore
Including matters: the low interval usually extends into the next input high interval. The natural exponential decay underlying these segments is directly testable with the switched-RC apparatus in the MIT laboratory.[ref]
For an original exact example, take , and . The periodic solution in missing comparator reset in an RC pulse train gives and . At , both crossing delays equal , so . The reset margin is a positive , yet a stipulated requirement of at least low time is not met.
The strict crossing assumptions are essential. At , the waveform only touches the threshold and the low interval vanishes. At or above the peak there is no finite high interval to separate. A Schmitt trigger uses distinct switching thresholds, so its output-state interval requires the corresponding falling and rising crossings rather than substituting one threshold indiscriminately.
A proposed measurement records the pulse generator, capacitor and electronic comparator outputs on an oscilloscope. Measure the low interval between actual output edges while also locating both capacitor-level crossings. Their difference can expose switching delays; the capacitor formula alone does not specify a real device's minimum pulse duration.
Schmitt trigger 2026-11-05
A Schmitt trigger is a threshold circuit with hysteresis: its switching level depends on its current output state. An input rising through an upper threshold causes one transition, whereas an input falling through a lower threshold causes the reverse transition. Between the thresholds, the circuit retains the state reached previously. This makes a Schmitt trigger useful for turning a slowly varying or noisy signal into clean transitions, rather than repeatedly switching whenever noise crosses a single reference level.[ref]
A simple inverting implementation puts the signal on the negative input of an electronic comparator. Connect its positive input to output through a resistor and to a reference through a resistor . Neglecting comparator input current, Kirchhoff's current law gives
For ideal high and low output levels , the input switches on a rise at and on a fall at . Thus the separation of the switching thresholds is
The output feeds back so as to reinforce its new state: after a rising input makes the output low, the positive-input threshold falls too.
For illustrative values , , , and , the thresholds are and . At an input of , the output can be either high or low, depending on the preceding trajectory. These chosen numbers describe the ideal circuit above, not a particular device specification.
An oscilloscope demonstration applies a slow triangular input with a small ripple and records input and output together. Compare the rising and falling transition levels, and then reduce the threshold separation to see when the ripple produces additional transitions. In a real circuit, input offset voltage, resistor tolerances, output loading and any internal hysteresis change the thresholds. An open-drain output also requires a pull-up resistor; its load must be included in the feedback calculation.[ref]
An electronic comparator registers a pulse only if its input reaches the chosen threshold. For an initially uncharged capacitor driven through an electrical resistance , a short rectangular pulse may end before that happens. The resulting threshold-crossing time of a finite rectangular pulse through an RC load depends on threshold and pulse duration, as well as the time constant ; it is not determined by group delay alone.
Take a positive input electric potential difference for , zero input outside that interval, and output across a capacitance . Include the source's effective series electrical resistance in . The initial condition is . Kirchhoff's voltage law and the capacitor current relation give the first-order linear differential equation
The output is a continuous function and reaches its maximum at the pulse's falling edge:
The input jumps there, but an ideal capacitor's stored electric charge cannot change discontinuously under the finite currents of this model.
Choose a fixed threshold with . Solving the rising exponential function using a natural logarithm gives
If , the output never reaches the threshold. At , it touches the threshold only at its peak; the ideal time spent strictly above threshold is zero. A nonzero high interval in an ideal non-inverting electronic comparator requires . This is RC pulse-width discrimination: different input durations can give a missing pulse or a finite output pulse even when their input heights are equal.
For , solving the falling exponential decay gives
Here is the time above threshold for an RC-filtered rectangular pulse, before any electronic comparator switching dynamics. It is not generally the input duration . Just above , differentiation gives and hence to first order; a half-height threshold gives slope two at the detection boundary.
For an original numerical example, take , , , and , so . A input peaks at only and is rejected. A input peaks at and gives
These are model calculations, not recorded instrument traces.
Figure 1.
Pulse duration determines whether an RC circuit reaches a threshold and how long it stays above it
. Original calculation for and a half-height threshold. The short pulse is rejected, the boundary-duration pulse just touches the threshold, and the longer pulse yields two crossings. The right panel shows the corresponding ideal above-threshold duration. Details.
A threshold near the asymptotic input height is also especially sensitive to noise and threshold measurement uncertainty. Holding the absolute input height and fixed, the threshold timing sensitivity of an RC step response is
For the same , model, a effective threshold perturbation gives approximately of timing change at , but at , by first-order uncertainty propagation. The rectangular pulse must still last long enough to reach the selected threshold; changing together with is a different sensitivity calculation.
A bench test uses a pulse generator and an oscilloscope to record both the applied electric potential difference and the capacitor output. Sweep while keeping and the actual threshold fixed, and allow enough time between pulses for the measured initial output to be negligible at the desired precision. Include probe and comparator-input capacitance in . MIT's laboratory measures RC decay with a capacitor, a resistor and square-wave excitation; that gives a directly measurable component-value time constant.[ref] The pulse-duration sweep proposed here extends that decay measurement to a threshold observation. A real electronic comparator's input offset voltage, hysteresis and finite switching time must be separated from the ideal RC crossing times; a Schmitt trigger uses different rising and falling thresholds.
The threshold-reset margin for a periodic RC pulse train is the separation between the reset threshold of an electronic comparator and the largest baseline that the periodic RC low-pass filter may leave between pulses. A positive margin excludes missing comparator reset in an RC pulse train in the ideal threshold model; its size measures tolerance to additional electric potential difference errors.
Let be the input high level, the high duration, the quiet duration and the time constant. From the periodic solution in missing comparator reset in an RC pulse train, write
This defines a margin in volts, rather than in units of standard deviation. If a nominal baseline has a known absolute error bound and the reset threshold has bound , a sufficient worst-case condition is
These are simultaneous bounds on the actual baseline and threshold. Adding their standard uncertainties would not by itself provide a deterministic guarantee; a probabilistic statement requires a specified joint probability distribution.[ref]
For an original example, let , and . Then , and the peak is . A threshold of gives . Bounds and leave . Raising the baseline bound to would remove this guarantee even though the nominal waveform still crosses the threshold.
A positive minimum separation does not specify the reset dwell time below threshold in an RC pulse train. A real electronic comparator needs enough time to switch, and the peak must separately exceed the acceptance threshold. For a Schmitt trigger, use the lower switching threshold in , while checking the upper one against the peak.
A focused bench test records the pulse generator output, capacitor output and electronic comparator output on an oscilloscope, then varies near the predicted boundary. Compare the measured minimum with the reset threshold and record the low interval as well as the minimum. The underlying exponential decay can be checked by the natural-response experiment in the MIT laboratory; the margin calculation above is an original application of that model.[ref]