Design and implementation of an ITS station to bridge automotive and - - PowerPoint PPT Presentation

design and implementation of an its station to bridge
SMART_READER_LITE
LIVE PREVIEW

Design and implementation of an ITS station to bridge automotive and - - PowerPoint PPT Presentation

Design and implementation of an ITS station to bridge automotive and IoT systems Master Thesis in Computer Science and Networking Supervisors: Prof. Piero Castoldi, Dr. Paolo Pagano Candidate: Michele Carignani OUTLINE OUTLINE BACKGROUND


slide-1
SLIDE 1

Design and implementation of an ITS station to bridge automotive and IoT systems

Master Thesis in Computer Science and Networking Supervisors: Prof. Piero Castoldi, Dr. Paolo Pagano Candidate: Michele Carignani

slide-2
SLIDE 2

OUTLINE

slide-3
SLIDE 3

OUTLINE

BACKGROUND

slide-4
SLIDE 4

OUTLINE

BACKGROUND

  • Internet of Things and Wireless Sensor Networks technologies
slide-5
SLIDE 5

OUTLINE

BACKGROUND

  • Internet of Things and Wireless Sensor Networks technologies
  • Connected cars and Cooperative Intelligent Transport Systems
slide-6
SLIDE 6

OUTLINE

BACKGROUND

  • Internet of Things and Wireless Sensor Networks technologies
  • Connected cars and Cooperative Intelligent Transport Systems

DESIGN

slide-7
SLIDE 7

OUTLINE

BACKGROUND

  • Internet of Things and Wireless Sensor Networks technologies
  • Connected cars and Cooperative Intelligent Transport Systems

DESIGN

  • Integration of automotive and IoT
slide-8
SLIDE 8

OUTLINE

BACKGROUND

  • Internet of Things and Wireless Sensor Networks technologies
  • Connected cars and Cooperative Intelligent Transport Systems

DESIGN

  • Integration of automotive and IoT
  • System hardware / software design
slide-9
SLIDE 9

OUTLINE

BACKGROUND

  • Internet of Things and Wireless Sensor Networks technologies
  • Connected cars and Cooperative Intelligent Transport Systems

DESIGN

  • Integration of automotive and IoT
  • System hardware / software design

IMPLEMENTATION AND RESULTS

slide-10
SLIDE 10

OUTLINE

BACKGROUND

  • Internet of Things and Wireless Sensor Networks technologies
  • Connected cars and Cooperative Intelligent Transport Systems

DESIGN

  • Integration of automotive and IoT
  • System hardware / software design

IMPLEMENTATION AND RESULTS

  • Facilities implementation
slide-11
SLIDE 11

OUTLINE

BACKGROUND

  • Internet of Things and Wireless Sensor Networks technologies
  • Connected cars and Cooperative Intelligent Transport Systems

DESIGN

  • Integration of automotive and IoT
  • System hardware / software design

IMPLEMENTATION AND RESULTS

  • Facilities implementation
  • Results achieved for the URBELOG project
slide-12
SLIDE 12

BACKGROUND

slide-13
SLIDE 13

Internet of Things

“A global infrastructure […] interconnecting physical and virtual things […]” (ITU-T)

slide-14
SLIDE 14

Internet of Things

  • 2014: 10 billion new processors
  • 2% for GP, 98% embedded
  • Worldwide market
  • 158.6 billion $ by 2015
  • steady growth of 7% in 5 years

“A global infrastructure […] interconnecting physical and virtual things […]” (ITU-T)

slide-15
SLIDE 15

Internet of Things

  • 2014: 10 billion new processors
  • 2% for GP, 98% embedded
  • Worldwide market
  • 158.6 billion $ by 2015
  • steady growth of 7% in 5 years

“A global infrastructure […] interconnecting physical and virtual things […]” (ITU-T)

slide-16
SLIDE 16

Machine to Machine (M2M)

Source: http://www.ericsson.com/mobility-report

slide-17
SLIDE 17

IoT Standard open stack

slide-18
SLIDE 18

IoT Standard open stack

  • IEEE 802.15.4
  • LR-WPAN
  • short-range,
  • low-data-rate,
  • efficiency (cost, power)
  • 6LoWPAN
  • IPv6 over Low Power
  • Minimal (code, memory)
  • End-to-end with Internet
  • CoAP:
  • REST-ful model
  • Lightweight HTTP-like
slide-19
SLIDE 19

IoT Standard open stack

  • IEEE 802.15.4
  • LR-WPAN
  • short-range,
  • low-data-rate,
  • efficiency (cost, power)
  • 6LoWPAN
  • IPv6 over Low Power
  • Minimal (code, memory)
  • End-to-end with Internet
  • CoAP:
  • REST-ful model
  • Lightweight HTTP-like
slide-20
SLIDE 20

From the fully connected car…

  • Connected car is a reality
  • Hundreds of ECUs in the
  • n-board networks
  • Monitoring, diagnostics,

infotainment (apps, music…)

  • Mostly closed and

proprietary

slide-21
SLIDE 21

… to Cooperative ITS

systems “to support transportation of goods and humans with information and communication technologies in

  • rder to efficiently and safely

use the transport infrastructure and transport means (cars, trains, planes, ships)”

slide-22
SLIDE 22

Standardization

Release1 of the standards jointly announced by ETSI and CEN on Feb 2014 Operational deployment started based on published standards Release2 features being discussed

slide-23
SLIDE 23

ITS: EU Standards in force (1)

slide-24
SLIDE 24

ITS: EU Standards in force (1)

  • ITS Station (vehicular, road-side,

central, personal)

slide-25
SLIDE 25

ITS: EU Standards in force (1)

  • ITS Station (vehicular, road-side,

central, personal)

  • ~ ISO/OSI layered structure but:
slide-26
SLIDE 26

ITS: EU Standards in force (1)

  • ITS Station (vehicular, road-side,

central, personal)

  • ~ ISO/OSI layered structure but:
  • Full stack Management and

Security

slide-27
SLIDE 27

ITS: EU Standards in force (1)

  • ITS Station (vehicular, road-side,

central, personal)

  • ~ ISO/OSI layered structure but:
  • Full stack Management and

Security

  • Novel layer of Facilities
slide-28
SLIDE 28

ITS-S:Access and Networking

IEEE 802.11p GeoNetworking (GN) Basic Transport Protocol (BTP) IEEE 802.11p

  • Access for fast moving objects

(notably vehicles) GeoNetworking

  • Provides addressing based on

geographical position (geobroadcast, geomulticast, unicast) Basic Transport Procotol

  • Simple multiplexing and

demultiplexing

  • Best effort
slide-29
SLIDE 29

ITS: Facilities

slide-30
SLIDE 30

ITS: Facilities

slide-31
SLIDE 31

ITS: Facilities

slide-32
SLIDE 32

ITS: Facilities

Provide (among others):

slide-33
SLIDE 33

ITS: Facilities

Provide (among others):

  • Time and Positioning
slide-34
SLIDE 34

ITS: Facilities

Provide (among others):

  • Time and Positioning
  • Billing and payement
slide-35
SLIDE 35

ITS: Facilities

Provide (among others):

  • Time and Positioning
  • Billing and payement
  • Map service
slide-36
SLIDE 36

ITS: Facilities

Provide (among others):

  • Time and Positioning
  • Billing and payement
  • Map service
  • Local Dynamic Map
slide-37
SLIDE 37

ITS: Facilities

Provide (among others):

  • Time and Positioning
  • Billing and payement
  • Map service
  • Local Dynamic Map
  • Decentralized Environmental

Notifications

slide-38
SLIDE 38

ITS: Facilities

Provide (among others):

  • Time and Positioning
  • Billing and payement
  • Map service
  • Local Dynamic Map
  • Decentralized Environmental

Notifications

  • Cooperative Awareness
slide-39
SLIDE 39

ITS: Facilities

Provide (among others):

  • Time and Positioning
  • Billing and payement
  • Map service
  • Local Dynamic Map
  • Decentralized Environmental

Notifications

  • Cooperative Awareness
slide-40
SLIDE 40

ITS: Facilities

Provide (among others):

  • Time and Positioning
  • Billing and payement
  • Map service
  • Local Dynamic Map
  • Decentralized Environmental

Notifications

  • Cooperative Awareness
slide-41
SLIDE 41

DESIGN

slide-42
SLIDE 42

ITS and IoT integration: motivations

  • No current inclusion of IoT into ITS-S
  • The vehicle as a smart environment and smart objects for ITS
  • Enabling Smart Cities
  • Applications
  • Verified QoS in goods logistics
  • Optimized routing and management
  • … among others
slide-43
SLIDE 43

ITS and IoT integration: how

  • Both on-board or road-side IoT
  • Access: IEEE 802.15.4
  • Network and Transport: UDP supported,

6LoWPAN, RPL needed

  • Facility: smart objects resources integrated

within CA messages, ….

slide-44
SLIDE 44

ITS and IoT integration: how

  • Both on-board or road-side IoT
  • Access: IEEE 802.15.4
  • Network and Transport: UDP supported,

6LoWPAN, RPL needed

  • Facility: smart objects resources integrated

within CA messages, …. Currently new standard being edited by

slide-45
SLIDE 45

Integration requirements

slide-46
SLIDE 46

Integration requirements

  • Multi-MAC capabilities
slide-47
SLIDE 47

Integration requirements

  • Multi-MAC capabilities
  • Constrained resources, need for

performance, real time requirements

slide-48
SLIDE 48

Integration requirements

  • Multi-MAC capabilities
  • Constrained resources, need for

performance, real time requirements

  • Easily extensible (many parties

involved)

slide-49
SLIDE 49

Integration requirements

  • Multi-MAC capabilities
  • Constrained resources, need for

performance, real time requirements

  • Easily extensible (many parties

involved)

  • Following the concepts and naming
  • f ETSI standards
slide-50
SLIDE 50

Integration requirements

  • Multi-MAC capabilities
  • Constrained resources, need for

performance, real time requirements

  • Easily extensible (many parties

involved)

  • Following the concepts and naming
  • f ETSI standards
  • Implementing standard

communication protocols at any layer

slide-51
SLIDE 51

Design

slide-52
SLIDE 52

Design

SELECTED HARDWARE

  • Beagle Bone Black
  • IEEE 802.15.4 tranceiver
  • GPS/GPRS
  • IEEE 802.11n
  • CAN / OBDII
  • IEEE 802.11p gateway (ITRI IWCUv5)
slide-53
SLIDE 53

Design

SELECTED HARDWARE

  • Beagle Bone Black
  • IEEE 802.15.4 tranceiver
  • GPS/GPRS
  • IEEE 802.11n
  • CAN / OBDII
  • IEEE 802.11p gateway (ITRI IWCUv5)
slide-54
SLIDE 54

Design

SELECTED HARDWARE

  • Beagle Bone Black
  • IEEE 802.15.4 tranceiver
  • GPS/GPRS
  • IEEE 802.11n
  • CAN / OBDII
  • IEEE 802.11p gateway (ITRI IWCUv5)

DESIGNED AND DEVELOPED SOFTWARE (Thesis contribution)

  • A framework for applications and services
  • An event and I/O orchestrator (Implemented on embedded Linux)
  • Gateways and Facilities implementation
slide-55
SLIDE 55

Framework design

ItsEventInjector, ItsSta/on, ItsService, ItsApplica/on, Service1, Interface, ServiceN, Interface, ServiceN, Implementa/on1, Applia/on1, Applica/onN,

<<extends>>) <<extends>>) <<extends>>) <<extends>>) <<implements>>) <<refers>>) <<refers>>) <<refers>>) <<extends>>) <<extends>>)

…) …) …)

  • Component based design
  • Abstracting events

management

  • Introducing Services
  • ItsStation
  • Wrap event loop
  • Refer service and

application registries

slide-56
SLIDE 56

Framework design

ItsEventInjector, ItsSta/on, ItsService, ItsApplica/on, Service1, Interface, ServiceN, Interface, ServiceN, Implementa/on1, Applia/on1, Applica/onN,

<<extends>>) <<extends>>) <<extends>>) <<extends>>) <<implements>>) <<refers>>) <<refers>>) <<refers>>) <<extends>>) <<extends>>)

…) …) …)

  • Component based design
  • Abstracting events

management

  • Introducing Services
  • ItsStation
  • Wrap event loop
  • Refer service and

application registries

slide-57
SLIDE 57

Framework design

ItsEventInjector, ItsSta/on, ItsService, ItsApplica/on, Service1, Interface, ServiceN, Interface, ServiceN, Implementa/on1, Applia/on1, Applica/onN,

<<extends>>) <<extends>>) <<extends>>) <<extends>>) <<implements>>) <<refers>>) <<refers>>) <<refers>>) <<extends>>) <<extends>>)

…) …) …)

  • Component based design
  • Abstracting events

management

  • Introducing Services
  • ItsStation
  • Wrap event loop
  • Refer service and

application registries

slide-58
SLIDE 58

Framework design

ItsEventInjector, ItsSta/on, ItsService, ItsApplica/on, Service1, Interface, ServiceN, Interface, ServiceN, Implementa/on1, Applia/on1, Applica/onN,

<<extends>>) <<extends>>) <<extends>>) <<extends>>) <<implements>>) <<refers>>) <<refers>>) <<refers>>) <<extends>>) <<extends>>)

…) …) …)

  • Component based design
  • Abstracting events

management

  • Introducing Services
  • ItsStation
  • Wrap event loop
  • Refer service and

application registries

slide-59
SLIDE 59

Framework design

ItsEventInjector, ItsSta/on, ItsService, ItsApplica/on, Service1, Interface, ServiceN, Interface, ServiceN, Implementa/on1, Applia/on1, Applica/onN,

<<extends>>) <<extends>>) <<extends>>) <<extends>>) <<implements>>) <<refers>>) <<refers>>) <<refers>>) <<extends>>) <<extends>>)

…) …) …)

  • Component based design
  • Abstracting events

management

  • Introducing Services
  • ItsStation
  • Wrap event loop
  • Refer service and

application registries

slide-60
SLIDE 60

Framework design

ItsEventInjector, ItsSta/on, ItsService, ItsApplica/on, Service1, Interface, ServiceN, Interface, ServiceN, Implementa/on1, Applia/on1, Applica/onN,

<<extends>>) <<extends>>) <<extends>>) <<extends>>) <<implements>>) <<refers>>) <<refers>>) <<refers>>) <<extends>>) <<extends>>)

…) …) …)

  • Component based design
  • Abstracting events

management

  • Introducing Services
  • ItsStation
  • Wrap event loop
  • Refer service and

application registries

slide-61
SLIDE 61

IMPLEMENTATION

slide-62
SLIDE 62

Framework implementation

  • The core library of nodejs,

“non-blocking I/O” in C language

  • Portable wrapping over epoll,

asynchronous model (asynchronous handling of file descriptors, timers)

  • Thread pool, work dispatch,

threading and sync primitives

slide-63
SLIDE 63

Events management

  • By means of the ItsStation (I/O)

and ItsEventInjector (event engine)

  • Abstracts using of

std::Function

  • Different events handled

asynchronously EVENTS API

  • timer()
  • periodically()
  • asynchronously()
  • shutdown()
  • on()
  • trigger()
slide-64
SLIDE 64

Example: CAN Service Interface

class CanServiceInterface : public noes::StationService { public: CanServiceInterface(); CanServiceInterface(noes::ItsStation* s); virtual can_data_t get() = 0; virtual void print(can_data_t d) = 0; };

  • Controlled Area Network: manufacturer in-vehicle network
  • A service to retrieve information from the car such as RPM,

speed, odometer

slide-65
SLIDE 65

Example: CAN Service implementation

OBDIIServiceImpl::OBDIIServiceImpl(noes::ItsStation *s): CanServiceInterface(s) { try { update(); this->periodically(1000, [this](int k){ this->update(); }); } catch (SerialException &e) { // … } }

  • HW: Implemented via OBDII adapter over serial (i.e. /dev/ttyS1)
  • SF: Query periodically and cache data structure
slide-66
SLIDE 66

CA facility implementation

API

  • generate(): collection and

encapsulation

  • encode(): serialization in

ASN.1 Unaligned- PackedEncodingRules

  • decode(): deserialization

from bytes

  • start_dissemination():

manage CAMs dissemination

  • send(): request from GN/BTP
slide-67
SLIDE 67

CA facility implementation

API

  • generate(): collection and

encapsulation

  • encode(): serialization in

ASN.1 Unaligned- PackedEncodingRules

  • decode(): deserialization

from bytes

  • start_dissemination():

manage CAMs dissemination

  • send(): request from GN/BTP

Implementation details

  • Extension of CAM PDU

LoadingZoneContainer ::= SEQUENCE { vin UTF8String SIZE ((18)), engineStatus EngineStatus, authorizationID AuthorizationID, cargoVolume CargoVolume }

slide-68
SLIDE 68

CA facility implementation

API

  • generate(): collection and

encapsulation

  • encode(): serialization in

ASN.1 Unaligned- PackedEncodingRules

  • decode(): deserialization

from bytes

  • start_dissemination():

manage CAMs dissemination

  • send(): request from GN/BTP

Implementation details

  • Extension of CAM PDU

ASN.1 DEFS ASN.1 COMP

  • ENCOD. & DECOD
  • LANG. DECL

LoadingZoneContainer ::= SEQUENCE { vin UTF8String SIZE ((18)), engineStatus EngineStatus, authorizationID AuthorizationID, cargoVolume CargoVolume }

  • ASN.1, asn1c, CAM_t type
slide-69
SLIDE 69

BTP Gateway implementation

  • Using 802.11p board in bridge

mode

  • Implemented ETSI Protocol Control

Information (PCI)

  • PCI serialization
  • Gateway module on the IWCUv5

typedef struct btp_pci_s { int btp_type; int packet_type; int store_and_forward; int latitude; int longitude; int macAddr_i[6]; int dport; int sport; } btp_pci_t;

slide-70
SLIDE 70

BTP Gateway implementation

  • Using 802.11p board in bridge

mode

  • Implemented ETSI Protocol Control

Information (PCI)

  • PCI serialization
  • Gateway module on the IWCUv5

typedef struct btp_pci_s { int btp_type; int packet_type; int store_and_forward; int latitude; int longitude; int macAddr_i[6]; int dport; int sport; } btp_pci_t;

BTP Gateway Facility BTP Gateway Facility Btp Gateway Btp Gateway

PCI+Data Station 11p GW 11p GW Station Data GN/BTP UDP UDP

slide-71
SLIDE 71

IoT Gateway implementation

slide-72
SLIDE 72

IoT Gateway implementation

  • PHY and MAC, native Linux available (wpan layer 2 socket)
slide-73
SLIDE 73

IoT Gateway implementation

  • PHY and MAC, native Linux available (wpan layer 2 socket)
  • Contiki: “the operating system for the IoT”, containing uip (6LoWPAN) and

CoAP implementations

slide-74
SLIDE 74

IoT Gateway implementation

  • PHY and MAC, native Linux available (wpan layer 2 socket)
  • Contiki: “the operating system for the IoT”, containing uip (6LoWPAN) and

CoAP implementations

  • Implementation on ItsStation: Contiki as a Linux process + virtual tunnel

interface (i.e. /dev/net/tun0)

slide-75
SLIDE 75

IoT Gateway implementation

  • PHY and MAC, native Linux available (wpan layer 2 socket)
  • Contiki: “the operating system for the IoT”, containing uip (6LoWPAN) and

CoAP implementations

  • Implementation on ItsStation: Contiki as a Linux process + virtual tunnel

interface (i.e. /dev/net/tun0)

  • Therefore IoT is available usual sockets API (via libuv wrapper)
slide-76
SLIDE 76

RESULTS

slide-77
SLIDE 77

URBELOG Project

  • Last mile logistic
  • ptimization:
  • real time tracking of

goods to enforce good practices

  • reduce emissions
  • Loading zone application
  • Parking slots real time

discovery, booking

  • Parking slot status

monitored and advertised

slide-78
SLIDE 78

Parking slot use case

  • URBELOG use case: real time

tracking of parking lot status with vehicle authentication

  • Smart cameras network (IoT

segment)

  • Vehicle acknowledgment and

free spots advertisement via CAMs (802.11p + GeoNet)

  • Notification of change status to

Service Center (also notifies infringements)

slide-79
SLIDE 79

URBELOG: Developed devices

slide-80
SLIDE 80

URBELOG: Developed devices

IoT segment: Smart camera

  • Exposes calculated data (EMPTY, BUSY) as a REST Resource
  • Reachable over 6LoWPAN
slide-81
SLIDE 81

URBELOG: Developed devices

IoT segment: Smart camera

  • Exposes calculated data (EMPTY, BUSY) as a REST Resource
  • Reachable over 6LoWPAN

Road Side ITS Station, UrbelogRSU:

  • Monitors smart cameras (IoT Gateway)
  • Listens to CAM dissemination (BTP Gateway)
  • Implements timers (handshake timeout, parking expiration)
  • Forwards events to the Smart City Center (SCC Gateway, MQTT)
slide-82
SLIDE 82

URBELOG: Developed devices

IoT segment: Smart camera

  • Exposes calculated data (EMPTY, BUSY) as a REST Resource
  • Reachable over 6LoWPAN

Road Side ITS Station, UrbelogRSU:

  • Monitors smart cameras (IoT Gateway)
  • Listens to CAM dissemination (BTP Gateway)
  • Implements timers (handshake timeout, parking expiration)
  • Forwards events to the Smart City Center (SCC Gateway, MQTT)

Vehicular ITS Station, UrbelogOBU:

  • Disseminates CAM (BTP Gateway)
  • Reads vehicle data (rpm) to include in CAM (OBDII Service)
slide-83
SLIDE 83

“A prototype bridge between automotive and IoT”

by Carignani et al. will be presented at IEEE World Forum on Internet of Things, Automotive workshop on Dec 14th 2015

slide-84
SLIDE 84

On field demo on Nov. 13th

slide-85
SLIDE 85

On field demo on Nov. 13th

slide-86
SLIDE 86

On field demo on Nov. 13th

slide-87
SLIDE 87

On field demo on Nov. 13th

slide-88
SLIDE 88

On field demo on Nov. 13th

slide-89
SLIDE 89

On field demo on Nov. 13th

slide-90
SLIDE 90

On field demo on Nov. 13th

WSN

slide-91
SLIDE 91

On field demo on Nov. 13th

WSN

slide-92
SLIDE 92

On field demo on Nov. 13th

WSN CAM -VANET (11.p)

slide-93
SLIDE 93

On field demo on Nov. 13th

WSN CAM -VANET (11.p)

Service Center

slide-94
SLIDE 94

On field demo on Nov. 13th

WSN CAM -VANET (11.p)

Service Center

slide-95
SLIDE 95

On field demo on Nov. 13th

WSN CAM -VANET (11.p)

Service Center

MQTT (3G)

slide-96
SLIDE 96

Conclusions

slide-97
SLIDE 97

Conclusions

  • New system integrating IoT and C-ITS was implemented
slide-98
SLIDE 98

Conclusions

  • New system integrating IoT and C-ITS was implemented
  • Feasibility of one ITS application
slide-99
SLIDE 99

Conclusions

  • New system integrating IoT and C-ITS was implemented
  • Feasibility of one ITS application
  • Soundness of the IoT/C-ITS architecture was

demonstrated on field

slide-100
SLIDE 100

Conclusions

  • New system integrating IoT and C-ITS was implemented
  • Feasibility of one ITS application
  • Soundness of the IoT/C-ITS architecture was

demonstrated on field

  • The designed framework led to a fast and easy

implementation on the URBELOG use case

slide-101
SLIDE 101

Thanks for your kind attention

Design and implementation of an ITS station to bridge automotive and IoT systems Candidate: Michele Carignani

slide-102
SLIDE 102

ITS Scenario

slide-103
SLIDE 103

ITS Scenario

Long haul communications

slide-104
SLIDE 104

ITS Scenario

Long haul communications

  • eCall
  • Tracking
  • Infotainment
slide-105
SLIDE 105

ITS Scenario

Long haul communications Dedicated Short Radio Communications

  • eCall
  • Tracking
  • Infotainment
slide-106
SLIDE 106

ITS Scenario

Long haul communications Dedicated Short Radio Communications

  • eCall
  • Tracking
  • Infotainment
  • Cooperative safety
  • Traffic efficiency
  • Signage
  • Advertisement
slide-107
SLIDE 107

Abstract Syntax Notation ASN.1

  • ASN.1, a joint standard of

ISO, IEC, and ITU-T.

  • standard and notation that

describes rules and structures for

  • representing,
  • encoding,
  • transmitting, and
  • decoding