Analogue, Mixed Signal, LSI


Using DDS devices to generate high-quality waveforms - Part 1

17 April 2013 Analogue, Mixed Signal, LSI

A key requirement across a multitude of industries is to accurately produce, easily manipulate and quickly change waveforms of various frequencies and types.

Whether a wideband transceiver requires an agile low-phase-noise frequency source with excellent spurious-free dynamic performance or an industrial measurement and control system needs a stable frequency stimulus, the ability to quickly, easily and cost effectively generate an adjustable waveform while maintaining phase continuity is a critical design criterion that direct digital frequency synthesis can fulfil.

The task of frequency synthesis

Increasing spectrum congestion, coupled with the insatiable need for lower-power, higher-quality measurement equipment, calls for the use of new frequency ranges and better exploitation of existing ones. As a result, better control of frequency generation is being sought – in most cases with the assistance of frequency synthesisers.

These devices use a given frequency, fC, to generate a waveform at a related desired frequency (and phase), fOUT. The general relationship can be written simply as fOUT = εx × fC where the scaling factor, εx, is sometimes called the normalised frequency.

The equation is always implemented using algorithms for step-by-step approximations of real numbers. When the scaling factor is a rational number, a ratio of two relatively prime integers, the output frequency and the reference frequency will be harmonically related. In most cases, however, εx can belong to a much broader set of real numbers, and the approximation process is truncated as soon as it falls within an acceptable limit.

Direct digital frequency synthesis

One such practical realisation of a frequency synthesiser is direct digital frequency synthesis (DDFS), often shortened to direct digital synthesis (DDS). The technique uses digital data processing to generate a frequency- and phase-tuneable output related to a fixed frequency reference, or clock source, fC. In a DDS architecture, the reference or system clock frequency is divided down by the scaling factor, set by a programmable binary tuning word.

Simply stated, a direct digital frequency synthesiser translates a train of clock pulses into an analog waveform, typically a sine, triangular or square wave. As Figure 1 shows, its essential parts are: a phase accumulator, which produces a number corresponding to a phase angle of the output waveform; a phase-to-digital converter, which generates the instantaneous digital fraction of the output amplitude occurring at a particular phase angle; and a digital-to-analog converter (DAC), which converts that digital value to a sampled analog data point.

Figure 1. Functional block diagram of a DDS system.
Figure 1. Functional block diagram of a DDS system.

For sine-wave outputs, the phase-to-digital converter is usually a sine lookup table (Figure 2). The phase accumulator counts by N, to generate a frequency related to fC according to the equation:

Where M is the resolution of the tuning word (24 bits to 48 bits) and N is the number of pulses of fC corresponding to the smallest incremental phase change of the phase accumulator’s output word.

Figure 2. Typical DDS architecture and signal path with DAC.
Figure 2. Typical DDS architecture and signal path with DAC.

Since changes to N result in immediate changes in the output phase and frequency, the system is inherently phase-continuous, a critical attribute in many applications. No loop settling time is required, in contrast to analog-type systems such as phase-locked loops (PLLs).

The DAC is usually a high-performance circuit specifically designed to work with the DDS core (phase accumulator and phase-to-amplitude converter). In most cases, the resulting device, often a single chip, is commonly referred to as a complete DDS or C-DDS.

Practical DDS devices often integrate multiple registers to allow various frequency – and phase-modulation schemes to be realised. When included, the phase register’s contents are added after the phase accumulator. This enables the output sine wave to be phase-delayed in correspondence with a phase tuning word.

This is extremely useful for phase-modulation applications in communication systems. The resolution of the adder circuit determines the number of bits in the phase tuning word and, therefore, the resolution of the delay.

Integrating a DDS engine and a DAC in a single device has advantages and disadvantages, but whether integrated or not, a DAC is required to create a high-quality analog signal of exceptional purity.

The DAC converts the digital sine output into an analog sine wave and may be either single-ended or differential. A few of the key requirements are low phase noise, excellent wideband (WB) and narrow-band (NB) spurious-free dynamic range (SFDR) and low power consumption. If it is an external component, the DAC needs to be fast enough to process the signal, so devices with a parallel port are common.

DDS vs. other solutions

Other possibilities for frequency generation include analog phase-locked loops (PLLs), clock generators, and using an FPGA to dynamically program the output of a DAC. A simple comparison of the technologies can be made by examining spectral performance and power consumption, qualitatively demonstrated in Table 1.

Table 1. DDS vs. competing technologies – high level comparison.
Table 1. DDS vs. competing technologies – high level comparison.

A phase-locked loop is a feedback loop comprising a phase comparator, a divider and a voltage-controlled oscillator (VCO). The phase comparator compares a reference frequency with the output frequency (usually divided down by a factor, N). The error voltage generated by the phase comparator is applied to the VCO, which generates the output frequency. When the loop has settled, the output will bear an accurate relationship to the reference in frequency and/or phase.

PLLs have long been recognised as superior devices for low phase noise and high spurious-free dynamic range (SFDR) applications requiring high fidelity and stable signals in a specific band of interest. Their inability to accurately and quickly tune the frequency output and waveform and their slow response limits their suitability for applications such as agile frequency hopping and some frequency – and phase-shift keying applications.

Other approaches, including field-programmable gate arrays (FPGAs) with embedded DDS engines – in combination with off-the-shelf DACs to synthesise output sine waves – solve the frequency-hopping difficulties of PLLs, but have their own weaknesses.

The main system disadvantages include higher operating and interface power requirements, higher cost, large size and additional software-, hardware- and memory overhead for the system developer. For example, up to 72 KB of memory are required to generate a 10 MHz output signal with 60 dB dynamic range using the DDS engine option on modern FPGAs. In addition, the designer needs to be comfortable and familiar with subtle trade-offs and the architecture of the DDS core.

As a practical matter (see Table 2), rapid advances in CMOS processing, together with modern digital design techniques and improved DAC topologies, have resulted in DDS technology achieving power consumption, spectral performance and cost levels that were previously unattainable for a wide range of applications.

Table 2. Benchmark analysis summary – frequency-generation technologies (<50 MHz)
Table 2. Benchmark analysis summary – frequency-generation technologies (<50 MHz)

While complete DDS products will never match the highest performance and design flexibility achievable with custom combinations of high-end DAC technology and FPGAs, the size, power and cost benefits, coupled with the simplicity of DDS devices, may make them easily the first choice for many applications.

Also note that since a DDS device fundamentally embodies a digital method of generating an output waveform, it can simplify the architecture of some solutions or make it possible to digitally program the waveform.

While a sine wave is normally used to explain the function and operation of a DDS, it is easily possible to generate triangular or square (clock) wave outputs from modern DDS ICs, avoiding the need for a lookup table in the former case, and for a DAC in the latter case, where the integration of a simple yet precise comparator will suffice.

The next part of this article, covering DDS performance and limitations as well as applications, will run in a future issue of Dataweek.





Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

High-speed PIN diode
Altron Arrow Analogue, Mixed Signal, LSI
Vishay’s new high-speed Silicon PIN diode is able to detect both visible and near infra-red radiation over a wide spectrum range from 350 to 1100 nm.

Read more...
Analogue front end for sensor measurements
Electrocomp Analogue, Mixed Signal, LSI
The NJU9103 AFE from Nisshinbo is a tiny analogue front end, with a 16-bit resolution ADC and up to 512 x signal amplification from the programmable gain amplifier.

Read more...
Single-channel software configurable I/O
Altron Arrow Analogue, Mixed Signal, LSI
These use cases of the AD74115H include analogue output and input, digital output and input, resistance temperature detector (RTD), and thermocouple measurement capability.

Read more...
Current-sense amplifier with PWM rejection
Altron Arrow Analogue, Mixed Signal, LSI
Analog Devices’ AD8410A is a high voltage, high bandwidth current-sense amplifier that features an initial gain of 20 V/V and a 2,2 MHz bandwidth.

Read more...
Combining a LPF and ADC driver for a 20 Vp-p signal
Altron Arrow Analogue, Mixed Signal, LSI
A mixed-signal ADC driver circuit’s optimum performance depends on multiple variables: the driver’s settling time, the RC filter’s time constant, driving impedance, and the ADC sampling capacitor’s kickback current, all interact during acquisition time and contribute towards sampling errors.

Read more...
Pressure sensor with NextNav certification
EBV Electrolink Analogue, Mixed Signal, LSI
STMicroelectronics’ LPS22DF pressure sensor has received a NextNav certification, which guarantees performance and reliability for geolocation and other types of applications.

Read more...
Reference design for Raspberry Pi analogue I/O
Analogue, Mixed Signal, LSI
Analogue Devices has published a reference design for ±10 V analogue input and ±15 V analogue output for Raspberry Pi platforms.

Read more...
Multi-zone distance sensor with 90° field of view
Avnet Silica Analogue, Mixed Signal, LSI
STMicroelectronics has revealed a new FlightSense multi-zone distance sensor, with 90° field of view, to bring lifelike situational awareness to applications like home automation, computers, robots, and smart equipment.

Read more...
Six-axis IMU with Qvar sensing channel
Altron Arrow Analogue, Mixed Signal, LSI
The LSM6DSV16X from STMicroelectronics is a high-performance, low-power six-axis IMU, featuring a three-axis digital accelerometer and a three-axis digital gyroscope.

Read more...
Bidirectional current-sense amplifier with PWM
RS South Africa Analogue, Mixed Signal, LSI
The MAX49925 from Analogue Devices is a bidirectional current-sense amplifier (CSA) with an input common-mode range that extends from -40 to 76 V, making it suitable for 48 V HEV applications where there are large automotive transients.

Read more...