Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?

[Design Application]

Use An Arb And A DSO To Find Elusive Bugs In Comm Software


Testing With Modified Waveforms Can Ensure Your Circuit Is Working Right And Your Code Is Detecting Bit And Packet Errors Correctly.

Contributing Author  |   ED Online ID #7515  |   July 12, 1999

Article Rating: Not Rated

Design engineers working on digital communications products often need to verify specifications stipulated in complex design criteria. Anyone who's ever designed a wireless modem, for example, knows it's not easy to test it for all the different reception failure modes before bringing it to market. With digital radios or other digital products required to work over long distances, it's difficult to simulate on the laboratory bench all the different scenarios that might occur in the real world. An arbitrary waveform generator (arb) and a digital storage oscilloscope (DSO) can be vital, then, to a company's R&D efforts.

An arb can output just about any signal pattern imaginable. So, virtually any form of signal "corruption" can be added to a starting signal that's known to be good. These modified signals can be saved and then used repeatedly at any time for product verification during the design phase.

Many digital communications products include software that monitors the received data, hunting for bit or packet errors while performing command and data processing. Some of these software systems are even capable of forward error correction. Test procedures can ensure that this software is, in fact, detecting bit and packet errors correctly. We'll cover five areas of error testing—signal-amplitude tests, asynchronous-data-timing errors, forced-bit errors in varied positions, noise testing, and command-spacing limits.

Our test setup consisted of an HP 54645D mixed-signal oscilloscope (MSO), an HP 33120A arbitrary waveform generator, and HP BenchLink software. Even though we chose the HP 54645D, just about any scope with a memory buffer large enough to store the 20 to 50 samples/bit contained in the analyzed data-packet structure will work.

The scope must have an IEEE-488 general-purpose interface bus (GPIB) or some other interface for easy uploading of data points to a computer. We chose the HP MSO because of its very large memory buffer (1 Msample/channel). And, it's available for under $5000. As a starting point, a scope with a 2- to 4-ksample buffer or more should be used.

The HP 33120A arb was selected for its features, including outputs of up to 40 Msamples/s with 12 bits of resolution. It also costs less than $2000. When simulating data packets over 2 Mbits/s or very large packets such as those used for computer local-area networks (LANs), an arb with faster sample rates or more memory might be required. These improvements, however, also will mean a dramatic jump in the arb's price.

Hewlett-Packard's BenchLink software is a dedicated Windows program meant only for use with HP scopes and the 33120 arb. It makes the cut, paste, and edit process extremely simple, but it doesn't lend itself to more advanced instrument control. Advanced automated instrument controls are best left to programs such as HP-Vee and LabView. While these programs are much more powerful than BenchLink, they require programming to use. Allowing for some programming time, though, both HP-Vee and LabView could do this job equally well.

The device under test (DUT) was LPA Design's FlashWizard II radio transceiver. This remote-control photographic-equipment system is used at major sporting events, such as professional basketball games. It can remotely synchronize up to 32 cameras to a single flash of light at a shutter speed of 1/250 of a second, using on/off-keyed (OOK) signaling at 68 kbits/s to send and receive commands.

The first step is capturing a "clean" data packet, typical of the command codes the radio normally receives, on the scope. To do this, we used HP's deep-memory MSO connected to the received-signal-strength-indicator (RSSI) signal in the FlashWizard receiver. The transmitter was located only a few feet away on the bench to achieve a good signal-to-noise ratio (SNR). Using a GPIB interface and the BenchLink software, this packet waveform was copied to the computer. The capture was completed using 2000 sample points to represent the packet. The packet contained under 100 bits of information, equating to more than 20 analog sample points per bit.

It's important to have a sufficient number of samples per bit to prevent the arb from adding too much distortion to the packet. As a guideline, about 20 to 50 samples should be used for each bit in the packet.

With a "clean" error-free packet now on the computer, we copied this waveform to the Windows clipboard. Then, we transferred it to the BenchLink/arb program for permanent safekeeping and future reuse (Fig. 1).

This error-free waveform was transferred into the arb using the GPIB bus and BenchLink/arb. The playback rate and amplitude were adjusted to match the original waveform, with the signal verified on the MSO. It's best to use the arb in the single-shot burst mode for this operation.

The next step was verifying that the error-free packet worked on the receiver, the DUT. This was done by connecting the arb to the DUT's baseband detector input (the RSSI line in Figure 2) and disconnecting the radio receiver subsection so it wouldn't conflict with the arb's simulated signal. After seeing error-free reception, fault testing followed.

The variations in signal amplitude are often very dependent on distance, battery levels, and the transmission medium. On the signal's receiving end, the circuit used to decode (quantitize) it back to digital logic levels may be sensitive to amplitude variations. In this particular application, a voltage comparator on the DUT was used to digitize the signal back to logic levels. Then, using the arb's front-panel control knob, the amplitude was ramped up and down to find the upper and lower signal-level limits of operation for the DUT.

The basic front-panel controls and one-line alphanumeric displays on low-cost arbs definitely aren't very useful for downloading waveforms by hand. But they are quite user-friendly for operation once the waveform is in the arb's memory.




<-- prev. page     [1] 2     next page -->

Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


  • Network-On-Chip Tools Arrive for The Masses
  • Tackling System Design Challenges Through Early Verification
  • ESL Tools Take Center Stage As Designers Move Up
  • Parasitic Extraction Tool Targets Next-Generation Custom ICs
  • Synopsys Jumps Into ESL-Synthesis Pool
  • Verify Control Systems Before Committing To Hardware
  • You're Using How Many FPGAs?
  • Tool Up For The FPGA Blitz
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (183 views today)
    2) Hot Hands For Some Cool Rock: Motion Sensing Meets Audio Engineering
    (170 views today)
    3) GPS-Derived Grandmaster Clock Delivers Ultra-Precise Time And Frequency Sync
    (90 views today)
    4) What's All This Transimpedance Amplifier Stuff, Anyhow? (Part 1)
    (86 views today)
    5) Downconverting Mixers Lower Power Consumption While Improving Performance
    (71 views today)
    ALL TOP 20







    POST YOUR COMMENTS HERE

    Name:

    Email:
    Rate this article:

     less useful more useful 
    1
    2
    3
    4
    5
    Your Comments:

    Enter the text from the image below




    Please refresh the page if you have trouble reading this text.
    (Acceptable Use Policy)
     
     

    PartFinder

    Find real-time pricing, stock status, same-day/next-day shipping options and more. Brought to you by Digi-Key. Go to PartFinder.    
    GlobalSpec

    PART SEARCH :
    Powered by: GlobalSpec - The Engineering Search Engine
    Sponsored Links

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources