Fieldbus & Industrial Networking


Enhanced buses boost PC-based measurement

July 2005 Fieldbus & Industrial Networking

As PC technology has advanced, the ability to use standard desktop and portable computers for sophisticated test, control and design applications has improved dramatically.

Economies of scale have made it much more cost effective to utilise the GHz processing and Gigabytes of memory on standard computers than for vendors to install processors and memory in measurement instruments. At the same time, commercially available silicon technologies designed for modern electronics have been repurposed by the test and control industries. For example, analog and digital converters originally designed for electronic devices like cellular phones and DVD players now also provide incredible speed and accuracy for PC-based data acquisition devices.

These high production commercial components are available at fractions of the cost and in much faster design cycles than it would take for instrumentation vendors to design their own components. By using these advances in PC and silicon technologies, low-cost PC-based plug-in devices can now perform measurements and control with accuracy and processing speed never before available with traditional instruments.

Data bottlenecks

As acquisition rates increase, a common bottleneck for these virtual instruments has been the ability to quickly and easily transfer data from the measurement device into PC memory. Traditional bus technologies such as the general purpose interface bus (GPIB) and serial RS/232 often require instrumentation vendors to install local memory on the instrument itself to temporarily store data that cannot be transferred to the PC fast enough because of bus bandwidth limitations. As the PC industry standardised on the PCI bus over the past decade, plug-in devices designed for this bus realised a 10-times increase in data bandwidth versus GPIB, and in many cases the requirement for deep onboard memory was reduced. At the same time, cabled bus technologies such as USB have become extremely popular for test and measurement applications because of their portability and dummy-proof usability. As virtual instruments acquire more data at faster rates by using the latest analog and digital converter technologies, systems using PCI and USB have again encountered the bus itself as the limiting factor in efficiently transferring data to PC memory. To address this increasing hunger for bandwidth, new technologies including PCI Express and high-speed USB 2.0 are now making it possible to stream huge amounts of data from devices to the PC while ensuring backward compatibility and improving ease-of-use.

PCI Express

PCI Express was jointly developed by PC and peripheral vendors including Intel and began shipping in standard desktop PCs last year. Already, most desktop machines from the leading suppliers include at least one PCI Express slot. PCI Express maintains software compatibility with traditional PCI, but replaces the physical bus with a high-speed (2,5 Gb per second) serial bus. Data is sent in packets through pairs of transmit and receive signals called lanes, which enable 250 MB per second bandwidth per direction, per lane. Multiple lanes can be grouped together into x1 ('by-one'), x2, x4, x8, x12, x16, and x32 lane widths to increase bandwidth to the slot. And unlike PCI, which divides bandwidth between all devices on the bus, PCI Express provides dedicated bandwidth to each slot in the system.

Significant improvements in bandwidth and latency

Applications such as data acquisition and waveform generation require guaranteed bandwidth and deterministic latency. Sufficient bandwidth is required to ensure that data can be transferred to memory fast enough without being lost or overwritten. Latency is the time it takes for a signal such as a configuration or start command to be sent and received. Long latency is characteristic of buses such as Ethernet, and is a primary reason this bus has not been widely adopted for PC-based test. The original PCI specification did not address these issues because high-speed data streaming applications on the PC were not prevalent at the time it was introduced. As a result, data acquisition devices that adopted the bus required onboard memory for data buffering to handle the varying bandwidths available during data transfers. Today, isochronous data transfers such as uncompressed streaming audio and video require the I/O subsystem of the PC to provide guaranteed bandwidth and deterministic latency to prevent data glitches. To address these needs, PCI Express incorporates an isochronous data transfer mode, allowing a device to reserve a defined amount of bandwidth with deterministic latency. Data acquisition applications also benefit from this feature because PCI Express devices require less memory than traditional PCI for data buffering purposes.

Figure 1
Figure 1

PCI Express dramatically improves data bandwidth. The initial signalling frequency provided by the specification of 2,5 Gb/s provides up to 60 times (with a x16 slot) the usable bandwidth of 32 bit, 33 MHz PCI, and this signalling frequency is expected to increase with advances in silicon technology to 10 Gb/s/direction - the practical limit for electrical signals in copper. And because of the lane topology of PCI Express, data acquisition vendors can implement a PCI Express connector with the number of lanes suitable to the requirements of the device. Devices with smaller connectors can be 'up-plugged' into larger host connectors on the motherboard, improving hardware compatibility and flexibility.

Software compatibility is paramount

Software compatibility is also ensured by the PCI Express specification. The configuration space and programmability of PCI Express devices are unchanged from the traditional PCI methodology. In fact, all operating systems are able to boot without modification on a PCI Express architecture. At boot time, the operating system can discover all of the PCI Express devices present and then allocate system resources such as memory, I/O space, and interrupts to create an optimal system environment. And because the PCI Express physical layer is transparent to application software, programs originally written for PCI devices can run unchanged on PCI Express devices that have the same functionality. This backward compatibility of PCI Express software with traditional PCI is critical in preserving the software investments of both vendors and users.

USB 2.0 improves bandwidth, ease-of-use for external devices

Similar to the improvements PCI Express offers plug-in devices; USB 2.0 high speed has introduced improvements in bandwidth and signal latency for externally cabled data acquisition devices. USB has become the de-facto standard for cabling peripheral devices to the PC, and data acquisition devices are no exception. The plug-and-play and hot-pluggable features of the bus make it extremely easy to use, enabling a connected device to be automatically detected and configured by the host PC. Drivers are dynamically loadable and unloadable, with no need to power down the device or PC during installation. Another unique benefit to USB 2.0 is that the bus provides power on the same cable that carries the data signal, often simplifying connectivity and portability by eliminating dedicated AC power cables.

Figure 2. Each PCI Express slot has dedicated bandwidth to PC memory, unlike PCI, which shares bandwidth
Figure 2. Each PCI Express slot has dedicated bandwidth to PC memory, unlike PCI, which shares bandwidth

The USB 2.0 specification made significant improvements in both bandwidth and latency versus USB 1.1. The 1,5 MB/s rate provided by USB 1.1 quickly became a limiting factor for large data size transfers such as high-speed data acquisition. USB 2.0 improved that rate by 40 times, enabling bandwidths up to 60 MB/s. Like PCI Express, USB 2.0 provides isochronous transfers, but also adds another three data transfer modes that can be enabled by the manufacturer. For example, the bulk transfer mode provides data receive confirmations to ensure error-free transfer for applications such as data acquisition in which data integrity is paramount.

The release of the USB 2.0 standard created a total of three classes of USB devices: low-speed (1,5 Mb/s), full-speed (12 Mb/s), and high-speed (480 Mb/s) devices. USB 2.0 is both forward and backward compatible with USB 1.1, and low-speed, full-speed, and high-speed devices can all coexist on a single USB port. In addition to bandwidth improvements, USB 2.0 also introduced new ways to improve the efficiency of data transfers. Data frames - the time segments allotted for packet transfers - were cut from 1 ms into eight 125 µs frames, and the number of data bytes transferred per frame was significantly increased. Because large data packets can consume large amounts of bandwidth, new handshaking commands were introduced to ensure that the host is ready and capable of receiving the entire queued data packet. USB 2.0 also introduced split transactions, which prevent full-speed and low-speed devices from slowing the bus down. With split transactions, the host can communicate with high-speed devices on the bus without waiting for slower devices to return communication.

Looking forward

As PC bus technologies like PCI Express and USB 2.0 continue to improve data bandwidth, performance and ease-of-use, the benefits of using PC-based devices for measurements and control are even more dramatic. In fact, by virtue of being based on computer technology, virtual instruments will always improve as new communication, processing and memory technologies come to market. As PCI Express and USB 2.0 continue in their adoption cycles, there will be several years of hybrid systems that use these new technologies in addition to traditional PCI and USB 1.1 buses and devices. These transitions will be abridged by the software compatibilities of the new technologies with their predecessors as well as the physical compatibility between USB 1.1 and USB 2.0. But the benefits of these two new technologies are clear, and as PC-based test and control systems continue to push bandwidth requirements, PCI Express and USB 2.0 will enable faster data transfers to PCs where the ever increasing processor speeds and memory depths can be fully utilised. USB 2.0 has spurred a whirlwind of new easy-to-use data acquisition devices, and with the release of PCI Express, the next generation of plug-in data acquisition devices adopting the new bus standard is sure to follow.

For more information contact Michael Hutton, National Instruments, 011 805 8197.





Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Beckhoff expands economy drive system
Beckhoff Automation Fieldbus & Industrial Networking
Beckhoff’s new AM1000 servomotor joins the company’s economy drive system. The compact, powerful motor and the AX1000 servo drive provide users with a perfectly coordinated, cost-optimised drive system.

Read more...
CC-Link IE Field supports egg carton production
Fieldbus & Industrial Networking
Huhtamaki’s Franeker plant in the Netherlands manufactures more than 11 million egg cartons every week using recycled paper. To support its highly automated lines, the site has begun upgrading its automation systems from older serial network standards to CC-Link IE Field, an open industrial Ethernet technology that offers faster performance due to gigabit bandwidth and better diagnostics.

Read more...
Ultra-compact industrial PCs exploit advances in CPU technology
Beckhoff Automation Fieldbus & Industrial Networking
Beckhoff’s C60xx scalable series of ultra-compact industrial PCs combines high computing power in an extremely compact format with a wide range of options for installation in the control cabinet.

Read more...
How to protect your industrial network
RJ Connect Editor's Choice Fieldbus & Industrial Networking
Network security is no longer a matter of preventing hacking or data breaches. Traditional defence mechanisms for perimeter protection may not fully address internal threats or device-level vulnerabilities alone.

Read more...
High-speed precision and simplified architecture for slicing systems
Fieldbus & Industrial Networking
When KFT Food Machinery needed a way to support ultra-fast, multi-axis motion control in its slicer range, it turned to CC-Link IE TSN – the open industrial Ethernet technology from the CC-Link Partner Association (CLPA).

Read more...
Precise, synchronised control for automated steel mesh handling system
Fieldbus & Industrial Networking
Automation specialist Hambi Maschinenbau has developed a world-first system that automates the cutting, handling and stacking of heavy reinforcing steel mesh – a task that previously required up to six human operators.

Read more...
Loop Signature Part 2-1: Loop signatures and process transfer functions
Michael Brown Control Engineering Fieldbus & Industrial Networking
The previous series of loop signature articles dealt with the basics of control loop optimisation, and concentrated on troubleshooting and ‘SWAG’ tuning of simple processes. In this new series, consideration will be given to dealing practically with more difficult issues like interactive processes, and with processes with much more complex dynamics.

Read more...
Smart and seamlessly integrated I/O upgrade
Beckhoff Automation Fieldbus & Industrial Networking
Beckhoff’s entire portfolio of EtherCAT terminals is now undergoing a technological upgrade while remaining fully compatible with the existing series.

Read more...
Introduction to Part 2 loop signatures and process transfer functions
Fieldbus & Industrial Networking
The previous series of loop signature articles dealt with the basics of control loop optimisation, and concentrated on troubleshooting and ‘SWAG’ tuning of simple processes. In this new series, consideration will be given to dealing practically with more difficult issues like interactive processes, and with processes with much more complex dynamics.

Read more...
Siemens sets new standards in drive technology
Fieldbus & Industrial Networking
Siemens is setting new standards in industrial drive technology with the launch of its new high-performance drive system, Sinamics S220. This offers a seamless and innovative drive system with comprehensive simulation and analysis capabilities and advanced connectivity features that enable full integration into digital work processes.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved