Top Banner
Zone libre pour une image, photo…. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software Assessment (RATP/ ING/STF/QS/AQL) RSSRail 2017 Manel FREDJ, Sven Leger, Abderrahmane Feliachi and Julien Ordioni November 15th, 2017 Pistoia, Italy
33

OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Mar 28, 2018

Download

Documents

lamnhu
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Zone libre pour une image, photo….

OVADOEnhancing Data Validation for Safety-CriticalRailway Systems

RATP – Software Assessment (RATP/ ING/STF/QS/AQL) RSSRail 2017

Manel FREDJ, Sven Leger, Abderrahmane Feliachi and Julien Ordioni November 15th, 2017

Pistoia, Italy

Page 2: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

RATP – Software Safety Assessment

AQL: RATP SW safety assessment labo Internal assessment of safety critical software

o Data validation

CBTC configuration datao Line configuration and all objects on this line

RATP GROUP(55,000 p.)

Engineering Dpt.(~1000 p.)

SW safetyassessment lab

(25 p.)

Genericsoftware

Data &Param.

Line-equipped

CBTC

2Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 3: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Agenda

What is OVADO?

• The tool

• Data validation process

Use cases

• Concrete cases : Metro line CBTC

• Emerging needs?

Enhancing data validation process

• Genericity

• B-OVADO editor• Guidelines

Conclusion & future work

3Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 4: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

n

T2 for SIL 4 certifiedversion

(EN 50128:2011)

IDE

properties

Counter-examples

Use of formal methodsGeneric & Extensible

Safety-critical datavalidation

What is OVADO?

http://www.ovado.net/fr/index.html 4Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 5: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Which purpose?

RATP

Systemdata

Softwaredata

GenerationProcess

BPredicates

OK / KO

INDEPENDENT

ASSESSMENT OF

SAFETY

CRITICAL DATA

SUPPLIER

PROCESSSupplier

5Nov. 15th, RSSRail 2017, Pistoia, Italy

Provided by RATPand the supplier

Page 6: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

1

System data

SupplierGeneration process

Software data

1. System data validation

2. Data transformation validation

3. Software data validation2

3

Usage scenarios

6Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 7: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

System data validation

Input– System data specification

– Supplier system data (DB)

B Predicate– Safety constraints related to system data

Examples– Segment length

– Beacon spacingRATP

Supplier

Systemdata

BPredicates

OK / KO

1

Safety requirements extracted from system specification

7Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 8: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

System data validation - Examples

Segment = virtual part of the track

The length of a track segment must be less than 2047 m,

Number of bits allocated in the exchange message is 12

1

Segment beginning

The distance between two beacons must be more than 3 m

8Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 9: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Data transformation validation

Input– Specification of system data

– Specification of software data

– System data

– Software data

B Predicate– Transformation of software data with

respect to system data

– Matching between Supplier and RATPresults of transformation

ExampleFor a specific equipment

For a virtual sub-block of the track

Compute all the track circuits associated

2

RATP

Supplier

Systemdata

Softwaredata

GenerationProcess

BPredicates

OK / KO

Conformity of software data with regard to system data

9Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 10: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

From the specification of invariants

We compute the attribute of the invariant CV (virtual canton) – sub-block ofthe track circuit CDV

The relation defines the set of couples CV-> CDV

Matching

OVADO computed invariants may have not the same order as thesupplier

Data transformation validation - Example2

Track circuit(CDV)

CV

CDV

10Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 11: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Software data validation

Input– Specification of software data

– Software data

B Predicate– Constraints resulting from safety

analysis or emerging from the softwareassessment activity

Example– Number of segments under the train

3

Supplier

Embeddeddata

BPredicates

OK / KORATP

Safety requirements extracted from software

11Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 12: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Software data validation - Example3

CHECK THE CORRECT DIMENSIONING OF A SW CONSTANT

Is the “maximum number of segments under a train” constant big enoughfor my line CBTC?Constant = 2 for instance.

TRAIN ENVELOP

TRAIN

#seg?

1. Write a relation R which associates all 2 possibleneighbouring segments and their additional lengthR = {

{S1, S2} ↦ 123456,{S2, S3} ↦ 326548,etc.

}

2. Write a property to check if longest train length isalways lower than the combination of all 2neighbouring segments length

3. Evaluate propertyOK: Property verified for all combinations of theCBTC data.NOK: all improper combinations of the CBTC datawill be shown

R = UNION (S1,S2, L1,L2).(

S1 : E_Segments

&

S1 ↦ S2 : K_segment__K_neighbour_downstream&

S1↦ L1 : K_segment__U_longueur

&

S2 ↦ L2 : K_segment__U_longueur

|

{ { S1,S2 } ↦ L1 + L2 }

)

PROPERTY = ! ( S, L ).( S ↦ L : R => L_max_train_lenght < L )

12Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 13: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Gain in data validation process

Data preparation forproviding OVADO inputs

Definitions and propertiesin B-OVADO - constraints

Properties assessment via OVADO

Result processing Counter-examples

Example : 3 Types of change in the specification of system data Constraints Data base structure Values in Data base (instance) ++

+ -

- -

13Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 14: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

OVADO screenshot

Project tree List of properties

Property details + counter-examples

14Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 15: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

USE CASES

15Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 16: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

OVADO use cases

Data validation for CBTC

SAET L1

OCTYS L3, L5 & L9

OURAGAN L13

Tools migration:

• SAET L14 (in progress)

• SACEM RER A (in progress)

16Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 17: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

System data validation in L5

From track layoutto usable data

(Supplier+ RATP)

Place d’Italie – L5

17Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 18: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Example of system data

System data format

– Tables & lists can be easilyconverted intomathematical objects

Functions & relations canbe created with all datacolumns

switch_name seg_toe seg_l_point seg_r_point

SWITCH_PLIT_1 S2234 S2236 S2235

SWITCH_EGPA_2 S0202 S0204 S0206

SWITCH_EGPA_1 S0204 S0205 S0203

Function:I_switch_name ={

1 ↦ SWITCH_PLIT_12 ↦ SWITCH_EGPA_23 ↦ SWITCH_EGPA_3…

}

Relations:K_switch_name__K_seg ={

SWITCH_PLIT_1 ↦ S2234SWITCH_PLIT_1 ↦ S2235SWITCH_PLIT_1 ↦ S2236SWITCH_EGPA_2 ↦ S0202…

}

18Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 19: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Example of data transformation

Compute the attribute of the invariant CV

The relation defines the set of couple CV-> CDV

19Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 20: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Example of software data

Software data accepted format

• Ada

• Text

• Binaries

• XML

• Excel

• Etc.

Example

• The invariant CV has a list of CDV (at most 2)

20Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 21: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Emerging new needs

.

Editor GuidelinesGenericity

ENHANCING DATAVALIDATION PROCESS

21Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 22: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

.

Genericity - Common library 1/2

In railways (CBTC), project-relateddata are similar

Sharing elementary primitives Definition of RATP Model

Primitives data base +configuration management

Migration is performed for existingprojects

Easy to use, well-documented and moresafe for new projects

CommonPrimitives

22Nov. 15th, RSSRail 2017, Pistoia, Italy

Project specific data

Page 23: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Common concepts - abstractiono Oriented segment

o Canonical oriented abscissa

o Zone = area …

Definitions : Reusable basic definitions of data generic conceptso Area computing

o Object abscissa on segments

o Paths computing

o Neighborly object relations, Etc.

Gain Properties optimization

Change management duration

New data table : 8 hours for L 13 beforecommon library

New data table : 2 min for L 5, L9

23Nov. 15th, RSSRail 2017, Pistoia, Italy

Genericity - Common library 2/2

Page 24: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Common library - use example

2 beacons must be distant at least of 3 meters

Define a Zone of 3 m around the beacon in each direction

Check that there is no beacon within the zone

UNION( k_bal , k_seg , u_abs , e_dir , bals ).(k_bal ↦ ( k_seg ↦ u_abs ) : K_bal___K_seg__U_abs

&e_dir : E_dir

&bals =UNION( σ , x , y , k , z ).(σ ↦ ( x ↦ y ) : zone_depuis_limite ( k_seg ↦ e_dir ↦ u_abs ↦ 3000 )

&k ↦ ( σ ↦ z ) : K_bal___K_seg__U_abs

&z : x .. y

|{ k }

)&

not(bals <: { k_bal }

)|

{ bals <| K_bal___K_seg__U_abs })

24Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 25: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Genericity - Benefits

Lifecycle of OVADO Projects & effort sharing

1. L1 wayside, software data validation

2. L3 & L5 wayside, definitions and propertiesexport

3. L5 on-board, adaptation of definitions andproperties

4. Completing all projects on-board andwayside for L1, L3, L5 & L9 with the sameinitial definition set

Wayside equipmentOn-board equipment

25Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 26: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

B-OVADO - Rich integrated editor 1/2

26Nov. 15th, RSSRail 2017, Pistoia, Italy

Syntactic check (key words)

Semantic check (typing, scoping)

Documentation

Auto-completion

Navigation

Seamless integration to OVADO

Page 27: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

B-OVADO - Rich integrated editor 2/2

27Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 28: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Formatting rules

Naming conventions

Indentation

Structure, etc.

Example

Easy : communication, sharing, reuse

Applied on common library

Guidelines

3 _

2 _

a (b c) a___b__c

a b c (a b) c a__b__c

28Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 29: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Metrics

Properties number (#P)#P = from 150 to 200

Sanity check properties aregenerated automatically Ex: Data base consistency

Ex: the object provided as a facingpoint of a switch is a segment

Number of data uploaded– Between 30 000 and 100 000

– Ex: Around 30 Mo for system data

Execution timeFrom few seconds or minutes to 2-3hours (max)

Assessment non-regression of anew version– Approximatively 1 month for a

complete project (system data, datatransformation, and software datafor the whole line equipments)

OVADO, used for all assessmentsof AQL

29Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 30: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

CONCLUSION

30Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 31: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

OVADO for safety-critical data validation System data

Software data

OVADO is generic and mature industrial solution usable for almost all RATP CBTC data assessment projects

and more…

Enhancing data validation process Genericity with the common library : easy reuse, reduce time to market

B-OVADO rich integrated editor

Guidelines : improve readability, sharing , cross reading, etc.

Conclusion

31Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 32: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Extend OVADO usage to Interlocking systems assessment

Ex: Internal validation of PHPI (Poste Hybride à Procédé Informatique)

Extend the tool with New project-specific plugins

Ex: integrate new data format as railML

Enhance the functionalities provided by B-OVADO editor Richer typing : semantic type control

Ex: Type « CDV » instead of « String »

Looking Forward

32Nov. 15th, RSSRail 2017, Pistoia, Italy

Page 33: OVADO Enhancing Data Validation for Safety-Critical ... · PDF fileZone libre pour une image, photo. OVADO Enhancing Data Validation for Safety-Critical Railway Systems RATP – Software

Manel FREDJ

RATP Z56, rue Roger Salengro

94 724 Fontenay-Sous-Bois

Phone: +33 1 587 79132Email: [email protected]

33Nov. 15th, RSSRail 2017, Pistoia, Italy