Field Guide · hardware

Also known as: DDS, direct digital synthesis, DDS synthesizer

A DDS (direct digital synthesis) synthesizer builds an analog output waveform digitally, computing successive sample values from a phase counter and converting them to voltage with a DAC.1 Its heart is a numerically controlled oscillator: a phase accumulator advances by a programmable step each clock, a lookup table turns phase into a sine amplitude, and the DAC renders it. The payoff is very fine, very fast, phase-continuous frequency control from a single fixed clock — the reason DDS chips sit at the tuning heart of signal generators and many local-oscillator and clock circuits.

tuning word phase accumulator sine LUT DAC LPF ↑ fixed reference clock feeds accumulator
A DDS steps a phase accumulator by a tuning word each clock, maps phase to a sine amplitude, and renders it through a DAC and reconstruction filter.

Overview

Where a phase-locked loop multiplies a reference up to an output frequency with analog feedback, a DDS computes the waveform outright. This gives it frequency resolution set purely by the accumulator width: a 32-bit accumulator clocked at 100 MHz resolves steps of about 0.023 Hz. Because a new tuning word takes effect on the next clock and the phase simply keeps accumulating, frequency changes are near-instant and phase-continuous — no glitch, no settling ring like a PLL relock.

How it works

  • A frequency tuning word M sets how far the phase accumulator advances each clock cycle.
  • The accumulator’s overflow rate is the output frequency: f_out = M · f_clk / 2^N, where N is the accumulator width. Larger M means faster phase rotation and a higher frequency.
  • A sine lookup table (and often phase truncation) maps the high bits of the accumulated phase to an amplitude, the DAC converts it to a voltage, and a reconstruction low-pass filter smooths the DAC steps.
  • Usable output is limited by Nyquist to below half the clock, and in practice to roughly 40% of it, above which images and DAC images become hard to filter.

In practice

DDS shines at fine resolution, fast hop, and clean phase, but it is not free of spurs: phase truncation, the DAC’s finite resolution, and its images inject spurious tones (spurs) that must be filtered and planned around. Its top frequency is bounded by the DAC clock, so DDS is often used as a fine-tuning reference that a PLL then multiplies up to reach GHz outputs — a hybrid that combines DDS resolution with PLL reach. Common parts include the Analog Devices AD9850/AD9851 (hobby signal sources) and the higher-speed AD991x family.

Relevance to SDR

DDS is the tunable core of bench signal generators, antenna analysers, and the programmable local-oscillator/clock stages in many radios and test jigs — anywhere a clean, precisely settable frequency must change quickly under software control. In receivers, the same phase-accumulator idea reappears in software as the NCO that a digital down-converter uses to tune a channel. GopherTrunk performs exactly that kind of tuning in software when it mixes a captured band down to a channel, so it relies on the NCO concept a hardware DDS embodies, while the DDS chips themselves live in the RF hardware and test equipment in front of the receiver rather than in the decode code.

Sources

  1. Direct digital synthesis — Wikipedia, on the phase-accumulator/DAC architecture, tuning-word frequency relation, resolution, spurs, and Nyquist limits. 

See also