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 2:00:00 AM
|
|
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.
USB gains acceptance
11/01/2004USB instruments offer 80 analog inputs
09/25/2007Multichannel USB module
07/31/2006
-
FLIR offers IR camera for under $3000
-
Don't let the economy compromise quality (Guest commentary)
-
Danaher speeds up restructuring, acquires life-sciences businesses
-
Agilent’s Cover-Extend technology eliminates need for physical test points for in-circuit test
-
So many combinations: Testing a switch-matrix board


























