ADVERTISEMENT
You will be redirected to your destination in 10 seconds.
Electronics Industry Search
Advertisement
Email
Print
Reprints/License
RSS
Article tools sponsored by

Careful Timing Brings Test Rewards

In test, as in life, timing is everything.

Jon Titus -- Design News, July 19, 2004

Accurate measurements demand more than just high-quality data-acquisition boards or instruments. When a project requires obtaining data from hundreds of sensors, precise timing plays a key role in gathering reliable information.

Most engineers have used a common type of trigger arrangement—the star trigger. In this configuration, a trigger signal connects from its source to each acquisition instrument so that all acquisitions start simultaneously. Tests of a programmable controller, for example, might involve using a logic analyzer to monitor digital signals and an oscilloscope to monitor power lines. A logic-level transition in the controller provides the trigger signal that goes to both instruments. This arrangement works well for simple measurements.

An instrumentation system also might employ one device, say a logic analyzer, to trigger other measuring instruments. Thus, when a specific digital pattern appears, the logic analyzer starts to acquire data and relays a trigger signal to other instruments.

This arrangement also works well, but it can introduce timing errors as sample rates increase. Sampling at 100 Msamples/sec leaves 10 nsec between samples, so a delay of only a few nanoseconds in a trigger signal can offset measurements significantly. Even using short cables for trigger connections may not overcome problems with delayed triggers.

A trigger also may reach instruments at different times, thus adding skew to the measurements. In addition, because the instruments use their own clocks, some clock-drift will occur to add more uncertainty to measurement times. Over a long acquisition period, slight differences in clock frequencies accumulate so measurements no longer align properly on the time axis.

Many instruments furnish a sample-clock output that other instruments can substitute for their internal sample-clock signal. Distributing a "standard" clock signal helps ensure all instruments take measurements at the proper times. Cables of the same length keep the distributed clock signals in phase. But some delay will occur between the clock source and "slave" instruments. As long as the delay remains short compared to the sampling period, this clocking technique works well. But, say the delay amounts to 10 nsec and the instruments sample at 200 Msamples/sec, or 5 nsec between samples. Clearly the delay overwhelms the sampling and causes problems.

To overcome the clock-delay problem, test equipment can connect to a precision central reference clock and derive internal clock signals and sample-acquisition frequencies from it. Some instruments may include a 10-MHz oven-controlled crystal oscillator (OCXO) that can serve as a central clock.

Or, engineers can buy rubidium clocks sold specifically for lab use. A precision rubidium clock will supply a 10-MHz output with a frequency stability of one part in 10-10 to one part in 10-12 .

That stable signal can connect to all data-acquisition instruments over equal length cables. Many instrument or data-acquisition systems include a phase-locked loop (PLL) that locks to the 10-MHz signal and then creates an accurate internal timebase. This configuration offers the benefits of a central clock, but without the need to overcome a delay in the clock signal.

But suppose data-acquisition systems must operate at considerable distances from a precision 10-MHz source. How do such systems stay in sync? The Global Positioning System (GPS), established by the U.S. Department of Defense, can offer help. Each GPS satellite includes several accurate clocks that transmit information to Earth stations. (That timing information provides the raw data that, when processed, leads to a location).

Lab-grade GPS receivers can acquire the timing information and use it to produce an accurate 1 pulse per second (1 PPS) signal. Signal jitter can affect the short-term stability of that signal, but over the long term, the 1 PPS signal tracks the stability of the rubidium clocks in each GPS satellite. Inserting the 1-PPS signal into a PLL that controls a local rubidium oscillator produces a clock signal accurate to within a few tens of nanoseconds. Keep in mind that most instrument systems need to know relative time; that is, they need to stay synchronized with a master clock. They don't need to know the absolute time; for example, universal coordinated time (UTC) 1326 hours, 15 seconds, and so on.

On Deck: A military version of a combined GPS receiver and rubidium clock produces accurate 10 MHz, 1PPs, and IRIG-B timing signals that ensure synchronization of distant equipment.

Data-acquisition systems in military and aerospace applications often operate with a timing resolution of 1 µsec. In such cases, standard Inter-Range Instrumentation Group (IRIG) signals can synchronize instruments. Like a master clock, an IRIG time-code generator produces coded signals that keep equipment synchronized. Test-system designers can buy IRIG generators and instruments that accept IRIG signals. The IRIG signals can provide data that recording systems can use to "time-stamp" data. This time information makes it easy to locate specific test data and correlate it with other test data. Currently, the IRIG-B standard, specified in IRIG Standard 200-98 finds the most widespread use. Some GPS receivers will provide an IRIG-B timing-signal output.

Web resources
Check out the links below for more info
AccuBeat Ltd.: http://rbi.ims.ca/3852-532 IRIG: http://rbi.ims.ca/3852-533  
Author Information
Jon Titus has written real-time software and designed embedded systems and computer instrument interfaces. He worked in electronics for ten years and spent nine years at Test & Measurement World magazine and nine years at EDN magazine. E-mail: jontitus@comcast.net.
Advertisement

Sponsored Content

Technology Marketplace

Email
Print
Reprints/License
RSS
Article tools sponsored by
Find a supplier on oemsuppliersearch.com
Products/Services Companies

Talkback

» Submit talk back

We would love your feedback!

Advertisement

DN's Resource Center Get Free Information, Made Easy

Advertisement

Design News Partner Zones

JUNE 24TH WEBCAST: Collaborative Requirements Engineering
Speed your innovation. Capture the "voice of the customer" and translate customer requests into user requirements that define new products. Find out why the new ENOVIA Requirements Management solution enables organizations to improve their overall global requirements management process. Read More


Light Matters: Systems Level Approach to HBLED illumination applications
Its good practice to apply a systems-level approach to high-brightness LED (HBLED) illumination applications. Minimally, the system includes the optical, thermal and electrical characteristics of the of the HBLED, the lens (if any) which is built-in to its package, secondary optics such as external plastic lenses/reflectors to direct the light as your application requires and power driver electronics. Read More


Design Engineers' Portal for Sensing and Machine Safety
Whatever industry you're in, or whatever product you manufacture, the right sensors to automate your plant, and to improve your overall efficiency, quality and safety are a must. You'll find Banner Engineering to be an amazing resource of products, training and people with expertise.

Design News Partner Zone Directory »

Please visit these other Reed Business sites