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

Does a sawtooth in a 10 MHz phase comparison indicate loss of lock?

Connect a sample and a bench reference to a phase comparator. The trace rises, reaches a full turn and suddenly drops to the bottom. It does the same thing again a few seconds later. Check whether the instrument reports an angle that wraps every turn or tracks the whole-cycle count. A readout limited to one cycle folds full turns away. Even two sources both rated at 10 MHz can have a small frequency difference, causing their relative phase to drift until the displayed angle wraps to the other end of the plot. To determine whether lock actually failed, examine the original signals and instrument status.

One reported angle can represent several full-cycle counts

Phase unwrapping adds or subtracts whole turns to recover a continuous phase reading. It can use a hardware cycle counter, or sufficiently dense samples and a known bound on the frequency difference to establish the direction at each wrap. In a record ranging from −180° to +180°, the solution closest to the previous unwrapped angle is often valid at a boundary crossing. A long gap or a frequency hop can leave the number of turns between observations unknown. Keep separate segments and quality flags. A software default cannot establish absolute phase across an ambiguous gap. NIST’s material on phase comparison discusses the whole-cycle ambiguity and how to record it.

Worked example with assumed values. Define angle as sample phase minus reference phase. The instrument reports from 0° up to, but not including, 360°. Four readings 1 s apart are 342°, 18°, 54° and 90°. With each change known to be smaller than half a turn, the unwrapped sequence can be 342°, 378°, 414° and 450°. Its slope is 36°/s, so the sample runs 0.1 Hz faster than the reference. Dividing by 10 MHz gives 10 ppb. These values are for illustration. Subtracting 342° directly from 18°, then dividing by 360° and by 1 s, gives a false −0.9 Hz jump. Review three raw points around the boundary and the defined wrap range to verify the conversion.

Consider the same example when a retry changes an expected 1 s interval to 10 s. At 0.1 Hz, the relative phase advances one complete turn in 10 s and the displayed angle is identical to the previous point. If the script assumes the regular interval and unwraps using minimum change, it may plot the point as though there were no frequency difference. Check instrument timestamps to verify the spacing. When the number of turns across an interruption is ambiguous, retain separate segments. If the project requires the entire phase record, acquire another continuous run.

Run two brief bench comparisons

First split one reference into both comparator channels. Terminate the outputs and inputs as specified and keep amplitudes within the valid range. If the common-source comparison has no sustained slope, the setup shows no relative frequency difference during that run. Cable length and connectors can still cause a fixed offset. Verify that both inputs are within capture range and review lock, overload and missing-data flags. Swap channels once to confirm the phase sign reverses as expected. Use independent low-noise sources or a dual-source instrument with a controlled offset to make a known small frequency difference. Repeat at two sampling rates and check whether observed wraps and the unwrapped slope agree with the test conditions.

To investigate a possible loss of lock, check amplitude, instrument status and reacquisition around the event. A power interruption or intermittent connector can bring the signal below threshold and leave the comparator without valid data. Reacquisition by a real PLL can also change the observed phase. Capture supply, reference input and a status pin together, keeping observations on both sides of the event. Regular sawteeth with normal companion signals and a smooth unwrapped slope are consistent with display wrapping. A jump that departs from the continuous trend and coincides with an alarm deserves a separate investigation.

Preserve the original angles in the measurement record

For frequency stability reports, retain raw angles, the wrap range, timestamps, subtraction order, unwrapping method and instrument quality status. A continuous phase slope gives the frequency difference. For absolute device frequency, include the accuracy and traceability of the external reference. When the compared frequencies differ, identify the comparison or prescaling method and the period represented by a full turn before conversion. A line drawn across the graph at the boundary cannot identify when a device fault happened.

Weak signals can produce isolated bad readings. If the software treats a single false crossing as an additional turn, all later unwrapped points may be offset by one cycle. Log failures and recovery outside the plot, fit slopes before and after each gap separately, and use elapsed time to determine which whole-cycle counts are plausible. Similar slopes on either side mean the two segments behave similarly. Joining their absolute phase requires additional count information. Review timestamps for generator adjustments and instrument resets before treating an operator-induced step as a device event.

If the project needs to distinguish loss of lock, phase jumps and tracking recovery, use a known slope example in method qualification. Save raw logs and time-aligned traces when a borderline sample shows a break. Check the unwrap rule before moving it to a different instrument. Decide the sample’s disposition after the evidence separates an algorithm boundary, an acquisition gap and a real change in the clock.

References

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.