Policy Replication

Open Charge Point Protocol (OCPP) 2.0.1, March 31, 2020, Open Charge Alliance

Docket document2023-02-28 · FHWA · report · FHWA-2022-0008-0404
RIN 2125-AG10 · Docket FHWA-2022-0008

Other documents for the same rulemaking (all, by stage)

2022-06-22 Federal RegisterNational Electric Vehicle Infrastructure Formula Program
2022-06-24 Regulatory impact analysisNational Electric Vehicle Infrastructure Preliminary Regulatory Impact Assessment of Notice of Proposed Rulemaking
2022-08-05 Docket documentJoint Office of Energy and Transportation - Overview of the Joint Office - Steve Lommele (June 28, 2022)
2022-08-05 Docket documentClean Cities Coalition Network - Overview of the National Electric Vehicle Infrastructure Program
2022-08-10 Docket documentU.S. Department of Energy - Vehicle Technologies Office and the Joint Office on Energy Transportation: Planned Publicly Accessible Electric Vehicle Charging Stations Briefing (July 15, 2022)
2022-08-10 Docket documentU.S. DOT/FHWA - Ex Parte Communication with National EV Charging initiative
2022-10-17 Docket documentFord Motor Company - Ex Parte Communication
2023-02-28 Federal RegisterNational Electric Vehicle Infrastructure Standards and Requirements
2023-02-28 Regulatory impact analysisNational Electric Vehicle Infrastructure Standards and Requirements - Final Rule Regulatory Impact Assessment - Draft February 14, 2023
2023-02-28 Docket documentISO-15118 Road Vehicles - Vehicle to grid communication interface (Parts 2 - Network and application protocol, 3 - Physical and data link layer requirements, and 20 - 2nd Generation network layer and application layer requirements), International Organization for Standardization
2023-02-28 Docket documentOpen Charge Point Interface 2.2.1, October 6, 2021, EVRoaming Foundation
2023-02-28 Docket documentSAE J1772 OCT2017, SAE Electric Vehicle and Plug in Hybrid Electric Vehicle Conductive Charge Coupler, SAE International
2023-02-28 Docket documentOpen Charge Point Protocol (OCPP) 1.6J, October 2015, Open Charge Alliance

References

Page 2Download these results: CSV · JSON
OCPP 2.0.1 - © Open Charge Alliance 2020 223/449 Part 2 - Specification
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 224/449 Part 2 - Specification
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 K. SmartCharging 2. Types of Smart Charging This section is informative. 2.1. Internal Load Balancing The simplest form of smart charging is the Load Balancing use case. This concerns internal load balancing within the Charging
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 259/449 Part 2 - Specification
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 K. SmartCharging Charging Station
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 292/449 Part 2 - Specification
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 M. ISO 15118 CertificateManagement M02 - Certificate Update EV Table 204. M02 - Certificate Update Type Description Name Certificate Update Functional block M. ISO 15118 Certificate Management Reference ISO15118-1 C1 Objectives See ISO15118-1, use case Objective C1, page 20. Description See ISO15118-1, use case Description C1, page 21 up to and including the third "NOTE". Actors
research reportNot linked to a paper · refsec
IEC 61851-1 2017: EV conductive charging system - Part 1: General requirements. https://webstore.iec.ch/ publication/33644 [IEC62559-2:2015] Definition of the templates for use cases, actor list and requirements list. https://webstore.iec.ch/ publication/22349 [ISO15118-1]
research reportNot linked to a paper · refsec · cited link
OCPP 2.0.1 - © Open Charge Alliance 2020 4/13 Part 0 - Introduction
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 2. New functionalities in OCPP2.0
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 5/13 Part 0 - Introduction
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 2.5. Support for ISO 15118 The ISO 15118 standard [ISO15118-1] is a newer protocol for EVSE to EV communication, compared to IEC 61851 [IEC61851-1]. ISO 15118 allows a lot of new features and more secure communication between EVSE and EV. OCPP 2.0 supports the ISO 15118 standard, the newly added features are: • Plug & Charge • Smart Charging including input from the EV 2.6. Improvements for customer experience 2.6.1. More authorization options
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 6/13 Part 0 - Introduction
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 2.8. Minor changes/extensions 2.8.1. Renamed messages In the OCPP 1.x series, the names of all messages were kept unchanged for backward compatibility, even though some message names were found to be confusing or misleading in practice. In OCPP 2.0 message names have been changed, where appropriate, to improve clarity and understanding. Example: RemoteStartTransaction.req: a lot of implementers though it meant the Charging Station should start the transaction, but in fact it is a request to try to start a transaction. However, for example, if no cable is plugged in, no transaction can be started. Since the message was always intended to be a request, it has been changed to a more logical name: RequestStartTransactionRequest. 2.8.2. TransactionId Identification & Message Sequencing In OCPP 2.0, transaction identifiers are generated by the Charging Station, to facilitate offline charging sessions, in contrast to
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 7/13 Part 0 - Introduction
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 3. OCPP 2.0 Documentation Structure 3.1. Overview of Specification Parts The overall structure of the standard has been improved, making the new specification easier to read, implement and test. For readability and implementation purposes, OCPP 2.0 is divided in seven parts. Table 2. Parts Part 0 Introduction (this document) Part 1 Architecture & Topology Part 2 Specification: Use Cases and Requirements, Messages, Data Types and Referenced Components and Variables Appendices: Security Events, Standardized Units of Measure, Components and Variables Part 3 Schemas Part 4 Implementation Guide JSON Part 5 Certification Profiles Part 6 Test Cases In contrast to OCPP 1.6 [OCPP1.6], the OCPP 2.0 specification is written in a different structure, based on [IEC62559-2:2015]: "Use case methodology - Part 2: Definition of the template for use cases, actor list and requirements list". Part 2, the specification, is divided into 'Functional Blocks'. These Functional Blocks contain use cases and requirements.
datasetNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 8/13 Part 0 - Introduction
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 4/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 2. Benefits & Issues The WebSocket protocol is defined in [RFC6455]. Working implementations of earlier draft WebSocket specifications exist, but
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 5/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 3. WebSockets For the connection between a Charging Station and a Charging Station Management System (CSMS) using OCPP-J, the CSMS acts as a WebSocket server and the Charging Station acts as a WebSocket client. 3.1. Client request To set up a connection, the Charging Station initiates a WebSocket connection as described in [RFC6455] section 4, "Opening Handshake".
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 6/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 the solution can be used for older OCPP versions as well. Please keep in mind that in these cases the implementation should preferably also maintain support for the SOAP based solution to be interoperable. It is considered good practice to include the OCPP version as part of the OCPP-J endpoint URL string. If you run a web service that can handle multiple protocol versions on the same OCPP-J endpoint URL this is not necessary of course. 3.1.3. Example of an opening HTTP request The following is an example of an opening HTTP request of an OCPP-J connection handshake:
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 7/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 The role of the Sec-WebSocket-Accept header is explained in [RFC6455]. The Sec-WebSocket-Protocol header indicates that the server will be using OCPP2.0.1J on this connection. For a definition on how a server SHALL report a 'failure to process the message', see: CALLERROR 3.3. WebSocket Compression
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 8/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 9/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 4.1.2. Message validity and Character encoding The whole message consisting of wrapper and payload MUST be valid JSON encoded with the UTF-8 (see [RFC3629]) character encoding. Furthermore, the Charging Station and CSMS have the right to reject messages which are not conform the JSON schemas. Note that all valid US-ASCII text is also valid UTF-8, so if a system sends only US-ASCII text, all messages it sends comply with the
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 10/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 4.1.7. Message Validity An message is only valid when: • Action is a known Action. • The JSON payload is valid JSON • All the required field for the Action are present • All data is of the correct data type. When a message is not valid, the server SHALL respond with a CALLERROR 4.2. Message structures for different message types
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 11/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 The syntax of a CALLRESULT looks like this: [<MessageTypeId>, "<MessageId>", {<Payload>}] Table 6. CALLRESULT Fields Field Datatype Meaning MessageTypeId integer This is a Message Type Number which is used to identify the type of the message. MessageId string[36] This must be the exact same ID that is in the call request so that the recipient can match request and result. Payload
datasetNot linked to a paper · refsec
JSON JSON Payload of the action, see: JSON Payload for more information. For example, a BootNotification response could look like this: "19223201", "currentTime": "2013-02-01T20:53:32.486Z", "interval": 300, "status": "Accepted"
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 12/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 4.2.3. CALLERROR We only use CALLERROR in two situations: 1. An error occurred during the transport of the message. This can be a network issue, an availability of service issue, etc. 2. The call is received but the content of the call does not meet the requirements for a proper message. This could be missing mandatory fields, an existing call with the same unique identifier is being handled already, unique identifier too long, invalid
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 13/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 14/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 5. Connection 5.1. Data integrity For data integrity we rely on the underlying TCP/IP transport layer mechanisms. 5.2. WebSocket Ping in relation to OCPP Heartbeat The WebSocket specification defines Ping and Pong frames that are used to check if the remote endpoint is still responsive. In practice this mechanism is also used to prevent the network operator from quietly closing the underlying network connection after a certain period of inactivity. This websocket feature can be used as a substitute for most of the OCPP Heartbeat messages, but cannot replace all of its functionality. An important aspect of the Heartbeat response is time synchronisation. The Ping and Pong frames cannot be used for this so at least one original Heartbeat message a day is recommended to ensure a correct clock setting on the Charging Station.
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 15/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 16/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 6. OCPP Routing For some topologies it is required to route OCPP-J messages. For example when implementing a Local Controller. This section contains a solution for OCPP message routing that will work with any Charging Station and CSMS. 6.1. Local Controller A Local controller is a device that sits between the CSMS and any number of Charging Stations, creating a local group. It is located near to the Charging Station (maybe even connected wired to the Charging Stations), so it does not have problem of losing the connection to the Charging Stations. This is practically useful for doing Local Smart Charging: load balancing between the Charging Stations on the same location. The Local Controller can see all the messages, ongoing transactions etc. It can send charging profiles to the Charging Station to influence the energy used by the Charging Stations, this way preventing the group to use more energy than available at the location at that time. The Local Controller SHALL work so the Charging Station doesn’t have to behave different when connected to the Local Controller, compared to a direct connection to a CSMS. A Local Controller SHALL work so that a Charging Station can work out of the box with the Local Controller, requiring only the parameters that are needed to connect to the Local Controller to be set. The Local Controller
research reportNot linked to a paper · refsec
OCPP 2.0.1 - © Open Charge Alliance 2020 17/25 Part 4 - JSON over WebSockets implementation guide
research reportNot linked to a paper · refsec
FINAL, 2020-03-31 Local group WebSocket ws://csms.example.com/ocpp/CS00 WebSocket ws://csms.example.com/ocpp/CS01
research reportNot linked to a paper · refsec
← Previous