AWG / Function Generator: DAC, Filters, Calibration & Output Buffer
← Back to: Test & Measurement / Instrumentation
An AWG/function generator is judged by the waveform delivered at the DUT port—amplitude accuracy/flatness, timing/phase repeatability, and spectral purity—not by DAC bits or sample rate alone. A solid design combines a clean high-speed DAC and clocking with reconstruction filtering, robust output buffering, and calibration/self-test loops that keep performance repeatable and traceable from lab to field.
H2-1 · What an AWG / Function Generator actually guarantees
The real promise is not “what the DAC generates,” but what arrives at the DUT port. Sampling rate and bit depth are ingredients; the delivered waveform is a port-level system result shaped by timing, analog reconstruction, output buffering, and calibration.
- Amplitude: accuracy, flatness vs frequency, offset, range consistency under the intended load (50 Ω / Hi-Z).
- Time: trigger-to-output repeatability, phase coherency on re-trigger/burst, channel-to-channel skew (multi-channel).
- Spectrum: noise floor, spurs, and distortion (SFDR / THD / IMD) that determine “cleanliness” at the port.
- Function generator (DDS/NCO): best for continuous waveforms with strong phase continuity and fast frequency changes.
- AWG (ARB / memory + sequencer): best for custom transients, long sequences, segmented patterns, and deterministic bursts.
- Hybrid: combines coherent carrier generation with programmable envelope/segments, but relies heavily on calibration and timing alignment.
“14-bit, 1 GS/s” can still deliver poor results when reconstruction filtering, output buffering, load behavior, and calibration are not designed as a single port-level chain. If performance changes sharply with load (50 Ω vs Hi-Z), range, or temperature, the limitation is often port delivery rather than the DAC headline spec.
Under the specified frequency band and load, the amplitude error / phase repeatability / SFDR meet targets and remain repeatable across ranges and temperature corners used by the application.
H2-2 · Architecture map: DDS, ARB, and Hybrid (NCO + interpolation + memory)
Different architectures trade waveform freedom, phase coherency, and spur behavior. The purpose of this map is to locate every later discussion (DAC, reconstruction filter, output buffer, calibration) on a single signal path.
- DDS / Function: strongest phase continuity for CW tones; typically limited by algorithm/LUT choices and output chain.
- ARB (memory + sequencer): best for transients and long/segmented patterns; must manage segment boundaries, switching delay, and marker alignment.
- Hybrid: coherent NCO carrier plus programmable segments/envelope; powerful but depends on tight timing and calibration tables.
- Waveform memory → long patterns drift or repeat with boundary artifacts if formatting/quantization is not controlled.
- Sequencer → segment transitions can create short spikes/steps; marker timing may slip during jumps.
- Interpolation / NCO → mode changes can reshuffle deterministic spurs and images; phase continuity needs explicit handling.
- DAC interface → data/clock relationships can turn into repeatable spurs and “mysterious” frequency-dependent artifacts.
- Trigger / marker path → burst start phase and latency repeatability degrade when timing is not coherently referenced.
- Calibration injection → without frequency/range/temperature tables, port flatness and phase alignment usually drift.
- Need long sequences and segment programming? Favor ARB / Hybrid.
- Need strict phase continuity on re-trigger/burst? Favor DDS / Hybrid with coherent timing.
- Need multi-channel coherency? Prioritize shared reference + calibrated skew/phase alignment at the port.
- Phase continuity: repeated trigger/burst overlays should start with stable phase (small distribution, not random drift).
- Segment boundary glitch: zoom the A→B boundary; check for spikes/steps that exceed the allowed transient budget.
- Sequence latency: measure marker-to-waveform alignment across sequence paths; confirm repeatable timing.
H2-3 · High-speed DAC: root causes that turn into SFDR spurs
In an AWG, many “mysterious” spurs are not random—they are deterministic fingerprints of DAC mechanisms. The goal is to map each visible spur pattern to a small set of root causes that directly affect port-level SFDR.
- Static linearity (INL/DNL, segmented mismatch): repeatable spurs that strongly depend on frequency ratio and code periodicity.
- Dynamic glitch (switch transients, code-edge charge injection): spurs that worsen with large transitions, high output level, or mode changes.
- Clock coupling (clock feedthrough / timing coupling): spurs whose positions move with sample-rate, interpolation mode, or clock routing changes.
- Reference / supply modulation: symmetric sidebands and “breathing” spurs that track system activity, temperature, or power conditions.
- NRZ: holds the value for the whole sample; image distribution and high-frequency energy depend strongly on interpolation and reconstruction filtering.
- RZ / RTZ: returns toward zero within each sample; the out-of-band energy shape changes, often shifting filter pressure and spur visibility.
The key point is not “better vs worse,” but that update mode can reshuffle the spur pattern by changing how energy spreads near Nyquist and beyond.
Periodic waveforms create repeating code sequences. Any repeating DAC error (mismatch, timing skew, edge transient) can add coherently in frequency, producing discrete spurs. When the output tone forms a short repeating pattern relative to the sample clock, spur energy can concentrate more strongly, making specific frequency regions look disproportionately bad.
- Single-tone sweep: step frequency across the target band; record SFDR and top spurs (offset + level).
- Amplitude sweep: repeat at multiple output levels; strong level dependence suggests nonlinearity/glitch or output stress.
- Temperature sweep: repeat at hot/cold corners used in operation; drift suggests reference/supply or mismatch sensitivity.
- Mode sweep: change interpolation/update mode or sample rate; spur movement is a strong hint of clock-coupled mechanisms.
H2-4 · Clock & Trigger: how jitter becomes amplitude error
Timing noise is not an abstract number. For high-frequency outputs, sampling jitter converts time error into amplitude noise, raising the noise floor and reducing usable dynamic range. Trigger quality determines whether waveform start phase and latency are repeatable.
SNR_jitter ≈ −20·log10( 2π · f_out · σt )
- Higher f_out makes the same σt much more damaging (high-frequency tones “pay” for jitter).
- Use the equation to back-solve σt from a target SNR/SFDR budget at the highest required f_out.
- Start phase: repeated triggers should launch the waveform with stable start phase (not random rotation).
- Retrigger: repeated runs should keep phase and timing within a tight distribution at the port.
- Burst: envelope edges and marker alignment should remain consistent across bursts and sequence paths.
- Skew: channel-to-channel time offset must be measurable and correctable to maintain alignment.
- Phase: coherent channels require a shared reference and calibrated phase relationship at the output ports.
- Shared reference vs independent clocks: shared references simplify coherency; independent clocks tend to widen phase distributions over time.
- Repeat trigger N times: measure arrival-time distribution (latency spread) and phase distribution (start phase spread).
- Sweep f_out: check whether distributions worsen at higher frequency, consistent with jitter sensitivity.
- Multi-channel run: measure skew distribution and phase difference distribution at the ports.
H2-5 · Reconstruction filter: why “flatness” is a system property
A reconstruction filter is not just a component after the DAC. It is a port-delivery control element that sets the trade space between passband flatness, image suppression, and phase / group delay behavior. As a result, “flatness” is rarely guaranteed by the DAC alone— it emerges from the entire chain (update mode + interpolation + filter + buffer + load).
- Suppress Fs ± Fin images and DAC high-frequency energy so the DUT only sees intended content.
- Stabilize passband flatness so amplitude calibration does not collapse away from a single “sweet spot” frequency.
- Manage phase / group delay so time-domain waveforms (edges, bursts, shaped pulses) stay predictable.
- Flatness vs image suppression: steeper cutoff often improves images, but can increase ripple or complicate calibration.
- Phase linearity vs steepness: “gentler” filters often keep group delay smoother; very sharp edges can distort pulse shapes.
- Waveform type matters: a clean single-tone may tolerate more phase ripple than a burst/pulse that must keep edges and timing.
Pulses and steps contain wideband energy. The reconstruction filter shapes that energy: sharper frequency cutoffs tend to create more visible overshoot and ringing. Passband ripple and non-smooth group delay can further reshape edges and burst envelopes. For time-critical patterns, group delay smoothness is often as important as amplitude flatness.
- Magnitude sweep: passband amplitude vs frequency (flatness map).
- Phase / group delay: smoothness across the band (time-domain risk indicator).
- Image suppression: compare image energy before/after filtering (no need for absolute units to see the trend).
H2-6 · Output buffer & 50Ω drive: the port is the product
Users do not buy a “DAC pin.” They buy a specified waveform at the output port. The output buffer, range switching, offset injection, protection, and thermal behavior determine whether amplitude accuracy, distortion, and repeatability hold under real loads and cables.
- 50Ω load demands higher current and stresses output swing; amplitude and distortion are typically harder at high frequency.
- Hi-Z load can look “cleaner,” but can mislead if the real application expects 50Ω termination or long cable behavior.
- Specifications must be read as load-conditional: “meets flatness and SFDR at the port under the intended termination.”
- Bandwidth & drive limits: output stages compress or add distortion as frequency and swing increase.
- Load sensitivity: heavier loads (50Ω, long cables, imperfect terminations) amplify gain error and nonlinear behavior.
- Thermal rise: higher output power raises temperature, shifting gain and distortion unless the system compensates.
- Range switching changes gain paths; consistency across ranges is a key part of “port accuracy.”
- Offset injection is a port feature; it must not destabilize noise floor or distortion beyond the stated limits.
- Protection (short/over-current/over-temp) should fail predictably and recover cleanly without corrupting normal performance.
- Loads: compare 50Ω vs Hi-Z (and a representative cable condition).
- Amplitude & frequency: test low/mid/high frequency with small/mid/near-full-scale swing.
- Metrics: track amplitude error, distortion/SFDR, and changes from cold start to thermal steady state.
H2-7 · Amplitude/phase calibration: flattening, compensation & predistortion
Calibration is what turns “good hardware” into repeatable port delivery. The same DAC and output chain can behave like a higher-grade AWG when amplitude flatness, phase vs frequency, and channel-to-channel coherency are corrected with the right coefficient structure and application points.
- DC layer (offset / gain): establishes a reliable baseline so higher-frequency corrections stay meaningful.
- Amplitude vs frequency (flatness): reduces frequency-dependent gain error across the specified band at the port.
- Phase vs frequency: stabilizes phase slope/shape so bursts and shaped waveforms remain predictable.
- Multi-channel consistency: aligns channel-to-channel amplitude/phase/skew to enable coherent outputs.
Coefficients must be indexed in the same way the output chain changes. A single “one-size table” often fails because the signal path is not constant.
- Range-indexed: each gain/attenuation path has distinct errors and must be corrected independently.
- Temperature-indexed: use buckets or corner points so drift does not leak into “flatness” and phase performance.
- Band/mode-indexed: correction density can change by band; mode changes (interpolation/filter setting) may warrant separate sets.
- Works best when output-chain nonlinearity is stable, modelable, and within the intended bandwidth and load condition.
- Degrades when behavior changes sharply with temperature, range switching, protection limiting, or heavy load/cable sensitivity.
- Practical framing: predistortion is a targeted “port polish” for specific waveforms and bands, not a universal cure.
- Flatness curve: amplitude vs frequency improvement across the band.
- Phase curve: phase vs frequency (or equivalent delay shape) improvement.
- Distortion improvement: IMD / ACPR trend reduction under the same band, range, and load condition.
H2-8 · Spur management: traceable causes and systematic suppression
Spurs become manageable when treated as fingerprints, not mysteries. The most useful approach is to classify spur shapes, then run a small multi-dimensional test matrix to see how peaks move with frequency, amplitude, and mode. This isolates the dominant coupling paths that are actually controllable inside the AWG.
- Deterministic (code/clock related): stable line spurs that may move with sample-rate or mode settings.
- Intermodulation (nonlinearity): grows strongly with output level and worsens in “high-frequency + large swing + heavy load.”
- Modulation (coupling): symmetric sidebands or a raised noise skirt that tracks system activity or ripple.
- Clock & synchronization: stabilize repeatability first, otherwise spur readings drift and diagnosis fails.
- Output-chain linearity: reduce IMD-like behavior before relying on “cosmetic” digital fixes.
- Filtering: reduce out-of-band energy that makes certain spur components visible at the port.
- Digital compensation: apply targeted corrections after the dominant path is controlled.
- Strong amplitude dependence → suspect nonlinearity / compression / range path behavior.
- Moves with sample-rate or interpolation mode → suspect clock- or digital-path coupling.
- Symmetric sidebands / noise skirt → suspect modulation-style coupling (ripple / activity).
- Jumps with range switching → suspect range switch coupling and path discontinuities.
- Matrix: sweep fout × amplitude × mode (mode = interpolation/filter setting that can be toggled).
- Record: top spurs (frequency offset + relative height) and whether a noise skirt appears.
- Goal: link each spur family to a dominant coupling arrow (clock / digital / PSU ripple / range switch).
H2-9 · Reading specs: SFDR/ENOB/IMD/ACPR vs real waveforms
Datasheet metrics become useful only when mapped to waveform use-cases at the DUT port. A clean single-tone number does not guarantee clean multi-tone, modulation, or arbitrary-waveform delivery. The practical approach is to match each waveform type to the metric that best predicts “will this be easy to use?”
- SFDR: distance from the main tone to the worst spur (the “largest unwanted line”).
- THD: total harmonic distortion (how strongly harmonics reshape a pure tone).
- Noise floor: background noise level (small-signal cleanliness and wideband noise behavior).
Two-tone tests expose IMD3 products that often land in sensitive bands and scale aggressively with output level. This is a strong predictor of “real interference” when more than one spectral component exists.
- IMD3 rising quickly with amplitude often points to output-chain nonlinearity limits.
- IMD sensitivity to range/load hints that the port path dominates the outcome.
- ACPR (adjacent leakage) reflects how much energy spreads outside the intended band (skirts/leakage, not just “lines”).
- Improving ACPR typically requires stable behavior across the intended band and load condition.
- Crest factor: higher peaks at the same RMS can trigger compression/limits earlier and reshape the waveform.
- Segment switching transient: sequencer jumps can create brief discontinuities (glitch/step/phase jump).
- Burst/trigger repeatability: start phase and time-of-arrival stability define whether results are repeatable.
- Amplitude accuracy: how correct a calibrated point is (absolute correctness at a point).
- Flatness: how consistent amplitude remains across a band (correctness across a range).
H2-10 · Validation & production checklist: what proves it’s done
“Done” means the AWG delivers repeatable waveforms at the port across expected ranges, modes, temperature, and load. The most robust proof is a closed acceptance flow from bring-up to calibration, verification sweeps, stress coverage, fast production screening, and traceable output records.
- Functional correctness: waveform modes, trigger/burst behavior, segment switching, markers — with clear pass/fail outputs.
- Performance scanning: flatness and distortion trends across frequency/amplitude/mode — stored as curves/maps.
- Boundary coverage: temperature points, load conditions, warm-up drift, long-run behavior — captured as drift/consistency records.
- Golden waveform: a small set of representative waveforms that quickly reveal gain/path issues.
- Limit line: simple pass/fail boundaries for key outcomes (trend-based, no need for full sweeps on every unit).
- Short cycle time: focus on catching gross deviations early while preserving traceability.
- Calibration version ID: which coefficient set was applied.
- Temperature points: which buckets/corners were used for correction validity.
- Range table: which output ranges have independent corrections.
- Self-test log: time-stamped pass/fail and key summaries for quick field triage.
- Metric (flatness / IMD3 / burst repeatability) + method (sweep / two-tone / triggered repeat).
- Conditions (range, mode, load, temperature bucket) kept explicit and consistent.
- Decision expressed as “within limit line” and linked to a stored curve/log ID.
H2-11 · Self-test & field evidence: BIST hooks and traceability
Passing in the lab is not enough. A practical AWG needs field-proof evidence: a short, repeatable self-test that confirms the waveform delivered at the DUT port has not drifted, and a log trail that explains what happened when it did. The goal is not a full sweep in the field, but high-signal checks that correlate strongly with real user failures.
- Reference stimulus: generate a known tone/burst (or a short “golden” waveform) that is stable and easy to verify.
- Injection point: support at least one controlled injection path so the test result maps to a known section of the signal path.
- Independent sensing: measure at a point that correlates with port delivery (power/amplitude, phase, and frequency/count).
- Health score: convert raw checks to a 3-state outcome (OK / Monitor / Service) plus a numeric score for trend tracking.
- Evidence log: store pass/fail, counters, timestamps, and context (range/mode/temp bucket) for fast field triage.
- Power-on quick check (seconds): confirm basic path, timebase status, and range switching sanity.
- On-demand health report (30–60 s): run spot-check points for flatness, a phase check point, and frequency/count verification.
- Background monitoring: low-duty spot checks and event counting without disrupting normal operation.
- Flatness spot-check: pick a small set of representative points (low/mid/high band). Track delta vs baseline/limit line.
- Temperature-correlated offset: record a temp bucket and compare against the expected bucket baseline to separate warm-up effects from true drift.
- Range switching consistency: test the same target under adjacent ranges and compare amplitude/phase deltas to reveal path-dependent errors.
- Run health checks after warm-up or record “thermal state” explicitly (cold / warming / stable).
- Record load assumption (50Ω / Hi-Z). If load detection is not available, store the configured mode.
- Allow one controlled retry for transient conditions; log both attempts to preserve evidence.
- Self-test fail count (lifetime + last 30 days)
- Last fail reason (amp / phase / freq / temp / range / trigger)
- Last pass timestamp, last fail timestamp
- Calibration expiry warning count + last shown timestamp
- Overtemp events (count + peak temperature + duration bucket)
- Overload/short events (count + range + output state)
- Any throttle/limit flags that can change delivered amplitude
- Trigger anomaly count (miss / duplicate / marker error)
- Burst repeatability flags (phase / time-of-arrival out-of-limit)
- Identity: model, serial, firmware build ID
- Calibration: Cal Version ID, last cal date, cal due date
- Context: output range, mode, load assumption, temp bucket + measured PCB temp
- Key checks: amp spot-check (f1/f2/f3), phase check (one mid-band point), frequency/count status, range consistency delta
- Events summary: self-test fails, overtemp/overload, trigger anomalies (lifetime + last 30 days)
- Conclusion: health score (0–100) + state (OK/Monitor/Service) + recommended action
- ADI ADL5902 (RMS detector), ADI AD8318 (log detector), ADI AD8361 (RMS/power detector class)
- ADI AD8302 (phase & gain detector)
- ADI AD7982 (18-bit SAR), TI ADS8866 (16-bit SAR), TI ADS127L01 (ΣΔ, low-speed high-resolution trending)
- TI TDC7200 (time interval / TOA measurement class, for burst timing scatter evidence)
- TI TMP117, ADI ADT7420, Microchip MCP9808
- Infineon/Cypress FM24CL64B (I²C FRAM for frequent log writes)
- Winbond W25Q series (SPI NOR for larger records), Microchip 24LC256 (I²C EEPROM for IDs)
H2-12 · FAQs (AWG / Function Generator)
These FAQs translate common spec-sheet questions into practical “port delivery” decisions: amplitude, timing/phase repeatability, and spectral purity.