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:

hybridNETBOX instrumentation platform
Vepac Electronics Test & Measurement
The hybridNETBOX from Spectrum Instrumentation is an innovative instrumentation platform that combines a multi-channel arbitrary waveform generator (AWG) and a digitiser in a single portable unit.

Read more...
14-bit AWG at 20 GS/s
Vepac Electronics Test & Measurement
The Arb Rider AWG-7000 is the world’s fastest 14-bit Arbitrary Waveform Generator, featuring a 20 GS/s real time update rate and 14-bit vertical resolution.

Read more...
Additions to APD5000 series oscilloscopes
Osiris Technical Systems Test & Measurement
Each unit is equipped with an integrated CAT II digital multimeter, three programmable power supplies, a dedicated trigger line, and an arbitrary waveform generator.

Read more...
Handheld RTSA up to 9,5 GHz
Vepac Electronics Test & Measurement
The PXE-90 implements an FFT engine on the built-in FPGA and support frame compression with trace detection while ensuring no missing samples between FFT frames.

Read more...
Four ways to enhance IoT battery performance using emulation software
Concilium Technologies Editor's Choice
Battery life affects the cost and reliability of IoT-based infrastructure and is a key purchasing consideration for consumer electronic IoT devices.

Read more...
InterCal introduces a new range of calibrators
Intercal Test & Measurement
Calibration is a critical process in numerous industries, from manufacturing to healthcare, ensuring that instruments and devices provide accurate and reliable measurements.

Read more...
Power Energy Meter for solar projects
Mimic Components Test & Measurement
The Mi550 Power Energy Meter is a handheld three-phase power quality analyser that connects externally with Rogowski coils or voltage-type CTs, allowing for testing without disconnection.

Read more...
MT8870A for NTN NB-IoT testing
Tamashi Technology Investments Test & Measurement
Samsung Electronics has selected the Anritsu Universal Wireless Test Set MT8870A for use on the mass-production lines of the Galaxy S25.

Read more...
XJLink-PF40 JTAG controller
ASIC Design Services Test & Measurement
XJTAG, a specialist in electronic testing, has released its new XJLink-PF40 JTAG controller together with version 4 of its popular PCB software testing suite.

Read more...
INTEGRA Biosciences’ reagent dispenser now supports SiLA-2 integration
Test & Measurement
This new functionality will make it even easier to integrate the WELLJET into automated laboratory workflows, helping labs to enhance their productivity and reproducibility.

Read more...