Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

TXC oscillator aging compensation: do not divide a voltage rate by the tuning slope again

An oscillator compensation interface can carry two different payloads. One contains a frequency aging rate and a tuning slope so the controller can calculate a voltage adjustment rate. The other already supplies the voltage adjustment rate. TXC's public application describes both approaches. Check units before doing arithmetic: a value already in millivolts per day should not be divided by a slope in hertz per volt. Hardware and software should define separate fields for those payloads rather than guessing from a parameter name or a number with three decimal places.

Distinguish device parameters from a derived result

ParameterIllustrative unitMeaning
Frequency aging rateHertz per dayRate of frequency change at an expected time
Control-voltage slopeHertz per voltSlope of frequency versus control voltage
Voltage adjustment rateVolts per dayRate expressed in the voltage domain
DAC inputCounts or encoded wordRequires the actual conversion scale

The application separates the oscillator circuit generating the clock from the processor circuit producing its control voltage. In the first approach the processor obtains two values for the oscillator: the aging rate and the voltage-to-frequency slope. Dividing the former by the latter gives a voltage adjustment rate applicable to that oscillator. In the other approach the processor reads the voltage adjustment rate and does not repeat this division. The application describes nonvolatile storage in the oscillator circuit and provision through an interface. It does not publish a register map or production encoding for a commercial part.

A frequency aging rate is a slope, not accumulated frequency displacement. The document relates it to a predicted rate at an expected time. The tuning slope is not the control voltage at an instant; it is the frequency-versus-voltage slope of a relationship. The resulting voltage rate is not an absolute voltage setpoint, either. Label these quantities with units, timebases and meanings before allowing similar names to propagate through different software layers.

Compare both payloads with the same example

Assume a hypothetical oscillator has a positive drift rate of 0.12 hertz per day at the point of interest and a positive local tuning slope of 60 hertz per volt. The magnitude is 0.12÷60=0.002 volts per day, or 2 millivolts per day. To oppose an upward drift when positive voltage raises frequency, the applied adjustment in this example goes negative. An interface could store the positive quantity to be subtracted, or the negative signed increment ready to apply. A public diagram does not establish which convention a commercial implementation uses.

Now suppose the other path delivers the magnitude of 2 millivolts per day and the agreed direction information. Dividing 2 by 60 again changes both the number and the dimension; it is no longer a voltage per day. Code may execute without an error while supplying the wrong adjustment. During verification, two differently encoded synthetic inputs should lead to the same expected voltage-domain result. This catches a duplicated conversion without needing to alter a real device.

Where a device uses parts per million instead of hertz, express both frequency quantities in a consistent unit before dividing. A rate in ppm per day and a slope in hertz per volt require the nominal frequency for that configuration as part of conversion. Decimal appearance is not a unit. Check hour, day and second conventions against the software update period. This example shows dimensional conversion, not an assumption that aging remains linear over long periods.

Specify mode and parameter ownership together

Put both modes in the interface record. In raw mode, state the engineering units, sign, valid range and device association for the two fields. In direct mode, document whether the supplied voltage rate is the quantity to oppose or the increment to apply. Scale only what still needs scaling. For example, convert millivolts per day to volts per day if that is the software convention; do not call the tuning-slope conversion. Default mode, invalid values and read-failure handling must be project decisions, not additions inferred from a public block diagram.

Mark which device owns the aging rate, slope and derived rate. If a test station retains module A's parameters and uses them with module B, data attribution can be wrong even under the same part number. Bind the record to the device or calibration identity and verify re-reading after replacement. The disclosure relates these values to the oscillator itself. It supports checking their origin, not assuming every commercial series exposes them.

If an interface provides both raw parameters and a derived rate, they can support a controlled comparison. They need not match to the last displayed digit. Quantization, revisions and different applicable model points may affect the comparison. Say which field drives normal operation, which is diagnostic, and how missing data is handled. Otherwise logs can combine raw and derived numbers in a column with no indication of which conversion has already occurred.

Verify the conversion before checking the actual frequency

Use known synthetic inputs on a bench or in simulation to obtain predictable voltage-domain results. Compare both paths with the same units, signs and update period. Then check the DAC zero, valid range and voltage per code independently. A voltage rate does not give the code for each update. If the output is filtered or amplified, verify that the intended adjustment reaches the actual control node rather than assuming variables with similar names describe the same voltage.

When checking operating results, retain the reference, clock frequency, control voltage and time under matching conditions. Frequency moving toward its target does not eliminate other factors. Respect the range of the tuning slope and consider noise and temperature. Near zero slope or outside the relevant calibration range, increasing the adjustment is not a substitute for the specified fault handling. The numerical example validates a data path and conversion order, not a product's clock holdover or service life.

A procurement or maintenance handoff can request the field formats, whether they belong to an individual device or configuration, which path is active, who performs the conversion and who confirms frequency. If a document only says aging compensation is supported, leave the transfer mechanism unconfirmed. Do not fill in a supplier's register definitions yourself. The handoff then survives module replacement, controller changes and firmware upgrades without turning a published embodiment into a promise about an exact part.

Frequently asked questions

Can I write a value in mV/day directly to the DAC?

Not directly. Millivolts per day is a rate; the DAC accepts an encoding. Calculate the increment for the chosen interval, apply the agreed sign and conversion scale, and make sure the resulting physical voltage remains within range. Do not divide by the tuning slope again, but do not skip the code conversion.

If both rates are negative, is the sign of their quotient the update direction?

The input signs determine the quotient's sign, but the command also depends on whether the interface describes the drift to oppose or an already signed corrective increment. Use a known-direction test vector to verify the signs of both voltage change and frequency response, and check that firmware does not invert the command twice. Do not replace controlled protocol definitions or measurements with a convention assumed from experience.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.