IEC 61588:2004
(Main)Precision clock synchronization protocol for networked measurement and control systems
Precision clock synchronization protocol for networked measurement and control systems
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 protocol will be applicable to systems communicating by local area networks supporting multicast messaging including, but not limited to, Ethernet. This standard is published under the double logo IEC/IEEE.
General Information
Relations
Standards Content (Sample)
INTERNATIONAL IEC
STANDARD 61588
First edition
2004-09
™
IEEE 1588
Precision clock synchronization protocol
for networked measurement
and control systems
Reference number
IEC 61588(E):2004
IEEE Std. 1588(E):2002
Publication numbering
As from 1 January 1997 all IEC publications are issued with a designation in the
60000 series. For example, IEC 34-1 is now referred to as IEC 60034-1.
Consolidated editions
The IEC is now publishing consolidated versions of its publications. For example,
edition numbers 1.0, 1.1 and 1.2 refer, respectively, to the base publication, the
base publication incorporating amendment 1 and the base publication incorporating
amendments 1 and 2.
Further information on IEC publications
The technical content of IEC publications is kept under constant review by the IEC,
thus ensuring that the content reflects current technology. Information relating to
this publication, including its validity, is available in the IEC Catalogue of
publications (see below) in addition to new editions, amendments and corrigenda.
Information on the subjects under consideration and work in progress undertaken
by the technical committee which has prepared this publication, as well as the list
of publications issued, is also available from the following:
• IEC Web Site (www.iec.ch)
• Catalogue of IEC publications
) enables you to
The on-line catalogue on the IEC web site (www.iec.ch/searchpub
search by a variety of criteria including text searches, technical committees
and date of publication. On-line information is also available on recently issued
publications, withdrawn and replaced publications, as well as corrigenda.
• IEC Just Published
This summary of recently issued publications (www.iec.ch/online_news/ justpub)
is also available by email. Please contact the Customer Service Centre (see
below) for further information.
• Customer Service Centre
If you have any questions regarding this publication or need further assistance,
please contact the Customer Service Centre:
Email: custserv@iec.ch
Tel: +41 22 919 02 11
Fax: +41 22 919 03 00
INTERNATIONAL IEC
STANDARD 61588
First edition
2004-09
™
IEEE 1588
Precision clock synchronization protocol
for networked measurement
and control systems
Copyright © IEEE 2004 ⎯ All rights reserved
IEEE is a registered trademark in the U.S. Patent & Trademark Office, owned by the Institute of Electrical and Electronics Engineers, Inc.
No part of this publication may be reproduced or utilized in any form or by any means, electronic or
mechanical, including photocopying and microfilm, without permission in writing from the publisher.
International Electrotechnical Commission, 3, rue de Varembé, PO Box 131, CH-1211 Geneva 20, Switzerland
Telephone: +41 22 919 02 11 Telefax: +41 22 919 03 00 E-mail: inmail@iec.ch Web: www.iec.ch
The Institute of Electrical and Electronics Engineers, Inc, 3 Park Avenue, New York, NY 10016-5997, USA
Telephone: +1 732 562 3800 Telefax: +1 732 562 1571 E-mail: stds-info@ieee.org Web: www.standards.ieee.org
Commission Electrotechnique Internationale
International Electrotechnical Commission
Международная Электротехническая Комиссия
– 2 –
IEEE 1588-2002(E)
CONTENTS
Foreword. 4
IEEE introduction. 7
1. Overview. 8
1.1 Scope. 9
1.2 Purpose. 9
2. References. 9
3. Definitions.10
4. Conventions .12
4.1 Descriptive syntax.12
4.2 Word usage .12
4.3 Behavioral specification notation .13
5. Datatypes in a PTP system.15
5.1 Primitive datatypes.15
5.2 Derived datatypes.16
6. PTP Clock synchronization model. 17
6.1 Overview. 17
6.2 PTP systems. 21
7. PTP protocol specification. 33
7.1 Protocol model of a clock . 33
7.2 Protocol model of a subdomain of PTP clocks. 35
7.3 State behavior of clocks. 38
7.4 Clock data set. 42
7.5 Messaging and internal event behavior of clocks. 54
7.6 Best master clock algorithm. 71
7.7 Clock variance computation . 83
7.8 Local clock synchronization . 86
7.9 Values for system and clock constants. . 89
7.10 Physical requirements for PTP implementations. 91
7.11 PTP timing and event ordering constraints. 91
7.12 Management message semantics . 95
8. PTP inter-clock message formats. 95
8.1 Inter-clock messages.102
8.2 PTP message header specification.102
8.3 Sync and Delay_Req messages.105
8.4 Follow_Up messages . 109
8.5 Delay_Resp messages. 110
8.6 Management messages. 111
Published by IEC under licence from IEEE. © 2004 IEEE. All rights reserved.
vi Copyright © 2002 IEEE. All rights reserved.
– 3 –
IEEE 1588-2002(E)
9. Conformance. 120
9.1 Conformance objective . 120
9.2 PTP node conformance requirements . 121
9.3 PTP system conformance requirements. 121
Annex A (informative) Using the PTP protocol. 122
Annex B (informative) Time scales and epochs in PTP . 128
Annex C (normative) subdomain_name to subdomain_address mapping algorithm . 133
Annex D (normative) Ethernet implementation of PTP . 134
Annex E (informative) Bibliography. 151
Annex F (informative) List of Participants . 152
Published by IEC under licence from IEEE. © 2004 IEEE. All rights reserved.
– 4 –
IEEE 1588-2002(E)
INTERNATIONAL ELECTROTECHNICAL COMMISSION
___________
PRECISION CLOCK SYNCHRONIZATION PROTOCOL
FOR NETWORKED MEASUREMENT AND CONTROL SYSTEMS
FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization
comprising all national electrotechnical committees (IEC National Committees). The object of IEC is to
promote international co-operation on all questions concerning standardization in the electrical and
electronic fields. To this end and in addition to other activities, IEC publishes International Standards,
Technical Specifications, Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter
referred to as “IEC Publication(s)”). Their preparation is entrusted to technical committees; any IEC National
Committee interested in the subject dealt with may participate in this preparatory work. International,
governmental and non-governmental organizations liaising with the IEC also participate in this preparation.
IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with
conditions determined by agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an
international consensus of opinion on the relevant subjects since each technical committee has
representation from all interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly
indicated in the latter.
5) IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for any
equipment declared to be in conformity with an IEC Publication.
6) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
International Standard IEC/IEEE 61588 has been processed through subcommittee 65C:
Digital communications, of IEC technical committee 65: Industrial-process measurement
and control.
The text of this standard is based on the following documents:
IEEE Std FDIS Report on voting
1588 (2002) 65C/333/FDIS 65C/340/RVD
Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.
The committee has decided that the contents of this publication will remain unchanged until
2007.
Published by IEC under licence from IEEE. © 2004 IEEE. All rights reserved.
Published by IEC under licence from IEEE. © 2004 IEEE. All rights reserved.
– 5 –
IEEE 1588-2002(E)
IEC/IEEE Dual Logo International Standards
This Dual Logo International Standard is the result of an agreement between the IEC and the Institute of
Electrical and Electronics Engineers, Inc. (IEEE). The original IEEE Standard was submitted to the IEC for
consideration under the agreement, and the resulting IEC/IEEE Dual Logo International Standard has been
published in accordance with the ISO/IEC Directives.
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 p
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.