Professional Documents
Culture Documents
Summary
1. Introduction
2. Hardware fault detection
3. Software fault avoidance
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
261
Introduction
Environment
Signalling / Train
control system
Access / Evacuation
Infrastructure
Operation / Maintenance
Station
Track
Power supply
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
Introduction
Fire / explosion
Derailment / overturning
Panic
Electrocution / burn
Collision
Individual accidents (fall, )
Others (terrorist attack, natural disaster, structure
breaking, )
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
262
Introduction
9. interlocking
10.trackside equipment
11.operation control center
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
Introduction
Introduction
1980
Fail-safe
equipment
Electronic
Manless interlocking CBTC Manless
METEOR
OURAGAN L1
Permanent ATP
RER - SACEM
1990
2000
Coded processor
B formal
method
Safety-critical
software
2010
SCADE
Redundant
Processors
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
Introduction
SACEM RER A
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
264
Introduction
SACEM RER A
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
Introduction
SACEM RER A
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
265
10
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
266
12
Fail safe
Safety checking
Train ahead
Encoded processing
Wayside
Inputs
encoding
Encoded
fixed data
Onboard
Inputs
encoding
Data
processing
Safety checked
outputs
Transmitter
Receiver
Receiver
Transmitter
Safety checked
outputs
Data processing
Present train
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
13
Coded processor
Emergency braking
Fail safe
power supply
Cabsignal
Output
Speed and
distance
detector
Dynamic controller
Transmitter
Microprocessor
Coded
treatments
Information
from the cabin
Checking
of date
Signature
Reference signature
PROM
Receiver
Inputs
encoding
Dated
signature
Fail-safe clock
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
267
14
15
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
268
16
17
CES :
Inputs
encoding
Fail-safe
Inputs
Safety
Clock
CUC :
Central
Processing
Unit (coded)
CSS :
Outputs
Conversion
Fail-safe
Outputs
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
269
18
OPS
Sources
Compensation
Tables
COMPILER
Object code
LINKER
Run time code
Processor
Signature calculated dynamically
Reference
signature
(pre computed)
CKD
19
CES
CUC
Computed
Outputs
Relay
NS1
CKD stream
CSS
CKD
Checking
Fail-safe outputs
Safety Power
Supply
Basic Power
Supply
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
270
20
Theoretical result:
Coded processor alone 10-12 h-1
Including transmission between onboard and
trackside equipment 10-9 h-1
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
21
271
ATP role
Speed
ATPs command of
emergency braking
speed limitation
emergency braking
cab signalling
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
Distance
23
maintenance system
zone
controller
section A
I/O interface
platform
equipment
zone
controller
section B
cabsignal
localisation
system
onboard
equipment
rolling stock
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
272
24
CBTC operation
train B movement
authority limit
zone
controller
train A
position
speed
profile
track circuit
virtual block
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
25
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
273
26
Formal methods
1988 SACEM - First safety software in railways
Usual (unformal) software specification issues
lack of global approach with the system designer point of
view
ambiguous, not legible, not coherent, not complete
Validation issues
no certitude that the functionnal tests are sufficient
1998 First run of the subway line 14 Mtor
The B method is used to obtain :
a reliable and exact software design from specifications to
runtime code
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
27
B formal method
Goal
To get a software which meets completely its functionnal
specification by construction
Application fields
Sequential code with no interruptions (real time aspects, low
level softwares, operating kernels are not taken into account)
Large spectrum language
Unified framework and continuous process from specification to
code
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
274
28
B formal method
High level language
Abstract operators for specification needs
Concrete instructions similar to ADA or C ones
Model oriented approach
Software = data + properties + operations
Refinement process
Translation of the abstract machines into concrete modules,
and finally into code
Proof obligations
Conditions to check to ensure a strict mathematical
construction of softwares
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
29
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
275
30
B development process
Unformal Requirements
Formal re-expression
B formal specification
PROOF
B refinement 1
PROOF
B refinement n
PROOF
PROOF
B implementation
Automatic and
Manual code translation
Code
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
31
B verification process
Unformal Requirements
Functionnal tests
B formal specification
Integration tests
B refinement 1
Module tests
B refinement n
B implementation
Code
B proof obligations
=
exhaustive testing
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
276
32
B validation process
Unformal Requirements
Formal
re-expression
B formal specification
B refinement 1
Proof
B refinement n
B implementation
Only for Manual
translation
Code
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
33
B industrialisation
34
35
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
Interlocking system
Track circuit
202
201
Zone 0
Zone 2
V2
Zone 6
Zone 4
V2Q
Zone 8
Zone 10
VB
Zone 12
VC
101
Zone 1
V1
Zone 3
Zone 5
Zone 7
V1Q
Zone 9
102
Zone 13
Zone 11
VA
103
VR
Route V1 to V2Q
Signals M (V2), H, KR, C
Switches 101, 201
Signal M (V1)
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
278
36
Relay interlocking
Main technology on
RATP network
Fail-safe relays
Man-machine interface
with button/switch
control panel
Increasing cost and
expensive reconfiguration
37
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
3
off-line
Electronic interlocking
Configured
interlocking graphs
Generic
signalling rules
Graph interpreter
real-time engine
Electronic interlocking
Z
o
n
e
0
Z
o
n
e
Z
o
2
n
e
Z
o
1
n
e
V
2
V
1
V
R
2
0
1
1
0
1
Z
o
n
e
3
Z
o
n
e
4
1
0
2
Z
o
n
e
Z
o
n
e
Z
o
6
n
e
V
2
Q
V
1
Q
2
0
2
1
0
3
Z
o
n
e
Z
o
8
n
e
9
Z
o
n
e
Z
o
1
n
0
e
V
B
V
A
Z
o
n
e
V
C
1
2
1
1
1
3
Site configuration
Wayside
equipments
Operator
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
279
38
Interlocking validation
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
39
Interlocking proof
e.g. If a train is moving towards a switch
and if the signal is green,
then the switch must not move.
Derailment
Collision
17 refined
properties
Site configuration
Interlocking graphs
Generic
feared events
Configured
properties
Configured
interlocking graphs
Proof engine
Validation
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
280
40
Configured
graphs
1
Configured
graphs
1
Translator 1
format 1
Configured
graphs
1
Configured
graphs +
properties
TECLA
TECLA
2
Configured
graphs
2
Translator 2
format 2
2
Configured
graphs +
properties
TECLA
TECLA
Translation process
41
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
1
Configured
graphs +
properties
2
Configured
graphs +
properties
TECLA
Equivalence
system
TECLA
Equivalence
constructor
TECLA
Proof engine
Properties
OK/KO
Proof Checker
Proof engine
Proof
OK/KO
Evquivalence
OK/KO
Proof Checker
ProofLog
Proof
OK/KO
ProofLog
Proof certification
Translation certification
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
281
42
Interlocking proof
43
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
282
44
45
1
System
Translator 1
SCADE
TECLA
TECLA
2
System
System
Translator 2
Code
System
TECLA
1
System +
properties
2
System +
properties
TECLA
Translation process
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
283
46
1
System +
properties
2
System +
properties
TECLA
Equivalence
system
TECLA
Equivalence
constructor
TECLA
Properties
OK/KO
Proof engine
Proof Checker
Proof engine
Proof
OK/KO
Evquivalence
OK/KO
Proof
OK/KO
Proof Checker
ProofLog
ProofLog
Proof certification
Translation certification
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
47
SCADE proof
48
Formal methods
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
49
Manless CBTC
L3
L1
L5 WaySide
Equipement
SCADE
L3
L5
Redundant
processors
L13
ReSIST summer School 2007 - Pierre CHARTIER - RATP safety approach for railway signalling systems
285
50