Application Note #5 Direct Digital Synthesis Impact on Function Generator Design

Similar documents
Synthesized Function Generators DS MHz function and arbitrary waveform generator

Section 1. Fundamentals of DDS Technology

Rigol DG1022A Function / Arbitrary Waveform Generator

Direct Digital Synthesis

G5100A: 50 MHz Arbitrary Function Generator

DG5000 Series Specifications

Analog Arts AG900 AG885 AG875 AG815 Product Specifications

MODELS 5251/ MS/s PXIBus / PCIBus Arbitrary Waveform / Function Generators

DG5000 series Waveform Generators

Publication Number ATFxxB Series DDS FUNCTION WAVEFORM GENERATOR. User s Guide

ADVANCED WAVEFORM GENERATION TECHNIQUES FOR ATE

Models 296 and 295 combine sophisticated

The Fundamentals of Mixed Signal Testing

Analog Arts SF990 SF880 SF830 Product Specifications

RIGOL Data Sheet. DG3000 Series Function/Arbitrary Waveform Generator DG3121A, DG3101A, DG3061A. Product Overview. Easy to Use Design.

Analog Arts SL987 SL957 SL937 SL917 Product Specifications [1]

Moku:Lab. Specifications. Revision Last updated 15 th April, 2018.

Chapter 13 Specifications

ArbStudio Arbitrary Waveform Generators

f o Fig ECE 6440 Frequency Synthesizers P.E. Allen Frequency Magnitude Spectral impurity Frequency Fig010-03

A FREQUENCY SYNTHESIZER STRUCTURE BASED ON COINCIDENCE MIXER

Arbitrary/Function Waveform Generators 4075B Series

Agilent 83711B and 83712B Synthesized CW Generators

Moku:Lab. Specifications INSTRUMENTS. Moku:Lab, rev

RF Signal Generators. SG380 Series DC to 2 GHz, 4 GHz and 6 GHz analog signal generators. SG380 Series RF Signal Generators

Using the isppac 80 Programmable Lowpass Filter IC

A DSP IMPLEMENTED DIGITAL FM MULTIPLEXING SYSTEM

Model 865 RF / Ultra Low Noise Microwave Signal Generator

Design Implementation Description for the Digital Frequency Oscillator

ArbStudio Arbitrary Waveform Generators. Powerful, Versatile Waveform Creation

EUROPE S LARGEST SELECTION OF TEST & MEASUREMENT EQUIPMENT FOR HIRE INLEC.COM. Nationwide Low Call

Model 745 Series. Berkeley Nucleonics Test, Measurement and Nuclear Instrumentation since Model 845-HP Datasheet BNC

Analog Arts SF900 SF650 SF610 Product Specifications

Keysight Technologies Pulsed Antenna Measurements Using PNA Network Analyzers

TG1010A AIM & THURLBY THANDAR INSTRUMENTS. 10MHz programmable DDS function generator. Direct Digital Synthesis

Direct Digital Synthesis Primer

RIGOL Data Sheet. DG2000 Series Function/Arbitrary Waveform Generator DG2041A, DG2021A. Product Overview. Main Features.

This DDS function generator is designed for use in such applications as communication equipment and electronic components production.

FREQUENCY SYNTHESIZERS, SIGNAL GENERATORS

Model MHz Arbitrary Waveform Generator Specifications

SDG2122X SDG2082X SDG2042X

Dual Channel Function/Arbitrary Waveform Generators 4050 Series

VCC. Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) Last Update: 03/19/14

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

DG4000 Series Waveform Generators

Dual Channel Function/Arbitrary Waveform Generators 4050 Series

Model 855 RF / Microwave Signal Generator

CHAPTER IV DESIGN AND ANALYSIS OF VARIOUS PWM TECHNIQUES FOR BUCK BOOST CONVERTER

Function/Arbitrary Waveform Generator

Advanced AD/DA converters. ΔΣ DACs. Overview. Motivations. System overview. Why ΔΣ DACs

Dual Channel Function/Arbitrary Waveform Generators 4050B Series

Analog Arts SG985 SG884 SG834 SG814 Product Specifications [1]

PART. MAX7421CUA 0 C to +70 C 8 µmax INPUT CLOCK

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

AWG-GS bit 2.5GS/s Arbitrary Waveform Generator

Arbitrary/Function Generator AFG1000 Series Datasheet

User s Guide. TFG1900A Series Function/Arbitrary Waveform Generators

Datasheet RS Pro Arbitrary Waveform Generator 40MHz RS Stock Number : ENGLISH

Low distortion signal generator based on direct digital synthesis for ADC characterization

MODELS WW5061/2. 50MS/s Single/Dual Channel Arbitrary Waveform Generators

RS Pro ARBITRARY/FUNCTION WAVEFORM GENERATOR SDG800 SERIES

Advanced Test Equipment Rentals ATEC (2832)

Understanding Data Converters SLAA013 July 1995

Data Sheet. DG1000 series Dual-Channel Function/Arbitrary Waveform Generators. Product Overview. Main Features. Applications. Easy to Use Design

RIGOL Data Sheet. DG1000 Series Dual-Channel Function/Arbitrary Waveform Generator. Product Overview. Main Features. Applications. Easy to Use Design

RF Signal Generators. SG380 Series DC to 2 GHz, 4 GHz and 6 GHz analog signal generators. SG380 Series RF Signal Generators

Data Sheet. Function/Arbitrary Waveform Generator. SDG1000 Series DataSheet. Application fields: Edit arbitrary waveform

15. Specifications WF1947/WF

APPLICATION NOTE 3942 Optimize the Buffer Amplifier/ADC Connection

Data Sheet. SDG800 Series Function/Arbitrary Waveform Generator. SDG800 Series DataSheet. Edit arbitrary waveform

National Instruments Flex II ADC Technology The Flexible Resolution Technology inside the NI PXI-5922 Digitizer

SPT BIT, 100 MWPS TTL D/A CONVERTER

Data Sheet. Function/Arbitrary Waveform Generator SDG1000 Series. SDG1000 Series DataSheet. Application fields: Edit arbitrary waveform

Simplified Analogue Realization of the Digital Direct Synthesis (DDS) Technique for Signal Generation

AD9772A - Functional Block Diagram

SIGNAL RECOVERY. Model 7265 DSP Lock-in Amplifier

Basic Communication Laboratory Manual. Shimshon Levy&Harael Mualem

This section lists the specications for the Agilent 8360 B-Series. generators, Agilent Technologies has made changes to this product

Model 865-M Wideband Synthesizer

Contents. ZT530PCI & PXI Specifications. Arbitrary Waveform Generator. 16-bit, 400 MS/s, 2 Ch

A-D and D-A Converters

A Technical Tutorial on Digital Signal Synthesis

NI PXI/PCI-5411/5431 Specifications

2400C Series Microwave Signal Generators 10 MHz to 40 GHz. Preliminary Technical Datasheet. Low Phase Noise and Fast-Switching Speed in a Single Unit

WaveStation Function/Arbitrary Waveform Generators

A COMPACT, AGILE, LOW-PHASE-NOISE FREQUENCY SOURCE WITH AM, FM AND PULSE MODULATION CAPABILITIES

Vector Signal Generators

Agilent E4428C ESG Analog Signal Generator

Agilent 8360B Series Synthesized Swept Signal Generators 8360L Series Synthesized Swept CW Generators Data Sheet

Model 865-M Wideband Synthesizer

Integrated Circuit Design for High-Speed Frequency Synthesis

Vector Signal Generators

WaveStation Function/Arbitrary Waveform Generators

WaveStation Function/Arbitrary Waveform Generators

4 K to 512 K words (2 n, n = 12 to 19) or 2 to 10,000 control points (linear interpolation between control points)

Cost-Effective Traceability for Oscilloscope Calibration. Author: Peter B. Crisp Head of Metrology Fluke Precision Instruments, Norwich, UK

FFT Spectrum Analyzer

NI PXI/PCI-5411/5431 Specifications

Characteristics. Frequency (DG1022) Sine, Square, Ramp, Triangle, Pulse, Noise, Arb. ±50 ppm in 90 days ±100 ppm in 1year 18 C ~ 28 C.

R&S SMB100N SIGNAL GENERATOR

Transcription:

Impact on Function Generator Design Introduction Function generators have been around for a long while. Over time, these instruments have accumulated a long list of features. Starting with just a few knobs for setting the amplitude and frequency of a sinusoidal output, function generators now provide wider frequency ranges, calibrated output levels, a variety of waveforms, modulation modes, computer interfaces, and, in some cases, arbitrary functions. The many features added to function generators have complicated their design and increased their cost. There is an opportunity for a radical re-design of the familiar function generator using direct digital synthesis (DDS). DDS provides remarkable frequency resolution and allows direct implementation of frequency, phase and amplitude modulation. These features which were 'tacked-on' to function generators are handled in a clean, fundamental way by DDS. Many of the concepts of DDS are illustrated by the way in which a sine wave is generated. Figure 1 shows a block diagram of a simple DDS function generator. The sine function is stored in a RAM table. The RAM's digital sine output is converted to an analog sine wave by a DAC. The steps seen at the DAC output are filtered by a lowpass filter to provide a clean sinewave output. The frequency of the sine wave depends on the rate at which addresses to the RAM table are changed. Addresses are generated by adding a constant stored in the phase increment register (PIR) to the phase accumulator. Usually, the rate of additions is constant, and the frequency is changed by changing the number in the PIR. The frequency resolution depends on the number of bits in the PIR. If the PIR, adder, and phase accumulator support -bit additions, then the fractional frequency resolution is one part in 247, or about one part in 1014. That means a -bit DDS function generator can provide better than 1 µhz resolution on a 10 MHz output. Some Details There are a few more details which need to be addressed in order to understand DDS in this application. Questions about sample rate, RAM size, DAC resolution, filter characteristics, and spectral purity of the output must be answered. Figure 1. Simple DDS Block Diagram Simple DDS Function Generator PIR Adder Phase 14 Acc. RAM 16K x 12 bit 12 D/A LPF Output DDS Clock 171

Samples per Cycle Our intuition might suggest that a large number of samples are required for each cycle of the sine wave to achieve good spectral purity of the output. A sketch of a sine which is approximated by a small number of samples per cycle hardly looks like a sine wave. Remarkably, only about 3 samples are required during each cycle. In fact, if we could make an arbitrarily sharp low-pass filter, we would need only two samples per cycle. To motivate this, consider the case where we have four samples per sine cycle. This situation is shown in Figure 2. The sampled sine is reduced to a pulse train (or a square wave, if we started sampling at 45 degrees instead of at 0 degrees). Filters Figure 3 shows a lowpass filter transfer function. As we have seen, the filter must pass the highest frequency which we wish to generate (f max ), but must begin their stop-band at f s -f max. Steep rolloff filters with high stopband attenuation are hard to build. A reasonable compromise in this trade-off occurs when f max =f s /3. This allows the filter a one octave transition band. 0 db Low Pass Filter Specifications f max= f s /3 Sampled Sine Wave -70 db 2/3 fs f /2 s f s Figure 3. Lowpass Filter for DDS Outputs. What stopband attenuation is needed? This depends on the spurious component specification of the output. A typical specification for a function generator application would be -70 dbc. 172 Figure 2. Sampling a Sine Four Times per Cycle. The Fourier spectra of this pulse train has components at f, 2f, 3f.. etc. If we can arrange the lowpass filter to eliminate the harmonic components of the pulse train, then we are left with the fundamental, a pure sine wave at frequency f. In the more general case, generating an output at f by sampling at a rate of f s, the lowest frequency Fourier component at a frequency of f s -f. This simple result becomes the basis of the lowpass filter specification: the filter should pass f but stop f s -f. Cauer (elliptic) filters are a good choice for this application. They have fast transition bands, and may be designed with very low ripple in the pass-band. The specification for this example is met by a ninth degree Cauer filter. Bessel Filters While Cauer filters are the best choice for CW applications, they are unusable for arbitrary waveform generation. In the time domain, Cauer filters have a very nasty overshoot. A much better choice for arbitrary waveforms (or ramps and triangles) is the Bessel filter. The Bessel filter has a slower rolloff when compared to the Cauer filter, but it is nearly phase-linear. The lack of Application Notes

dispersion in a phase-linear filter will preserve the pulse shape and prevent any ringing in the time domain. A seventh degree Bessel filter with a -3 db cutoff of f c = f s /4 is a good choice for filtering arbitrary waveforms. This filter will exhibit an output risetime of 0.35/f c. DAC and RAM Requirements Big, fast RAMs and high speed, high resolution DACs have made DDS a viable technology for function generator applications. How big, how fast, and what resolutions are required? As we have seen, a maximum practical output frequency is f s /3. So the DDS phase accumulator, RAMs, and DACs must run at three times the maximum desired output frequency. The DAC resolution depends on the spurious component specification for the output (or the desired arbitrary waveform resolution). The DAC's quantization error and non-linearities lead to spurious outputs. To get a rough idea of the magnitude of the spurious frequency component, realize that the difference between the actual output of the DAC and the desired sine value is the source of these spurious output components. So a 12- bit DAC which is linear and monotonic to 2 LSBs will have output errors on order one part in 20, or about 66 db. A short RAM table is another way to get the wrong value out of the DAC. To avoid 'phase quantization noise', there should be two more bits of address to the RAM than bits in the DAC. Extending Frequency Range The frequency range of the DDS output may be extended by a variety of techniques. Depending on which technique is used, some of the advantages of DDS may be lost. Just as with more conventional frequencies synthesizers, the DDS output may be doubled, mixed with other fixed sources, or used as a reference inside of a phase locked loop. Modulation Techniques The power and elegance of DDS are most apparent when a modulated source is required. The frequency of the output may be changed instantly to any frequency from dc to f max by simply changing the number in the phase increment register. Figure 4 shows the block diagram of a DDS phase accumulator with programmable modulation capabilities. This phase accumulator, which has been optimized for function generator applications, has two phase increment registers, PIRA and PIRB. A -bit wide multiplexer can switch between the PIRs in a single clock. The modulation processor can modify the PIRs at a rate of up to 10 million bytes per second, filling one PIR while the other is used as an input to the adder. Complex modulation programs may be stored in the modulation RAM. This RAM contains op-codes and data for the modulation processor. Frequency scans illustrate the operation of this processor. When programed for a log frequency sweep, a list of up to 4000 discrete frequencies are stored in the modulation RAM by the host system. The modulation processor modifies PIRA while the adder is using PIRB and vice-versa. More complex modulation programs may be stored, such as frequency modulation by any arbitrary function, linear or log sweeps, frequency hopping, etc. Phase modulation is easily done by programming PIRA with the nominal frequency, and using PIRB, which contains the nominal phase increment plus any desired phase shift, for a single clock cycle. Wide frequency or phase deviations are no problem. Any phase or frequency hop may be programmed and executed in a single clock. And, since the PIRs may be modified very quickly, modulation frequencies up to several hundred khz are possible. In fact, arbitrary modulation programs may be stored. This feature allows the function generator to be used for modem testing, frequency agile communications, bit error rate determination, etc. Amplitude Modulation There are two approaches for amplitude modulation of the output waveform. Either the digital outputs from the RAM or the analog output from the DAC may be multiplied by the desired amplitude. The later approach is better for function generators so that either an internal or external source may be used for amplitude modulation. 173

8 Modulation Processor 8 15 Modulation RAM PIR A MPX Σ Acc. Waveform RAM D/A Output PIR B DDS Clock Figure 4. DDS Phase Accumulator with Modulation Processor. 174 Arbitrary Functions One of the immediate benefits of the DDS architecture is that arbitrary waveform generation comes along for free. Instead of storing a sine table in the waveform RAM, a list of arbitrary values is saved. The phase accumulator is programmed to step through the stored values, one at a time, to play back the desired waveform through the output DAC. The DDS's arbitrary waveform capability simplifies the task of generating the other 'standard' waveforms found in function generators. Ramp, sawtooth and even Gaussian white noise may be generated by changing the list of values in the waveform RAM. The phase accumulator must be designed to support certain modes required for arbitrary waveforms. The rate at which RAM values are retrieved may be changed by simply using a different PIR value. However, variable record lengths, triggering functions, and wrap-around addressing are unique to arbitrary function generation. As previously mentioned, a Bessel filter is required for arbitrary waveform generation. The Bessel filter will smooth the steps at the DAC output. With a -3 db cutoff frequency, fc, of fs/4, the output will show a controlled risetime of 0.35/fc without overshoot. Square Waves Square waves are a special case for the DDS. One might think that a square wave could be generated by loading +1 and -1 into the waveform RAM. Indeed they can, but with the unfortunate restriction that the squarewave edges must be synchronous with the DDS sample clock. This restriction would greatly limit the resolution of available frequencies, especially at high frequencies. A much better approach for generating squarewaves is to generate a clean sinewave, then discriminate the sine into a square wave. In this way, square waves will have the same frequency range and resolution as sine waves. Application Notes

Figure 5. Frequency Shift Keying of Sinewave. Figure 6. Amplitude modulation of Sine by Sine. Figure 7. Three Cycle Burst of Sines Figure 8. Arbitrary Waveforms. Output Amplifiers The output amplifier used in a DDS function generator must meet some stringent requirements. In order to preserve waveforms generated in the arbitrary mode, the amplifier must have a wide and flat passband, and exhibit a phase linear response well past the cutoff frequency of the Bessel filter. The amplifier's bandwidth also determines the risetime of the squarewave output. Here again, a well behaved (phase linear) rolloff is required to prevent overshoot on the squarewave output. Finally, the output amplifier must be able to drive 10 Vpp into a 50Ω load, meet distortion and settling specifications, and be protected against short circuits or connection to external power supplies. The output amplifier should exhibit a 50Ω output impedance regardless of output level setting. To generate low signal levels, most function generators have output attenuators. The attenuators allow the output amplifier to work within a limited range of output levels, so that distortion and signal-to-noise ratios remain constant as the output levels are changed. Floating Generator Many applications require that the function generators be able to provide a signal to a load which is not ground referenced. Even if the load is nominally ground referenced, a floating generator output will provide a much cleaner signal because system ground loops are 175

eliminated. It is important that the generator output shield is floating under all circumstances, even when the function generator is connected to a GPIB controller, or if an external frequency reference is connected to the instrument. ASICs DDS provides a new, clean, design approach for function generators. Much of the analog 'baggage' required for function generators is handled by digital logic circuits. Unfortunately, these logic circuits are big, complicated, and have to run fast. For example, a 15 MHz DDS requires a -bit adder operating at 40 MHz, with lots of glue logic. Fortunately, application specific integrated circuits (ASICs) provide a low cost solution to the problem. A TTL prototype of the phase accumulator diagrammed in Figure 4 required about 150 ICs. The prototype was just able to work with a clock of 10 MHz. A CMOS gate array of the same design was fabricated in a 68-pin PLCC plastic package. The gate array operates at 40 MHz (worst case), uses about 1/4 watt of power, and has a recurring cost of about $10. Conclusions DDS based function generators are just beginning to appear in the market. These function generators offer substantial performance improvements, at reduced costs, over conventional analog function generators. As the cost of ASICs, RAMs and DACs decline, while their speed and resolution increase, expect to see DDS based function generators soon replace their analog counterparts. 176 Application Notes