|
Another One Rides the Bus by Bob Judd, United Electronic Industries Data acquisition systems are available based upon a huge variety of interfaces. Ethernet, PCI, USB, PXI, PCI Express, Firewire, CompactFlash, and even the venerable GPIB, RS-232/485, and ISA bus are all popular. Which ones are the most appropriate for a given application may be far from obvious. Board vs. Box
In the early days of PC-based data acquisition, if you wanted high-speed measurements, typically you chose a board solution. If you needed high accuracy, you went for a box. Of course, there was a gray area that could be addressed by either form factor. Today’s gray area is much larger than ever before. Board-level solutions offering 24-b resolution now are available as well as 6.5-digit DMM boards. On the box side, USB 2.0 theoretically is capable of delivering 30 million 16-b conversions/s while Gigabit Ethernet will handle more than twice that amount. Although internal plug-in slot data transfer rates have increased tenfold in recent years, the sample rate of a typical data acquisition application has not. Planes and cars don’t go any faster now than in 1980, and temperatures and pressures still are relatively slowly changing phenomena. Since the accuracy and sample rates of most applications are perfectly within the capabilities of both board- and box-level solutions, other factors must be used to determine which solution is the best for a particular application. Here are some of the key factors:
Distance to the Sensor or Measurement Each foot of wire connecting your sensor or output to a remote host computer increases your susceptibility to noise. Quiet measurements of 18 b or greater are almost impossible using long connection wires. Mounting the data acquisition system close to the signal source reduces this noise potential.
Portability
Expandability
Changing or Upgrading Also, as technology changes, the slots inside computers change. If your current system has four PCI boards in it, are you sure your next PC will have homes for them? Of course, there is no guarantee your next computer will have the same external connections as your current PC, but the probability is almost certainly higher.
Preferred Host Computer
Price
Pure Speed
Ethernet Theories abound explaining the Ethernet’s slow migration into data acquisition. Perhaps the most common is that many engineers previously felt Ethernet systems were too difficult to configure, and only trained IT personnel should dare. As the technology advanced, things got simpler. Today, most teenagers are perfectly capable of installing a LAN in their home, and even most of us oldtimers will have an easier time setting up a network than programming a VCR. The standard Ethernet 100-Mb/s data transfer rate is fast enough for all but the fastest data acquisition applications, and its 100-m range is sufficient for the vast majority of systems. Ethernet systems also can be quite portable since the only tie to the host computer is a CAT5 cable.
Ethernet-based systems are easily expanded as ports may be added with extremely low-cost, off-the-shelf routers. However, users should be careful to keep track of total system bandwidth requirements since all of the devices on a single Ethernet port share the bandwidth. Ethernet ports are included on virtually all computers sold these days, and most evidence points to this continuing for the foreseeable future. The IEEE has worked very hard to maintain backward compatibility among Ethernet revisions. So even as the Ethernet specification progresses, Ethernet equipment purchased today should be useful for many years to come. Ethernet communications generally are considered very secure and commonly used in some of the largest manufacturing and office facilities. Interoperability of Ethernet-based data acquisition devices from multiple vendors has not always been stellar. However, most Ethernet-based data acquisition systems are single vendor, and this has not been a major issue in the industry. The LXI Consortium (see sidebar) has developed a specification that ensures simple and seamless multivendor interoperability.
Fiber Ethernet In addition to their capability to extend control beyond standard Ethernet distances, the fiber interfaces have a number of advantages. First and probably foremost, they are almost immune to electrical and magnetic interference. If your application needs to communicate reliably in a noisy environment, fiber may be the way to go. Fiber also provides virtually absolute electrical isolation. If there’s a good chance your data acquisition system is going to take a big electrical hit and you want to make sure your host PC doesn’t get fried, look to fiber. Finally, from a security point of view, fiber doesn’t radiate any electrical or magnetic fields that can be sniffed out by uninvited guests.
Firewire The original spec, known as Firewire 400, was introduced in 1995 and supported 400-Mb/s transfers. In 2002, IEEE-1394b was released and supports data transfer rates up to 800 Mb/s. This version extends the maximum distance between devices beyond the original 4.5 m; however, the maximum data transfer rate is reduced. The original target markets for Firewire were video and audio products. In these areas, Firewire has been very successful and has a significant market share. It also provides the basic requirements to make it an excellent backbone for data acquisition systems. However, at approximately the same time Firewire was being promoted, USB was coming online. It appears that USB has won the battle for data acquisition although the reasons are not intuitively obvious. At this time, many data acquisition vendors actively promote USB devices while, with a few exceptions, Firewire successes have been confined to the original target market of audio and video.
Gigabit Ethernet Gigabit still is a new technology, so most Ethernet-based data acquisition products do not yet support the faster bandwidth. However, the standard Ethernet interface for many new computers now is 1000Base-T capable, and low-cost, off-the-shelf Gigabit routers/switches are available. Ultimately, most networks of the future will likely be developed as Gigabit. But in most cases, there may be little reason to retrofit existing networks or installations.
GPIB
PCI Bus PCI originally was developed by Intel as an interface to connect different functions on motherboards. It wasn’t long before it was generalized as a replacement for the aging 16-b ISA bus that had dominated early PCs. With its blazing 33-MHz clock rate, a full 32-b data path, and Windows 95’s excellent support including plug and play, it wasn’t long before the PCI bus had totally eclipsed the ISA bus in new consumer computers. Although you’d be unlikely to ever find a new computer from one of the major consumer suppliers with an ISA slot, the ISA bus market is surprisingly vibrant. ISA data acquisition boards installed in industrial computers still are the backbone of many systems. PCI has remained the industry standard since the middle 1990s, but it has not remained stagnant. The PCI standard has moved from 33 MHz to 66 MHz and from a 32-b to a 64-b bus. As the industry moved from 5-VDC to 3.3-VDC logic, the specification was revised to support both. Throughout all of this, the spec has done a remarkably good job of maintaining backward compatibility, and cards designed in the mid 1990s still may be used in many PCs purchased today. The original PCI 33-MHz, 32-b spec provided maximum transfer rates of 133 MB/s. This still remains fast enough for all but the most high-speed data acquisition applications. Most data acquisition boards today only take advantage of 32-b transfers and support both 3.3-VDC and 5-VDC interfaces. A new version of the PCI spec eliminates 5-V support, but it is unknown if this spec will become a common standard or be eclipsed by other technology such as PCI Express.
PCI Express PCI Express abandoned the parallel data transfer architecture of PCI and PCI-X. Instead, it is based on multiple 2-Gb/s serial paths. The serial nature becomes evident when you look at a PCI Express board and notice how small the board’s PC interface is and how few golden fingers the boards have. Although 2 Gb/s is quite fast, the PCI Express spec is not done there. It allows up to 16 of these serial links in each direction. The total possible data transfer rate of a full PCI Express implementation is 32 Gb/s in each direction. It is too early to determine the ultimate impact of PCI Express on the data acquisition market. A variety of data acquisition boards supports PCI Express at this time, but only time will tell whether it or some alternative becomes the next de facto plug-in board standard.
PCI-X Even the most recent specification maintains backward compatibility with slower PCI boards, but the legacy boards cannot take advantage of the higher speeds. PCI-X has never become a significant factor in the data acquisition market although there may be a number of PCI-X data acquisition boards available.
PXI The PXI specification incorporates much more than simply the computer interface. The PXI backplane also offers a number of powerful triggering capabilities and mandates various good-neighbor requirements so multiple boards from multiple vendors may all be easily integrated. If there is a downfall, it’s that the CPU modules are specific to the PXI form factor. PXI CPUs don’t take advantage of the economies of scale the consumer PC makers have. As a result, a PXI CPU is likely to cost much more than a computer with equivalent horsepower from a company like Dell, Gateway, or HP. In many applications, the convenience of the PXI form factor more than makes up for the added cost. PXI has been very well received in the market, and PXI products are available from a very large number of vendors. The specification is controlled by the PXI Systems Alliance.
PXI Express
RS-232 RS-232 is slow, fairly subject to noise, and has fairly short range, yet it remains ubiquitous. However, for the first time, new PCs have supplanted the once-common RS-232 port with USB ports, and most external consumer devices have abandoned RS-232.
RS-422/485
USB
Virtually every new computer includes multiple USB ports. It also has become very popular in the data acquisition marketplace, and a large number of vendors offer USB-based data acquisition. USB’s simple plug-and-play installation combined with its 480-Mb/s data transfer rate makes it an ideal interface for many data acquisition applications. Because of its popularity in the consumer market, USB components are very inexpensive, and new, low-cost data acquisition devices now are available at previously unheard of prices. USB’s 5-m range limits the capability to implement remote and distributed I/O systems based on USB. There also is some concern in the industrial arena that the USB connection’s lack of a locking cable mechanism might allow a USB cable to vibrate out of its connector. Whether this is a real possibility or not is certainly open to debate.
Wireless About the Author
FOR MORE INFORMATION on the LXI specification
|
|||||
|
|