Adaptive Fault Tolerance on ROS: A Component-Based Approach Jean-Charles Fabre, Michael Lauer, Matthieu Amy

Similar documents
Announcements Candidates Visiting Next Monday 11 12:20 Class 4pm Research Talk Opportunity to learn a little about what physicists do

Outline. Steady Heat Transfer with Conduction and Convection. Review Steady, 1-D, Review Heat Generation. Review Heat Generation II

CAUTION: Do not install damaged parts!!!

Understanding Control Charting: Techniques and Assumptions

CAUTION: Do not install damaged parts!!!

Example

INVERSE QUANTUM STATES OF HYDROGEN

MEM202 Engineering Mechanics Statics Course Web site:

Work, Energy, and Power. AP Physics C

ME 3600 Control Systems Frequency Domain Analysis

5/20/2011. HITT An electron moves from point i to point f, in the direction of a uniform electric field. During this displacement:

MODULE FOUR. This module addresses functions. SC Academic Elementary Algebra Standards:

WYSE Academic Challenge Sectional Mathematics 2006 Solution Set

OBJECTIVE To investigate the parallel connection of R, L, and C. 1 Electricity & Electronics Constructor EEC470

Microelectronics Circuit Analysis and Design. ac Equivalent Circuit for Common Emitter. Common Emitter with Time-Varying Input

Fall 2013 Physics 172 Recitation 3 Momentum and Springs

OPERATIONAL AMPLIFIERS

Example 11: The man shown in Figure (a) pulls on the cord with a force of 70

Combustion Chamber. (0.1 MPa)

A) (0.46 î ) N B) (0.17 î ) N

Computational modeling techniques

Analytical Solution to Diffusion-Advection Equation in Spherical Coordinate Based on the Fundamental Bloch NMR Flow Equations

Appendix I: Derivation of the Toy Model

Computational modeling techniques

The Gradient and Applications This unit is based on Sections 9.5 and 9.6, Chapter 9. All assigned readings and exercises are from the textbook

A) 100 K B) 150 K C) 200 K D) 250 K E) 350 K

GENESIS Structural Optimization for ANSYS Mechanical

School of Chemical & Biological Engineering, Konkuk University

Section 4.2 Radians, Arc Length, and Area of a Sector

Chapter 3: Cluster Analysis

Chapter 4 Motion in Two and Three Dimensions

Revision: August 19, E Main Suite D Pullman, WA (509) Voice and Fax

Subjects discussed: Aircraft Engine Noise : Principles; Regulations

8 th Grade Math: Pre-Algebra

AP Physics Kinematic Wrap Up

Semester Exam Review Answers. 3. Construct a perpendicular at point B, then bisect the right angle that is formed. 45 o

Lecture #2 : Impedance matching for narrowband block

System Level Power with IEEE1801. Sushma Honnavara-Prasad, Secretary, IEEE P1801 WG

A) N B) 0.0 N C) N D) N E) N

Sensors and Actuators Introduction to sensors

Scalability Evaluation of Big Data Processing Services in Clouds

Classical Chaos on Double Nonlinear Resonances in Diatomic Molecules

Magnetism. Chapter 21

Design of Analog Integrated Circuits

Exercises for Differential Amplifiers. ECE 102, Fall 2012, F. Najmabadi

5.1 Moment of a Force Scalar Formation

CHE CHAPTER 11 Spring 2005 GENERAL 2ND ORDER REACTION IN TURBULENT TUBULAR REACTORS

LINEAR FLOW BAR DIFFUSER

Hotelling s Rule. Therefore arbitrage forces P(t) = P o e rt.

NUMERICAL EVALUATION ON FLOOR COOLING CAPACITY IN AN AIRPORT AH, Nijmegen, the Netherlands Tianjin, China

EASTERN ARIZONA COLLEGE Precalculus Trigonometry

Summary chapter 4. Electric field s can distort charge distributions in atoms and molecules by stretching and rotating:

Architectural Issues on Fault Tolerance in CORBA

Pattern Recognition 2014 Support Vector Machines

3. Construct a perpendicular at point B, then bisect the right angle that is formed. 45 o

On the Meaning of Message Sequence Charts

INSTRUCTIONAL PLAN Day 2

Solution: (a) C 4 1 AI IC 4. (b) IBC 4

UNIT 1 COPLANAR AND NON-COPLANAR FORCES

More Tutorial at

Hypothesis Tests for One Population Mean

Faculty of Engineering and Department of Physics Engineering Physics 131 Midterm Examination February 27, 2006; 7:00 pm 8:30 pm

A Static Load Balancing Software for Parallel Applications

Physics 212. Lecture 12. Today's Concept: Magnetic Force on moving charges. Physics 212 Lecture 12, Slide 1

Resampling Methods. Cross-validation, Bootstrapping. Marek Petrik 2/21/2017

ENG2410 Digital Design Arithmetic Circuits

MODULE ONE. This module addresses the foundational concepts and skills that support all of the Elementary Algebra academic standards.

Electric Charge. Electric charge is quantized. Electric charge is conserved

Module 3: Gaussian Process Parameter Estimation, Prediction Uncertainty, and Diagnostics

Application of Net Radiation Transfer Method for Optimization and Calculation of Reduction Heat Transfer, Using Spherical Radiation Shields

Administrativia. Assignment 1 due thursday 9/23/2004 BEFORE midnight. Midterm exam 10/07/2003 in class. CS 460, Sessions 8-9 1

PHYS 314 HOMEWORK #3

CHAPTER 24 GAUSS LAW

CHAPTER GAUSS'S LAW

Optimal Design of Transonic Fan Blade Leading Edge Shape Using CFD and Simultaneous Perturbation Stochastic Approximation Method

Materials Engineering 272-C Fall 2001, Lecture 7 & 8 Fundamentals of Diffusion

Numerical model about hygro-lock effect in the mechano-sorptive behavior

The standards are taught in the following sequence.

IAML: Support Vector Machines

We can see from the graph above that the intersection is, i.e., [ ).

Part 3 Introduction to statistical classification techniques

The influence of a semi-infinite atmosphere on solar oscillations

Computational modeling techniques

AIR FORCE RESEARCH LABORATORY

Computational modeling techniques

Study of DDR Asymmetric Rt/Ft in Existing IBIS-AMI Flow

A Correlation of. to the. South Carolina Academic Standards for Mathematics Precalculus

Lecture 02 CSE 40547/60547 Computing at the Nanoscale

ELECTRIC & MAGNETIC FIELDS I (STATIC FIELDS) ELC 205A

Ceramic Processing Research

AIP Logic Chapter 4 Notes

Gelation and Time-Dependent Rheological Behavior of Oil / Synthetic Based Drilling Fluids

Technical Bulletin. Generation Interconnection Procedures. Revisions to Cluster 4, Phase 1 Study Methodology

Distance oracles in edge-labeled graphs

Advice to 1968 Software Engineers

CN700 Additive Models and Trees Chapter 9: Hastie et al. (2001)

ENSC Discrete Time Systems. Project Outline. Semester

Turing Machines. Human-aware Robotics. 2017/10/17 & 19 Chapter 3.2 & 3.3 in Sipser Ø Announcement:

Aircraft Performance - Drag

making triangle (ie same reference angle) ). This is a standard form that will allow us all to have the X= y=

Transcription:

Adaptive Fault Tleance n ROS: A Cmpnent-Based Appach Jean-Chales Fabe, Michael Laue, Matthieu Amy LAAS-CNRS, Ave du Clnel Rche, F-31400 Tuluse, Fance -1-

Definitins Dependability: Ability t pvide sevices that can defensibly be tusted within a time-peid. Fault Tleance (FT) : Design and implementatin f mechanisms t cntl es (esidual, andm, systematic ) by detecting them and ensuing tansitins t a safe state Resiliency: The pesistence f dependability when facing changes -2-

Definitins Dependability: Ability t pvide sevices that can defensibly be tusted within a time-peid. Fault Tleance (FT) : Design and implementatin f mechanisms t cntl es (esidual, andm, systematic ) by detecting them and ensuing tansitins t a safe state Resiliency: The pesistence f dependability when facing changes Adaptive Fault Tleance (AFT): Design and implementatin f Fault Tleant Mechanisms (FTM) t ensue the dependability f the system at untime when facing changes -3-

blem statement and key cncepts Once the system is deplyed, it faces changes. System designes cannt pedict eveything. esistence f dependability equies the adaptatin f safety mechanism -4-

blem statement and key cncepts Once the system is deplyed, it faces changes. System designes cannt pedict eveything. esistence f dependability equies the adaptatin f safety mechanism Key cncepts f Adaptive Fault Tleance - Sepaatin f cncens - Design f adaptatin - Remte fine-gained updates -5-

Oveall pcess FTM as a Leg system -6-

Oveall pcess FTM as a Leg system -7-

Oveall pcess FTM as a Leg system Remte update Cmpnent gaph Suspend executin Mdificatin f the gaph Re-activate -8-

Oveall pcess FTM as a Leg system Change Safety analysis / FMECA Impact n safety mechanism Agile update f FTM Remte update Remte update Cmpnent gaph Suspend executin Mdificatin f the gaph Re-activate -9-

Assumptins and FTM Chaacteistics BR=imay-Backup Replicatin LFR=Leade-Fllwe Replicatin TR=Time Redundancy -10-

Assumptins and FTM Chaacteistics LFR FT LFR TR A, R A, R BR FT BR TR BR=imay-Backup Replicatin LFR=Leade-Fllwe Replicatin TR=Time Redundancy -11-

Assumptins and FTM Chaacteistics TRANSITIONS Tigge: high ate f HW tansient faults bseved LFR FT LFR TR A, R A, R BR FT BR TR Tigge: Nn deteministic SW applicatin vesin BR=imay-Backup Replicatin LFR=Leade-Fllwe Replicatin TR=Time Redundancy Tigge: bandwidth dp belw a given theshld -12-

Cmpnentizatin f FTM Cmpnent-based implementatin Tansitins between FTMs Design f adaptatin f FTMs Change mdel equest eply fault tleant pcessing applicatin sevice Client Seve -13-

Cmpnentizatin f FTM Cmpnent-based implementatin Tansitins between FTMs Design f adaptatin f FTMs Change mdel equest eply befe afte pceed applicatin sevice Client Seve -14-

Cmpnentizatin f FTM ptcl syncbefe eplylg pceed Cmpnent-based implementatin Tansitins between FTMs FTM syncafte Design f adaptatin f FTMs Change mdel equest eply befe afte pceed applicatin sevice Client Seve -15-

Design f FTM adaptatin n ROS Geneic cmputatin gaph f FTM (Bxes epesent ndes) clt2sv Client Seve Tpics(0) Ndes(2) Client Seve Sevices: clt2sv (client t seve) -16-

Design f FTM adaptatin n ROS Geneic cmputatin gaph f FTM (Bxes epesent ndes) p2bf Client clt2sv x y FTM pxy2p p2pxy t c l aft2p Befe bf2pd ceed pd2aft Afte pd2sv Seve Sevice Tpic Tpics(6) pxy2p pxy2bf, bf2pd,pd2aft aft2p p2pxy Ndes(5+2) Client Seve xy tcl Befe, ceed, Afte Sevices: clt2pxy (client t pxy) and pd2sv (pceed t seve) -17-

-18- Implementing BR n ROS Client Recvey x y Befe ceed Afte Seve_M t c l CLIENT RIMARY Befe ceed Afte t c l BACK-U Seve_S CD_M CD_S clt2pxy pxy2p p2bf bf2pd pd2aft aft2p p2pxy cd2ec ecvey getstate pd2sv_m setstate pd2sv_s p2bf aft2p MASTER SLAVE aft2aft Sevice Tpic bf2pd pd2aft

-19- Implementing BR n ROS Client Recvey x y Befe ceed Afte Seve_M t c l CLIENT RIMARY Befe ceed Afte t c l BACK-U Seve_S CD_M CD_S clt2pxy pxy2p p2bf bf2pd pd2aft aft2p p2pxy cd2ec ecvey getstate pd2sv_m setstate pd2sv_s p2bf aft2p MASTER SLAVE aft2aft Sevice Tpic bf2pd pd2aft

Implementing BR n ROS CLIENT Client clt2pxy x y Recvey Sevice Tpic ecvey pxy2p p2pxy t c l SLAVE BACK-U p2bf aft2aft Befe bf2pd pd2sv_s ceed Seve_S pd2aft setstate Afte aft2p CD_S cd2ec -20-

Implementing TR n ROS CLIENT Client clt2pxy x y pxy2p p2pxy t c l p2bf aft2bf aft2p TR Befe bf2pd ceed pd2aft Afte pd2sv_m MASTER getstate_m setstate_m Seve_M Sevice Tpic -21-

Cmbining FTM n ROS Geneic cmpsitin gaph f FTM p2bf Client clt2sv x y pxy2p p2pxy t c l Befe bf2pd ceed pd2aft Afte pd2sv Seve Sevice FTM1 aft2p Tpic tcl nde is a sftwae ack f ndes Befe ceed activatin f sevices ptcls Afte tcl nde can substitute f pceed nde It can be view as a fntend f the seve -22-

Cmbining FTM n ROS Geneic cmpsitin gaph f FTM p2bf Client clt2sv x y pxy2p p2pxy t c l Befe bf2pd ceed pd2aft Afte pd2sv Seve Sevice FTM1 aft2p Tpic tcl nde is a sftwae ack f ndes Befe ceed activatin f sevices ptcls Afte tcl nde can substitute f pceed nde It can be view as a fntend f the seve -23-

Cmbining FTM n ROS Geneic cmpsitin gaph f FTM p2bf p2bf Client clt2sv x y pxy2p p2pxy t c l Befe bf2pd pd2aft Afte t c l Befe bf2pd ceed pd2aft Afte pd2sv Seve Sevice FTM1 aft2p FTM2 aft2p Tpic tcl nde is a sftwae ack f ndes Befe ceed activatin f sevices ptcls Afte tcl nde can substitute f pceed nde It can be view as a fntend f the seve -24-

-25- Cmbining BR+TR n ROS Client Recvey x y Befe Afte t c l CLIENT MASTER Befe Afte t c l BACK-U CD_M CD_S clt2pxy pxy2p p2bf bf2pd_s aft2p p2pxy /cd2ec ecvey TR Befe ceed Afte Seve_M p2bf bf2pd pd2aft aft2p getstate_m setstate_m pd2sv_m aft2bf RIMARY TR Befe ceed Afte Seve_M p2bf bf2pd pd2aft aft2p getstate_s setstate_s pd2sv_s aft2bf SLAVE pd2aft_s bf2pd_m pd2aft_m p2bf aft2p aft2aft getstate_m estestate_s t c l t c l

Case Study Initializatin Initialisatin time aund 0,5s Time due t the initializatin f cmmunicatins by the ROS Maste Executin Aund 5ms f the BR and 2ms f the TR Requests evey 7cm f a ca diving at 50km.h -1 Recvey Recvey Reactivatin f 2 Tpics Recvey time aund 1ms Adaptatin & Cmpsitin Adaptatin Initializatin f new ndes Same de as Initializatin time ( 0,3s) Ubuntu Tusty 14.04 I5 Dual Ce 2,5GHz 8G DDR3 RAM -26-

ROS Maste : A single pint f failue The ROS Maste is equisite f: The cntl ve the system The cntl ve cmmunicatin The cntl ve the gaph The cntl ve the Ndes If the ROS Maste cash: Lss f the sftwae achitectue Ndes have t be eladed The state f the system is einitialized Citical lss in case f embedded systems Slutins t assue the eliability f the ROS Maste: Launching it n a distinct and eliable machine Check-pinting its state and esting it -27-

DMTC: Check inting the ROS Maste DMTC, hw des it wk: Wks with Linux kenel 2.6.9 and late Tanspaent (n ecmpilatin ) Vitualizatin f cess ID Check pinting with DMTC: cess is launch alng the cdinat A checkpint image is ceated f each pcess A estat scipt is ceated by cdinat DMTC shuld be able t checkpint the ROS Maste The lst f the ROS Maste shuld n lnge be a pblem -28-

Lessns leant Adaptive fault tleance Sepaatin f Cncen Design f Adaptatin SC+D4A FTM islatin and cmpnentizatin Installatin adaptatin f an FTM nline Nde can be stated and stpped Mapping at initializatin Nde Management AIs ae nt pvided by ROS f Nde Management Use signals and System calls fulfill the missing equiements Implementing dynamic binding Natual dynamic binding is als nt pvided by ROS Tpics and Sevices ae emapped at the initializatin -29-

Summay f dynamic adaptatin SC ROS ndes, cmpnent mapping t ndes D4A Cmpnentized FT design pattens tcl-befe-ceed-afte Ndes Mngmnt Unix system calls and ROS cmmands Dynamic Binding ROS sevices, pts, tpics Additinal lgic t ceate pts and tpics Maste CKT Check pint f the ROS Maste ROS Maste is n lnge a Single int f Failue -30-

Cnclusin Nw Adaptive Fault Tleance f Resilient Cmputing is pssible n ROS Design and validatin f FTMs is always caied ut ffline If applicatin can be teminated and e-launched : adaptatin OK Dynamic adaptatin : Extended AI f dynamic binding Cnsistency f ecnfiguatin? ceeding... Expeiments n ADAS with Renault SAS Evlutin f AUTOSAR int Adaptive AUTOSAR Expeimentatin n ROS Maste with DMTC -31-