Presentation is loading. Please wait.

Presentation is loading. Please wait.

Implementation Challenges in Real-Time Middleware for Distributed Autonomous Systems Prof. Vincenzo Liberatore Research supported in part by NSF CCR-0329910,

Similar presentations


Presentation on theme: "Implementation Challenges in Real-Time Middleware for Distributed Autonomous Systems Prof. Vincenzo Liberatore Research supported in part by NSF CCR-0329910,"— Presentation transcript:

1 Implementation Challenges in Real-Time Middleware for Distributed Autonomous Systems Prof. Vincenzo Liberatore Research supported in part by NSF CCR-0329910, Department of Commerce TOP 39-60-04003, NASA NNC04AA12A, a Lockheed grant, an ABB contract, and an OhioICE training grant.

2 Motivation Sustainable presence on planetary surface Human-robotic missions Human-robotic missions E.g., construction, maintenance E.g., construction, maintenanceConsequences Higher performance Higher performance Earth tele-operation inappropriate for construction Multiple assets Multiple assets Communication and coordination Autonomous Distributed System

3 Potential Scenario (Teleops) Tele-operations Robots, rovers Robots, rovers Pressurized vehicles Pressurized vehiclesRequirements Single- or multi-hop Single- or multi-hop End-point adaptation to network non- determinism End-point adaptation to network non- determinism Quality-of-Service Quality-of-Service System and control metrics System and control metrics Lander (Later Habitat) Surface Terminal 4-6 Humans on EVA Autonomous Robot Lunar Relay Teleoperated Robot Pressurized Vehicle Repeater

4 Talk Overview Bandwidth allocation Play-back buffer Quality-of-Service (QoS) DRE implementation Conclusions

5 Bandwidth Allocation Objectives: Stability of control systems Stability of control systems Efficiency & fairness Efficiency & fairness Fully distributed, asynchronous, & scalable Fully distributed, asynchronous, & scalable Dynamic & self reconfigurable Dynamic & self reconfigurable

6 Problem Formulation Define a utility fn U(r) that is Monotonically increasing Monotonically increasing Strictly concave Strictly concave Defined for r ≥ r min Defined for r ≥ r min Optimization formulation

7 Distributed Implementation Two independent algorithms End-systems (plants) algorithm End-systems (plants) algorithm Router algorithm (later on) Router algorithm (later on) NCS PlantNCS Controller Router pp p

8 NCS-AQM Control Loop tftf q(t) f(q(t)) q`=Σr(t) - C p(t) tbtb NCS PlantQueue Model Plant P(s) = Queue Controller G(s)

9 Queue Controller G(s) Proportional (P) Controller G P (s) = k p G P (s) = k p Proportional-Integral (PI) Controller G PI (s) = k p + k i /s G PI (s) = k p + k i /s q(s) G(s) P(s) q0q0 + _ eu

10 Determination of k p and k i Stability region in the k i –k p plane Stabilizes the NCS-AQM closed-loop system for delays less or equal d Stabilizes the NCS-AQM closed-loop system for delays less or equal d Analysis of quasi-polynomials, f(s,e s )

11 Simulations & Results 50 NCS Plants: [Branicky et al. 2002] [Zhang et al. 2001]

12 Simulations & Results (cont.) PI ¤ P¤P¤

13 Talk Overview Bandwidth allocation Play-back buffer Quality-of-Service (QoS) DRE implementation Conclusions

14 Information Flow Flow Sensor data Sensor data Remote controller Remote controller Control packets Control packets Timely delivery Stability Stability Safety Safety Performance Performance

15 Main Ideas Predictable application time If control applied early, plant is not in the state for which the control was meant If control applied early, plant is not in the state for which the control was meant If control applied for too long, plant no longer in desired state If control applied for too long, plant no longer in desired state Keep plant simple Low space requirements Low space requirements Integrate Playback, Sampling, and Control

16 Algorithm Send regular control Playback time Playback time Late playback okay Expiration Expiration Piggyback contingency control

17 Plant output Open LoopPlay-back

18 Packet losses Figure 8

19 Talk Overview Bandwidth allocation Play-back buffer Quality-of-Service (QoS) DRE implementation Conclusions

20 Network Quality-of-Service (QoS) Support real-time distributed applications Voice, video Voice, video Networked control Networked controlGuarantees Network metrics Network metricsBandwidthDelays Delay jitter Loss rates End-point metrics End-point metrics Tracking in networked control Example Packet priorities Packet priorities Current support in Internet Significant research and development Significant research and development None of the above: best-effort None of the above: best-effort

21 QoS and Space Networks Examples Human-robotic missions necessitate real-time communication Human-robotic missions necessitate real-time communication QoS no longer only for commercial satellite network QoS no longer only for commercial satellite network Fully Distributed QoS [IWQoS 2004] Local mechanisms to protect from global congestion risks Local mechanisms to protect from global congestion risks Addition to planned QoS Addition to planned QoS Autonomously adaptable to QoS requirements with no human supervision Autonomously adaptable to QoS requirements with no human supervision Protects from error in networks configuration Protects from error in networks configuration Suitable for Distributed Autonomous systems Suitable for Distributed Autonomous systems Higher performance Higher performance On the flight On the flight

22 The following videos were made possible by NASA funds provided by GRC under Contract NNC05CB20C Videos: Tele-Operation, Cross-Traffic and Distributed QoS Note: video not included in SMC-IT proceedings

23 Distributed QoS Definition Local mechanisms to protect from global risk Local mechanisms to protect from global risk Deployment and benefits Addition to planned QoS Addition to planned QoS Autonomously adaptable to QoS requirements with no human supervision Autonomously adaptable to QoS requirements with no human supervision Protects from error in networks configuration Protects from error in networks configuration Suitable for Distributed Autonomous systems Suitable for Distributed Autonomous systems Higher performance Higher performance On the flight On the flight

24 YAQS YAQS Yet Another Queuing Strategy Yet Another Queuing StrategyObjectives Distributed QoS Distributed QoS At the router At the router Queuing strategy Queuing strategy Protect from aggressive flows Protect from aggressive flows Short queuing delays Work in progress

25 YAQS: overview Two queues Fast queue Fast queue Objective: low queuing delays Slow queue Slow queue Deque: WRR Deque: WRREnque If flow exceeds maximum allowed fast occupancy, enque in slow queue, otherwise in fast queue If flow exceeds maximum allowed fast occupancy, enque in slow queue, otherwise in fast queue

26 Demonstration Enque Two flows in the fast queue Two flows in the fast queue Red flow bottleneck Red flow fills the buffer until packet drop-out Red flow exceeds target occupancy Red flow exceeds target occupancy Next packet in slow queue Next packet in slow queueDeque Simulate generalized processor sharing Simulate generalized processor sharing Fast queue Slow queue

27 Issues Incremental, but Plenty of potential pitfalls Plenty of potential pitfalls Inter-related and conflicting issues Inter-related and conflicting issues Fast queuing delays Classification Scalability and precision Scalability and precisionAlso Fairness between fast and slow queue Fairness between fast and slow queue Packet re-ordering Packet re-ordering Can affect sending rates Flow goodput Flow goodput

28 Trace 6 – Fast Delays

29 Talk Overview Bandwidth allocation Play-back buffer Quality-of-Service (QoS) DRE implementation Conclusions

30 Middleware implementation Sophisticated commercial DRE Issues Embedded devices with limited memory, computation, power Embedded devices with limited memory, computation, power Support for real-time protocols Support for real-time protocols Support for network QoS Support for network QoS Incorporate research contributions Incorporate research contributions E.g., bandwidth allocation, buffers On-going work

31 Talk Overview Bandwidth allocation Play-back buffer Quality-of-Service (QoS) DRE implementation Conclusions

32 Conclusions Sustainable presence on planetary surface Human-robotic missions Human-robotic missions E.g. construction, maintenance E.g. construction, maintenanceNeeds Higher performance Higher performance Multiple assets Multiple assetsImplications Network research Network research Distributed QoS Middleware research Middleware research Resource allocation Buffers Embedded implementation Middleware research and development fits between Networks Networks Intelligent systems Intelligent systems


Download ppt "Implementation Challenges in Real-Time Middleware for Distributed Autonomous Systems Prof. Vincenzo Liberatore Research supported in part by NSF CCR-0329910,"

Similar presentations


Ads by Google