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

LXI triggering

You can choose the LXI instrument class that provides the triggering speed and synchronization capability your application demands.

Bob Rennard, LXI Consortium -- Test & Measurement World, 9/1/2006


SIDEBARS:

What is LXI?
What is the LXI Consortium?

ALSO:
Participate in our LXI blog

READ OTHER SEPTEMBER ARTICLES:
Contents, September 2006

Ethernet, the world’s most widely adopted communication standard, transformed the way we work. Now, you can apply the benefits of Ethernet to transform the way you build test systems. Spurred by the belief that Ethernet is the natural successor to GPIB (IEEE 488), test and measurement companies, software companies, and system integrators created the LXI Specification, an Ethernet-based interface that combines the simplicity of GPIB with additional features that will enhance test system speed and capabilities.

LXI devices are defined by three functional classes, which differ primarily in their triggering capabilities (Figure 1):

  • Class C, the base class, requires Ethernet connectivity, a Web interface, an Interchangeable Virtual Instrument (IVI) application programming interface (API), discovery, and some basic physical and mechanical features.
  • Class B adds IEEE 1588 Precision Time Protocol and peer-to-peer communication to the base class. (See the 1588 Web site, ieee1588.nist.gov, or the LXI Consortium Website, www.lxistandard.org, for more information.)
  • Class A requires both the IEEE 1588 Precision Time Protocol and an eight-channel low-voltage differential signalling (LVDS) high-speed trigger bus.
Figure 1. LXI instrument classes correlate with use models.

Uniform triggers

A key feature of the LXI Specification is a uniform triggering model and an API that treats all trigger sources equally. By defining identical procedural calls between a LAN trigger and a hardware trigger, programmers use a single set of API calls and can switch easily between hardware, software, and time-induced triggers.

For example, if you use a driver named 'Arb’ to program an arbitrary waveform generator and want to use the LXI trigger bus line number 2 as the source of a trigger signal, you would write this line of code:

Arb.Trigger.Source = “LXI2”

If you then wish to switch to a LAN trigger with the same ID, you would simply change the command to:

Arb.Trigger.Source = “LAN2”

The LXI Specification recommends that LXI devices be capable of triggering any available action by any available means, although this will not be practical in all cases.

If a measurement can be triggered by a traditional hardware trigger line, then you should also be able to trigger it with a LAN trigger, the LXI trigger bus, or any other trigger input supported by the device. You simply configure the device to accept the appropriate trigger source and route it to the desired action.

The IEEE 1588-based time trigger software layer allows programmers to specify an action and set an “alarm clock” to “go off” at any specified time. This enables programmers and system integrators to execute complex test sequences in near-perfect unison and eliminate wait statements from test code.

For instance, an arb can be programmed to begin at a specified time and sequence through a series of timed steps. A receiver in the same test system could track the digitizer’s operation with near-perfect timing and with no connections between the instruments or controller other than LAN. This is particularly useful in distributed systems, where time-based triggers can eliminate cable-length latencies.

Figure 2. The histogram from an IEEE 1588 boundary clock shows the typical clock accuracy available with IEEE 1588.
In the real world, however, clock synchronization is not perfect. Clocks are typically accurate to 50 to 100 ns. As the IEEE 1588 clock synchronization algorithm adjusts the system clock, some uncertainty—or jitter—will be introduced, and this will mask the precision of a time-based trigger. It is worth noting that while the 50- to 100-ns figure is typical today (Figure 2), 1-ns implementations have been documented, and the second release of IEEE 1588 promises to improve clock accuracy below 1 ns.

Some applications are not sensitive to jitter or will find jitter less problematic than latency. For example, many physical data-acquisition applications do not have tight timing requirements. Also, consider a radar test range where the distance between instruments may be considerable. With cable latencies of roughly 1-ns/ft, significant delays can result with widely separated instruments or test stations. Since IEEE 1588 is a UDP-based system, it works best on subnets built behind a single router. Where very long distances, measured in kilometers or more, are involved, GPS offers a convenient synchronization mechanism to tie subsystems together.

IEEE 1588 derived time-based triggers are not a panacea for all test applications, providing the motivation for alternative trigger mechanisms. For example, time-based triggers are not ideal for very fast asynchronous events and some UUT-induced trigger events, so LXI supports a high-speed eight-channel LXI trigger bus and LAN triggers. LAN-based triggers operate by sending electrical signals over a wire, much like traditional hardware triggers, but LAN-based triggering eliminates trigger cabling in many applications, simplifying system integration and streamlining device upgrades.

LAN-based triggers with IEEE 1588 also go beyond traditional hardware triggers because they can carry time-stamp information that hardware triggers cannot. Time stamps provide a time record of when an event happened, or they coordinate when multiple events occurred, simplifying post-acquisition analysis. Similarly, an LXI device can use a circular buffer, as with a logic analyzer, to “look back” in time to capture an event that happened before the trigger signal was received. (continued)

Peer-to-peer communication

In addition to IEEE 1588 Precision Timing Protocol, the LXI Specification requires Class A and B devices to support peer-to-peer communication. Prior to LXI, most test-and-measurement system architectures relied on a master-slave configuration using a central controller. With the exception of some basic trigger lines, which carry little more than a trigger edge, there is no instrument-to-instrument communication in these setups. Each instrument communicates directly with the controller, which then sends commands to other instruments. Master-slave systems with high channel counts or controller-based measurement applications can quickly overtax central controllers, creating a processing bottleneck that stalls high bandwidth I/O and degrades performance well below expectations.

With LXI, instruments can communicate with one another independent of the controller, simplifying common applications such as stimulus-response measurements. Also, LXI allows system designers to download executable code or scripts that are triggered by a message from other instruments in the system, further freeing the controller to deal with data rather than control. With less system management, the system is more responsive.

Applying LAN and IEEE 1588

The IEEE 1588 Precision Time Protocol provides system integrators with several advantages. Some are easy to envision, such as the ability to synchronize over great distances or to time-stamp large quantities of data. An antenna test range comes to mind as does a high-channel-count data-acquisition system.

Others advantages are more subtle, such as eliminating physical trigger cables in many applications or eliminating the need to calibrate and correct for multiple trigger cable delays. Such advantages simplify the programmer’s task and make software maintenance easier because hardware can be changed without disrupting the test program.

IEEE 1588 and LAN triggering can replace some trigger cables, but not all. The ability to replace cables depends on test-system speed requirements, which are often driven by the device under test. Some test systems, such as data-acquisition applications measuring temperature, pressure, or mechanical stimuli, require millisecond or microsecond resolution. Both resolutions are well within the capabilities of IEEE 1588. Time-critical applications, often seen in RF applications such as high-speed radar or scope and logic-analyzer triggering, require nanosecond and subnanosecond resolution that IEEE 1588 cannot provide. Other applications with fast asynchronous or device-induced triggers are a poor fit for IEEE 1588-based triggers.

Using IEEE 1588 time stamps allows instrument suppliers and system integrators to “go back in time,” using circular buffer techniques to investigate events leading up to a trigger. This technique has been used for years in logic analyzers and oscilloscopes, and IEEE 1588 makes it practical for many other instruments and systems.

Automatic time stamping means controllers and application software no longer have to keep track of when data was taken, simplifying one of the most tedious and fragile aspects of developing large test systems. Many aerospace systems have hundreds or thousands of control and data lines, many of which can be eliminated by distributing a sense of time out to the edges of the tester. The result is simpler cabling and instrument-to-UUT interfaces, shorter reconfiguration times, and elimination of some fragility in the test program set, or TPS.

Imagine instrumenting a jet engine with thousands of sensors to monitor complex stimulus and response channels. Or consider a modal-analysis system with thousands of strain gages on an airframe, where tight timing interrelationships are critical to maintain phase relationships between adjacent points. With time stamping and parallel execution, data interpretation and fault trees become simpler, tests can execute faster, and many difficult channel-synchronization tasks become trivially simple.

The LXI Web interface and Ethernet connectivity enables widely distributed applications. For example, an engineer in Finland can work with a contract manufacturer in China, looking at the same instrument screen to troubleshoot a problem or monitor a process without either leaving home. This has profound implications on a company’s need to replicate specialized expertise in multiple locations.

By leveraging the efforts of thousands of engineers in the Ethernet industry, LXI gives system designers the familiarity of GPIB with the power of new capabilities. The IEEE 1588 Precision Time Protocol is a core enabler for LXI, providing a low-cost network-centric time base. LXI builds on IEEE 1588 by defining how to apply it to a variety of test and measurement situations. It offers significant value to test system design. While today’s IEEE 1588 speed and resolution are insufficient to meet the most demanding test applications, they are sufficient for many applications and offer numerous possibilities for the future.


Author Information
Bob Rennard is president of the LXI Consortium and program manager at Agilent Technologies in Santa Rosa, CA.

 

What is LXI?

LXI (LAN eXtensions for Instrumentation) is the LAN-based successor to GPIB. It goes beyond GPIB to provide additional capabilities that make it easier for system designers and integrators to create faster, more efficient systems.

LXI is an instrumentation platform based on industry-standard Ethernet technology that improves the modularity, flexibility, and performance of small- and medium-sized systems. LXI’s compact package, high-speedI/O, and reliable measurements meet the needs of R&D and manufacturing engineers supplying electronics to the aerospace/defense, automotive, industrial, medical, and consumer electronics markets.

The LXI Specification defines small, modular instruments using the low-cost, open-standard Ethernet LAN as the system backbone. LXI was developed to offer the size and integration advantages of modular instruments without the cost and constraints of card-cage architectures.

Many LXI instruments have no front panels, displays, or expansion cards, which shrinks the physical size of deployed systems. LXI offers a significantly smaller form factor, simple low-cost PC-standard I/O, and easy rack mounting with no card cage, yet maintains linkages with full-featured instruments for development and troubleshooting.

LXI modules use the host PC and Ethernet connections to display setup and results. LXI modules feature self-contained power supplies to improve reliability and enable widely distributed system architectures.

LXI provides many advantages over conventional GPIB systems. For example, it reduces setup and integration time by connecting directly to the standard ports on a PC. It does not require special cards or cables or expensive controllers. Also, LXI software and drivers simplify test system setup.—Bob Rennard, LXI Consortium

What is the LXI Consortium?

The LXI Consortium is a not-for-profit (501c3) corporation founded in 2004 consisting of companies in the test-and-measurement industry. The group’s goal is to ensure interoperability and a consistent user experience by developing, supporting, and promoting the LXI Specification.

The consortium was formed because several companies recognized they were following parallel development paths for LAN-based modules. It made sense to combine these efforts into an industry standard to ensure interoperability and a positive customer experience.

For more information, visit www.lxistandard.org.

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