Parlez-vous OCPP?

How charging stations communicate with their central backend system

OCPP, c’est quoi?

If we observed a group of people with different native tongues trying to engage in discussion, we would likely observe them consolidating to the language that is understood by all people. They converse in a common language–one that is universally spoken, to make communication easier for all members of the group.

Similarly, for an Electric Vehicle (EV) charging station (hardware) to communicate with a central backend system (software) they must speak a common language. This common language or “communication protocol” is the Open Charge Point Protocol (OCPP). OCPP allows these two systems to exchange data and orchestrate the overall charging process for an electric vehicle.

A charging station that can speak this language is called OCPP-compliant and thus can communicate with any kind of software that is also OCPP-compliant. Any charge point from any vendor should be able to work with any charging management software as long as both can speak the language of OCPP.

Charge Station : The charger for an EV; the physical device that charges the electrical vehicle.
Charging Station Management System (CSMS): The central backend system that controls the charge points (from authorisation to charging session management).

OCPP in action

Imagine an EV driver who parks in front of a charging station to charge their vehicle. OCPP is involved in almost every step of the EV charging experience from reserving a charging station to the final payment process:

  • The EV driver reserves a charging station for use.
  • The EV driver is authorised to start a charging session.
  • The charging station reports the real-time status of its connectors (suspended, available, unavailable, charging, etc.) to the backend system.
  • Any information about the current charging session is relayed to the management system.
  • The EV driver remotely starts / stops sessions via a web or mobile console.
  • Load of charging stations is regulated based on the state of charging.
  • One can monitor or change the settings configured on a charging station.
  • The EV driver decides to stop charging and gets billed for the session.

In every action above, requests and responses are relayed back and forth between charging stations (client) and the CSMS (server).

The charging stations are connected to Elli’s CSMS via a WebSocket (WS) connection. Messages (JSON) are exchanged back and forth through this WS channel.

The charging station and the CSMS communicate via a back-and-forth rally of OCPP messages!

Basic Communication Pattern

Diagram from OCPP 1.6 Specification illustrating the start/stop of a transaction

The diagram above illustrates a typical communication pattern between the Charge Point and the Charging Station Management System.

The Charge Point and CSMS speak to each other via messages that:

  • Request the execution of an operation and
  • Respond/confirm that the requested operation has been performed

Smart Charging

Smart Charging, in e-mobility jargon, means leveraging information about the status of the energy grid and the state of EV charging to make informed decisions on how to optimise the charging process. OCPP enables smart charging by enabling the regulation of power at a charging station. For example, OCPP enables the CSMS to modify the charging power in real-time based on the charging status of the station or allows CSMS to limit the total load on a group of stations so that they do not draw more power than necessary from the grid.

Let’s say that an owner of a charging station wishes to reduce the maximum load (power) allocated to a single station. On the Elli Management Console, a user can send a request (via OCPP) to the station to reduce the station’s maximum power limit.

This is what happens behind the scenes…

  • Elli’s CSMS, which connects to the station via a WebSocket connection, sends a request to the station to down-regulate the power limit. The parameters of the request are described in what is called a “charging profile”.
A charging profile is a set of parameters that define how charging should proceed at a given station.
  • The station receives the request with the charging profile from CSMS:

SetChargingProfile.req:

{
"connectorId": 0,
"csChargingProfiles": {
"chargingProfileId": 1,
"stackLevel": 0,
"chargingProfilePurpose": "ChargePointMaxProfile",
"chargingProfileKind": "Absolute",
"chargingSchedule": {
"startSchedule": "2022-07-06T02:04:00Z",
"chargingRateUnit": "W",
"chargingSchedulePeriod": [{
"startPeriod": 0,
"limit": 9000
}]
}
}
}
  • The station returns a response message acknowledging that the message was received and
  • Executes the request: It adjusts its power limit based on the parameters described in the charging profile (in this case to 9 kW)

Pourquoi OCPP?

If a network of charging stations all manufactured by different vendors are all OCPP-compliant, they will all be able to communicate with the OCPP-compliant backend system to which they are connected.

Conversely, a single charging station that is OCPP-compliant will be able to communicate with various management systems built and maintained by separate companies.

This interoperability lends itself to the following benefits:

Open Source

  • Anyone can access and contribute to this protocol for continuous improvement.

No Vendor Lock-in

  • You can use any charge point provider as long as the hardware is OCPP-compliant. You are not “stuck” with a single brand and can switch at any time (e.g. if the manufacturer goes out of business!)

Vendor-Agnostic Hardware within Single Network:

  • You can keep charge points from various vendors in the same network and manage them in one place.

Competitive Prices

  • Providers following the OCPP protocol are in competition to provide the most cost-effective and feature-rich products to the market.

At Elli, we recognise the advantages of developing vendor-agnostic software for our customers and ensure that our charge point management system complies with the Open Charge Point Protocol to manage the stations in our network. To learn more about OCPP: check out the OCPP documentation provided by the Open Charge Alliance: https://www.openchargealliance.org/protocols/ocpp-201/

In this article, we gave a basic overview of OCPP, how it works, and the benefits that come from OCPP-compliancy. To learn more about e-mobility topics, and how we implement the latest standards and best practices for building Elli’s e-mobility solutions, please subscribe to our Medium blog or visit our company website! Stay tuned for the next article!

See you next time :)

Jane Kim is a Software Engineer in the Design System team and a part-time writer/illustrator for the Elli blog


Parlez-vous OCPP? was originally published in Elli Engineering on Medium, where people are continuing the conversation by highlighting and responding to this story.

Mehr
Zurück

Weitere News

  • Pressemitteilung
    09.04.2024

    "Charging Site Management" – Elli präsentiert Neuheit für das Laden von Unternehmensflotten

    Mehr
  • Pressespiegel
    28.03.2024

    VW macht Lade- und Energiegeschäft schick für Investoren

    Mehr
  • Pressemitteilung
    05.03.2024

    Neue Partnerschaft mit SIXT – Elli öffnet eigenes Ladenetzwerk für externe Unternehmen

    Mehr
  • Pressespiegel
    22.02.2024

    Elli: Ladenetz wächst auf 600.000 Ladepunkte

    Mehr
  • Download (.zip)
    18.02.2024

    Elli Logo

    Download
  • Bild
    17.02.2024

    Giovanni Palazzo, CEO Elli & SVP Volkswagen Group Charging and Energy

    Download
  • Bild
    16.02.2024

    Flexpole_1

    Download
  • Bild
    16.02.2024

    Flexpole_2

    Download
  • Bild
    16.02.2024

    Flexpole white background

    Download
  • Bild
    16.02.2024

    Wallbox_1

    Download
  • Bild
    16.02.2024

    Wallbox_2

    Download
  • Bild
    16.02.2024

    Wallbox_3

    Download
  • Bild
    16.02.2024

    Wallbox_white_background

    Download
  • Pressemitteilung
    28.12.2023

    Mehr als 600.000 Ladepunkte in Europa: Elli bietet Zugang zu einem der größten Ladenetze

    Mehr
  • Pressemitteilung
    02.11.2023

    Elli launcht europaweite Ladelösung für E-Fahrzeugflotten

    Mehr
  • Video
    13.09.2023

    ICNC23 Keynote by Giovanni Palazzo

    Beyond the Plug- Elli’s Evolution into a Holistic Energy Ecosystem

    Mehr
  • Video
    08.09.2023

    IAA MOBILITY 2023- Giovanni Palazzo spricht über die Position und das Potenzial von Elli

    Mehr
  • Pressemitteilung
    05.09.2023

    Elli auf der IAA 2023: Neue Mobilitätsdienstleistungen und Zukunftsprojekte des Unternehmens

    Mehr
  • Elli Einblicke
    03.08.2023

    Navigating the Evolution of Stream-Aligned Teams: Lessons from Our CI/CD Journey

    When they fly like a bird and when they hit the unexpected window hard (illustration made by Lukas Hanke) Introduction and Scope At Elli we aim for “stream-aligned teams”. According to the book “Team Topologies”  — by Manuel Pais and

    Mehr
  • Elli Einblicke
    03.08.2023

    On Communities of Practice

    When they fly like a bird and when they hit the unexpected window hard (illustration made by Lukas Hanke) Introduction and Scope At Elli we aim for “stream-aligned teams”. According to the book “Team Topologies”  — by Manuel Pais and

    Mehr
  • Elli Einblicke
    03.08.2023

    To TOX or not to TOX

    How technical and operational excellence is achieved (illustration made by Lukas Hanke) In our very first blog post, we introduced you to Elli’s guiding principles for achieving engineering excellence. In this article, we delve deeper into one of the

    Mehr
  • Pressespiegel
    26.07.2023

    Mobilität neu denken

    Mehr
  • Pressemitteilung
    13.07.2023

    Volkswagen Group und Elli starten Stromhandel an der europäischen Energiebörse

    Mehr
  • Pressemitteilung
    10.07.2023

    Volkswagen Group treibt strategische Neuausrichtung des Lade- und Energiegeschäfts voran

    Mehr
  • Pressemitteilung
    04.05.2023

    Shell und Volkswagen treiben Ausbau der Ladeinfrastruktur voran: Eröffnung der ersten innovativen Flexpole-Ladestation

    Mehr
  • Social Media
    18.04.2023

    Europas größtes Ladenetz: 500.000 Ladepunkte

    Mobility Service Provider Elli bietet Europas größtes und am schnellsten wachsendes Ladenetz (+100.000 Ladepunkte in vier Monaten)

    Mehr
  • Video
    31.03.2023

    Wind und Sonne richten sich nicht nach Ladezeiten

    Wie können die Batterien von Elektrofahrzeugen dazu beitragen, die erneuerbaren Energien besser zu nutzen?

    Mehr
  • Video
    30.03.2023

    Elli Fleet Charging

    Die einfachste Lösung Ihre elektrischen Firmen­wagen zu managen

    Mehr
  • Social Media
    29.03.2023

    „Flotte! Der Branchentreff“ in Düsseldorf

    Elli auf dem Stand K23-27 auf der Messe

    Mehr
  • Social Media
    12.01.2023

    Elli vergrößert sein Netzwerk auf 400.000 Ladepunkte in Europa

    Mehr
  • Social Media
    12.01.2023

    Neues Jahr 2023, neue Ellians!

    Mehr
  • Social Media
    01.12.2022

    Ellians im Office ;-)

    Mehr
  • Social Media
    01.12.2022

    Neue Vorteile für unsere ELLIans!

    Mehr
  • Social Media
    01.12.2022

    Die gesamte MSP Business Unit vor Ort in München

    Mehr
  • Social Media
    01.12.2022

    Willkommen liebe Ellians!

    Mehr
  • Elli Einblicke
    01.12.2022

    Catch Me If You Can — Memory Leaks

    Catch Me If You Can — Memory Leaks A retrospective on a memory leak Elli engineers vs. memory leak (illus. by Jane Kim) Introduction Memory leaks are one of those things that, when they happen, can really throw you in at the deep end. Diagnosing

    Mehr
  • Elli Einblicke
    04.10.2022

    Don’t Do Small Pull Requests

    How asynchronous reviews and wait times harm throughput and code quality Smaller the pull request, the better? (illustration by Jane Kim) Introduction In this blog post, I share my learnings in the last couple of months regarding the delivery process of

    Mehr
  • Elli Einblicke
    01.08.2022

    Electric Vehicle Charging for Newbies

    A quick read for all newbies to EV charging! Creating a sustainable future means changing the way we get around. Perhaps this means switching to “greener” modes of transportation like commuting by bike or public transit. It could also mean reducing

    Mehr
  • Video
    07.11.2022

    Plug & Charge bei Cupra

    Unterwegs laden- jetzt noch schneller und bequemer

    Mehr
  • Video
    07.11.2022

    Wie funktioniert Cupra Plug & Charge

    Die schnelle, einfache und sichere Art, Deinen Cupra aufzuladen.

    Mehr
  • Pressespiegel
    25.10.2022

    Dank einer Vereinbarung zwischen Elli und Vattenfall gibt es jetzt über 24.000 neue Stationen

    Mehr
  • Video
    16.10.2022

    Punkte sammeln und Fahrzeug kostenlos aufladen

    Dank der Partnerschaft zwischen Elli und &Charge können Nutzer über die &Charge-App „&Charge-Kilometer“ sammeln und diese als €-Gutscheine einlösen, um sie in der Elli-App für kostenlose Ladevorgänge einzusetzen. Mehr Infos gibt es in diesem Video.

    Mehr
  • Video
    10.10.2022

    Die Elli App: Mit dem Testsieger überall laden

    Mit der Elli App an über 400.000 Ladepunkte in Europa laden!

    Mehr
  • Pressespiegel
    06.10.2022

    Die Wallbox ist ab sofort bei den Volkswagen Händlern erhältlich

    Mehr
  • Video
    01.10.2022

    Elli Flexpole- die flexible Schnell­lade­säule

    Die smarte Ladesäule von Elli kann fast überall aufgestellt werden. Wie genau sie funktioniert, siehst Du hier.

    Mehr
  • Pressespiegel
    27.08.2022

    Das Elektroauto als mobile Powerbank

    Mehr
  • Elli Einblicke
    01.06.2022

    Introduction to Elli Engineering: Our Guiding Principles

    The six guiding principles for technical excellence Elli is a brand of Volkswagen Group providing energy and electric charging solutions. Software and hardware engineering are key to the business. We as engineers focus on creating and maintaining awesome

    Mehr