CCS is the plug, ISO 15118 is what the car and the charger say through it, and OCPP is what the charger says to the company that runs it.
In plain words
Think of a hotel.
- The door and the key slot are the plug and the socket: CCS, Type 2, and others.
- The talk at the front desk is ISO 15118: the guest and the receptionist agree on the room and how to pay.
- The call from reception to head office is OCPP: is this guest known, what is the price, when should the lights go down?
- The agreement between hotel chains is roaming, for example over OCPI: a guest of one chain can sleep at another.
| Between | Language | Example |
|---|---|---|
| Car and charger, the hardware | CCS, IEC 61851 | The pins, and the basic current signal |
| Car and charger, the conversation | ISO 15118 | "I need 20 kWh by seven" |
| Charger and its operator | OCPP | "Is this contract valid?" |
| Operator and other companies | OCPI and others | "Your customer charged here" |
How the two conversations meet
Plug & Charge shows it best. The car proves itself to the charger in ISO 15118. The charger then asks its operator in OCPP.
- AuthorizationReq with a contract (ISO 15118)
- Authorize with the contract ID and certificate data (OCPP)
- Accepted
- AuthorizationRes: OK
For engineers
OCPP 2.1 has use cases written for Part 20. The numbers are from its specification.
| Topic | OCPP 2.1 use case |
|---|---|
| Authorization with a contract certificate | C07 |
| Authorization with a card or app over ISO 15118 | C08 |
| Scheduled control mode | K18 |
| Dynamic control mode | K19 |
| The car changes its needs during charging | K20 |
| Installing a contract in the car | M01 |
| Revocation status of the vehicle certificate | M07 |
| Two-way power | Q01 and following |
OCPP 2.0.1 knows ISO 15118-2. It has no messages for the parts that are new in -20, such as two-way power.
A worked example
Follow one number, the contract ID, through the whole chain.
- In the car it sits in the contract certificate.
- In ISO 15118 it goes to the charger inside AuthorizationReq. In a recorded session that message was 2,417 bytes long, most of it certificates.
- In OCPP the charger sends it to its operator in Authorize, as an ID token of type eMAID.
- If the contract belongs to another company, the operator asks that company.
- The answer travels back the same way, and at the car it is one short message: OK.
Four languages, one question: may this car charge?
Who speaks first?
In ISO 15118 the car always asks and the charger always answers. In OCPP either side may start. That is why an operator can tell a charger to stop, but a charger cannot simply send a message to a car. It puts the request into its next answer.
Questions people ask
Is OCPP part of ISO 15118? No. Different organisations write them. They meet inside the charger.
Do I need OCPP 2.1 for -20? For features such as two-way power and dynamic control, 2.1 is the version that has use cases for them. Basic charging can work with older versions.
Does CCS mean ISO 15118? No. CCS describes the connector and how power is transferred. Early CCS fast chargers speak DIN 70121.
Where does OCPI fit? Between companies, for example so that a driver of one provider can use another's chargers.
Can two chargers speak different OCPP versions to one operator? Yes, if the operator's system supports both.
Try it
Rey, a free simulator of a car and a charger, shows both conversations side by side. Plug in with a contract and watch one AuthorizationReq turn into one Authorize.
Where this comes from
- ISO 15118-20:2022, read in its final draft (FDIS). Described in our own words.
- OCPP 2.1, Part 2, Edition 2, Open Charge Alliance.
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.