1
Université Fédérale de Toulouse Midi-Pyrénées LAAS-CNRS / Laboratoire d’analyse et d’architecture des systèmes (CNRS) Robots, How Reliable Are They? Student: Mohammed Foughali Supervisor: Félix Ingrand Context Increasing involvement of robots in human environments -> Reliability? Poor connection between robotic functional software and formal methods x Non-formal frameworks x Ad-hoc, non automatic modeling x Scalability issues Decisional Level Acting Observing Functional level Battery Pos POM Hueblob Pos RFLEX PTU (Pan-Tilt Unit) Antenna Heating Planning Monitoring MODELS Flat terrain navigation Rough terrain navigation Approach Automatically bridge GenoM with V&V frameworks Use the generated models to verify important properties GenoM to Fiacre/TINA & UPPAAL Develop templates GenoM->Fiacre & GenoM->UPPAAL Use TINA & UPPAAL to verify: Behavioral properties: e.g. a sent request is eventually served Timed properties: e.g. quantify the time between ports updates Activities Control Task Control Services Clients Ports Execution Tasks Codels IDS read/write read/write read/write Requests Reports start ether pause Robotic Software Levels A GenoM component Fiacre or UPPAL Model of the Funct. Level GenoM Models: .idl & .gen Real-time properties TINA or UPPAAL Analysis Fix the Functional Level speed robmotion scan roblaser pos robloco robmap map Task: map 50ms Services: Init FuseMap StopFuse Task: motion 500ms Services: Init GotoPosition Stop Task: scan 50ms Services: Init StartScan StopScan Task: odo 50ms Services: InitPort GetPos OdoStart OdoStop MonitorArea Task: track 50ms Services: TSStart TSStop GenoM to Fiacre & UPPAAL Workflow GenoM to UPPAAL SMC Develop templates GenoM->UPPAAL-SMC Use SMC on models that do not scale to estimate the probability of satisfying important properties Functional Level actual velocity IMU nhfc Task: main 1ms Services: Init Servo Stop cmd velocity desired state maneuver pom state mikrokopter Task: plan 5ms Services: Goto WayPoint TakeOTask: exec 5ms Services: perm Task: io 1ms Services: perm, add_me Task: filter 1ms Services: perm Task: main 1ms Services: perm calibrate_imu start servo stop Task: comm 1ms Services: perm connect monitor set_ramp mocap pose optitrack Task: publish 4ms Services: Init (pos updated 100Hz) Quadcopter navigation: Does not scale Properties satisfied with 99% pr (SMC) GenoM to BIP Develop templates GenoM->BIP Run the generated models using the BIP engine and enforce desired properties online BIP Model of the Funct. Level (Execution) GenoM Models: .idl & .gen Safety properties RTD-Finder Analysis Fix the model BIP/Model template (GenoM/Pocolibs to BIP) to Fiacre) BIP Model of the Funct. Level (verification) BIP-Engine GenoM to BIP Workflow Papers Model-Checking Real-Time Properties on The Functional Layer of Autonomous Systems M. Foughali, B. Berthomieu, S. Dal Zilio, F. Ingrand, A. Mallet At ICFEM 2016, November 14-18, Tokyo, Japan Toward a Correct-and-Scalable Verification of Concurrent Robotic Systems: Insights on Formalisms and Tools M. Foughali At IEEE ACSD 2017, June 25-30, Zaragoza, Spain

Robots, How Reliable Are They? Mohammed.pdfDevelop templates GenoM->UPPAAL-SMC Use SMC on models that do not scale to estimate the probability of satisfying important properties Functional

  • Upload
    letram

  • View
    214

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Robots, How Reliable Are They? Mohammed.pdfDevelop templates GenoM->UPPAAL-SMC Use SMC on models that do not scale to estimate the probability of satisfying important properties Functional

Université Fédérale de Toulouse

Midi-PyrénéesLAAS-CNRS/ Laboratoire d’analyse et d’architecture des systèmes (CNRS)

Robots, How Reliable Are They? Student: Mohammed Foughali

Supervisor: Félix Ingrand

Context Increasing involvement of robots in human environments -> Reliability?

❖Poor connection between robotic functional software and formal methods x Non-formal frameworks x Ad-hoc, non automatic modeling x Scalability issues

Decisional Level

Acting ObservingFunctional level

Battery

SpeedP3D

PosPOM

HueblobIm. St.Stereo

VIAM Im. Pos RFLEXPTU

(Pan-TiltUnit)

DTM Env

Aspect Obs

Laser RF Scan

NDD Speed

Antenna Heating

Planning Monitoring

MODELS

Flat terrainnavigation

Rough terrainnavigation

Approach ➡Automatically bridge GenoM with V&V frameworks ➡Use the generated models to verify important properties

GenoM to Fiacre/TINA & UPPAAL ➡Develop templates GenoM->Fiacre & GenoM->UPPAAL ➡Use TINA & UPPAAL to verify: ✓Behavioral properties: e.g. a sent request is eventually served ✓Timed properties: e.g. quantify the time between ports updates

Activities

Control TaskControl

Services

Clients

Ports

Execution Tasks

Codels

IDS

read/write

read/w

rite

read/write

RequestsReports

start

ether

paus

e

Robotic Software Levels

A GenoM component

Fiacre or UPPAL Model

of the Funct. Level

GenoM Models: .idl & .gen

Real-time properties

TINA or UPPAAL

Analysis

Fix the

Functional Level

speed

robmotion

scan

roblaser

pos

robloco

robmap

map

Task: map 50msServices:InitFuseMapStopFuse

Task: motion 500msServices:InitGotoPositionStop

Task: scan 50msServices:InitStartScanStopScan

Task: odo 50msServices:InitPortGetPosOdoStartOdoStopMonitorArea

Task: track 50msServices:TSStartTSStop

GenoM to Fiacre & UPPAAL Workflow

GenoM to UPPAAL SMC ➡Develop templates GenoM->UPPAAL-SMC ➡Use SMC on models that do not scale to estimate the probability of satisfying

important properties

Functional Level

actualvelocityIMU

nhfc

Task: main 1msServices:InitServoStop

cmdvelocity

desiredstate

maneuverpom

state

mikrokopter

Task: plan 5msServices:GotoWayPointTakeOff

Task: exec 5msServices:perm

Task: io 1msServices:perm, add_me

Task: filter 1msServices:perm

Task: main 1msServices:permcalibrate_imustartservostop

Task: comm 1msServices:permconnectmonitorset_ramp

mocappose

optitrackTask: publish 4msServices:Init(pos updated 100Hz)

Quadcopter navigation: Does not scale ✓Properties satisfied with 99% pr (SMC)

GenoM to BIP ➡Develop templates GenoM->BIP ➡Run the generated models using the BIP engine and enforce desired properties

online

BIP Modelof the Funct. Level

(Execution)

GenoM Models: .idl & .gen

Safety properties

RTD-Finder

AnalysisFix the model

BIP/Model template (GenoM/Pocolibs to BIP)

to Fiacre)

BIP Modelof the Funct. Level

(verification)

BIP-Engine

GenoM to BIP Workflow

Papers ๏Model-Checking Real-Time Properties on The Functional Layer of

Autonomous Systems M. Foughali, B. Berthomieu, S. Dal Zilio, F. Ingrand, A. Mallet At ICFEM 2016, November 14-18, Tokyo, Japan

๏Toward a Correct-and-Scalable Verification of Concurrent Robotic Systems: Insights on Formalisms and Tools

M. Foughali At IEEE ACSD 2017, June 25-30, Zaragoza, Spain