Global TMW:
Login  |  Register          Free Newsletter Subscription
Subscribe
Email
Print
Reprint
Learn RSS

Smooth the Discontinuities in AWG Waveforms

Using the filters in an arbitrary waveform generator, you can minimize discontinuities in waveforms.

Martin Rowe, Senior Technical Editor -- Test & Measurement World, 2/1/1999

Arbitrary waveform generators (AWGs) let you produce a myriad of waveforms, including continuous waveforms. To create a continuous waveform, you can define a set of points in the instrument’s memory, then use the instrument’s looping function to repeat the waveform indefinitely. That’s great, as long as the relationship between your last point and first point don’t produce a discontinuity.

A discontinuity results when the AWG produces an unwanted step in its output. If you continuously ran the upper 1024-point waveform in Figure 1 , you would get a clean AM signal. The amplitude at the waveform’s end matches that at its start. The lower trace shows what might happen if you incorrectly edited the waveform. You’d get two discontinuities, one when the AWG goes from point 511 to point 512, and another when it goes from point 1023 back to point 0.

02t4fig1.gif (29714 bytes)
Figure 1. When you cut and paste signals using a waveform editor, you can get discontinuities. (Courtesy of Wavetek.)

If you were to look at the two signals in the frequency domain, you’d see the results of the discontinuity. The lower plot in Figure 2 shows a spreading of the spectrum caused by the discontinuity.

02t4fig2.gif (2862 bytes)

Figure 2. Discontinuities in AWG outputs can cause spectrum spreading. (Courtesy of Wavetek.)

Fortunately, AWGs contain filters that can minimize discontinuities. A finite-impulse response (FIR) filter will smooth discontinuities by applying a sin(x)/x function to the output data. In effect, the FIR filter averages the beginning and the end of a waveform, which smooths the data before the AWG’s digital-to-analog converter creates the output voltage.

Sometimes you can minimize discontinuities yourself. Suppose you create a composite signal from two signals where neither signal is a harmonic of the other. As an example, take dual-tone multifrequency (DTMF) tones composed of two sine wave tones. The telephone “1’’ key generates a DTMF signal composed of a 697-Hz tone and a 1209-Hz tone.

Suppose you set the AWG’s sampling rate to 69.7 kHz, or 100 samples/cycle of the 697-Hz tone. That 100 samples will produce 1.73458 cycles of the 1209-Hz tone. If you set the AWG to repeat after 100 samples, you’ll get a discontinuity in the 1209-Hz tone because it hasn’t completed a cycle when the AWG’s output returns to point 0.

You can minimize discontinuities by using more of the AWG’s memory. Rather than repeat every 100 points, find some number of cycles for each frequency that gets the two close to each other. The FIR filter can do the rest. For example, if you use 1500 points, you’ll get 15 cycles of the 697-Hz tone and nearly 26 cycles of the 1209-Hz tone.1   

If you’re testing a telecom product that receives DTMF tones, you’ll need more than just the tone for the “1’’ key. Try simulating the two frequencies for each tone on a spreadsheet or with a math software package. Look for an integer numbers of cycles where the two waveforms have approximately the same amplitude. Program those numbers of cycles into the AWG’s memory and let the filters smooth out the discontinuity. T&MW

FOOTNOTE
1. Gould, Bruce, Arbitrary Waveform Generators: A Primer, Wavetek, San Diego, CA, 1992.

FOR FURTHER READING
“Easy Waveform Creation,” Bulletin No. AD-1048, Analogic, Peabody, MA, January 1993.
Rowe, Martin, “Don’t Let AWG Specs Confuse You,” Test & Measurement World, May 1995, p. 57.
Signals and Measurements for Wireless Communications Testing, Tektronix, Beaverton, OR, www.tek.com/Measurement/App_Notes/ap-Wireless/.

Strassberg, Dan, “Choosing a waveform generator: The devil is in the details,” EDN, September 1, 1998, p. 75.

Waveform Creation Made Easy, LeCroy, Chestnut Ridge, NY, www.lecroy.com/Tutorials/WaveformCreation/WaveformCreation.html.

Email
Print
Reprint
Learn RSS

Talkback

We would love your feedback!

Post a comment

» VIEW ALL TALKBACK THREADS

Related Content

Related Content

 

By This Author

Sponsored Links



 
Advertisement
SPONSORED LINKS

More Content

  • Blogs
  • Podcasts

Blogs

  • Rick Nelson
    Taking the Measure

    August 28, 2008
    What’s your battery IQ?
    What features do you look for in a battery, and do you know which battery technologies to choose to ...
    More
  • Rick Nelson
    Taking the Measure

    August 27, 2008
    Jim Williams gets a shout-out in Forbes
    Forbes magazine has discovered that Silicon Valley isn’t all “slick marketing pitches, s...
    More
  • » VIEW ALL BLOGS RSS

Podcasts

Advertisements





NEWSLETTERS
Click on a title below to learn more.

Test Industry News (3 Times Per Month)
Machine-Vision & Inspection (Monthly)
Communications Test (Monthly)
Design, Test & Yield (Monthly)
Automotive, Aerospace & Defense (Monthly)
Instrumentation (Monthly)
Resource Center E-Alert (Monthly)
©2008 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy
Please visit these other Reed Business sites