Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
CHARIOT
CHARIOT
CHARIOTCHARIOT
Cloud Infrastructure
Internet HTTPS
DDS MQTT
ALL JOYN
DDSI/RTPS
CHARIOT - Tools And Algorithms for Enabling Resilient Extensible CPSAbhishek Dubey, Aniruddha Gokhale, Garrett Hoffmann, Shweta Khare, Will Otte, Subhav Pradhan, Janos Sallai, Doug Schmidt
Vanderbilt UniversityMartin Lehofer, Monika Sturm, Raj Varadarajan
Siemens Corporation, Corporate Technology
EXTENSIBLE SYSTEM CITY EXAMPLE
• Ultralargescaleubiquitoussoftwareintegrateddistributedsystemsthatinteractwithphysicalenvironment.
• Anetworked(wireless)platformthatcanbeusedbymany,possiblyconcurrentapplications
• Physicalconfiguration/topologyaffectstheavailablecomputationalresources.
• Physicsimposestimingconstraintsonthecomputationalandcommunicationactivities.
EXTENSIBLE SYSTEMS: CPS
EXTENSIBLE SYSTEMS: EVOLUTION
Mid 1990s
Mid 2000s
Grid Compu+ng
Distributed System
Late 2000s
Cloud Compu+ng
Present
Ubiquitous Compu+ng Ultra-‐large-‐scale, mul+-‐domain CPS
• Complex edge devices with purpose of connec>ng physical world with cyber world. E.g.: smart sensors
• Future of ubiquitous systems is cyber-‐physical
Sensor Device Actuator
Processing/Storage Network
Control Node
CHALLENGES IN EXTENSIBLE CPS
A car is looking for a place to park.
Hub prompts that the car go to the parking lot on Edge Street. Hub interacts
and reserves a parking spot.
Parking Management guides the car to the parking spot.
The car successfully parks in the reserved spot.
21 3
4 5
USE CASE
Property Description
Multi-tenant ExtensibleCPSareopenplatformsthatcanhostmultipleapplicationsbelongingtodifferentorganizations/clients
Dynamic Functionalityandresourceextensibilityresultsinadynamicsystemthatcanexpandorcontractatanytime
Remotelydeployed
Someresourcesmayberemotelydeployedresultininverylimitedornoopportunityforhumaninteraction.e.g.:UAVs,satellites,etc.
Heterogeneous EachsubsystemofanextensibleCPSplatformcanbelongtodifferentdomain.Also,distributedownershipofentitiesinsamedomain.
Resilient(Desired property)
Susceptibletofailuresandanomaliesduringwhichfunctionalitiesprovidedbydifferentsystemsshouldbemaintainedinordertobecontinuouslyoperationalaslongaspossible
AN EXTENSIBLE ARCHITECTURE FOR CITY SERVICES
• Supports Integration of Legacy and external applications
• Supports three consensus and voter redundancy patterns
• Support for multiple middleware transports
• Support for active monitoring of application (future)
• Support for Application Diagnosis (future)
• Support for other languages (future)• Support for iOS (future)
SUMMARY
TECHNICAL APPROACH
Applications
Resilience Engines
Monitors
Resilient DatabaseBackbone
Localiza(on & Naviga(on Server
Parking Space Manager
Mongo DB
Android Tablet
Intel Edison
Decawave
Navigate
Decawave co-‐ordinates
Beacon RSSI
Beacon RSSI
Edison Monitoring Sta(s(cs
Direc(ons to Parking Spot
Load Config Info
Save Fingerprints
Request Free Parking Spot
Assigned Parking Spot
Maintains Parking Lot’s State
APPLICATION TO SMART PARKING
UNIFIED APPLICATION MODEL AND RUNTIME MANAGEMENT
Application
Deployment Manager(Adaptation engine)
ResilienceEngine
Resilient Computation Node
Manage
ReportNotify
1
7
DistributedDatabase
(State storage)
Query2
4
Update3Query
6
Update8
<C1, C2>
C1_F
C1_F
C2_F
C2_F
C1_F
C1_F
C1_F, C2_F
Configuration space
Configuration point
Initial configurationpoint
ReconfigurationPossible
reconfiguration
Publish notification
5DISTRIBUTED DATABASE
VIRTUAL MACHINE
COMPONENT COMPONENTCOMPONENT
SIMULATOR
VIRTUAL MACHINE VIRTUAL MACHINE
ANALYTIC ENGINE
RESILIENCE ENGINE
OTHERTRANSIT
CITYSERVICES
SYSTEMMANAGER
V I R T U A L S E R V E R S
COMPONENT
PARKINGMANAGER
VIRTUAL MACHINE
COMPONENT
LOCATIONMANAGER
VIRTUAL MACHINE
C H A R I O T R U N T I M E
• The smart parking application relies on two indoor positioning technologies
• Ultra-wideband (UWB) active tags• Requires specialized hardware (beacons and tags)• High accuracy (<10cm errors)
• Bluetooth Low Energy (BLE) RSSI fingerprinting
• Requires a beacon infrastructure (e.g. Intel Edison devices)
• Tags are COTS devices, such as current generation smartphones and tablets
• Positioning accuracy is ~3m• Requires training to create a mapping from RSSI
statistics to positions (fingerprinting)• Training algorithm is running continuously
as long as both UWB and BLE RSSI measurements are available
• Robust failover• If UWB subsystem fails or not available,
the system will fall back to BLE RSSI based positioning
• Parking space manager• allocates parking spot• uses the positioning subsystem to track
vehicle (BLE equipped tablet/smartphone with optional UWB tag)
• computes and dispatches driving directions.