logo资料库

IEEE Standard for a Precision Clock Synchronization Protocol.pdf

第1页 / 共289页
第2页 / 共289页
第3页 / 共289页
第4页 / 共289页
第5页 / 共289页
第6页 / 共289页
第7页 / 共289页
第8页 / 共289页
资料共289页,剩余部分请下载后查看
IEEE Std 1588-2008 Front Cover
Title Page
Introduction
History
Notice to users
Laws and regulations
Copyrights
Updating of IEEE documents
Errata
Interpretations
Patents
Participants
Acknowledgments
CONTENTS
TABLES
FIGURES
Important Notice
1. Overview
1.1 Scope
1.2 Purpose
1.3 Layout of the document
2. Normative references
3. Definitions, acronyms, and abbreviations
3.1 Definitions
3.2 Acronyms and abbreviations
4. Conventions
4.1 Descriptive lexical form syntax
4.2 Word usage
4.3 Behavioral specification notation
5. Data types and on-the-wire formats in a PTP system
5.1 General
5.2 Primitive data type specifications
5.3 Derived data type specifications
5.4 On-the-wire formats
6. Clock synchronization model
6.1 General
6.2 Principle assumptions about the network and implementation recommendations
6.3 PTP systems
6.4 PTP message classes
6.5 PTP device types
6.6 Synchronization overview
6.7 PTP communications overview
7. Characterization of PTP entities
7.1 Domains
7.2 PTP timescale
7.3 PTP communications
7.4 PTP communication media
7.5 PTP ports
7.6 PTP device characterization
7.7 PTP timing characterization
8. PTP data sets
8.1 General specifications for data set members
8.2 Data sets for ordinary and boundary clocks
8.3 Data sets for transparent clocks
9. PTP for ordinary and boundary clocks
9.1 General protocol requirements for PTP ordinary and boundary clocks
9.2 State protocol
9.3 Best master clock algorithm
9.4 Grandmaster clocks
9.5 Message processing semantics
9.6 Changes in the local clock
10. PTP for transparent clocks
10.1 General requirements for both end-to-end and peer-to-peer transparent clocks
10.2 End-to-end transparent clock requirements
10.3 Peer-to-peer transparent clock requirements
11. Clock offset, path delay, residence time, and asymmetry corrections
11.1 General specifications
11.2 Computation of clock offset in ordinary and boundary clocks
11.3 Delay request-response mechanism
11.4 Peer delay mechanism
11.5 Transparent clock residence time correction for PTP version 2 events
11.6 Asymmetry correction for PTP version 2 event messages
12. Synchronization and syntonization of clocks
12.1 Syntonization
12.2 Synchronization
13. PTP message formats
13.1 General
13.2 General message format requirements
13.3 Header
13.4 Suffix
13.5 Announce message
13.6 Sync and Delay_Req messages
13.7 Follow_Up message
13.8 Delay_Resp message
13.9 Pdelay_Req message
13.10 Pdelay_Resp message
13.11 Pdelay_Resp_Follow_Up message
13.12 Signaling message
13.13 Management message
14. TLV entity specifications
14.1 General requirements
14.2 Experimental TLVs
14.3 Vendor and standard organization extension TLVs
15. Management
15.1 General
15.2 PTP management mechanism
15.3 Processing of management messages
15.4 Management message format
15.5 Management TLVs
16. General optional features
16.1 Unicast message negotiation (optional)
16.2 Path trace (optional)
16.3 Alternate timescales (optional)
17. State configuration options
17.1 General
17.2 Data types for options
17.3 Grandmaster clusters (optional)
17.4 Alternate master (optional)
17.5 Unicast discovery (optional)
17.6 Acceptable master table (optional)
18. Compatibility requirements
18.1 Compatibility between version 2 and future versions
18.2 Compatibility between version 1 and version 2
18.3 Message formats and data types
18.4 Naming changes
18.5 Restrictions on mixed version 1 and version 2 systems
19. Conformance
19.1 Conformance objective
19.2 PTP conformance requirements
19.3 PTP profiles
Annex A (informative) Using PTP
Annex B (informative) Timescales and epochs in PTP
Annex C (informative) Examples of residence and asymmetry corrections
Annex D (normative) Transport of PTP over User Datagram Protocol over Internet Protocol Version 4
Annex E (normative) Transport of PTP over User Datagram Protocol over Internet Protocol Version 6
Annex F (normative) Transport of PTP over IEEE 802.3 /Ethernet
Annex G (normative) Transport of PTP over DeviceNET
Annex H (normative) Transport of PTP over ControlNET
Annex I (normative) Transport of PTP over IEC 61158 Type 10
Annex J (normative) Default PTP profiles
Annex K (informative) Security protocol (experimental)
Annex L (informative) Transport of cumulative frequency scale factor offset (experimental)
Annex M (informative) Bibliography
IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems IEEE Instrumentation and Measurement Society Sponsored by the Technical Committee on Sensor Technology (TC-9) M T 8 8 5 1 IEEE 3 Park Avenue New York, NY 10016-5997, USA 24 July 2008 IEEE Std 1588™-2008 (Revision of IEEE Std 1588-2002)
IEEE Std 1588TM-2008 (Revision of IEEE Std 1588-2002) IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems Sponsor Technical Committee on Sensor Technology (TC-9) of the IEEE Instrumentation and Measurement Society Approved 27 March 2008 IEEE-SA Standards Board
implemented with Abstract: A protocol is provided in this standard that enables precise synchronization of clocks in measurement and control systems technologies such as network communication, local computing, and distributed objects. The protocol is applicable to systems communicating via packet networks. Heterogeneous systems are enabled that include clocks of various inherent precision, resolution, and stability to synchronize. System-wide synchronization accuracy and precision in the sub-microsecond range are supported with minimal network and local clock computing resources. Simple systems are installed and operated without requiring the management attention of users because the default behavior of the protocol allows for it. Keywords: boundary clock, clock, distributed system, master clock, measurement and control system, real-time clock, synchronized clock, transparent clock • The Institute of Electrical and Electronics Engineers, Inc. 3 Park Avenue, New York, NY 10016-5997, USA Copyright © 2008 by the Institute of Electrical and Electronics Engineers, Inc. All rights reserved. Published 24 July 2008. Printed in the United States of America. IEEE and 802 are registered trademarks in the U.S. Patent & Trademark Office, owned by the Institute of Electrical and Electronics Engineers, Incorporated. DeviceNet is a trademark in the U.S. Patent & Trademark Office, owned by the Open DeviceNet Vendor Association, Incorporated. ControlNet is a trademark in the U.S. Patent & Trademark Office, owned by the ControlNet International, Ltd. PROFIBUS and PROFINET are trademarks in the U.S. Patent & Trademark Office, owned by PROFIBUS Nutzerorganisation e.V. (PNO). PDF: Print: No part of this publication may be reproduced in any form, in an electronic retrieval system or otherwise, without the prior written permission of the publisher. ISBN 978-0-7381-5400-8 ISBN 978-0-7381-5401-5 STD95773 STDPD95773
IEEE Standards documents are developed within the IEEE Societies and the Standards Coordinating Committees of the IEEE Standards Association (IEEE-SA) Standards Board. The IEEE develops its standards through a consensus development process, approved by the American National Standards Institute, which brings together volunteers representing varied viewpoints and interests to achieve the final product. Volunteers are not necessarily members of the Institute and serve without compensation. While the IEEE administers the process and establishes rules to promote fairness in the consensus development process, the IEEE does not independently evaluate, test, or verify the accuracy of any of the information contained in its standards. Use of an IEEE Standard is wholly voluntary. The IEEE disclaims liability for any personal injury, property or other damage, of any nature whatsoever, whether special, indirect, consequential, or compensatory, directly or indirectly resulting from the publication, use of, or reliance upon this, or any other IEEE Standard document. The IEEE does not warrant or represent the accuracy or content of the material contained herein, and expressly disclaims any express or implied warranty, including any implied warranty of merchantability or fitness for a specific purpose, or that the use of the material contained herein is free from patent infringement. IEEE Standards documents are supplied “AS IS.” The existence of an IEEE Standard does not imply that there are no other ways to produce, test, measure, purchase, market, or provide other goods and services related to the scope of the IEEE Standard. Furthermore, the viewpoint expressed at the time a standard is approved and issued is subject to change brought about through developments in the state of the art and comments received from users of the standard. Every IEEE Standard is subjected to review at least every five years for revision or reaffirmation. When a document is more than five years old and has not been reaffirmed, it is reasonable to conclude that its contents, although still of some value, do not wholly reflect the present state of the art. Users are cautioned to check to determine that they have the latest edition of any IEEE Standard. In publishing and making this document available, the IEEE is not suggesting or rendering professional or other services for, or on behalf of, any person or entity. Nor is the IEEE undertaking to perform any duty owed by any other person or entity to another. Any person utilizing this, and any other IEEE Standards document, should rely upon the advice of a competent professional in determining the exercise of reasonable care in any given circumstances. Interpretations: Occasionally questions may arise regarding the meaning of portions of standards as they relate to specific applications. When the need for interpretations is brought to the attention of IEEE, the Institute will initiate action to prepare appropriate responses. Since IEEE Standards represent a consensus of concerned interests, it is important to ensure that any interpretation has also received the concurrence of a balance of interests. For this reason, IEEE and the members of its societies and Standards Coordinating Committees are not able to provide an instant response to interpretation requests except in those cases where the matter has previously received formal consideration. At lectures, symposia, seminars, or educational courses, an individual presenting information on IEEE standards shall make it clear that his or her views should be considered the personal views of that individual rather than the formal position, explanation, or interpretation of the IEEE. Comments for revision of IEEE Standards are welcome from any interested party, regardless of membership affiliation with IEEE. Suggestions for changes in documents should be in the form of a proposed change of text, together with appropriate supporting comments. Comments on standards and requests for interpretations should be addressed to: Secretary, IEEE-SA Standards Board 445 Hoes Lane Piscataway, NJ 08854 USA Authorization to photocopy portions of any individual standard for internal or personal use is granted by the Institute of Electrical and Electronics Engineers, Inc., provided that the appropriate fee is paid to Copyright Clearance Center. To arrange for payment of licensing fee, please contact Copyright Clearance Center, Customer Service, 222 Rosewood Drive, Danvers, MA 01923 USA; +1 978 750 8400. Permission to photocopy portions of any individual standard for educational classroom use can also be obtained through the Copyright Clearance Center.
Introduction This introduction is not part of IEEE Std 1588-2008, IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems. This standard defines a protocol enabling precise synchronization of clocks in measurement and control systems implemented with technologies such as network communication, local computing, and distributed objects. The clocks communicate with each other over a communication network. The protocol generates a master−slave relationship among the clocks in the system. All clocks ultimately derive their time from a clock known as the grandmaster clock. In its basic form, this protocol is intended to be administration free. History Measurement and control applications are increasingly using distributed system technologies such as network communication, local computing, and distributed objects. Without a standardized protocol for synchronizing the clocks in these devices, it is unlikely that the benefits will be realized in the multivendor system component market. Existing protocols for clock synchronization are not optimum for these applications. For example, Network Time Protocol (NTP) targets large distributed computing systems with millisecond synchronization requirements. The protocol proposed in this standard specifically addresses the following needs of measurement and control systems: ⎯ Spatially localized ⎯ Microsecond to sub-microsecond accuracy and precision ⎯ Administration free ⎯ Accessible for both high-end devices and low-cost, low-end devices Notice to users Laws and regulations Users of these documents should consult all applicable laws and regulations. Compliance with the provisions of this standard does not imply compliance to any applicable regulatory requirements. Implementers of the standard are responsible for observing or referring to the applicable regulatory requirements. IEEE does not, by the publication of its standards, intend to urge action that is not in compliance with applicable laws, and these documents may not be construed as doing so. Copyrights This document is copyrighted by the IEEE. It is made available for a wide variety of both public and private uses. These include both use, by reference, in laws and regulations, and use in private self- regulation, standardization, and the promotion of engineering practices and methods. By making this document available for use and adoption by public authorities and private users, the IEEE does not waive any rights in copyright to this document. Copyright © 2008 IEEE. All rights reserved. iv
Updating of IEEE documents Users of IEEE standards should be aware that these documents may be superseded at any time by the issuance of new editions or may be amended from time to time through the issuance of amendments, corrigenda, or errata. An official IEEE document at any point in time consists of the current edition of the document together with any amendments, corrigenda, or errata then in effect. In order to determine whether a given document is the current edition and whether it has been amended through the issuance of IEEE Standards Association Web amendments, corrigenda, or errata, visit site at http://ieeexplore.ieee.org/xpl/standards.jsp, or contact the IEEE at the address listed previously. the For more information about the IEEE Standards Association or the IEEE standards development process, visit the IEEE-SA Web site at http://standards.ieee.org. Errata Errata, if any, for this and all other standards can be accessed at the following URL: http://standards.ieee.org/reading/ieee/updates/errata/. Users are encouraged to check this URL for errata periodically. Interpretations Current interpretations can be accessed at the following URL: http://standards.ieee.org/reading/ieee/interp/. Patents Attention is called to the possibility that implementation of this standard may require use of subject matter covered by patent rights. By publication of this standard, no position is taken with respect to the existence or validity of any patent rights in connection therewith. A patent holder or patent applicant has filed a statement of assurance that it will grant licenses under these rights without compensation or under reasonable rates, with reasonable terms and conditions that are demonstrably free of any unfair discrimination to applicants desiring to obtain such licenses. Other Essential Patent Claims may exist for which a statement of assurance has not been received. The IEEE is not responsible for identifying Essential Patent Claims for which a license may be required, for conducting inquiries into the legal validity or scope of Patents Claims, or determining whether any licensing terms or conditions are reasonable or non- discriminatory. Further information may be obtained from the IEEE Standards Association. Copyright © 2008 IEEE. All rights reserved. v
Participants At the time this standard was completed, the Precise Networked Clock Synchronization Working Group had the following membership: John C. Eidson, Chair Hans Weibel, Vice Chair Silvana Rodrigues, Secretary John D. MacKay, Editor Galina Antonova Doug Arnold Sivaram Balasubramanian P. Stephan Bedrosian Stewart Bryant Chris Calley George Claseman Ron Cohen Robert Cubbage Ian Dobson Tom Farley John Fischer John Fleck Georg Gaderer Geoffrey M. Garner Acknowledgments Michael Gerstenberger Franz-Josef Götz Bruce Hamilton Kenneth Hann Ken Harris Jim Innis Joel Keller Jacob Kornerup Kang Lee Dirk S. Mohl Anatoly Moldovansky Laurent Montini Paul Myers Karen F. O'Donoghue Jonathon D. Paul Stephen Peterson Antti Pietilainen William E. Powell Markus Renz David Roe David Rosselot Stephan Schüler Markus Seehofer Mark Shepard Veselin Skendzic Dave Tonks Richard Tse Aljosa Vrancic Ludwig Winkel Taylor Wray Gabriel Zigelboim The working group would like to acknowledge Sara Bitan, William Burr, Ray Perlner, Albert Treytl, Steve Singer, and Yahel Shlomi for their contributions to the security experimental extension. Copyright © 2008 IEEE. All rights reserved. vi
分享到:
收藏