Trigger & Timestamp for ADC Systems (Sync I/O + PTP Timing)
← Back to:Analog-to-Digital Converters (ADCs)
Trigger defines a shared event start; timestamp places samples and events onto a unified epoch so multi-card or multi-node data can be aligned and merged. Reliable timing comes from controlling both paths (deterministic trigger + disciplined timebase) and proving alignment with end-to-end Δt verification.
What this page solves (Trigger & Timestamp)
Trigger defines when capture starts; timestamp defines what time each sample or event belongs to. Multi-card alignment requires both a deterministic trigger path and a shared timebase, with a clear definition of where the timestamp is taken.
- “Multi-card / multi-host data does not line up in time.” Typical causes: different timebases, unequal trigger distribution delay, or mismatched tagging points.
- “Trigger arrives, but waveforms do not align.” Typical causes: trigger skew, different arming/qualification rules, or clock-domain effects around event capture.
- “What is owned by trigger vs timestamp?” Trigger = shared start condition; Timestamp = time label tied to an epoch/counter.
Scope boundary: JESD204 subclass/SYSREF details, clock phase-noise-to-SNR derivations, and high-speed link eye/eq topics belong to separate pages.
Definitions: trigger, gate, arm, timestamp, epoch, skew, latency
Clear terminology prevents misdiagnosis. The terms below separate what varies (jitter), what differs between channels (skew), and what is simply delayed (latency).
- Trigger: the event condition that starts capture (edge/level/qualified pattern).
- Gate: an enable that allows trigger events to pass only when intended.
- Arm: the ready state that accepts one valid trigger (often with re-arm rules).
- Timestamp: the time label captured at a defined point (sample, frame, or event boundary).
- Epoch: the shared reference (time-of-day) that makes timestamps comparable across devices.
- Latency: trigger-in to capture action delay (can be large, but must be bounded/predictable).
- Skew: channel-to-channel or card-to-card timing difference under the same trigger/timebase.
- Jitter: statistical variation around the mean timing (definition only on this page).
- Resolution vs Accuracy: resolution is the timestamp LSB step; accuracy is the error vs the true shared time.
Boundary note: clock phase-noise and jitter-to-ENOB/SNR derivations belong to a dedicated clocking page; this page uses jitter only as a timing-variation definition.
Why triggers fail: non-determinism sources (software vs hardware)
A trigger can be detected while the actual capture start time shifts from run to run. The root cause is usually a non-deterministic trigger path: scheduling, buffering, and transport stages introduce variable latency that cannot be bounded tightly. Hardware-triggered capture reduces variation by placing the trigger decision and arming logic close to the capture boundary.
- Software trigger latency is variable: user space timing is shaped by OS scheduling and driver paths, then widened by buffering (queues, DMA rings) and transport.
- Hardware trigger latency is bounded: a qualified trigger is routed through deterministic logic (gate/arm/qualify) into the capture start point.
- Practical symptom: average delay may look stable, but the run-to-run latency spread breaks repeatability and multi-card alignment.
Scope boundary: this section focuses on timing determinism (OS/driver/buffering/transport). High-speed signal integrity and link eye/eq topics belong to a dedicated link-integrity page.
Reference time architecture: timebase, discipline, and epoch
A timestamp is only comparable across cards and hosts when it is tied to a shared epoch and driven by a stable timebase. Multi-card systems often keep a local high-resolution counter and continuously discipline it to an external reference. The design goal is predictable time across drift, holdover, and topology changes.
- Syntonization: frequency alignment (rate match) to reduce drift.
- Synchronization: time alignment to the same epoch (shared time-of-day).
- Counter + Epoch: counter provides fine resolution; epoch provides meaning across devices.
- Disciplined clock: a control loop keeps local time close to the reference without exposing protocol details.
Scope boundary: this section explains timebase architecture and discipline. Detailed PTP message flows and network planning are not expanded here.
Trigger I/O design: sync I/O, GPIO gate, levels, isolation, fan-in/out
Reliable multi-card triggering is built from three elements: (1) a clear definition of a valid trigger (edge/level/pulse rules), (2) deterministic control of when triggers are allowed (gate + arm), and (3) predictable distribution and routing (fan-in/out). Long cables and field wiring require level compatibility and basic protection, without turning the trigger input into an EMC problem.
- Valid-trigger rules: edge/level mode, polarity, minimum pulse width, windowing, and debounce for noisy sources.
- Gate + Arm: gate controls the acceptance window; arm defines readiness and re-arm / re-trigger behavior.
- Fan-out: star distribution keeps path matching simple and reduces card-to-card trigger skew.
- Levels + field wiring: confirm logic levels and add basic protection (TVS/RC); consider isolation for ground shifts.
- Fan-in: when multiple sources can trigger, define priority or logic (OR/AND) inside the trigger matrix.
Scope boundary: this section covers trigger I/O qualification, gating/arming, and distribution with basic protection roles. Detailed surge/EMC design and high-speed link integrity belong to separate pages.
Timestamping methods: where to tag and what errors appear
Timestamp quality is primarily determined by where tagging happens. Tagging closer to the physical capture boundary reduces uncertainty from software, buffering, and transport. Tagging closer to the host simplifies integration but amplifies non-determinism. A usable design must also define how to handle counter rollover and clock-domain crossings.
- At ADC (or capture boundary): minimal path ambiguity; error is dominated by quantization and rollover handling.
- In FPGA / MCU: strong control of pipelines; watch CDC uncertainty and pipeline tagging offsets.
- In host: simplest integration; exposed to buffering and bus/OS timing variability.
- Quantization: timestamp LSB step (resolution limit).
- CDC uncertainty: event crosses clock domains before tagging.
- Pipeline tagging error: tag happens after variable or configurable stages.
- Buffering / bus jitter: queueing and transport variability (dominant near host).
- Rollover: counter wrap handling and epoch/counter re-binding rules.
Scope boundary: this section focuses on tagging locations and error terms. Detailed PTP protocol flows and clock phase-noise-to-ENOB/SNR derivations are not expanded here.
PTP-aligned multi-card timing: practical alignment patterns
Multi-card alignment requires a single time reference and a verifiable end-to-end mapping from trigger to timestamp. PTP provides time-of-day and disciplined time, while PPS and 10 MHz are often combined to harden epoch alignment and reduce drift. A successful implementation is validated by comparing timestamps for the same trigger event across cards, not by reading a single offset number.
- PTP: disciplined time and ToD for comparable timestamps across hosts and cards.
- PPS: epoch edge alignment for deterministic second boundaries.
- 10 MHz: syntonization to reduce drift and improve holdover behavior.
- End-to-end check: for one trigger event, compare multi-card timestamp deltas (mean and spread).
- Trigger distribution paths are unmatched (fan-out skew dominates).
- Tagging point differs across cards (ADC vs FPGA vs host).
- Pipeline or CDC uncertainty shifts the effective tag boundary.
- Host buffering and transport variability leaks into timestamps.
- Epoch/counter binding differs during lock or restart transitions.
Scope boundary: this section does not expand PTP protocol details or network planning. It focuses on how trigger and timestamp land on a unified PTP time and how alignment is verified end to end.
Skew budget & calibration: cable delay, asymmetry, path matching
Timestamp deltas across cards can be decomposed into a mean offset (often calibratable) and a spread (variation to reduce). The largest contributors are usually trigger distribution path mismatch, cable delay differences, and cross-domain timing boundaries around tagging. PTP asymmetry can shift the absolute time reference and appear as a stable bias even when local offset readings look healthy.
- Cable delay: length and medium differences create deterministic offsets.
- Path matching: fan-out topology and routing differences add trigger skew.
- I/O threshold: receiver threshold and conditioning shift effective edge timing.
- CDC: clock-domain crossings add uncertainty near capture and tagging.
- PTP asymmetry: directional delay imbalance biases epoch alignment.
- Inject a known event (test pulse or loopback) that reaches all cards through the same intended paths.
- Measure timestamp deltas (Δt) and separate mean offset from spread.
- Write per-card/per-channel compensation values, then re-run the Δt check to verify improvement.
Scope boundary: this section focuses on skew attribution and calibration using trigger and timestamp paths. It does not expand protocol-level PTP network design or detailed EMC/surge practices.
Verification: measuring trigger latency/skew and timestamp accuracy
Verification should produce repeatable outputs for both trigger and timestamp paths. Trigger testing focuses on latency (absolute delay) and skew (card-to-card difference). Timestamp testing focuses on offset (mean delta) and spread (variation over runs), using the same event observed by multiple cards. A good acceptance plan validates end to end rather than relying on a single PTP offset readout.
- Trigger latency: Trigger In → capture start or Trigger Out.
- Trigger skew: difference between cards for the same distribution event.
- Timestamp offset: mean of multi-card timestamp deltas (calibratable bias).
- Timestamp spread: run-to-run delta variation (stability to reduce).
- Pick a reference card (e.g., Card A) and align events by sequence number or the same trigger ID.
- For each event i, compute deltas: ΔtB[i] = tB[i] − tA[i], similarly for other cards.
- Report mean(Δt) as offset and a distribution metric (spread) such as standard deviation or percentile width.
- If counters roll over, unwrap before computing deltas; if tag points differ (ADC/FPGA/host), deltas are not comparable.
Scope boundary: this section describes practical validation setups and delta computations. Detailed oscilloscope metrology, EMC troubleshooting, and protocol-level PTP analysis are not expanded here.
Engineering checklist for trigger + timestamp systems
A robust trigger-and-timestamp design is easier to deliver when requirements, implementation details, calibration hooks, and validation steps are captured as a single checklist. The groups below are written as fillable engineering items for reviews and release gates.
- Max skew (card-to-card)
- Max trigger latency
- Timestamp resolution (tick)
- Holdover time
- Operating temperature range
- I/O levels (logic standard)
- Isolation needed (yes/no)
- Fan-out topology (star preferred)
- Cable plan (length match, labeling)
- Protection role (TVS/RC/limit)
- PTP role (clock source / client)
- PPS usage (epoch align)
- 10 MHz usage (syntonize)
- Discipline mode (lock / holdover)
- Asymmetry plan (measure / compensate)
- Gate / arm logic (state machine)
- Re-arm rules and trigger qualification
- CDC handling (synchronizers)
- Rollover handling (unwrap, rebind)
- Tag point (ADC / FPGA / host) and format
- Loopback tests (end-to-end Δt)
- Cable skew test (instrument-based)
- Temperature drift test (offset vs temp)
- Long-run stability (mean/spread over time)
- Restart / relock behavior (epoch binding)
Scope boundary: the checklist lists integration and verification items for trigger and timestamp behavior. It does not replace dedicated EMC/surge or protocol-level timing design documents.
Applications: where trigger + timestamp actually matter
Trigger is used to start a shared capture window or define a common “event zero”. Timestamp is used to place samples and events onto a unified time axis so that multiple cards, nodes, or machines can merge, compare, and correlate data. The examples below describe only the timing roles, without expanding into full application systems.
- Distributed DAQ: trigger aligns capture start across nodes; timestamps allow multi-node streams to merge into one timeline.
- Radar / SDR capture: trigger marks burst / frame boundaries; timestamps align multi-card channels for coherent processing.
- Power transient recorder: trigger freezes fast windows around events; timestamps correlate transients with external logs and instruments.
- Time-correlated sensor fusion: trigger enables synchronous capture when needed; timestamps align heterogeneous sensors to a shared epoch.
IC selection logic: inquiry fields and decision rules (with example part numbers)
Selection should be driven by verifiable timing requirements rather than by a part number first. The most effective output for procurement and vendor communication is a structured list of specification fields plus pass/fail decision rules. Example part numbers below serve as capability anchors for inquiry comparisons and are not endorsements.
- Input type (edge / level / pulse width)
- Qualifier / debounce support (presence and granularity)
- Re-arm / re-trigger rules (minimum interval, lockout, latch)
- Trigger matrix capabilities (fan-in, fan-out counts)
- Propagation delay (typ/max) and channel-to-channel skew spec
- Distribution topology support (star fan-out practicalities)
- Resolution (tick size) and update rate
- Accuracy target (relative alignment vs absolute ToD)
- Where-tag option (ADC boundary / FPGA / host)
- Format (epoch + counter, nanoseconds, sequence ID)
- Rollover behavior (period and unwrap method)
- CDC handling expectations (deterministic vs best-effort)
- IEEE 1588 profile support (declared compatibility)
- Hardware timestamping availability (yes/no and location)
- Holdover behavior (spec and mode)
- PPS / 10 MHz I/O availability (ports and direction)
- Asymmetry plan (measure / compensate / document)
- Multi-card alignment method (PTP only / PTP+PPS / PTP+PPS+10 MHz)
- Calibration support (cable/path offsets, per-card tables)
- Temperature drift metrics (offset vs temperature)
- Long-run stability metrics (mean/spread over time)
- Restart / relock behavior (epoch binding consistency)
- End-to-end Δt verification (mean + spread) must be feasible with the chosen tag point.
- Tag point must be consistent across cards and documented (ADC boundary / FPGA / host).
- Deterministic or bounded trigger latency must be supported for multi-card alignment.
- Calibration hooks must exist (offset tables, loopback paths, measurable inputs).
- Holdover mode must be specified for loss-of-lock conditions.
- Test evidence must be available (loopback Δt, temperature drift, long-run stability, restart behavior).
- PTP / DPLL / disciplined clock: Renesas 8A34001 · ADI AD9545 / AD9548 · Microchip ZL30793
- Clock / SYSREF distribution (example class): TI LMK04828 · ADI HMC7044
- Low-skew fan-out buffer (example class): TI CDCLVD1212
- PTP-capable Ethernet building blocks (example class): Microchip KSZ8463 · Microchip VSC8572
- High-speed ADC with deterministic sync hooks (example class): TI ADC12DJ3200
FAQs: Trigger & Timestamp (multi-card / multi-node timing)
These FAQs focus on practical alignment: separating trigger vs timestamp responsibilities, reducing non-determinism, binding to a unified epoch, and verifying results end to end using measurable Δt (mean and spread).