The Pluses and Pitfalls of USB DAQ
Jonathan Tucker
Lead Industry Consultant, Keithley Instruments, Inc

The Universal Serial Bus (USB) is gaining favor as an alternative interface for data acquisition and measurement applications. USB is already used in computer peripherals such as printers, mice, and digital cameras as a quick and easy way to connect to a PC. USB connections simplify peripheral installation by eliminating the need to crack open the PC to install a plug-in board.

What Is USB?

Today, virtually all desktop and laptop PCs on the market come equipped with USB ports. These ports have full software support under common operating systems such as Windows 2000 and XP.

Originally created to simplify the connection of external peripherals to personal computers, USB's ease of use has made it one of the fastest growing buses within the computer and electronics industry today.

USB Benefits for Test and Measurement

For test and measurement applications, USB data acquisition modules offer a number of significant advantages. USB provides users with a simple means of developing test and measurement applications by offering advantages over PC plug-in boards. These include plug-and-play capability, better noise immunity, cost savings, and portability, among others.

USB DAQ modules offer true plug-and-play capability. Modules connect to a PC USB port using a standard, low-cost cable. When plugged in, the PC automatically identifies the module and installs device driver software, simplifying setup and reducing start-up time. This eliminates the need to open a PC to add a board, configure DIP switches and IRQ settings, search for the right device driver, and reboot the system.

USB modules offer good noise immunity, with performance benefits for noise-sensitive measurements. USB cables are typically 1 to 5 meters long, so the I/O circuitry is located further away from the computer's noisy motherboard and power supplies, and closer to the signals they will be measuring.

Most USB modules offer full- and high-speed data transfer rates. Computers configured with USB 1.1 ports can transfer data to and from a USB DAQ module at up to 12 Mbits/second. The full-speed rate is good for data streaming applications and supports data acquisition rates of up to 400 kHz. For high-performance applications, USB modules that comply with USB 2.0 and are connected to PCs with a high-speed USB 2.0 port can attain data transfer rates of up to 480 Mbits/second. The increased bandwidth enables multiple I/O operations simultaneously at throughput rates up to 500 kHz in each direction, similar to PCI measurement systems.

Easy assembly and portability are also beneficial for most test and measurement applications. Many USB DAQ modules include removable terminal blocks or BNC connectors that conveniently handle all user I/O connections. This design is convenient and cost effective, eliminating optional screw terminal accessories. Modules are also compact and portable, allowing users to move even the most sophisticated test and measurement applications out of the lab and into the field.

The ready availability of accessories makes USB DAQ modules easily expandable. Using low-cost expansion hubs and USB cables, a single USB port can connect up to 127 data acquisition modules. Most USB modules are also hot-swappable, which means they can be installed or removed while the computer is running, with no need to power down the PC.

Power connections on USB DAQ modules are simple and easy to use, with modules being powered either directly by the bus or through a simple connection to an external power source. Low-powered modules draw less than 100 mA at 5 V and use the power supplied by the USB port. Self-powered modules draw up to 500 mA at 5 V.

Potential Hazards of USB

With all the benefits of USB come a few hidden hazards, which, if unchecked, can lead to inaccurate measurement results. Being aware of the hazards can help prevent problems.

For starters, unlike PCI boards, which have short substantial ground systems built into the backplane of the PC, USB modules have a long ground connection (up to 5 meters) and active circuitry at both ends. If a USB module is not designed properly, this can cause system lockups, erratic performance, and electromagnetic transients -- significant problems for noise-sensitive measurements.

Before choosing a USB data acquisition module, consider the application and the environment. It's also wise to ask a few questions:

1. Will the data acquisition module be susceptible to electrostatic discharge (ESD), lightning, or power surges from motors, switching devices, or other equipment?
2. Are there voltages that have different ground potentials?
3. Will the module be operated in a benign environment?

If the answer is "Yes" to questions 1 or 2, ensure that the system includes proper isolation.

Isolation protects the PC from damage and preserves data integrity by physically separating the electrical connections between circuits, thereby limiting potentially harmful voltage or current from flowing through the system. Isolation can be provided either by adding external signal conditioning accessories to the system, which can be expensive, or by choosing an isolated USB data acquisition module from the start.

A detailed look at different application environments will help explain the role of isolation in each case.

ESD, Lightning, or Power Surges

Figure 1 shows a typical application scenario in which a sensor is measuring a voltage from a device under test. The sensor is connected to a USB data acquisition module, which in turn is connected to the PC.

A potential danger from some non-isolated modules is system lockup. The modules can lock up the entire system in response to transient voltages, necessitating a system reboot. In test and measurement applications, this kind of behavior is unacceptable. In contrast, isolated modules (shown in Figure 2) dissipate harmful current across the module's ground plane, protecting the entire system.

Even if the transient voltage is small enough not to damage the system, be aware that the data could contain large errors, particularly at high resolutions. For instance, a USB module with 16-bit resolution used to measure a signal in the ±10 V range gives an LSB value of 0.31 mV. Therefore, if the module is non-isolated and a transient voltage occurs in the electrical system, the data could be off by hundreds of millivolts. Even in static environments, data could be off by tens of millivolts. This represents a substantial inaccuracy when measuring low-level signals.

Thus, for high-accuracy, low-noise measurements, isolation is critical. A number of electrical components provide isolation. For instance, transformers convert power from fast clock signals with no delay, while optoisolators convert power from slower control signals with a delay in the tens of microseconds. A differential capacitive coupling setup converts power from slow data paths with a delay of 1 microsecond.

Differing Ground Potentials

Single-ended analog inputs are non-isolated and referenced to earth ground. In non-isolated systems, even digital I/O signals are connected to the same ground. If the system under test shares the same ground as the USB data acquisition module (by virtue of being connected to the building's power system), the difference in ground potential between the two devices can be substantial -- more than 100 mV. Fast switching currents must then travel down the 5-meter USB cable to the PC.

Depending on how single-ended inputs are connected to a module, ground loops errors can be introduced that, when added to the signal and other ground potentials across the USB cable, can not only provide highly inaccurate measurements, but can also damage the system. Figure 3 shows an example of improperly connecting single-ended inputs.

A better connection scheme for single-ended inputs that reduces ground-loop errors is shown in Figure 4.

For the most accurate measurements, use differential inputs (shown in Figure 5). Differential inputs are isolated because they are referenced to a ground reference point that is not connected to earth ground. As a result, they eliminate common-mode voltage errors associated with differences in ground potentials.

Therefore, when measuring low-level signals, or signals where noise is a significant part of the measurement, or if there is a common-mode voltage, make sure that the USB data acquisition module provides differential input connections.

Benign Conditions

In benign environments, where transient electrical spikes and different ground potentials do not exist, isolation usually isn't required. In non-isolated systems, the PC is tied directly to the ground system of the sensor, so measurements will be accurate as long as no noise or other errors are added to the voltage source.

While non-isolated solutions may be less expensive to purchase, test and measurement applications rarely are benign. So beware -- you may be incurring back-end costs measured in data accuracies or system failures when you choose a non-isolated solution.

Conclusion

The benefits of USB for test and measurement applications are many. But, before choosing a USB data acquisition module, consider your application. If transient voltages or differences in ground potentials exist, protect your PC and preserve the integrity of your signal by choosing an isolated USB data acquisition module.

Keithley Instruments, Inc.
Cleveland, OH
44139
440-248-0400
800-552-1115

Request Additional Information

Keithley Instruments, Inc. company profile
ThomasNet Company Link






Articles Related to Blocks
Enter the Ethernet
Selecting Ergonomic Workbenches
Higher Levels of Automation Lift Productivity for Airbus A380 Wing Assembly Process

Articles Related to Boards
Selecting Ergonomic Workbenches
Universal Expands High-Speed Placement Range
Textron and Volterra Create World's Smallest Heat-Sink Rivet

Articles Related to Buses
Machine Design -- Future Technology Trends
Industry Heavyweights Line Up to Advise Nanotechnology Research Center
User Comparison of Instrinsic Safety with Other Hazardous Area Protection Methods

Articles Related to Cables
L-com Donates Free Cable to Ben Franklin Institute
Automating Fiber Optic Assembly Through Inspection
NEMA Publishes ICEA S-93-639/NEMA WC 74, 5-46 kV Shielded Power Cable For Use in the Transmission and Distribution of Electric Energy

Articles Related to Cameras
Linescan Camera Speeds Image Inspection
CMOS Camera captures high speed events for slow motion replay.
Frequent IR Inspections of Electrical Cabinets Can Be Inexpensive and Convenient

Articles Related to Circuits
Frequent IR Inspections of Electrical Cabinets Can Be Inexpensive and Convenient
A Lot More Flexible, A Bit More Integrated
Q & A with Mike Dempsey, Industry Strategy Leader, RedPrairie

Articles Related to Computer Peripherals
Mouse reads user fingerprint for computer logon.
Technology Trends in Electronic Pressure Transducer and Transmitter Markets
U.S. Production of Polyester and Polyimide Flexible Circuits To Reach Nearly $1.7 Billion by 2006

Articles Related to Computers
Fanless Panel PCs are immune to dust and particulates.
Rugged Tablet PC withstands challenging conditions
Panel PCs suit industrial automation applications.

Articles Related to Connectors
Top 5 Features of an Effective Test Connector
Slots and Video Gaming Products Rely on Unique Terminals and Connector Housings
Electric Molding Machines Save Energy & Time

Articles Related to Digital Cameras
Q & A with Chet Kagel and Phil Preston, Partners, HPK Group, LLC
Global Market For Digital Image Capture, Storage, Transfer & Display Devices & Technologies To Surpass $701 Billion by 2010
Global Nonvolatile Memory Markets To Cross $69 Billion by 2010

Articles Related to DIP Switches
Brushless Servo Amplifier is field configurable
Servomotor & Drive quickly installs and configures
Rugged Camera grants access to setup via RS232C interface.

Articles Related to Electrical Components
IEN Readers' Best Brands 2006
An Open and Shut Case: Drawer Storage vs Shelving
DC TIG/Stick Inverter plugs into any primary current worldwide

Articles Related to Ends
Automotive Grille Assembly Yields Process Efficiencies
Making Air Bags Less Dangerous
Pick-To-Light Keeps Workstations Flexible

Articles Related to Hubs
Software Helps Manufacturer Find Almost Any Part In 20 Seconds
Chip Sales To Show Positive Growth in the Coming 5 Years
Shaft Adapter solves inch & metric sizing problems

Articles Related to Lead
Higher Levels of Automation Lift Productivity for Airbus A380 Wing Assembly Process
MH Innovation at Toyota Motor Mfg Kentucky
Frequent IR Inspections of Electrical Cabinets Can Be Inexpensive and Convenient

Articles Related to Meters
Municipal-Industrial Magmeter has no moving parts
NEMA Publishes Code for Electricity Metering
Switchboard Meter is backlit.

Articles Related to Modules
Enter the Ethernet
Automating Depalletization of Randomly Placed Parts
Squeezing Downtime From All That Moves

Articles Related to Motors
Energy Legislation Brings New Motor Standards
Motor,Drive Packages offer NEMA size 14 motor option.
Motors Index Plunges During Q4 2008; More Weakness Expected

Articles Related to Optoisolators

Articles Related to Personal Computers
Major Usage Shifts Expected In Data Acquisition Products
Industrial Electronic Temperature Controllers Losing Ground to DCSs, PCs & PLCs, But Some Growth Opportunities Remain
PMMI Identifies Top Requested Machine Attributes

Articles Related to Ports
Q & A with Gil Guajardo, Product Marketing Manager/Safety Products, Omron Electronics LLC
IEN Readers' Best Brands 2006
War On Terrorism, Cargo Theft Share Spotlight at ICSC Annual Meeting

Articles Related to Power Supplies
AC,DC Front End Power Supplies deliver 1,200 W.
Power Supply withstands shock and vibration
Power Supply has 8.5 W/cu-in. power density

Articles Related to Printers
Label Printer functions without computer
Reaching Real-Time Execution
Q & A with Ron Riggin, CTO, MARC Global

Articles Related to Signals
Enter the Ethernet
SATO America Participates in EPCglobal's Hardware Interoperability Test
Pick-To-Light Keeps Workstations Flexible

Articles Related to Software
Software generates CAD drawings in 3 steps
Performance Software analyzes and monitors equipment
RedPrairie Software Grows Bottling Company Business

Articles Related to Solutions
AUTOMATION SOLUTIONS(2)
Biometrics Help Cut Payroll Costs
Control Expands Palletizer's Range

Articles Related to Spikes
Spike Strip deters birds from landing and roosting
VFD Cable carries UL & CSA TC approval
Power Conditioner protects against damaging disturbances

Articles Related to Starters
Slower Economic Growth Dampens Prospects For Industrial Controls
Despite Healthy Near-Term Prospects, Slower Growth Looms on the Horizon for Industrial Controls
Industrial Controls Indices Highlight Robust Market Conditions

Articles Related to Supports
Real-time Performance Management (RPM)
Speeding Vehicle Production
Q & A with Mike Miclot, Logix Controllers; Tom Wolff, Global OEM Team; and Sujeet Chand, VP, Advanced Technology & Chief Technical Officer, Rockwell Automation

Articles Related to Switches
Snap Action Switch supports many board-level tasks
E-Switch Announces Acquisition of Lamb Industries
Sealed Tactile Switches suit high-reliability applications.

Articles Related to Terminal Blocks
Terminal Block comes in modular configurations
Terminal Block Line Expanded
Power Distribution Terminal Block suits panel applications.

Articles Related to Transformers
NEMA, EEI Announce Premium Efficient Transformers Purchasing Program
NEMA Publishes ANSI C12.11-2007
IEN Readers' Best Brands 2006

Articles Related to Windows
The Basics of Gas-Fired Infrared Heating
Control Expands Palletizer's Range
Automating Depalletization of Randomly Placed Parts

Articles Related to Data Acquisition Equipment
Data-Acquisition System integrates precision data converters.
GIS/Geospatial Market Grew 17% in 2005 to Top $3.3 Billion; Sales Led by Growth in Data Products
Major Usage Shifts Expected In Data Acquisition Products

Blocks Suppliers
Boards Suppliers
Buses Suppliers
Cables Suppliers
Cameras Suppliers
Circuits Suppliers
Computer Peripherals Suppliers
Computers Suppliers
Connectors Suppliers
Digital Cameras Suppliers
DIP Switches Suppliers
Electrical Components Suppliers
Ends Suppliers
Hubs Suppliers
Lead Suppliers
Meters Suppliers
Modules Suppliers
Motors Suppliers
Optoisolators Suppliers
Personal Computers Suppliers
Ports Suppliers
Power Supplies Suppliers
Printers Suppliers
Signals Suppliers
Software Suppliers
Solutions Suppliers
Spikes Suppliers
Starters Suppliers
Supports Suppliers
Switches Suppliers
Terminal Blocks Suppliers
Transformers Suppliers
Windows Suppliers
Data Acquisition Equipment Suppliers








Magazine Subscription | eNewsletter Sign Up | Advertise | Privacy Policy | Contact Us | RSS RSS
Thomas Publishing | Thomas Global | ThomasNet 
Product Categories:   0-9|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z
   Companies:   0-9|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z
EmailPrint
ienonline search EmailPrint