ISO 15118 is the international standard that defines how an electric vehicle and a charging station talk to each other. It is the technology behind “Plug & Charge”: you plug the cable in, the car identifies itself, billing starts, and you walk away. No card, no app.

Its message layer, ISO 15118-2, was first published in 2014. Publication is where the work starts rather than where it ends, because one Plug & Charge session needs the vehicle, the charger, the site operator, an eMSP and a certificate authority to each have done their part in advance. That dependency chain runs through everything below.

The basic idea

When you plug an EV into a charging station, several things need to happen:

  1. The car and charger need to physically connect (the plug).
  2. They need to electrically agree on what’s possible (voltage, current, AC or DC).
  3. The user needs to authenticate (am I allowed to charge here?).
  4. Billing needs to happen (someone is paying for this electricity).
  5. Energy needs to flow safely (monitoring, limiting, stopping).

ISO 15118 covers steps 2 through 4 and provides the framework for step 5. Before it, those steps were split between low-level electrical signaling on the pilot pin and out-of-band user interaction such as an RFID card or a phone app. ISO 15118 gives the vehicle and the charger a channel rich enough to settle the steps between themselves.

The protocol stack, simplified

ISO 15118 sits in a layered stack:

[ Application: Plug & Charge, V2G, smart charging ]
[ ISO 15118-2 or 15118-20 messages, EXI-encoded   ]
[ V2GTP framing (an 8-byte header)                ]
[ TCP, with TLS for Plug & Charge, over IPv6      ]
[ HomePlug GreenPHY (powerline communication)     ]
[ The same pilot pin used for basic signaling     ]

The clever part is at the bottom. ISO 15118 communication runs over the CCS connector’s (coming soon) existing pilot pin. The wire that carries low-level IEC 61851 signaling also carries higher-frequency powerline communication for the richer protocol, so no extra conductors were added to the connector. It simply acquired a second job.

One layer above deserves a warning. ISO 15118-2 defines its messages in XML Schema but requires them to travel as EXI, a binary encoding (section 7.9.1.1, requirement [V2G2-097]). There is no plain-XML wire format to fall back on, which is why a packet capture of a session is unreadable without the schema and an EXI decoder (coming soon).

What “Plug & Charge” actually does

Imagine you pull up to a charging station with your EV. With Plug & Charge:

  1. You plug the cable in. That is the only physical action.
  2. The car and the charger establish a secure connection.
  3. The car presents a digital certificate identifying its charging contract.
  4. The charger passes that certificate to its back end, which forwards it to the eMSP that issued the contract.
  5. The eMSP confirms the contract is valid and authorizes the session.
  6. The charger starts charging.

Nothing on that list appears on the charger screen as a step you have to perform. A message-by-message walk-through (coming soon) covers what each party sends and in what order.

To see it happen, this short demo runs ISO 15118-2 Plug & Charge in Rey, the free virtual charge point: a valid contract starts a session, then a revoked one is refused.

Plug & Charge in Rey on ISO 15118-2 and OCPP 2.0.1: a valid contract is accepted, a revoked one refused. Watch on YouTube ↗

Compare with the non-PnC flow:

  1. Plug in.
  2. Take out an RFID card and tap.
  3. Wait for the charger to read it.
  4. The charger queries its back end, which validates and authorizes.
  5. Charging starts.

On the surface, PnC removes one step: the tap. Underneath, removing that step requires a certificate-based identity system, because the vehicle now presents cryptographic credentials rather than a number stored on a card.

The certificate world

Plug & Charge runs on a hierarchy of digital certificates. Three of them matter for understanding a session.

The contract certificate. Installed on the vehicle. It represents the user’s charging contract with their eMSP. When the car presents it, the charger forwards it up the back-end stack, and that certificate is what proves who pays for the session.

The OEM provisioning certificate. Installed by the vehicle manufacturer at the factory. It bootstraps trust: the vehicle proves it is a genuine vehicle from a given manufacturer, which is what allows a contract certificate to be installed later.

The charger certificate. Every charger that offers Plug & Charge has one. The vehicle uses it to check that the charger is legitimate, because handing your contract certificate to a rogue charger is precisely the attack worth preventing.

Diagram: the vehicle holds the contract certificate, which proves who pays, and the OEM provisioning certificate from the factory; the charger holds the charger certificate. The vehicle checks the charger certificate over TLS, presents its contract certificate, and the charger passes it to its back end and on to the eMSP that issued the contract.

Certificates are issued under root Certificate Authorities, and the EV space has several: V2G roots run by industry PKI operators, plus manufacturer-specific roots used for OEM provisioning. The count of roots is not the operational problem. Overlap is. A session authenticates only if the charger’s trust store holds the root your contract certificate chains to, and neither you nor the charger displays that fact anywhere before you plug in. Contract certificates and the PKI around them (coming soon) get their own article for that reason.

Why this is more secure than RFID

Four reasons certificates beat RFID for authentication.

  • RFID can be cloned. An attacker with a card reader can copy an RFID card’s number. Cryptographic certificates cannot be cloned without the private key, which the vehicle keeps in secure storage.
  • Certificates are revocable. If a vehicle is stolen or a contract is cancelled, the contract certificate can be revoked centrally. Revoking an RFID token instead depends on every charger’s deny-list being current.
  • Certificates work in both directions. The vehicle checks the charger’s certificate over TLS, and the charger checks a signature made with the vehicle’s contract key. RFID runs one way: the charger reads the card, and the card has no means of checking the charger.
  • Certificates are bound to a specific vehicle. The contract certificate is provisioned into one vehicle’s secure storage. Tying a contract to a vehicle rather than to a card the user carries closes off several categories of fraud.

Keep that in proportion, though. RFID and certificate authentication are both adequate for everyday use, and the difference a driver actually feels is the tap that no longer happens. If you are weighing the routes against each other, RFID vs Plug & Charge vs app (coming soon) lays out the tradeoffs side by side.

The two editions: 15118-2 and 15118-20

ISO 15118-2 (2014)

The founding edition. It covers:

  • Plug & Charge for AC and DC charging.
  • Certificate-based authentication.
  • Unidirectional power flow, with the vehicle as a load.
  • Messages defined in XML Schema and carried as EXI on the wire.

ISO 15118-20 (2022)

The evolution. It adds:

  • Bidirectional power transfer. A message set for a vehicle that exports as well as imports, which is the foundation for V2G and V2H.
  • Wireless power transfer (coming soon). Inductive charging with the same identification and authentication semantics.
  • Finer scheduling. More granular negotiation of when and how much to charge.
  • A reworked message set. Still EXI on the wire, restructured and under its own schema namespace.
  • Refined security. Updated certificate handling and TLS requirements.

Which edition a session uses is not a setting anybody picks. Every session opens with a SupportedAppProtocol handshake: the vehicle lists the namespaces it speaks in priority order, and the charger returns the one it selected. A charger carrying both stacks serves both kinds of vehicle from one socket, and a vehicle offering only -2 gets -2.

The word “bidirectional” hides the distinction that matters. A vehicle can do V2L (a socket in the car) or V2H (backfeeding a house through an inverter and a transfer switch) with no ISO 15118-20 involvement at all, because those paths run proprietary between the car and its own hardware. Grid-services V2G, where a utility or an aggregator dispatches the vehicle, is the case that needs the -20 message set. The bidirectional charging explainer (coming soon) separates the three. On the charger side, adding -20 is not purely a firmware question: the control board has to carry the new stack (the PLC modem is unchanged, because -20 reuses the ISO 15118-3 physical and data link layer), so whether a particular unit can take it is a question to put to its manufacturer rather than something a release note answers.

A useful shorthand: 15118-2 is Plug & Charge, and 15118-20 is Plug & Charge plus bidirectional power, wireless power and a modernized message set.

Where ISO 15118 sits in the broader stack

ISO 15118 is one layer in a stack that includes other protocols.

[ End user / OEM ]
       |
[ Vehicle <-- ISO 15118 --> Charger <-- OCPP --> CSMS <-- OCPI --> Roaming partners ]
       |                                            |
   [ Physical: CCS pilot pin, PLC, contactors ]   [ Billing, app, ops ]
  • ISO 15118: vehicle-to-charger. Authentication, energy management, certificates.
  • OCPP: charger-to-CSMS. Operations, configuration, transactions.
  • OCPI: CSMS-to-eMSP and roaming. Authorization queries, session and CDR exchange.

All three participate in a Plug & Charge session. The vehicle presents its certificate to the charger (ISO 15118). The charger sends an Authorize request to its CSMS (OCPP). The CSMS asks the eMSP that issued the contract whether it is valid (OCPI). The answer flows back the same way. To try this chain without a car or charger, see testing OCPP Plug & Charge. The handoff between ISO 15118 and OCPP (coming soon) is the seam integration work has to close, because that is the boundary where a certificate chain turns into an authorization request.

sequenceDiagram
    participant V as Vehicle
    participant C as Charger
    participant S as CSMS
    participant E as eMSP
    V->>C: Present contract cert<br/>(ISO 15118)
    C->>S: Authorize request<br/>(OCPP)
    S->>E: Validate contract<br/>(OCPI)
    E-->>S: Contract valid
    S-->>C: Authorized
    C-->>V: Start charging

Why Plug & Charge fails when it fails

A network’s logo is not one of the four things that must line up. The vehicle needs its 15118 stack enabled in the firmware it is running now. The charger needs hardware of a generation that supports it, with the feature switched on by the site operator. Your eMSP needs to have provisioned a contract certificate. And that certificate has to chain to a root the charger trusts. Miss one and you are back to tapping a card. Trust-root overlap is the failure that catches people out, because it explains how the same car on the same contract authenticates at one operator and fails at the one across the road with nothing visibly different about either charger. Debug that at the certificate layer (coming soon) before you start suspecting the hardware.

Checklist of the four things Plug & Charge needs: ISO 15118 enabled in the vehicle's current firmware, a charger with supporting hardware and the feature switched on, a contract certificate provisioned by the eMSP, and a chain to a root the charger trusts. Miss one and the driver is back to tapping a card.

“It just starts charging” does not tell you which mechanism ran. Three different mechanisms give the driver an identical experience. ISO 15118 Plug & Charge authenticates a contract certificate. Autocharge (coming soon) identifies the vehicle by the MAC address of its PLC modem, which is simpler, sits outside ISO 15118, and is spoofable in a way certificate authentication is not. Account-linking between an eMSP and a car maker’s app is plumbing above the protocol layer, with no vehicle-to-charger authentication involved at all. All three can be called “plug and charge” without anybody lying, because the phrase names the experience and not the mechanism underneath it. If you are integrating rather than driving, ask for the mechanism in writing, not the marketing name.

Vehicle capability travels in firmware, not in the model name. Support arrives in a software release and can be gated by market, so a published list of supported models describes a snapshot of firmware rather than a property of the car. The check that works is your own vehicle: look in its charging settings for a Plug & Charge or contract-certificate entry, then confirm your eMSP issues one.

Onboarding is the quiet blocker. A working session needs a contract with an eMSP that provisions certificates, a certificate installed into the vehicle, and a vehicle able to store and present it. Each of those is a task somebody has to finish before anything seamless happens, and none of them happen at the charger.

Cross-network trust is a commercial question in technical costume. A network may prefer its own root over a neutral one. ISO 15118-20 lets the charger tell the vehicle which providers it accepts (SupportedProviders in AuthorizationSetupRes), so a vehicle holding certificates in several trust domains can present the matching one. Whether that gets done is settled in contracts, not in code.

When it works, it is the best charging UX there is. Plug in, walk away, get billed. Every complication described above stays out of sight, which is the entire point of the design.

What to learn next

One thing worth carrying away if you are building here. The ISO 15118 message set is finite, documented and testable, so you can finish it and prove you finished it. The trust store is none of those things, and it belongs to organizations you have no contract with. A stack that encodes every message perfectly still cannot open a session against a root it does not carry, and because the wire format is EXI you cannot read that failure off a packet capture without the schema in hand and a decoder in the capture path (coming soon). Plan the schedule around that asymmetry: the protocol is the part that ends.