can the e-mobility charging infrastructure be a blueprint for other iot projects?

34
Achim Friedland | GraphDefiend GmbH Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Upload: achim-friedland

Post on 19-Jan-2017

51 views

Category:

Internet


0 download

TRANSCRIPT

Page 1: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Achim Friedland | GraphDefiend GmbH

Can the e-Mobility Charging Infrastructure

be a Blueprint for other IoT Projects?

Page 2: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

1. Motivation

2. Bits, Bytes and Protocols

3. Improving the service via Blockchains?

Page 3: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

e-Mobility is the future…

…and a real pleasure!

Page 4: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Charging your car…

…still a real pain!

Page 5: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Finding a parking spot…

…still a real pain!

Page 6: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Real time navigation…

…still a real pain!

Page 7: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Open Data is coming!

And will be more than just „free“ data.

Page 8: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?
Page 9: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Maybe more a bug pattern than

a success story!

Page 10: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Can‘t we do e-mobility somehow smarter?

Page 11: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

1. Motivation

2. Bits, Bytes and Protocols

3. Improving the service via Blockchains?

Page 12: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Internet of e-Mobility Things

Page 13: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Charging via Local Authentication

Page 14: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Charging via Local Authentication

Flat RFID Card Ids for User Authentication

→ Flooding, High Latency, Bad Scaling, Privacy?

Problem:

Page 15: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Charging via Remote Start

DE*GEF*E12345678*1

DE*GEF*E12345678*2

EVSE Id = Power Socket Id

Page 16: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Communication Patterns

CS

• Reservations & Remote Start/Stop

• Firmware Updates

• Local Authentication (RFID, NFC, …)

• Current Status, Events, Sensor Data

Page 17: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Internet of e-Mobility Things

Challenged Networking• High latency & error rate, low throughput

• NAT instead of global routable IPv4 Addressing (no IPv6)

• Operational expensive workarounds (Private APNs, VPNs, …)

Page 18: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

OCPP’s 1st Approach

CS

• HTTPS/SOAP Server

• Requires public IP Addresses or Private APN

in mobile networks (~VPN)– Expensive in operations

• HTTPS/SOAP Client

• Often no reuse of TCP/TLS sessions– High latency

Open Charge Point Protocol - http://www.openchargealliance.org

Page 19: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

OCPP’s 2nd Approach

CS

• HTTPS/WebSockets Client

• Symmetric Remote Procedure Calls (WAMP)

• JSON data representation

• Solves a lot of problems of the 1st approach

• Slow and redundant HTTP/WebSockets

connection setup

• Still no state-machines defined

Open Charge Point Protocol - http://www.openchargealliance.org

Page 20: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

When not to use HTTP in IoT?

• Bidirectional communication via a single

connection and single data representationesp. when using SOAP (as it has its own reliable transport features!)

• Multiple replies for a single request or server-

sent-(priority)-events

• Neither CoAP, nor HTTP/2 are better

• ~for any M2M communication (ex. discoverability)

Page 21: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

When to use HTTP in IoT?

• Real client-2-server communication over

multiple (virtual) connections

• Multiple data representations (HTML, XML,

JSON, CSV, …), encodings…

• Multiple human languages

• Data caching

• ~for any H2M communication

Page 22: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Lessons learned

• No matter what, build your protocol bottom up

• Do not try to work around HTTP issues!

• On wireless: Overall Air time matters much

more than plain packet size

• Steal context idea from JSON-LD for

versioning and protocol diversity/dialects(Maybe a talk for next year…)

Page 23: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

1. Motivation

2. Bits, Bytes and Protocols

3. Improving the service via Blockchains?

Page 24: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

e-Mobility Characteristics

• Selling energy is still highly regulated

• Selling energy is close to micro payments

• Digitalization benefits are mostly unattended

“Horses 3.0”

• Highly data-driven, but unclear how to

incentivize data providers and data quality

Page 25: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Charge my electric vehicle (now)

Route me from A to B* with (electric)

constraints

vs.

e-Mobility Mission Statement

Page 26: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

• Data (access) marketplaces do not work

and do not solve data quality issues

• (Government) Open Data is already

payed and maintained

• What are business models for data-

driven companies in the new Open Data

Age?

Page 27: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Blockchains and Open Data

• Both are open

• Both try hard to

respect privacy

• Smart Contracts

define rules which

are enforced by the

system

Page 28: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Open e-Mobility Data on

Blockchains

Page 29: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Smart Contracts define…

• Data quality (e.g. correct static data, fast dynamic

data updates)

• Service-Level-Agreements of your backend

• Which protocol features do you support?

• Reservations and Remote Start/Stop

• Construction sites and traffic jams

• Taxes, Tolls and charges

Page 30: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Routing Example (1)

• EV driver starts a routing process from A to B*

• Companies use Open Data to calculate

possible routes and publish the results and

which data they used encrypted for the driver

on the Blockchain

• EV driver chooses a route and publishes the

data used on the Blockchain( Maybe delayed for higher privacy )

Page 31: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Routing Example (2)

• Possible reservations are made

• Competitors can verify wether the provided

information on the used data for the routing

process make sense or not

→ They accept the transaction or not

• Data providers and the routing service are

refunded

Page 32: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

Open Data on Blockchains

• Recording any data coming from billions of

data providers (everyone is a prosumer) on

blockchains

• Incentivize high data quality and services

• Refund only data that is actually useful:

“IoT Rank” ;)

Page 33: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

1. Motivation

2. Bits, Bytes and Protocols

3. Improving the service via Blockchains?

Page 34: Can the e-Mobility Charging Infrastructure be a Blueprint for other IoT Projects?

[email protected]

https://open.charging.cloud

http://m6jonkyse2xyk7nd.onion

Q&A