An industrial DC calibrator, after replacing the reference source, shows low-voltage standard signals that remain essentially consistent. However, the recorded wait time for each conversion changes. These two records are not contradictory: for an ideal dual-slope measurement, if both the input integration and reference de-integration use the same time base, the DC result depends on the ratio of counts over the two intervals, and a stable common frequency offset cancels out in the ratio. But the actual wait time depends on the duration of each cycle and cannot be canceled out. Before selecting the crystal oscillator, distinguish whether to preserve the static ratio reading or the device-specified conversion rhythm.
Using an independent low-voltage DC voltage verification board as an example, only the synthetic records and saved internal design documentation are interpreted; no mains power is connected, and no inferences are made regarding the internal circuits of any currently sold complete units. Not all analog-to-digital converters employ dual-slope integration; some integrating devices also include auto-zeroing, pre-charging, or subsequent processing, with completion times that do not equal the simple sum of the two paragraphs below. The purpose of the example is to isolate a procurement decision, not to establish clock specifications applicable to all instruments.
Integrate the input, then return to zero with a known reference
The ideal dual-slope conversion operates in two stages. In the first stage, the unknown DC voltage is applied, and the integrator runs for a fixed number of clock cycles; a larger input results in a greater accumulated charge at the end of this stage. In the second stage, a known reference voltage of opposite polarity is applied, and the counter records the number of cycles required for the integrator to return to the specified endpoint. Within the same scaling model, the accumulated charges in both stages are equal; therefore, the ratio of the unknown voltage to the reference voltage corresponds to the ratio of the count in the second stage to the count in the first stage.
There are two necessary prerequisites: the two segments must use the same and sufficiently stable valid counting period during a single conversion, and the integrator must operate within the valid range without input variations, leakage, or end-point errors large enough to invalidate the assumption. If the first and second segments do not share the same time base, or if the software modifies the prescaler without proportional scaling, then examining only the two counts is insufficient to recover the true time ratio. In other words, it is not that "the oscillator speed is unimportant," but rather that "the same time scale appears twice in this calculation."
The same equation introduces a practical risk: if a factory uses a DC standard and observes that the display remains correct, they may assume the clock has also been re-verified. However, if changing the material causes a timing offset while the DC ratio remains unchanged, the static pass will not expose this issue. It is only when the upper-level wait for conversion results exceeds the original margin, causing the automatic acquisition and comparison windows to misalign, that engineering personnel discover the measurement rhythm differs from that of the old board. Therefore, acceptance testing must record the actual conversion time and the measured ratio, rather than simply discarding a single reading against a label.
The ratio of 10,000 to 2,500 clock cycles survives a common frequency change
Assuming the calibration board integrates for 10,000 clock cycles in the first segment with a reference voltage of 4 V and an input of 1 V, under an ideal model with quantization error neglected, the second segment requires 2,500 clock cycles to return to the endpoint. If both segments are clocked at 1 MHz, the durations are 10 ms and 2.5 ms, respectively, yielding a count ratio of 1/4. If the same clock is simulated at 0.99 MHz, the durations become approximately 10.101 ms and 2.525 ms, respectively. Since the scaling factor by which both segments lengthen is identical, the count ratio remains 1/4 and the ideal reading stays at 1 V; however, the sum of the actual elapsed times for both segments changes from 12.5 ms to approximately 12.626 ms.
A 1% shift is deliberately large enough to make the effect visible. It does not describe drift in a qualified crystal oscillator. If the first stage stays at 0.99 MHz and the second alone runs at 1 MHz, the first stage accumulates more than it would at 1 MHz, and the second must count longer to return to zero. The two clock periods no longer cancel. If the software still takes the count ratio alone, it reports an idealized 1.0101 V. Integer count, comparator delay and reference error affect real hardware, so this example does not set acceptance limits.
| Comparison | Measure separately | Conclusion not established |
|---|---|---|
| Both stages share a clock whose frequency changes | Both stage durations and total conversion time | An unchanged DC reading means unchanged wait time |
| One stage switches to a different divider or clock | Actual tick duration in both stages and count ratio | The old common-clock formula still applies |
| Timing is correct, but DC indication is biased | Reference voltage, integrator and endpoint error | A correct clock rules out analog error |
| Indication is correct, but software sometimes misses the result | Completion time and software deadline | A static DC check closes the issue |
Verify the 1 MHz candidate and the actual conversion clock
The SX3M1.000M20F30TNN from SCTF is a 1 MHz CMOS oscillator. The corresponding product specifications include a supply voltage range of 1.62 to 3.63 V, an operating temperature range of -40 to +85 °C, a frequency tolerance of ±20 ppm, and a frequency stability of ±50 ppm. When used on a proprietary low-voltage prototype, verify the actual received interface, output load, and project clock error definition; do not arbitrarily sum the two frequency difference fields without distinction. The rationale for selecting this frequency point is to provide a common time scale for two segments and meet the overall system timing rhythm, not to assume that the model name allows replacement of any internal oscillator within an instrument.
R&D validation should display two columns of data: one showing the DC result observed under a controlled low-voltage standard input, and another recording the conversion duration captured under an independent time reference. Using a known set of input ratios allows distinguishing between fixed-step segments and anti-integration segments whose length varies with the input; relying on a single fixed DC point may inadvertently miss the slowest input condition. Do not substitute the speed of full-screen screen updates for the actual completion of conversion, nor equate the time when a formatted numerical value is received on the serial port with the moment the integrator resets to zero.
Additionally, since the integration window changes in real time, it may affect suppression of periodic interference. Even if the static ratio in this document remains unchanged, one cannot infer that noise and anti-interference acceptance criteria remain as stated. Interference at the target frequency must be handled using the original simulation verification method for the project; merely increasing the nominal oscillator frequency does not guarantee an improved window. If the table includes measurement timeout limits, the specification must explicitly define which auto-zero, wait, and transfer times are included, rather than estimating how fast a single conversion can be.
If a project must simultaneously preserve two counter segments and total elapsed time, the counter pin test points should be explicitly marked, rather than relying solely on the nominal frequency of the motherboard crystal oscillator. A common division of labor involves the hardware team confirming the valid counting cycle, the analog engineer confirming the reference and integration endpoint, and the test personnel using an independent time scale to verify conversion latency. Assigning an owner to each data column prevents the situation where, after a timeout, it becomes unclear whether the software and hardware are synchronized starting from the same clock edge.
Frequently asked questions
Does a correct DC measurement remove the need to verify the oscillator? A common time base can cancel in the count ratio, leaving this static test insensitive to a shared frequency error. Keep separate records for the effective clock and total conversion time.
Will switching to a higher-accuracy same-frequency crystal oscillator improve voltage accuracy? Under this ideal common time-base model, merely improving common frequency accuracy will not yield a more accurate DC ratio; the true voltage reading also depends on reference and analog errors. A calibrated time base can still serve real integration durations, output result pacing, and other budgeting needs, provided the project actually requires that portion of the margin.
