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

In a differential clock mask test, how many failures does one hit represent?

A differential clock edge strays into an eye mask. One oscilloscope reports five hits, while another reports one failed waveform. Before sending either figure to quality, check what each counter counted. One edge can contain several forbidden samples, and one waveform record can contain several affected edges. The report should let someone return to the raw record and identify the numerator and denominator for whichever unit was used, whether samples, clock periods or acquired waveforms.

Check the exact definition of each counter

Two Tektronix examples. The TDS5000B manual defines Total Hits as the number of data points that violated the mask and Failed Wfms as the number of failed waveforms. On the 5 Series B, the Mask Test badge uses Tested for waveforms checked and Failed for waveforms containing one or more violating samples. Cons tracks the longest run of consecutive failed waveforms. An optional Seg n counter counts waveforms that violated that segment at least once. A single waveform can increment two segment counters while contributing just one to Failed. Tektronix TDS5000B mask-test summary, Tektronix 5 Series B Mask Test readouts.

Keysight and Rohde & Schwarz examples. On the Keysight InfiniiVision 2000 X-Series, # of Tests is the total number of mask tests executed. The Failures field for each channel counts acquisitions with a mask violation. The Rohde & Schwarz RTO2000 offers sample hit or waveform hit as its failure condition. For comparisons across scopes, record the model, firmware and selected settings, then map each displayed field to the agreed numerator and denominator. When acceptance is defined per cycle but the scope reports failed acquisitions, use the saved records to count affected cycles with the agreed period boundaries. Keysight 2000 X-Series Mask Statistics, Rohde & Schwarz RTO2000 sample and waveform failure conditions.

Count the same capture three ways

For an example, divide a 50 MHz differential clock into full 20 ns periods. Assume that each frame contains 100 complete tested periods and that 1,000 frames are saved and tested without duplicate observations. Only one frame has violations. Two different periods in that frame contain three and two sample points in the same forbidden region. For this calculation, count each saved sample inside the region once.

  • By waveform. The failure fraction is 1 / 1,000, or 0.10% of tested records. Both affected periods are in that one waveform.
  • By clock period. The affected fraction is 2 / 100,000, or 20 ppm of tested periods. Verify that the specified periods were actually checked. A frame's duration alone cannot establish that.
  • By sample. At 5 GS/s, if each frame includes all 10,000 samples from a 2 µs test window and each sample belongs to one window only, the hit fraction is 5 / 10,000,000, or 0.5 ppm of tested samples. If only a gated portion is tested, use the number of samples actually checked.

These three fractions describe the same set of records. A higher sample rate can put more points inside one violation while the affected cycle and record counts stay the same. A claim of five separate incidents also needs an event definition. For example, use one event per control operation, or specify how far apart crossings must be to count as separate events. Then use the corresponding exposure as the denominator. Verify how the specific scope or offline rule handles points on the mask boundary and crossings that appear only between recorded samples. Tektronix discussion of mask-test statistics.

Verify the mask and counters before the acceptance run

  1. Fix the mask and alignment. Record whether the test uses receiver-side differential voltage V+ − V−, a single-ended swing or an interface-defined eye. Save the mask file and coordinates and state whether the axes are volts or normalized amplitude, and nanoseconds or unit intervals. At 50 MHz the complete clock period is 20 ns. A 50% duty-cycle clock has 10 ns between opposite-polarity transitions, but the interface defines which interval the mask uses. Record fixed or recovered timing as well. Aligning every record to the observed edge can hide the timing movement under investigation.
  2. Check a known result. Start with a known clean signal to verify normal counting. If your scope supports replay, use a capture with a known pair of violating periods and compare its sample and waveform counts. Otherwise use a test signal with known excursions or a temporary mask that deliberately covers a known edge. Save the raw acquisition and check it point by point. Restore the acceptance mask and alignment, then confirm the starting counter values for the official run.
  3. Define coverage and the stop rule. Record bandwidth, effective sample rate, record length, any averaging or interpolation, the trigger gate and actual tested population. Compare runs with the same unit and target count. Stop-on-first-hit is useful for localization. Run a fixed-population test for a comparable hit fraction. Acquisition rearm gaps can miss events, so an hour of elapsed time cannot establish that every period was tested.

Report zero hits as an observation and retain the first and last violations

Suppose acceptance allows zero affected cycles in 100,000 eligible periods at a specified temperature, supply and clock state. After confirming coverage and finding no violations, report 0 / 100,000 affected periods under those conditions. If each period is an independent Bernoulli trial with the same occurrence probability, the one-sided 95% upper confidence limit after zero hits is 1 − 0.051/N. At N = 100,000 that is about 30 ppm. A supply disturbance or clock transition can affect several neighboring cycles, so check the independence assumption. The mask hit rate describes forbidden waveform excursions. Measure bit errors separately using a known data sequence and the receiver's decisions. NIST exact one-sided binomial confidence limits.

For any violation, keep the raw first and last records with acquisition times, frame and period identifiers, and relevant control traces from the same capture. Check probe contact, local ground, supply and resets before repeating the test. If violations cluster after a source change or enable event, report transition and steady-state coverage separately. Give the supplier the mask, count definitions, actual exposure and stop reason along with the captures so they can reproduce the comparison.

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.