1、NEMA Standards PublicationNational Electrical Manufacturers AssociationANSI C12.22-2012Protocol Specification for Interfacing to DataCommunication NetworksANSI C12.22-2012 American National Standard Protocol Specification for Interfacing to Data Communication Networks Secretariat: National Electrica
2、l Manufacturers Association IEEE Number: 1703-2012 Measurement Canada Number: MC12.22-2013 Approved April 14, 2015 American National Standards Institute, Inc. 2015 National Electrical Manufacturers Association NOTICE AND DISCLAIMER The information in this publication was considered technically sound
3、 by the consensus of persons engaged in the development and approval of the document at the time it was developed. Consensus does not necessarily mean that there is unanimous agreement among every person participating in the development of this document. NEMA standards and guideline publications, of
4、 which the document contained herein is one, are developed through a voluntary consensus standards development process. This process brings together volunteers and/or seeks out the views of persons who have an interest in the topic covered by this publication. While NEMA administers the process and
5、establishes rules to promote fairness in the development of consensus, it does not write the document and it does not independently test, evaluate, or verify the accuracy or completeness of any information or the soundness of any judgments contained in its standards and guideline publications. NEMA
6、disclaims liability for any personal injury, property, or other damages of any nature whatsoever, whether special, indirect, consequential, or compensatory, directly or indirectly resulting from the publication, use of, application, or reliance on this document. NEMA disclaims and makes no guaranty
7、or warranty, express or implied, as to the accuracy or completeness of any information published herein, and disclaims and makes no warranty that the information in this document will fulfill any of your particular purposes or needs. NEMA does not undertake to guarantee the performance of any indivi
8、dual manufacturer or sellers products or services by virtue of this standard or guide. In publishing and making this document available, NEMA is not undertaking to render professional or other services for or on behalf of any person or entity, nor is NEMA undertaking to perform any duty owed by any
9、person or entity to someone else. Anyone using this document should rely on his or her own independent judgment or, as appropriate, seek the advice of a competent professional in determining the exercise of reasonable care in any given circumstances. Information and other standards on the topic cove
10、red by this publication may be available from other sources, which the user may wish to consult for additional views or information not covered by this publication. NEMA has no power, nor does it undertake to police or enforce compliance with the contents of this document. NEMA does not certify, tes
11、t, or inspect products, designs, or installations for safety or health purposes. Any certification or other statement of compliance with any health- or safety-related information in this document shall not be attributable to NEMA and is solely the responsibility of the certifier or maker of the stat
12、ement. ANSI C12.22-2012 2015 National Electrical Manufacturers Association i AMERICAN NATIONAL STANDARD Approval of an American National Standard requires verification by the American National Standards Institute, Inc. (ANSI) that the requirements for due process, consensus, and other criteria for a
13、pproval have been met by the standards developer. Consensus is established when, in the judgment of the ANSI Board of Standards Review, substantial agreement has been reached by directly and materially affected interests. Substantial agreement means much more than a simple majority, but not necessar
14、ily unanimity. Consensus requires that all views and objections be considered, and that a concerted effort be made toward their resolution. The use of American National Standards is completely voluntary; their existence does not in any respect preclude anyone, whether he has approved the standards o
15、r not, from manufacturing, marketing, purchasing, or using products, processes, or procedures not conforming to the standards. The American National Standards Institute, Inc., does not develop standards and will in no circumstances give an interpretation of any American National Standard. Moreover,
16、no person shall have the right or authority to issue an interpretation of an American National Standard in the name of the American National Standards Institute, Inc. Requests for interpretations should be addressed to the secretariat or sponsor whose name appears on the title page of this standard.
17、 Caution Notice: This American National Standard may be revised or withdrawn at any time. The procedures of the American National Standards Institute, Inc., require that action be taken periodically to reaffirm, revise, or withdraw this standard. Purchasers of American National Standards may receive
18、 current information on all standards by calling or writing the American National Standards Institute, Inc. Published by National Electrical Manufacturers Association 1300 North 17th Street, Suite 900, Rosslyn, Virginia 22209 2015 National Electrical Manufacturers Association All rights, including t
19、ranslation into other languages, reserved under the Universal Copyright Convention, the Berne Convention for the Protection of Literary and Artistic Works, and the International and Pan American copyright conventions. No part of this publication may be reproduced in any form, in an electronic retrie
20、val system or otherwise, without prior written permission from the publisher. Printed in the United States of America ANSI C12.22-2012 ii 2015 National Electrical Manufacturers Association Foreword (This Foreword is not part of American National Standard C12.22-2012.) This standard is intended to ac
21、commodate the network messaging requirements of an advanced metering infrastructure such as that identified by the Office of Electricity Delivery and Energy Reliability of the US Department of Energy; the Smart Metering Initiative of the Ontario Ministry of Energy (Canada) and the stated requirement
22、s of Measurement Canada for the approval of a metering device for use in Canada. The standard describes four different but related communication modes of operation. One is the operation of an End Device (Node) over any network, a feature that all C12.22 compliant nodes need to implement. The second
23、is an exposed point-to-point interface between a C12.22 Device, e.g., a meter, and, a C12.22 Communication Module, e.g., a network adaptor. The third is the capture, translation and transmission of one way messages (blurts). The fourth is communication with the End Device over a dedicated ANSI C12.1
24、8 ANSI Type 2 optical local port. The standard assigns roles to all of the Utility AMI network assets to enable the automated deployment and configuration of network nodes in a distributed AMI enterprise system. The roles provide for Relays, Master Relays and Gateways; simple Hosts, Authentication H
25、osts, and Notification Hosts; and sensory End Devices. These devices work together to realize a Utility enterprise network in a manner that provides for a universal application framework that can operate any compliant appliance so that it can be deployed, accessed and communicated with seamlessly ov
26、er any network infrastructure, hardware and available bandwidth. This is accomplished through the provision of well-defined network management services (e.g., trace, resolve, register, de-register), data access service (e.g., read, write), session management (e.g., logon, logoff, terminate, disconne
27、ct), message segmentation and assembly, message playback rejection, security and privacy. All registration authorities that recognize registrars are governed by ANSI C12 and IEEE SCC31. To be recognized, any registration authority is expected to adhere to the requirements specified in this standard.
28、 See Annex D, “(normative) Universal Identifier.” The protocol is well suited for two-way and one-way communication using an extremely wide network address space (using ApTitles). It implements subscription and Node discovery services so that any Utility enterprise (e.g., MDMS, DA, DR, or any other
29、willing network appliance, such as a home energy monitoring system, or a thermostat) can register itself as a Notification Host so that it can receive advisory messages and alerts about network asset changes or changes in the state of the network. Network subscription services can be managed through
30、 distributed Authentication Hosts. Altogether, this standard was designed to be simple and small. Therefore, it can meet the requirements of the smallest of AMI networks, while providing well-defined capacities that can grow and adapt to the largest of enterprise AMI networks and operations as neede
31、d. As such, this standard together with ANSI C12.19 addresses the end-to-end distributed AMI network needs from the smallest to the largest of enterprise AMI systems. The second release of this standard is a minor release in that it establishes a new baseline document that includes all the correctio
32、ns that were applied in Annex K, “Listing of Editorial Errors and Errors of Omission in ANSI C12.22-2008” of the first release of IEEE Std 1703-2012. Readers who are acquainted with ANSI C12.22-2008 should review the notable differences and corrections that exist in this release of the standard rela
33、tive to its predecessor. These are listed below: 1. New clauses “1 Overview” and “1.1 Introduction” were introduced ahead of old clause “1 Scope.” 2. Old clause “1 Scope” was revised as clause “1.3 Purpose.” 3. New clause “1.3 Purpose” was introduced. 4. Moved clause “2.2 Other” to “Annex K, Bibliog
34、raphy” and adopted IEEE-style citations and references. 5. Added reference to the “IEEE-SA Standards Definitions Database” in clause “3.1 Definitions.” ANSI C12.22-2012 2015 National Electrical Manufacturers Association iii 6. Corrected Note 1 of clause “5.2.4 “Universal Identifiers Canonical Encodi
35、ng,” 7. Added new response error code in clause “5.3.2.2 Response Codes.” 8. Added new response error code in clause “5.3.2.4.1 Identification Service.” 9. Corrected in clause “5.3.2.4.2 Read Service.” 10. Corrected in clause 5.3.2.4.3, “Write Service.” 11. Corrected request description in clause “5
36、.3.2.4.5 Security Service.” 12. Added new response error code in clause “5.3.2.4.5 “Security Service.” 13. Added new response error code in clause “5.3.2.4.8 “Disconnect Service.” 14. Added new response error code in clause “5.3.2.4.9 “Wait Service.” 15. Documented description of domain pattern in c
37、lause “5.3.2.4.10 “Registration Service.” 16. Corrected in clause “5.3.2.4.10 Registration Service.” 17. Corrected description of clause “5.3.2.4.12 “Resolve Service.” 18. Corrected description of of clause “5.3.3 EPSEM Envelope Structure.” 19. Corrected Use of Assigned Subbranches in Relative ApTit
38、le in clause “5.3.4.12 Use of Subbranches of a Registered ApTitle.” 20. Inserted “A.1 Description” into Annex A, and renumbered all subclauses in Annex A. 21. Corrected clause “A.6 C12.22 Master Relay ApTitle Auto-assignment.” 22. Inserted “C.1 Overview” into Annex C, and renumbered all subclauses i
39、n Annex C. 23. Added Element PATTERN_LEN_MULT to clause “C.3.1 Table 130 Relay Network Control Dimension Limits Table.” 24. Added Element PATTERN_LEN_MULT to clause “C.3.2 TABLE 131 Actual Network Relay Limiting Table.” 25. Corrected definition of END_DEVICE_FLAG of clause “C.3.3 Table 132 Registrat
40、ion List Table.” 26. Updated size of APTITLE_PATTERN of clause “C.3.4 Table 133 Static Routing Table.” 27. Updated size of NOTIFICATION_PATTERN of clause “C.3.5 Table 134 Host Notification Table.” 28. Updated size of SERIAL_NUMBER_PATTERN of clause “C.2.6 Table 135 Master Relay Assignment Table.” 29
41、. Corrected description of CIPHER_MODE of clause “C.7 Table 47 Host Access Security Table.” 30. Corrected examples of clause “Annex G, Communication Examples.” 31. Added note on buffering to clause “I.1 EAX description.” Suggestions for improvement to this standard are welcome. They should be sent t
42、o: National Electrical Manufacturers Association Vice President, Technical Services 1300 North 17th Street Suite 900 Rosslyn, VA 22209 This Standard was processed and approved for submittal to ANSI by Accredited Standards Committee for Electricity Metering C12. At the time the committee approved thi
43、s standard, the C12 Committee had the following members: Tom Nelson, Chairman Paul Orr, SecretaryNEMA Staff Name of Representative: Organization Represented: Larry Barto Georgia Power Ron Breschini Underwriters Laboratories, Inc. Brent Cain Itron, Inc. Curt Crittenden GE Energy Jim DeMars Florida Po
44、wer i.e., the IEEE 1703 Device is the same as the ANSI C12.22 Device and the IEEE 1703 Communication Module is the same as the C12.22 Communication Module. However, since this standard was originally developed under the auspice of ANSI C12 SC17 WG1, the document terminology is based on C12.22 terms.
45、 Furthermore, this standard defines a methodology to capture, translate, and transmit one-way device messages (blurts). This standard defines interfaces between IEEE 1377 Devices (ANSI C12.19 Devices) and network protocols. Specific goals identified by the committee in the creation of this standard
46、were: a) Defining a Datagram that can convey ANSI C12.19 data Tables through any network This was accomplished by: Assuming that the data source is ANSI C12.19 data Tables Defining the Application Layer services (language) 1 Information on references can be found in clause 2. 2 Numbers in brackets c
47、orrespond to those of the bibliography in Annex K. ANSI C12.22-2012 2 2015 National Electrical Manufacturers Association b) Providing a full stack ISO/IEC 7498-1 definition for interfacing a C12.22 Device to a C12.22 Communication Module This was accomplished by: Defining the physical interface requ
48、irements between the C12.22 Device and the C12.22 Communication Module Defining the interface lower layers ISO/IEC 7498-1: 4 (transport), 3 (network), 2 (data link), and 1 (physical) c) Providing a full stack definition for point-to-point communication to be used over local ports such as optical por
49、ts or modems This was accomplished by defining a Layer 4 (transport) and Layer 2 (data link) d) Providing support for efficient one-way messaging (blurts) This was accomplished by: Defining a compact message format that can be easily transformed into a standard ANSI C12.22 Datagram Assuring that all needed layers defined in this standard can support one-way messaging e) Providing network architecture compatible with this protocol (some architectural concepts were derived from HCCS 1 B5, HCCS 2 B6, HCCS 3 B7, DND B4, IPPA B1, and TCPCE B2) T