Test & Measurement


The advantages of DDS in function generators

8 October 2003 Test & Measurement

Direct Digital Synthesis (DDS) is a technique for generating waveforms of precise shape and frequency. The use of DDS in function generators has increased the performance of these instruments while reducing their cost. This article examines the DDS technique and reviews the benefits of its use in waveform synthesizer instruments.

Function generators are a useful general-purpose instrument for many areas of the electronics design and manufacturing industries. They can generate a number of different signals at frequencies and amplitudes for use in evaluating the operation of new circuits, replacement of clock signals, manufacturing test of new products, and many other purposes.

The design of function generators has evolved many times since the first sine-wave generators, and in today's digital world, most new function generators, like the new Agilent 33220A, are being designed using DDS. As the name implies, DDS uses digital circuitry for a large portion of its operation, bringing with it many of the advantages of digital operation. Only in the last stages of synthesis is the signal converted to the analog domain, in many ways reducing the complexity and increasing the stability of the function generator.

Agilent’s 33220A function/arbitrary waveform generator uses direct digital synthesis (DDS) techniques to create stable, low-distortion output signals for accurate results. It provides easy access to standard sine, square, ramp, triangle, and pulse waveforms plus custom waveforms can be created using the 50 MSa/s, 14 bit, 64 K-point arbitrary waveform function
Agilent’s 33220A function/arbitrary waveform generator uses direct digital synthesis (DDS) techniques to create stable, low-distortion output signals for accurate results. It provides easy access to standard sine, square, ramp, triangle, and pulse waveforms plus custom waveforms can be created using the 50 MSa/s, 14 bit, 64 K-point arbitrary waveform function

The DDS is essentially a wide multibit counter running at a constant high frequency. The counter is allowed to 'wrap' around through zero when it overflows, with a very large control word setting the size of the counter step. The high order bits of the counter are used to address a memory device holding a digital record of one cycle of the waveform being generated. With each 'tick' of the high frequency clock, the counter makes one step, a new address word is generated for the memory, and a new waveform data value is sent to the digital-to-analog converter (DAC). The DAC output is the sampled analog waveform, which is sent through reconstruction filters before being output from the generator.

One of the first advantages of DDS is that the frequency of the output signal can be as accurate as the crystal controlled oscillator used as a reference signal to the generator. This reference signal may be a crystal oscillator (XO), or for more accuracy, a temperature compensated crystal oscillator (TCXO) in the instrument itself. These can offer better than 1/10th PPM frequency accuracy. In many cases, the instrument may also be capable of being frequency-locked to an external laboratory frequency reference for very high accuracy signal generation.

On many lab benches, another instrument like a frequency counter may have the most accurate oven-controlled clock oscillator, and its output reference signal may be used as a reference signal for a DDS function generator. In other precision measurements labs, a 10 MHz standard frequency reference signal will be 'plumbed' to each bench for use for this purpose. The DDS circuit, due to its digital nature, can lock to this frequency and provide signals as accurate as the reference standard.

The second advantage of DDS is related to the first: a DDS generator can generate frequencies with very high precision. The digital circuitry of a DDS signal generator can have as much frequency precision as the digital circuitry implements. If the DDS circuit has a 48-bit counter, it can offer up to 48 bits of frequency resolution, or about 3 parts in 10 to the fifteenth power, and some DDS synthesizers use counters with more bits and even higher resolution.

This high resolution means that the function generator is able to exactly generate a desired output frequency and it also means that the generator can make very precise changes in frequency. This is especially useful in evaluating timing circuits for communications, mass storage and similar applications. It is not unusual to find DDS generators that can generate tens of megahertz with microhertz resolution.

With so much of the waveform generated digitally, it is not surprising to find that the modulation, sweep and burst-generation functions in the function generator are also under digital control and can also be set up with high precision. Not only frequency and timing, but phase and amplitude can be set and changed exactly.

A third advantage of DDS is that the function generator may reproduce virtually any waveform if it has RAM waveform storage. The DDS generator operates by 'playing back' a waveform stored in its memory. If the memory is read-only memory, then only those waveforms stored in the ROM can be generated. Typically, a Sine, Square, Triangle and similar waveforms are built into every function generator. But suppose the application requires a Square Wave with a 10% duty cycle, or a triangle wave with 58% symmetry rather than 50%. If the DDS circuit has a RAM for waveform storage, the controller circuit can write any wave shape into the RAM and cause it to be replayed through the synthesizer.

So the function generator now is capable of far more than the traditional function generators could do. Variable symmetry waveforms are now standard functions, and a variety of unusual waveforms can also be built-in, such as exponential rise and fall, or sync pulses, etc.

Taking this RAM concept one step further, suppose you have some particular waveform that is unique to your testing needs. Some function generators allow customer-specified waveforms to be loaded into the RAM of the DDS engine and to be played back by the synthesizer. This brings the function generator the additional capability of generating an 'arbitrary waveform', a waveform of virtually any shape. This useful function is usually supported by software that is able to read waveforms from a variety of sources, including Matlab, MathCad, Excel and similar software file formats, as well as oscilloscope waveform capture files.

New function generators have capitalised on the advantages of DDS, and have been able to combine in one instrument the functions previous found only in separate instruments. The DDS-based function generator now performs not only the functions of a function generator, but also of an arbitrary waveform generator. On top of adding ARB capability, some are capable pulse generators as well.

So the next time you examine the specifications for a function generator, do not be surprised to find a low-drift, high precision instrument based on DDS technology.

How a DDS operates

The direct digital synthesizer (DDS) circuit is a digital technique to generate an analog signal. The entire circuit operates from a fixed-frequency clock ('clock signal') that runs continuously at a rate at least twice the highest frequency to be generated.

Block diagram of direct digital synthesizer (DDS) circuit
Block diagram of direct digital synthesizer (DDS) circuit

At each clock pulse, a frequency word from the frequency register is added to the contents of the 'phase accumulator' register, and the new number is stored in the phase accumulator. These components (frequency register, adder and phase accumulator) may be very wide registers, possibly 48 to 64 bits of resolution, which yields the very high-resolution frequency control possible using this circuit. When the phase accumulator overflows, the remainder is retained to calculate the phase of the first sample of the next cycle.

The lower-order bits from the phase accumulator are also used as the address lines for the waveform memory. The address lines represent the instantaneous phase of the waveform being played back by the DDS circuit. A data value representing the amplitude of the waveform at this phase is read from the waveform memory and delivered to a digital to analog converter (DAC) which puts out an analog voltage corresponding to the amplitude of the waveform at this phase.

The waveform memory contains one cycle of the waveform to be synthesized. In some DDS circuits other forms of phase-to-amplitude converters replace the waveform memory, but for a general-purpose function generator, the use of RAM in this circuit allows many different waveforms to be synthesized by changing the RAM contents.

The final, but essential element is the low pass filter that removes sampling effects from the signal. The design of this filter is somewhat simpler than in many synthesizers because the sample clock runs at a single, fixed frequency.

About the author:

Christopher Kelly received his Bachelor of Science from the University of New Mexico and an MS from Colorado State University. He is a design engineer in the Basic, Emerging and Systems Technologies operation at Agilent Technologies. Kelly holds four patents in the field of data acquisition and recently completed the design of the Agilent 33220A function generator.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

SIGLENT launches new 8 GHz DSO
Vepac Electronics Test & Measurement
SIGLENT has unveiled the enhanced SDS7000A/AP models, building on the success of its SDS7000A high-resolution digital oscilloscope series.

Read more...
Multi-functional high-res oscilloscopes
Coral-i Solutions Test & Measurement
RIGOL Technologies has launched two powerful additions to its oscilloscope portfolio that are tailored to meet the growing challenges of power electronics, automotive systems, and high-speed digital designs.

Read more...
TDK expands programmable PSU series
Accutronics Test & Measurement
With a 3U high chassis, the GAC and GAC-PRO provide extremely high-power density for a fully featured programmable AC power source.

Read more...
Analysing magnetic fields
Accutronics Test & Measurement
The engineers at Narda Safety Test Solutions have achieved a breakthrough in isotropic measurement and analysis of low-frequency magnetic fields in the form of their latest digital H-field probe.

Read more...
A new class of sampling scope
Comtest Test & Measurement
The PicoScope 9400A Series combines the huge analogue bandwidth of sampling oscilloscopes with the triggering architecture of real-time oscilloscopes.

Read more...
Single channel, programmable PSU
Electrocomp Express Test & Measurement
Rohde & Schwarz’ NGC101 is a NGC100-series power supply with a wide range of functions that make them ideal for use in development labs and industrial environments.

Read more...
Next-gen LineScan camera
Eagle Africa Technology Test & Measurement
New Imaging Technologies has launched the new LiSaSWIR, its next-generation SWIR LineScan camera and sensor.

Read more...
Ultra-portable spectrum analyser
Vepac Electronics Test & Measurement
The PXN-400Z from Harogic is a handheld spectrum analyser covering a frequency range of 9 kHz to 40 GHz with a 100 MHz analysis bandwidth.

Read more...
Why your next oscilloscope should be PC-based
Comtest Test & Measurement
For decades, traditional benchtop oscilloscopes have been a cornerstone of engineering, offering reliability, precision, and familiarity. However, as technology evolves, so do the tools we rely on.

Read more...
Versatile 3-in-1 instrument
Vepac Electronics Test & Measurement
The ARB Rider AWG-2000 is the cost-effective and powerful two or four channel arbitrary function generator and two or four channel arbitrary waveform generator with advanced sequencer functionality.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved