In a few seconds the car and the charger find each other, build a private line, settle who pays, agree on a plan, and only then let power flow.
In plain words
Every session has six moments. They are always in this order.
- Find. The car calls out along the cable: is anyone there? The charger answers with its address.
- Trust. They open a private, encrypted line. Each shows a certificate and checks the other.
- Identify. The car shows a charging contract, or says the driver will pay another way.
- Agree. The car picks a service. Both state their limits and settle on a plan.
- Power. Energy flows. The car keeps saying what it wants, and the charger keeps answering.
- Part. Power drops to zero, both check that it is safe, and the session ends.
Every message of a DC session
- SDP request: who is there, TLS wanted
- SDP response: address and port
- TLS 1.3 handshake, both show certificates
- supportedAppProtocol: the versions I speak
- the version we will use
- SessionSetup: here is my ID
- AuthorizationSetup: how can I pay?
- the options, and a number to sign
- Authorization: signed contract
- ServiceDiscovery, ServiceDetail, ServiceSelection
- DC_ChargeParameterDiscovery: my limits
- ScheduleExchange: my energy need
- DC_CableCheck, DC_PreCharge
- PowerDelivery (Start)
- DC_ChargeLoop, again and again
- PowerDelivery (Stop)
- DC_WeldingDetection
- SessionStop
The car always asks and the charger always answers. Only some answers are drawn here.
For engineers
- AC is shorter. There is no cable check, no pre-charge and no welding detection, because the car converts AC to DC itself.
- The charger can say "not yet". Several answers carry a processing status. While it says Ongoing, the car repeats the request.
- The order is checked. A message that is not allowed at that point is an error, and the session ends.
- The clock is running. Table values in the 2022 edition include 20 seconds for the car's communication setup and 60 seconds for most of the charger's waiting time between messages.
- Some messages travel beside the main line. -20 gives different payload types to the common, AC, DC, wireless and pantograph messages. Schedule renegotiation and metering confirmation can run alongside the charge loop.
A worked example
A session recorded in Rey, a free simulator of a car and a charger, with a 60 kWh car at 55% that wants to reach 80%:
| Step | What was said |
|---|---|
| Limits, car | Up to 130 kW, 347 A, 450 V |
| Limits, charger | Up to 150 kW, 400 A, 500 V |
| Plan | The car needs 15.0 kWh and could take 27.0 kWh |
| Pre-charge | Both at 380 V |
| Charge loop | The car asks for 342 A, the charger delivers 308 A |
The 15.0 kWh is simple arithmetic: 25% of 60 kWh. The loop shows an everyday truth, that the request and the delivery are not always the same number.
Why pre-charge exists
The battery and the charger must be at almost the same voltage before they are joined. Otherwise a large current would rush across the contacts in an instant. Pre-charge brings the charger to the battery's voltage first.
Questions people ask
How long does it take? The talking takes seconds. Waiting for an operator's answer or for a driver with a card takes longer.
Who decides how fast I charge? Both. The car asks, and the charger gives what it can. The lower limit wins.
Why does charging stop early sometimes? The car may have reached its target, the operator may have ended it, or the conversation broke. When a session fails shows how to tell.
Can I pull the plug in the middle? The lock normally prevents it. The orderly way is to stop first, so the current is zero before the contacts open.
Try it
Open Rey, a free simulator of a car and a charger, choose OCPP 2.1 and the demo system, load the demo certificates, and plug in. Filter the conversation by ISO 15118. Every message above appears with its fields and its bytes.
Where this comes from
- ISO 15118-20:2022, read in its final draft (FDIS). Described in our own words.
- Sessions recorded in Rey, a charger and car simulator.
The standard is copyrighted. This page explains it and quotes none of it. If you build a product, read the standard itself.
Spotted a mistake, or something unclear? Write to us.