Feature
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, Contributing Technical Editor -- EDN, 9/14/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 '98—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 and 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—just as are analog oscilloscopes, but, 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 upward to more than $50,000 for the highest performance units (Picture). The generators this article discusses—even the ultrawide-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 (in-phase) and Q (quadrature), because many forms of digital modulation depend on separately controlling the RF signal's I and Q components (see sidebar "Using waveform generators in IQ-modulator characterization").
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 on DDS (direct-digital (frequency) synthesis). The more familiar architecture is that of the ARB or AWG (arbitrary-waveform 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 architecture to perform those functions the instrument designers believe it performs best.
According to the company, Tabor's Wonder Wave series (Picture) (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 (Picture).
Strengths, weaknessesIt 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 as ARB. Many SFGs, though best at generating standardized 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 accumulatorThe 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 to producing 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 N=14; then, 2N=16,384 and each step represents 360°/16,384 or 0.02197°. If N=14 and M=2048, the sample points occur at 45° intervals, and fO=fC/8. If M=1, the sample points occur at 0.02197° intervals and fO=2–14×fC. In this example, the values of M are powers of 2, but in a real system in which N=14 (actually a somewhat simplified version of a real system), 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.5×fC. The practical maximum is somewhat lower—approximately 0.4×fC.
Other functional blocksAlthough 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 variable-frequency 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. As fO increases, the number of points in the waveform definition decreases. In other words, as fO increases, the generator skips sending more and more 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 unclear that such capabilities would be consistent with the SFG architecture.
AWGs: simple in conceptIt would be convenient to say that AWGs developed as a result of SFGs' shortcomings, but AWGs predate SFGs and have evolved into the dominant high-end 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 analog-signal-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 looping-and-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 benchtop-instrument 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 (Picture), 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, f–3 dB, is a constant fraction of the clock frequency. With a DDS-based clock, f–3 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 f–3 dB and perhaps the shape of the filter's stopband response user-selectable and not linking f–3 dB to the clock frequency. The generator's designer has, at best, only a vague idea of the complexity of the waveforms the instrument 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 f–3 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 awayCompanies 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 waveform-definition 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 front-panel 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.
| For more information | ||
| Aeroflex: www.aeroflex.com | Agilent: www.agilent.com | Berkeley Nucleonics: www.berkeleynucleonics.com |
| BK Precision: www.bkprecision.com | Elan: www.elandigitalsystems.com | Fluke: www.fluke.com |
| Krohn-Hite Corp: www.krohn-hite.com | LeCroy: www.lecroy.com | National Instruments: www.ni.com |
| Rohde & Schwarz Company: www.rohde-schwarz.com | Stanford Research Systems: www.thinksrs.com | Tabor: www.taborelec.com |
| Tegam: www.tegam.com | Tektronix: www.tektronix.com | VXI Technology: www.vxitech.com |
| Yokogawa: www.yokogawa.com | ||
| Author Information |
| Contributing Technical Editor Dan Strassberg has covered test and measurement for EDN for nearly 19 years. He holds two degrees in electrical engineering—a bachelor's from Rensselaer Polytechnic Institute (Troy, NY) and a master's from the Massachusetts Institute of Technology (Cambridge). |
| References |
|
| Using waveform generators in IQ-modulator characterization
By Mark Albert, Tektronix Modern mobile-telecommunications standards rely on IQ (in-phase/quadrature) modulation to impress digital data onto RF carriers. IQ modulation encodes the digital signal into amplitude variations of two analog sine waves that are phase-shifted by 90° relative to each other—the I and Q signals. Designers of IQ modulators must ensure that the devices meet certain performance criteria, such as IQ gain balance, phase skew, local-oscillator feedthrough, intermodulation distortion, and common-mode-rejection ratio. To characterize IQ modulators with respect to these parameters, you need a dual-channel signal generator to simulate the I- and the Q-input signals. Whereas a number of dedicated vector-signal generators are available, most offer only limited flexibility for adjusting the signal parameters. Built-in modulation generators commonly have a bandwidth of only 40 MHz, which can be limiting, especially when you need to test devices for modern wideband standards such as WiMax. General-purpose AFGs (arbitrary-function generators), on the other hand, now offer bandwidths to 240 MHz and allow direct, fine-resolution control of all signal parameters. The following example illustrates the benefits of using a modern AFG for the physical characterization of IQ modulators. On the input side, IQ modulators typically accept differential signals, matching the output-signal characteristics of modern high-speed DACs that, in normal use, provide the I and the Q signals. If the signal generator you use for the tests delivers only single-ended signals, you need a separate single-ended-to-differential converter. During characterization, you typically observe the IQ-modulator output on a spectrum analyzer. To ensure high signal quality, the IQ modulator must, within certain tolerances, symmetrically apply the modulation with respect to gain and phase shift. Otherwise, the receiver cannot properly decode the demodulated IQ signal. Therefore, IQ-imbalance measurements are critical. To measure the modulator’s imbalance, you observe the modulator output on a spectrum analyzer. IQ imbalance results in imperfections in the desired RF spectrum. By adjusting amplitude and phase of the simulated I and Q signals, you can minimize the imperfections. The negative of the generator-adjustment values then reflects the mismatch inherent in the modulator. Although some vector-signal generators allow manual adjustments of gain and phase skew, the settings often provide only coarse resolution. With other instruments, adjustments can require tedious reloading of vector signals. In comparison, modern AFGs allow direct adjustment of phase and amplitude in every channel with fine setting resolution of 0.01° for phase and four digits for amplitude. While you make the adjustments, a detailed graphical-waveform representation on the instrument’s display confirms the selected output waveforms, as well as their amplitude and phase offset, providing confidence that all relevant settings are correct (Figure A). As this measurement example illustrates, modern AFGs’ performance and flexibility enable the instruments to successfully address applications that only more expensive, dedicated test gear previously addressed. Nevertheless, for measurements that require stimuli at RF or IF, digital modulation, the simulation of complex protocols, or replication of real-world behaviors, high-end AWGs (arbitrary-waveform generators) with high bandwidths and sequencing capabilities remain the tools of choice. Author’s biography Mark Albert is a market specialist with Tektronix Inc’s signal-sources-product line. He has been with the company for nine years and is currently responsible for function and arbitrary-waveform generators. Before joining Tektronix, he worked for more than six years in international product marketing with several high-technology companies. He holds a master’s degree in electrical engineering from the Technical University of Darmstadt (Germany) and a master’s in business administration from the University of North Carolina—Chapel Hill. |
















