370 likes | 486 Views
Uses of Synchronized Clocks in Test and Measurement Systems. Jeff Burch, Adam Cataldo, John Eidson, Andrew Fernandez, Conrad Proft, Dieter Vook Measurement Research Laboratory, Agilent Technologies, Inc. Agenda. Overview of clock synchronization and driving applications
E N D
Uses of Synchronized Clocks in Test and Measurement Systems Jeff Burch, Adam Cataldo, John Eidson, Andrew Fernandez, Conrad Proft, Dieter Vook Measurement Research Laboratory, Agilent Technologies, Inc. CHESS
Agenda • Overview of clock synchronization and driving applications • Test & measurement (LXI Class B instrumentation & DAQ) • Experimental results • Conclusions CHESS
Purpose of IEEE 1588 IEEE 1588 is a protocol designed to synchronize real-time clocks in the nodes of a distributed system that communicate using a network It does not say how to use these clocks (this is specified by the respective application areas) CHESS
Synchronization Basics – Delay Request-Response Mechanism CHESS
Under the assumption that the link is symmetric Offset = (Slave time) – (Master time) = [(t2 – t1) – (t4 – t3)]/2 = [(t-ms) – (t-sm)]/2 (propagation time) = [(t2 – t1) + (t4 – t3)]/2 = [(t-ms) + (t-sm)]/2 Can rewrite the offset as Offset = t2 – t1 – (propagation time) = (t-ms) – (propagation time) If the link is not symmetric The propagation time computed as above is the mean of the master-to-slave and slave-to- master propagation times The offset is in error by the difference between the actual master-to-slave and mean propagation times Synchronization Basics – Delay Request-Response Mechanism - 2 CHESS
Application IEEE 1588 Timing Support (e.g. time stamping, time triggers…) Application Code IEEE 1588 Clock IEEE 1588 IEEE 1588 Code Control OS MAC MII IEEE 1588 Packet Detection PHY LAN IEEE 1588 CHESS
The residence time is accumulated in a field of the Sync (one-step clock) or Follow_Up (two-step clock) messages End-to-End Transparent Clocks CHESS
How well can you synchronize? From: “DP83640 Synchronous Ethernet Mode: Achieving Sub-nanosecond Accuracy in PTP Applications, National Semiconductor Application Note 1730, David Miller, September 2007 CHESS
Infrastructure: Boundary and transparent clocks (IEEE 1588 bridges): Hirschmann, Westermo, Cisco, others GPS master clocks: Symmetricom, Meinberg, Westermo,… Silicon: Microprocessors with embedded 1588: Intel, Hyperstone, Freescale, AMCC,… PHY/MAC level: National Semiconductor, others in proto or 1st silicon (some also implement synchronous Ethernet) Protocol & misc: 1588 stacks, IP blocks, consulting: IXXAT,U. Zurich, MoreThanIP, others Wireshark Products (partial listing) CHESS
Websites General IEEE 1588 site: contains product pointers, conference records, general guidance, standards related http://ieee1588.nist.gov/ ISPCS (International IEEE Symposium on Precision Clock Synchronization) site: Conference on IEEE 1588 and related subjects http://www.ispcs.org/ CHESS
RoboTeam in Action: Process Relative Motion Courtesy of Kuka Robotics Corp. CHESS
e.g. high speed printing Courtesy of Bosch-Rexroth. CHESS
IEEE 1588 enabled flight test instrumentation in the forward fuselage of a test aircraft. (Data acquisition) Courtesy of Teletronics CHESS
GE uses 1588 in the Mark™ Vie control system for large generators, turbines, wind farms, and other DCS applications. (>50K I/O Packs with 1588 shipped to date) http://gepower.com/prod_serv/products/oc/en/control_solution/ppc_markviedcs_cs.htm Power System Applications (Courtesy of General Electric) CHESS
IEEE Power System Relaying Committee (PSRC) recently approved formation of Working Group H7 "IEEE 1588 Profile for Protection Applications" Power System Applications CHESS
Cellular backhaul is the major telecom application to date. Metro-Ethernet in field trial. Femtocells beginning. Companies involved (partial list): Nokia-Siemens, Brilliant, Semtech, Zarlink, … Telecommunications Applications CHESS
Consumer electronics: IEEE 802.1as http://www.ieee802.org/1/pages/802.1as.html The “AVB” effort should be carefully investigated by both PTIDES and PRET. Audio/video systems applications CHESS
LXI Class A Instrument TX RX 8 LVDS Trigger Bus • LXI Class A • Trigger Bus LXI Class A&B Instrument Overview LXI Class-C Instrument LXI Class B Instrument Meas FW Meas HW DUT HTTP LAN TCP PHY SCPI UDP TT TS P2P App Code Event Log IEEE1588 • LXI Class B • IEEE1588 Clock Sync • Peer-to-Peer Messages • Event Logs • Downloaded Application Code CHESS
LXI Class A&B benefits • Class B: • Increased visibility of system configuration, timing and performance • Increased visibility for fault diagnosis and trouble shooting • Ability to precisely time measurement execution and state evolution system-wide • Increased ability to optimize system performance, e.g. throughput, timing precision • Increased ability to do cross domain measurement correlations based on precisely time stamped data • Class A: • Increased traditional triggering flexibility: 8-wide, daisy chain CHESS
DEMO TIME! CHESS
LXI Class B experimental test system • Experiments: • Frequency response • Fault shutdown Test system block diagram CHESS
PC Paced Instrument Sequencing-frequency response *TRG; *OPC? HW Trigger DONE *TRG; *OPC? HW Trigger DONE CHESS
Instrument Sequencing by PC (Baseline) Irregular signal timing due to timing jitter in PC CHESS
Peer-to-Peer Instrument Sequencing MEASURE STEP MEASURE STEP COMPLETE CHESS
Instrument Sequencing by P2P Messages More regular signal timing CHESS
TT TT TT TT TT TT TT TT LXI Class B: Time-Triggered Instrument Sequencing Time overlap COMPLETE CHESS
Instrument Sequencing by Time-Triggers Shorter interval due to overlap CHESS
Power Supply Shutdown POLL PC Polled FAULT SHUTDOWN FAULT TS P2P Immediate SHUTDOWN SHUTDOWN FAULT TS P2P Timed TT = TS + Δ1 TT = TS + Δ2 SHUTDOWN SHUTDOWN CHESS
PC polled Asynchronous Fault TT-Fault FET 1. Short PS load 2. PS shuts off 3. Turn off FG 4. Turn off DMM Protect PS-Volt Shutdown FG-out DMM-off Shutdown CHESS
Time-Triggered Emergency Shutdown Asynchronous Fault Protect Shutdown Δ1 Shutdown Δ2 CHESS
Power Shutdown Event Log-based Analysis PS FGEN DMM Common Time Scale CHESS
Conclusions: • Benefits of Class A & B: • Increased visibility of system configuration, timing and performance • Increased visibility for fault diagnosis and trouble shooting • Ability to precisely time measurement execution and state evolution system-wide • Increased ability to optimize system performance, e.g. throughput, timing precision • Increased ability to do cross domain measurement correlations based on precisely time stamped data • Increased traditional triggering flexibility: 8-wide, daisy chain Performance measurements illustrate these benefits. CHESS