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 equationThe 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 givesIf , 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 givesHere 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 givesThese are model calculations, not recorded instrument traces.
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 isFor 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]
Laboratory 11: Sinusoidal Steady State Response of RC and RL Circuits by MIT OpenCourseWare. Printed pp. 1–2, component values and decay/phase measurements
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 time above threshold for an RC-filtered rectangular pulse is the separation of its rising and falling threshold crossings, rather than the applied pulse duration. In the relaxed first-order model, put with and . The parent crossing calculation givesThis excludes comparator propagation dynamics and uses the same threshold on both edges. A Schmitt trigger with unequal switching thresholds needs a different formula.
The positive-width relation can be inverted exactly:Its derivative is . Thus a measured positive determines a unique input duration under the stated model. A zero-width observation does not: all rejected durations have that same outcome.
For an original example, take , and . The output remains above threshold for about , longer than the input pulse because of its decaying tail. Substitution into the inverse relation recovers .
For long pulses, tends to . It is positive below a half-height threshold and negative above one. At exactly half height, for every finite accepted pulse, with the difference tending to zero for long pulses. Consequently a measured above-threshold width cannot be equated to the input width without the threshold and filter model.
A pulse-generator/oscilloscope comparison can record both widths while varying threshold. The measured RC decay should be checked independently, using the natural-response method in the primary MIT laboratory.[ref]
Laboratory 11: Sinusoidal Steady State Response of RC and RL Circuits by MIT OpenCourseWare. Printed pp. 1–2
Initial residual charge, hysteresis, and different rising/falling comparator delays alter the observation; the algebra above only inverts the ideal capacitor waveform.