Leveraging Tizen IVI Platform for Realizing V2X Use Cases › sites › events › files ›...

Preview:

Citation preview

Leveraging Tizen IVI Platform for

Realizing V2X Use Cases

Purnendu Sinha

Tizen IVI Team

Samsung R&D India, Bangalore

Email: p.sinha@samsung.com

Outline

V2X Applications and their Requirements

Use Cases

Introduction to Tizen IVI

Benefits Tizen IVI offers

Realizing V2X Apps on Tizen IVI

Examples

Conclusion

All examples presented here are for illustration purposes only!

V2X Applications…

Navigation/LBS/PoI

• GPS navigation

providing info/content

to the driver/ passenger

Commerce

• Mobile payment

system (charging tolls,

parking fees)

• Premiums for car

insurance correlated to

driving patterns

Maintenance/Optimization

• Remote diagnostic application

• Telemetry to collect data to

fine tune car performance

monitoring

Safety/Security

• In-vehicle tracking system

• Automatic security distance

maintaining system

Classes of V2X Applications

Cooperative Road Safety – Primarily refers to ultra-critical safety requirements; ◦ example includes collision avoidance, pre-crash sensing,

emergency hard-braking, etc.

Cooperative traffic efficiency – deals with traffic fluidity; ◦ example includes traffic light optimal speed advisory,

congestions alerts and new route suggestions, etc.

Cooperative local services – provides on-demand information on commercial/non-commercial stuffs; ◦ example includes maps update, e-advertising, media

download, etc.

ITS Classes and Requirements

Collaborative Driving with V2V

Smart OBU

in Vehicle #1

Smart OBU in

Vehicle #2

Smart OBU in

Vehicle #3

Road Side

Unit

3G/LTE

Wi-Fi Direct

3G/LTE

Wi-Fi Direct

Internet

Connectivity Server on

the Internet

Location-based service

Road Advisory

Situation-aware Alerts

• Travel/hazardous situation advisory

• Traffic optimization

• Fleet Management

• Emergency/disaster management

Forms an ad-hoc network of vehicles

3G/LTE

Wi-Fi Direct

Advanced Driver Assistance Apps

Sensors

Actuators

Smart OBU ETH

Integrated

Vehicle

Control

Cloud-based

Advisory

ADAS apps

Cloud Connectivity

Gateway

In-V

ehic

le C

om

m. B

us

(e.g

., C

AN

)

or, could be

connected via

CAN bus

Motion

Planning

• Intersection cross traffic collision warning

• Traffic congestion warning

• Enhanced route/navigation guidance

3G/LTE

Tizen IVI Architecture

Hardware

Linux Kernel and Device Drivers

Security

App F/W

System

Graphics

& UI

Base

Multimedia

Connectivity

Location

Telephony

Messaging

PIM

Web

Automotive

Web Applications Native Applications

W3C/

HTML5

Device

APIs Web RT

Core

Web Framework

Net/ Telephony/

Messaging

Media

Location

Native Framework

App Security/

System Services

Graphics/UI

AMB

Benefits Tizen IVI Offers

Telematics: ◦ Real time vehicle data collected using Automotive

Message Broker (AMB) can be sent to a service provider using 3G/4G LTE

◦ GPS logs can be updated via 3G/4G LTE using Location and Telephony Services

◦ Security based on SSL and SMACK

Navigation: (+) ◦ Cloud connectivity

◦ Audio policy management using Murphy.

◦ Tethering : USB, Bluetooth and Wi-Fi/Wi-Fi Direct

◦ Web application development using W3C/HTML5

◦ Native C/C++ application development

Example 1

A Typical Web Application Scenario

Private/

Public

Cloud

Server

Mapping

Server

OBU

3G/LTE

Network

An Emergency Response Web Application

• Detect that a crash has occurred

• Determine the location of the crash

• Send out an Emergency SMS to the pre-specified emergency

numbers about the crash with location information

Tizen Vehicle APIs Provides getting and setting data items

Mechanisms for event based updates to requested data items

Implements a method for a Web application to query for supported data items

get(eventlist, successCB, errorCB)

• Retrieve the specified data values, or all data values if blank

set(eventlist, valuelist, successCB, errorCB)

• Set the specified data values

getSupportedEventTypes(type, writeable, successCB, errorCB)

• Retrieve the list of events available on the platform

subscribe(eventlist, successCB, errorCB)

• Subscribe to update events for the specified data items

unsubscribe(eventlist, successCB, errorCB)

• Unsubscribe from update events for the specified data items

Source: W3C Web and Automotive Workshop, Nov 2012

ER Web App – Architecture

Application 1

W3C/HTML5

[GeoLocation APIs]

Core

Web Framework Device APIs

Call Msg BT

Location Messaging AMBD

webso

cket

connect

ion

OBD

OBD Plug-in GPSD

Kernel

Application n

Connectivity

ConnMan

Two alternative for getting location info, via:

Location services

AMBD

GeoLocation APIs are used…

Location manager Server Web App AMBD

document.addEventListener("driving_safety_airbag_status", airbag_deployment_event);

driving_safety_airbag_status=1

navigator.geolocation.getCurrentPosition(successCallback, errorCallback);

Latitude=53.574824 longitude=-2.495377

Report Crash at Latitude=53.574824 longitude=-2.495377

Ref: https://developer.tizen.org/documentation/dev-guide

AMB’s APIs are used…

Server Web App AMBD

document.addEventListener("driving_safety_airbag_status", airbag_deployment_event);

driving_safety_airbag_status=1

vehicle.set("running_status_ position", SuccessCB, Fail CB);

Latitude=53.574824 longitude=-2.495377

Report Crash at Latitude=53.574824 longitude=-2.495377

void OBD2Source::getPropertyAsync(AsyncPropertyReply *reply);

static int updateGpsposition(gpointer data);

OBD Plugin for AMBD

GPSD Plugin for AMBD

Ref: https://developer.tizen.org/documentation/dev-guide

Example 2

Re-Routing under Crash Notification

Gets the crash information from the cloud server.

It then calls

◦ the geo location API’s and gets the current location of the vehicle from the location manager.

◦ the mapping API’s to calculate the distance to the crash location and displays it.

◦ the rerouting API’s from the mapping service rerouting by avoiding the crash location.

Note: the MapQuest open data API’s are used.

Re-routes the Path

Ref: developer.mapquest.com

Demo – Some Screenshots

Example 3

V2X via WiFi Direct

Leveraging Tizen IVI for WiFi Direct

WiFi Direct Services

WiFi Direct Manager

P2P Supplicant

WiFi Direct Device

WiFi Direct Applications

DHCP App F/W

WiFi Direct APIs Usage…

Car 3

Activate

Scan

Get_Local_Device_Info

Get_Operating_Channel

Connect

Disconnect

Deactivate

Car 2

Activate

Scan

Get_Group_Owner_info

Get_Operating_Channel

Connect

Leave_Group

Disconnect

Deactivate

Communicate

Car 1

Hot-Spot

Activate

Create_Autonomous_Group

Get_Group_Client_Info_List

Get_Operating_Channel

Connect

Disconnect

Deactivate

Communicate Communicate

Illustration only!

How You Could Contribute?

Download the full source code for your Tizen platform and kernel from

URL: https://review.tizen.org/git/

Information on source code Management on Tizen releases can be found at

Gerrit: https://review.tizen.org/gerrit

Tizen Build setup

OBS: https://build.tizen.org/

Tizen Bug Tracking & Reporting system

Jira: https://bugs.tizen.org/jira

IVI images available for both IA and ARM based platforms.

Pandaboard: https://download.tizen.org/releases/previews/2.0alpha/ivi-panda/

For the queries related to IVI

Write to: ivi@lists.tizen.org

Conclusions

Easy access of vehicle-specific data through

platform component

Multiple connectivity options: WiFi/WiFi Direct,

Bluetooth, NFC, 2G/3G/4G/LTE

Flexibility in application development – HTML5

or Native Framework

Virtualization-based solutions may be exploited

for road-safety applications (e.g., e-call, collision

avoidance)

Recommended