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

USB reaches mainstream status

Numerous choices and price ranges, combined with a plug-and-play capability, make USB products a viable alternative to PCI cards.

Martin Rowe, Senior Technical Editor -- Test & Measurement World, 6/1/2005

 
What do you get for $150?

Web Exclusive:
Compare the specs of a sampling of USB data-acquisition products from several manufacturers.
(Microsoft Excel format)


Read other articles from this issue: Table of contents, June 2005

FEATURES
China on the air
Keep your eye on the metal bumps
USB reaches mainstream status
Video goes mobile
Distributed data
Given the popularity of USB as a peripheral bus on today's PCs, instrument makers have recently produced a flurry of data-acquisition products in the USB form factor. Today, you can get USB data-acquisition modules that range in price from $50 to $2495. Sample rates now reach 500 ksamples/s, and thanks to USB 2.0, the bus doesn't limit throughput to slower sample rates as it once did. Even handheld DMMs have switched to USB because the PC's RS-232 port is vanishing (Figure 1). IOtech's PersonalDaq (Figure 2) and

National Instruments' DAQPad pioneered USB data-acquisition in 1998; both were slow-speed, high-resolution instruments. Data Translation was the first to offer acquisition rates comparable to plug-in cards (100 ksamples/s) when it introduced the DT9801 in 1999.

Software and hardware

When those first USB instruments appeared, Windows support for USB was still in flux. With Windows 98 Second Edition, Microsoft stabilized USB support, although not until Windows 2000 did USB take off. Today, many USB data-acquisition products require Windows 2000 or Windows XP.

 
Figure 1.  Fluke’s Model 189 DMM now connects to PCs though their USB ports. Courtesy of Fluke.

Early USB instruments connected to PCs over the 12-Mbps USB 1.1, which limited throughput to 100 ksamples/s with 16-bit resolution. With USB 2.0 running at "high speed" (480 Mbps), data-acquisition modules such as the DT 9834 from Data Translation and the KUSB-3116 from Keithley Instruments now provide throughput as high as 500 ksamples/s with 16-bit resolution on eight channels while controlling analog and digital outputs.

Because USB offers plug-and-play capabilities, it is well-suited for quick measurement applications. It also removes sensitive analog circuits from the electrically noisy PC. USB instruments can easily move from one PC to another—as long as you install the drivers in every lab PC and you don't lose the driver CD. Indeed, the academic, engineering, and scientific communities have embraced USB. "Instructors like the ability to take quick measurements," said Craig Anderson, product marketing engineer for data-acquisition software at National Instruments. "With USB, students don't need to become prolific with PC-based instruments. They can focus on collecting and analyzing data for their projects."

 
Figure 2.  IOtech’s PersonalDaq/54 is a descendant of the PersonalDaq/56, one of the first USB data-acquisition modules. Courtesy of IOtech.
The automotive industry has also embraced USB. Douglas Gerard, director of software R&D at Roehrig Engineering, specifies a USB data-acquisition module from Measurement Computing for each shock-absorber dynamometer and suspension-spring rater that his company makes. Prior to using USB-based data acquisition, Gerard used a PC plug-in card and ran an unwieldy cable from a desktop PC to the dynamometer's analog signals. With USB, he eliminated the bulky cabling and put the digitizing electronics inside the dynamometer. All he needs to interrogate and control the dynamometer is a notebook PC and the company's software.

Not everyone wants to write custom application software, though. To aid users who want to collect data without programming, manufacturers of USB data-acquisition modules provide datalogging software for collecting and storing data. IOtech adds offline data-analysis and plotting software. As a general rule, the more you pay, the more you get for stand-alone software, although Dataq Instruments supplies a flexible datalogging program even with its $50 module.

Over the last year, Data Translation, Measurement Computing, and National Instruments have introduced USB data-acquisition modules priced just under $150. To get a feel for how these units work and what you get, I tried each of them. "What do you get for $150?" below explains my impressions of the modules and their software. (I chose not to evaluate the Dataq $50 instrument in order to keep the playing field level; thus, I limited my evaluations to the three $150 models.)

Some companies provide application-development packages with their USB modules. Data Translation, for example, supplies a fully functional version of DT Measure Foundry that runs for 14 days. In that time, you can develop run-time-only applications that don't expire. Measurement Computing supplies a fully functional, free copy of SoftWire, an application-development program for Visual Studio .NET.

Not for everyone

USB isn't the perfect I/O bus for all applications, though. Some engineers question its usefulness in production environments, and with good reason. The USB cable's connectors can easily come out. In addition, the USB cables themselves lack the robustness of IEEE 488 cables, and they lack the length of Ethernet cables—because of signal reflections, the USB specification limits cable length to 5 m (Ref. 1).

The bits that travel along USB cables can move at "full speed" (12 Mbps) on USB 1.1-compliant modules and computers or at "high speed" (480 Mbps), provided that the host PC, the instrument, and all hubs in between comply with the USB 2.0 specification. But be aware of products that claim to be "USB 2.0 compatible." Such products may communicate with a USB 2.0-compliant port, but at full speed, not high speed. For example, National Instruments' Anderson said that at present, all of his company's USB data-acquisition products run at USB full speed but are compatible with USB 2.0-compliant ports. Check an instrument's data sheet if to see if will run at high speed.

Although USB moves the analog circuits away from the PC and closer to the measurement source, you can still get into trouble if you don't properly connect your signals. Interference caused by ground loops can produce measurement errors. If you use a USB instrument with a laptop PC running on battery power, you won't introduce a ground loop though the computer. If you use a PC connected to AC mains power, however, you can introduce ground loops through the power cord. "Isolate or denigrate" highlights how ground loops can cause errors and how USB instruments isolate measurement signals from PC grounds (Ref. 2). Keithley Instruments has also published a paper on making measurements with USB data-acquisition instruments (Ref. 3).

The 5 V of power that a USB cable supplies to a peripheral device may not provide enough power for the devices that a data-acquisition module controls. For example, multifunction data-acquisition modules provide digital I/O lines, and digital I/O modules provide as many as 96 I/O lines.

Because of the limited power of the USB, you may not be able to use digital outputs to source current. Or, the current you get may not be sufficient for your application. The best way to get adequate current is to use the digital outputs to sink current supplied by an external supply. Check the specification for a module's digital outputs to see what you need to drive your circuits.

With USB product offerings now wide enough to cover many applications, the bus is ready to take its place among the major choices of instrument buses. All that remains is to see how USB instruments from different manufacturers work together in automated test systems.

References

1. "USB Frequently Asked Questions," USB Implementer's Forum, Portland, OR. www.usb.org/developers/usbfaq.

2. Rowe, Martin, "Isolate or denigrate," Test & Measurement World, March 2005. p. 21.

3. Tucker, Jonathan, "Understanding the Benefits and Potential Hazards of Using USB-Based Data Acquisition Solutions for Test & Measurement Applications." Keithley Instruments. www.keithley.com/data?asset=50071.

 

What do you get for $150?

 
You can get USB data-acquisition modules from National Instruments, Data Translation, and Measurement Computing for just under $150.
When I noticed three USB data-acquisition modules available for just under $150, I decided to give them a try. If you're looking to make quick measurements, the software that accompanies these modules may prove inadequate.

I tried the DT-9810 from Data Translation ($149), the PMD-1208FS from Measurement Computing ($149), and the USB-6008 from National Instruments ($145). All units come with datalogging software that lets you view stored data, but only Data Translation gives you control of the modules' digital I/O port. (Editor's note: On April 29, National Instruments announced that it has purchased Measurement Computing.)

Data Translation also provides an oscilloscope display and a software digital voltmeter (DVM). Of the three companies, only Data Translation provides the most important tool—a screwdriver. But the DT-9810's input voltage range is just 2.4 V, so you have to provide your own signal conditioning for higher voltages or move up to a $249 model. For programming support, you get the company's DT Open Layers API for Windows, LabView VIs, and a 14-day evaluation copy of DT Measure Foundry.

With its PMD-1208FS, Measurement Computing provides TracerDAQ, a datalogging package that lets you view data and store it in Excel or in delimited-text format. TracerDAQ also features a scope display, but it limits the module's sample rate to 1 sample/s, although the module can sample at 50 ksamples/s. TracerDaq provides no access to the PMD-1208FS's digital I/O port. The company also supplies InstaCal, which lets you calibrate the module against its internal voltage source.

National Instruments provides a datalogging application as part of its DAQ-mx Base driver that is packaged with the USB-6008. The datalogger will let you operate the module at full speed (48 ksamples/s), but it doesn't let you control the module's digital I/O port. The software lets you save data to disk in Excel format, but it saves every time you operate the module. The software should let you disable the recording feature until you're ready to collect data.—Martin Rowe


USB data-acquisition products

Click here to see the specs of a sampling of USB data-acquisition products from the following companies: 

  • Data Translation
  • Dataq Instruments
  • Fluke
  • IOtech
  • Keithley Instruments
  • LabJack
  • Measurement Computing
  • Omega Engineering
  • National Instruments

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

  • Martin Rowe
    Rowe's and Columns

    July 22, 2008
    Disposable test equipment
    While visiting a company for an upcoming T&MW print article, I heard an engineer talk about high...
    More
  • Martin Rowe
    Rowe's and Columns

    July 16, 2008
    Oscilloscope frustrations
    The other day, a reader e-mailed me about his oscilloscope frustrations. "I use my oscilloscope...
    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