This content requires the Adobe Flash Player and a browser with JavaScript enabled. Click here to get the latest version of Adobe Flash Player.

MAKING WAVES: Eight years later, details still matter

Understanding waveform-generator operation and specifications before you buy is as important today as it was eight years ago.

By Dan Strassberg -- EDN Europe, 01 Oct 2006

It would be untrue and grossly unfair to the test-and-measurement industry to say that, in the eight years since EDN published an article on waveform generators (Reference 1), the technology and the products have remained unchanged. The most obvious change is the disappearance of some of the manufacturers mentioned in 1998—although those companies’ product lines are mostly still available from the companies that acquired the businesses. Strikingly, though, despite the appearance of many improvements and higher performance products, plus the fact that a 2006 dollar buys more waveform-generation capability than did a 1998 dollar, the underlying technology has remained surprisingly stable. Except for some new features, the block diagrams of most 2006 waveform generators are remarkably similar to those of 1998 instruments. Moreover, the need to understand the specifications and operation of the waveform-generation products that you buy today is just as important as was that need eight years ago.

Even though their underlying technology is digital, the waveform generators that this article covers all produce analog waveforms. Generators that are analog throughout are still being manufactured— as are analog oscilloscopes, but, just like analog scopes, analog waveform generators are now restricted almost entirely. to low-cost units whose primary market is in education. Internally digital generators range from units that produce sinusoidal signals whose output frequencies max out at a few megahertz to units that can deliver sine waves at frequencies as high as 500 MHz. Upper frequency limits for sinusoidal outputs are more commonly only 50 or 80 MHz, however. When producing nonsinusoidal waveforms other than square waves, these generators’ maximum output frequencies are usually lower, although the maximum square-wave frequency is often equal to the maximum sine-wave frequency.

Prices for high-quality waveform generators begin at a little more than $1000 and range to more than $50,000 for the highest performance units. The generators this article discusses—even theultrawide-bandwidth units that can produce signals at hundreds of megahertz— are usually thought of as baseband devices. Nevertheless, most generators that produce signals at frequencies beyond 80 MHz are categorized as RF-signal sources. Unlike baseband generators, however, RF generators can usually produce both modulated and unmodulated carriers. In most cases, RF generators include modulation sources. But these instruments usually also accept modulation signals from external sources, such as the baseband generators discussed here. Often—especially when the modulation is digital—the baseband generator must produce two independent outputs, I (inphase) and Q (quadrature), because many forms of digital modulation depend on the separate control of the RF signal’s I and Q components (see sidebar “Using waveform generators in IQ-modulator characterization” in the Web version of this article at www.edn.com/060914cs).

Several architectures dominate waveform generation (Figure 1). Probably the most common, albeit not the most familiar, is the SFG (synthesized-function generator), or function synthesizer. The SFG architecture is a clever elaboration of DDS (direct-digital (frequency) synthesis). The more familiar architecture is that of the ARB or AWG (arbitrarywaveform generator). In all likelihood, the reason that the ARB architecture is more familiar is that designers more easily understand it at the block-diagram level—though not necessarily at the detailed implementation level. Some generators—even relatively inexpensive ones—employ both architectures, using each to perform those functions the instrument that designers believe it performs best.

According to the company, Tabor’s Wonder Wave series (Table 1) delivers, without compromise, the best features of AWGs and SFGs at prices approaching those of SFGs, which are generally less expensive than AWGs. Although this impressive claim suggests an architectural breakthrough, the generators are true AWGs that use DDS-based clocks.


STRENGTHS, WEAKNESSES

It is important to understand the strengths and weaknesses of the architectures and how these characteristics can either suit a generator for a certain job or provide a reason for you to select a different model for your application (Table 2). A lack of understanding can lead you to discover—too late—unexpected performance quirks that make using the generator considerably more difficult than you expected.

One complication in evaluating waveform generators is that manufacturers are often inconsistent in their use of such terms waveforms, such as sine, square, sawtooth, and triangular waves, can, within limits, produce arbitrary waveforms. Adding such capabilities to an SFG does not add tremendous cost, and users who believe that they may someday need to generate arbitrary waveforms find the feature an attractive security blanket. Unfortunately, the manufacturers sometimes describe these SFGs as ARBs or AWGs, even though the instruments can’t match the arbitrary-waveform-generation capabilities of generally more expensive, true ARBs. Some manufacturers use the term “AFG” (arbitrary-function generator) to denote instruments that are basically SFGs but also offer limited arbitrary-waveform-generation capabilities.

Further complicating product selection is the fact that many true ARBs use DDS to generate their swept-frequency clocks (Figure 2). Whereas DDS is well-suited to generating frequency sweeps and a sweep capability is an important attribute of most SFGs, not all AWGs that use DDS to produce swept-frequency clocks deliver the best combination of AWG and SFG attributes.


THE PHASE ACCUMULATOR

The heart of an SFG is the phase accumulator. This elegant functional block converts a reference clock at a fixed frequency, fC, into a stable, lower frequency output clock whose frequency, fO, you can set with great precision over a wide range and change essentially instantaneously in tiny, huge, or in-between steps. In addition, the output signal’s phase is continuous when the frequency changes. That is, if you command the frequency to change from, say, 10 MHz to 100 kHz at the 227 point of an output cycle, the 100-kHz waveform begins at its 227 point. Moreover, if the phase accumulator drives a DAC that produces an analog output, no discontinuity occurs in the output amplitude—only a change in slope if the output is a sine wave or another continuous waveform.

DDS is well-suited for the production of swept frequencies because you command the phase accumulator to produce a particular value of fO by supplying it with a binary number, M. (Implementations also exist in which M is in binary-coded-decimal format.) The greater the value of M, the higher the output frequency. If you continuously vary M, fO continuously varies. By supplying values of M that change over time in appropriate ways, you can create a limitless variety of sweep types, of which linear and logarithmic ramps, sawteeth, and sinusoidally varying frequencies are probably the most common.

You can think of this approach as dividing an output cycle into 2N intervals or steps. Suppose N14; then, 2N16,384 and each step represents 360/16,384 or 0.02197. If N14 and M2048, the sample points occur at 45 intervals, and fOfC/8. If M1, the sample points occur at 0.02197 intervals and fO214fC. In this example, the values of M are powers of 2, but in a real system (actually a somewhat simplified version of a real system) in which N14, M would be a 14-bit binary number and could therefore assume any integer value from 1 to 16,384. An output cycle need not contain an exact integer number of sample periods, however. Indeed, the lack of such a requirement makes possible the synthesizer’s superb frequency resolution—that is, its ability to let you adjust fO in such tiny increments.

This digital-frequency synthesizer is a sampled-data system and is subject to the limitations of the sampling theorem. In the preceding example, the theoretical maximum output frequency is incrementally less than 0.5fC.The practical maximum is somewhat lower—approximately 0.4fC.


OTHER FUNCTIONAL BLOCKS
Although the phase accumulator is a key element in an SFG, it isn’t the whole instrument. To produce analog waveforms, the instrument must convert the frequency synthesizer’s swept- or variablefrequency output into an analog waveform. This conversion requires a waveform memory, a DAC, and output-signal conditioning—which often includes deglitching of the DAC output, always includes filtering, and usually includes amplification. With the frequent exception of square waves, which designers usually think of as trivial, the data sets that define the standard waveforms reside in ROM look-up tables. Sometimes, even the square-wave data sets reside in ROM, as this approach permits precise control of rising- and falling-edge slew rates. For user-defined—that is, arbitrary—waveforms, the look-up tables reside in RAM instead of ROM. With the increase of fO, the number of points in the waveform definition decreases. In other words, as fO increases, the generator is able to send fewer and fewer of the values from the look-up table to the DAC. Conversely, at low values of fO, the generator may repeatedly send some or all of the values from the look-up table to the DAC before moving to the next value in the data set.

Although it is not intuitively obvious, an SFG that uses a single-frequency clock to provide the input to its frequency synthesizer, as do most SFGs, does not need output lowpass filters whose corner frequency depends on the output signal’s repetition rate. The ability to use relatively simple fixed-frequency output filters is a key reason that SFGs can be highly cost-effective.



Though they offer a large number of highly desirable characteristics, SFGs are, nevertheless, not perfect. For example, the fact that a generator may skip points in the waveform-definition look-up table at high values of fO and may repeat points at low values of fO suggests that the output waveforms are not completely predictable. Moreover, because M, the number that determines fO, need not be an integer submultiple of the look-up-table depth, cycle-to-cycle variations can easily occur in the waveforms. That is, on successive iterations of the output waveform, different look-up-table points will repeat or be absent. Thus, SFG outputs, though extremely stable in average frequency over the long term, can exhibit troublesome cycle-to-cycle variations in the short term. You can correctly characterize these variations as jitter.

In addition, whereas waveform-memory depths of 214 (16,384) points—the value in several popular SFGs—may sound generous, user-defined waveforms are often as much as 16M points deep. Moreover, users may want to effectively modify the waveform depth on the fly by repeating waveform segments, often through the use of conditional branching and looping. In the waveform-generator context, conditional branching is the ability to jump to a specified point in the waveform-definition table after satisfying a test condition. Looping is the ability to repeat a range of waveform-definition points either a specified number of times or until some test condition is satisfied. Although such capabilities are common in ARBs, no SFG currently on the market offers these features, and it is not clear that such capabilities would be consistent with the SFG architecture.


AWGs: SIMPLE IN CONCEPT
It would be convenient to say that AWGs developed as a result of SFGs’ shortcomings, but AWGs predate SFGs and have evolved into the dominant highend waveform-generation products as SFGs captured an increasing share of the high-volume applications. Conceptually, AWGs are simple: A clock, which can use DDS, drives a counter, which supplies addresses to the waveform memory. For arbitrary waveforms, the memory is always RAM. The sequencing logic, which makes possible the looping and branching capabilities, stands between the counter output and the memory-address lines. The data-set values from the memory become the input to a DAC, which drives analogsignal- conditioning circuits that supply the output signal. From a block-diagram perspective, the AWG’s signal conditioning is much the same as that of the SFG, although, in practice, the filters can differ significantly.

Strictly speaking, although you can use a DAC on a PC-plug-in data-acquisition board to generate arbitrary waveforms, such a board does not fit the definition of an AWG. For example, data-acquisition boards incorporate no loopingand- branching memory-addressing logic. And, whereas a data-acquisition board may provide a means of adjusting the DAC’s offset and full-scale-output voltages over narrow ranges, if you want to reduce the full-scale output from, say, 10.24 to 5.12V, either you must furnish your own output attenuator, thereby increasing the output-source resistance, or you must divide the DAC’s digital inputs by two, thereby reducing the unit’s resolution. On the other hand, many instrument- level AWGs have wide-range gain controls that require neither of these compromises.

Although data-acquisition boards aren’t AWGs or SFGs, true AWGs and SFGs are available not only in familiar benchtopinstrument formats, but also as modules in such formats as CompactPCI and PXI, as well as in standard PC-plug-in—that is, PCI—formats. Among the suppliers are LeCroy, National Instruments, and VXI Technology.

Output filtering is an area in which AWGs and SFGs can differ significantly. As stated, SFGs work well with relatively simple fixed-frequency lowpass filters. In contrast, AWGs can sometimes benefit from output lowpass filters whose 3-dB frequency, f3 dB, is a constant fraction of the clock frequency. With a DDS-based clock, f3 dB would thus be a constant fraction of the DDS-output frequency. The problems with this approach, however, are its complexity and cost. As a result, practical generators sometimes settle for a few switchable, fixed-frequency filters.

In an AWG, there is merit to making f3 dB—and perhaps the shape of the filter’s stopband response—user-selectable instead of linking f3 dB to the clock frequency. The generator’s designer has, at best, only a vague idea of the complexity of the waveforms the instrument’s users will want to synthesize. At a given repetition rate, more complex waveforms have greater high-frequency content than do simpler ones and may require a more complex filter topology, a higher f3 dB, or both. Using DSP to shape the values of the data-set points that define the waveform before applying the values to the DAC might be a way to optimize the generator’s frequency response and minimize the filter requirements. The multimedia world uses upsampling, in which DSP techniques fill in intermediate values in sparsely sampled, bandwidth-limited data sets, thus simplifying the reconstruction of analog signals from sampled data. Such techniques might also work in waveform generators. Nevertheless, no commercial baseband waveform generator currently uses either approach.


DON’T GET CARRIED AWAY
Companies that market waveform generators emphasize that the biggest problems their customers experience with the products involve learning to use the more arcane features, especially defining arbitrary waveforms. Although many generators that produce arbitrary waveforms require a separate computer running appropriate software for creation of waveform-definition files, some generators include built-in waveform-definition applications. Users who lack experience with these applications and who believe that they can learn by creating a complex waveform that they need now are likely to suffer disappointment and frustration. Even for experienced users of waveformdefinition applications, the creation of complex waveforms takes time. You should gain facility with such applications by first learning how to define relatively simple waveforms, and, to do so, you should set aside adequate learning time when you are not under pressure. You should try defining complex signals only after you have mastered the basic operations, and, again, you should avoid working on complex definitions when you are under time pressure.

Generally speaking, waveform-generator user interfaces are only moderately complex. Many newer instruments have frontpanel waveform displays that give the generators the look of oscilloscopes. To the uninitiated, this appearance can be deceiving. Few of these instruments provide displays of actual output waveforms. Rather, the displays give you an idea of such waveform characteristics as rise time when you are specifying them.



Although the number of bits of vertical resolution in waveform-definition data sets is important, don’t assume that a generator’s vertical accuracy necessarily equals the full-scale output divided by 2N, where N is the number of bits. Look instead for a specification of vertical resolution as a percentage of full scale; it is likely to correspond to a slightly smaller effective number of bits because of static and dynamic errors in the DAC and signal- conditioning circuits. Remember, too, that both the actual and the effective word length tend to be lower in generators with higher bandwidth. If you can find an instrument that simultaneously delivers 16 effective bits of resolution and 500-MHz bandwidth, it is likely to cost you dearly.


Reference

  • Strassberg, Dan, “Choosing a waveform generator: The devil is in the details,” EDN, Sept 1, 1998, pg 75, www.edn.com/archives/1998/090198/ pdfs/18df2.pdf.

  • “Direct-Digital Frequency Synthesis: A Basic Tutorial,” Osicom Technologies Inc, www.ehb.itu.edu.tr/~eepazarc/ddstutor.html.

  • “The ABCs of Arbitrary Waveform Generation,” Agilent Technologies, Publication No. 5989-4138, http://cp.literature.agilent.com/litweb/pdf/ 5989-4138EN.pdf, November 2005.

  • “XYZs of signal sources,” Tektronix Inc, Publication No. 76W_16672_3, www2.tek.com/cmswpt/tidetails.lotr?ct =TI&cs=Primer&ci=2323&lc=EN, June 2005.


  •  

    Our Sponsors



    Ads by Google