Modelling and Verification of Relay Interlocking Systems

Similar documents
Development of a Train Control System by Using the On-board Interlocking

English version of. Executive Order on vehicles' technical compatibility with the rail network (Bekendtgørelse nr af 30. november 2012) Preface

Using SystemVerilog Assertions in Gate-Level Verification Environments

STPA based Method to Identify and Control Software Feature Interactions. John Thomas Dajiang Suo

TROUBLESHOOTING TP. Index

/CENELEC Phase 3/Generic Preliminary Hazard Analysis Template

Control Design of an Automated Highway System (Roberto Horowitz and Pravin Varaiya) Presentation: Erik Wernholt

Analyzing Feature Interactions in Automobiles. John Thomas, Ph.D. Seth Placke

Technical Notes. Introduction. LED Efficacy. Light Output and Efficacy. Issue 4 April The general equation for light output can be written as:

MIT ICAT M I T I n t e r n a t i o n a l C e n t e r f o r A i r T r a n s p o r t a t i o n

SIMULATING AUTONOMOUS VEHICLES ON OUR TRANSPORT NETWORKS

REDUCING THE OCCURRENCES AND IMPACT OF FREIGHT TRAIN DERAILMENTS

AUTONOMOUS VEHICLES & HD MAP CREATION TEACHING A MACHINE HOW TO DRIVE ITSELF

Study on V2V-based AEB System Performance Analysis in Various Road Conditions at an Intersection

AUTOMATIC SPEED LIMITER AND RELIEVER FOR AUTOMOBILES

From Worlds to Machines

Requirements document for a parking garage control system

Vehicle Dimensions and Mass: Changes from 8 July 2015 Questions and answers

2015 STPA Conference. A s t u d y o n t h e f u s i o n o f S T P A a n d N i s s a n ' s S y s t e m s E n g i n e e r i n g

AEB IWG 02. ISO Standard: FVCMS. I received the following explanation from the FVCMS author:

RUF capacity. RUF International, May 2010, A RUF DualMode system can obtain very high capacity by organizing the vehicles in small trains.

Using Asta Powerproject in a P6 World. Don McNatty, PSP July 22, 2015

Development of Assist Steering Bogie System for Reducing the Lateral Force

The ASEP Excel Sheet

ROAD SAFETY RESEARCH, POLICING AND EDUCATION CONFERENCE, NOV 2001

Aftermarket Interface Module

Session Four Applying functional safety to machine interlock guards

Effectiveness of ECP Brakes in Reducing the Risks Associated with HHFT Trains

Enabling Shift-Left through FV Methodologies on Intel Graphics Designs

Railroad Technology. As the basis for a Skype virtual SIG Presentation Ken Sandock

Fixed Right First Time. Volvo Technicians, Service and Parts Managers

HL515-B Fast Idle, Lift Interlock Ford Transit

Optimality of Tomasulo s Algorithm Luna, Dong Gang, Zhao

Latest Trend and Safety and Reliability Technology of Rolling Stock Doors

Solar Impulse, First Round-The-World Solar Flight. Ralph Paul Head of Flight Test and Dynamics Solar Impulse June 22, 2017

An ISO 9001:2008 Registered Company

Centralised Traffic Control System - Rules 1 to 17

RR 2T and X - Trainer oil injection and wiring trouble shooting guide

Safety for Self-driving Cars

Analysis Contracts for Cyber- Physical Systems

Advanced Superscalar Architectures. Speculative and Out-of-Order Execution

MEMS Sensors for automotive safety. Marc OSAJDA, NXP Semiconductors

Discovery of Design Methodologies. Integration. Multi-disciplinary Design Problems

Performance of Batteries in Grid Connected Energy Storage Systems. June 2018

CIVACON GROUND VERIFICATION RACK MONITOR SYSTEM and ASSOCIATED EQUIPMENT

Developments on Remote DP Control and Autopilot with Collision Avoidance System

Electronic Brake by Wire

Blower Drive Checkout for 3GIBC1 Systems

Traffic Micro-Simulation Assisted Tunnel Ventilation System Design

Subject: Power Take Off (PTO) Models Affected: ADVISORY:

Continuing Education Course #206 Introduction to Designing Machine Control Systems Part 2

#5460 GM Gen IV 2009-Present VVT Cam Phaser Limiter Kit Patent #8,291,876 B2

Planned Revisions to the NIJ Ballistic Resistant Body Armor Test Standard

FUZZY CONTROL OF INVERTED PENDULUM USING REAL-TIME TOOLBOX

An advisory circular may also include technical information that is relevant to the rule standards or requirements.

Using Virtualization to Accelerate the Development of ADAS & Automated Driving Functions

CONNECTED AUTOMATION HOW ABOUT SAFETY?

EXPERIMENTAL VERIFICATION OF INDUCED VOLTAGE SELF- EXCITATION OF A SWITCHED RELUCTANCE GENERATOR

Sensors W2 and E2 are optional. Installation guide, 'Pickle Fork' Back-and-Forth Model Train Controller

e-smart 2009 Low cost fault injection method for security characterization

GLM SERIES CONTROL Users Manual Rev:

ACTIVE SAFETY 3.0. Prof. Kompaß, VP Fahrzeugsicherheit, 14. April 2016

FUNCTIONS AND TECHNOLOGY OF DIGITAL TACHOGRAPHS SYSTEMS WITH CONTEMPORARY TELEMATIC SYSTEM IN ROAD TRANSPORT, ON BOARD INFORMATICS NET AND GPS SYSTEM

Agenda. Industrial software systems at ABB. Case Study 1: Robotics system. Case Study 2: Gauge system. Summary & outlook

STPA in Automotive Domain Advanced Tutorial

Freescale Cup Competition. Abdulahi Abu Amber Baruffa Mike Diep Xinya Zhao. Author: Amber Baruffa

TECHNICAL REPORTS from the ELECTRONICS GROUP at the UNIVERSITY of OTAGO. Table of Multiple Feedback Shift Registers

EVSE Load Balancing VS Load Shedding 1: Largest number of 30 Amps EVSEs that can be fed as per the code from the 600 volts feeder

THE HIGHWAY-CHAUFFEUR

Facts about DOT Audits

An ISO 9001:2008 Registered Company

Flexible gas markets for variable renewable generation

Effects of traffic density on communication requirements for cooperative intersection collision avoidance systems (CICAS)

BOARD OF COUNTY COMMISSIONERS AGENDA ITEM SUMMARY

Ballard Power Systems

Abstract. Acceptance Test Plan Draft - TSV 1

Beyond Standard. Dynamic Wheel Endurance Tester. Caster Concepts, Inc. Introduction: General Capabilities: Written By: Dr.

THERMAL CONTROL SYSTEM OPERATION AND MAINTENANCE MANUAL

Software Driving License

DEVELOPMENT OF A DRIVING CYCLE FOR BRASOV CITY

IMPLEMENTATION OF A VEHICLE-IN-THE-LOOP DEVELOPMENT AND VALIDATION PLATFORM

6.823 Computer System Architecture Prerequisite Self-Assessment Test Assigned Feb. 6, 2019 Due Feb 11, 2019

VALIDATION OF NVIDIA IRAY AGAINST CIE 171:2006

Issue 5. Glossary of Railway Terminology. Glossary of Railway. Terminology

Southern California Edison Rule 21 Storage Charging Interconnection Load Process Guide. Version 1.1

Survey Report Informatica PowerCenter Express. Right-Sized Data Integration for the Smaller Project

ECLIPSE Laundry Dispenser Controller

EMC System Engineering of the Hybrid Vehicle Electric Motor and Battery Pack

12VPS TRAK-DT. Block Detection / Signaling Starter Package. 12 VOLT / 0.5 Amp REGULATED POWER SUPPLY. a c t i v a t i o n s e c t i o n

P200 P/I Transducer. Installation, Operation, and Maintenance Instructions INTRODUCTION

Use of Flow Network Modeling for the Design of an Intricate Cooling Manifold

PDS COLLISION AVOIDANCE AACSA UNDERGROUND IMPLEMENTATION LEARNINGS

State-of-the-art architectures State-of-the-art testing Jürgen Schölzel, Siemens AG, Mobility Division

Introducing Formal Methods (with an example)

Improvements to the Hybrid2 Battery Model

Autonomous Vehicle Impacts on Traffic and Transport Planning

VALVE CONDITION ASSESSMENT USING NEW TECHNOLOGY. Sagar Khadka. ACTEW Water

WHITE PAPER. SVM4001 Series standstill monitor. Stop everything! Standstill monitors add sensorless safety features to motor-driven machinery

Compatibility Between Electric Trains and Electrification Systems

Model 930 Power Control System Instruction Manual

Transcription:

Modelling and Verification of Relay Interlocking Systems Anne E. Haxthausen & Marie Le Bliguet & Andreas Andersen Kjær Informatics and Mathematical Modelling Technical University of Denmark Modelling and VerificationofRelay Interlocking Systems p. 1/30

Agenda 1. Project goal. 2. Informal description of the application domain. 3. Model of an interlocking system and its environment. 4. Safety properties and their verification. 5. Conclusions. Modelling and VerificationofRelay Interlocking Systems p. 2/30

Project background & goal Project made for Banedanmark: Background: Banedanmark verifies relay interlocking systems by manual inspection of circuit diagrams! Goal: to formalize and automate the verification process. Approach: RSL SAL spec behavioural model of interlocking system station documentation behavioural model of environment model check w. SAL tool results safety conditions Status: This approach has been applied to Stenstrup station in Denmark. Modelling and VerificationofRelay Interlocking Systems p. 3/30

Agenda 1. Project goal. 2. Informal description of the application domain. 3. Model of an interlocking system and its environment. 4. Safety properties and their verification. 5. Conclusions. Modelling and VerificationofRelay Interlocking Systems p. 4/30

The physical domain of a station Stenstrup station: Components: Track sections that can be occupied by a train or be free. Points that can be switched between a plus and a minus position. Signals showing STOP or GO. Modelling and VerificationofRelay Interlocking Systems p. 5/30

The considered interlocking systems Task: To ensure railway safety: no collisions or derailings of trains. Means: To show signals to trains. Logical approach to control: Route based. Physical implementation: Electrical circuits containing relays. Modelling and VerificationofRelay Interlocking Systems p. 6/30

Idea of train route based interlocking Trains should drive on routes through the network. Two trains must never drive on overlapping routes at the same time. (To prevent collisions.) Before a train enters a route, the points must be locked in positions making the route open. (To prevent derailing.) The points of a route must not be switched while a train is driving on the route. (To prevent derailing.) Modelling and VerificationofRelay Interlocking Systems p. 7/30

A route based control protocol A typical scenario for a train to go along a route R: the operator sets points such that R is open, R entry R exit Modelling and VerificationofRelay Interlocking Systems p. 8/30

A route based control protocol A typical scenario for a train to go along a route R: the operator sets points such that R is open, the operator pushes a button to lock R, R entry R exit Modelling and VerificationofRelay Interlocking Systems p. 8/30

A route based control protocol A typical scenario for a train to go along a route R: the operator sets points such that R is open, the operator pushes a button to lock R, the system locks R (as no conflicting routes are locked), R entry R exit Modelling and VerificationofRelay Interlocking Systems p. 8/30

A route based control protocol A typical scenario for a train to go along a route R: the operator sets points such that R is open, the operator pushes a button to lock R, the system locks R (as no conflicting routes are locked), the system sets entry signal to GO (as R is empty and locked), R entry R exit Modelling and VerificationofRelay Interlocking Systems p. 8/30

A route based control protocol A typical scenario for a train to go along a route R: the operator sets points such that R is open, the operator pushes a button to lock R, the system locks R (as no conflicting routes are locked), the system sets entry signal to GO (as R is empty and locked), the system detects when the train enters the route, R entry R exit Modelling and VerificationofRelay Interlocking Systems p. 8/30

A route based control protocol A typical scenario for a train to go along a route R: the operator sets points such that R is open, the operator pushes a button to lock R, the system locks R (as no conflicting routes are locked), the system sets entry signal to GO (as R is empty and locked), the system detects when the train enters the route, the system sets entry signal to STOP, R entry R exit Modelling and VerificationofRelay Interlocking Systems p. 8/30

A route based control protocol A typical scenario for a train to go along a route R: the operator sets points such that R is open, the operator pushes a button to lock R, the system locks R (as no conflicting routes are locked), the system sets entry signal to GO (as R is empty and locked), the system detects when the train enters the route, the system sets entry signal to STOP, the system unlocks R when the train is entirely on the last section of R. R entry R exit Modelling and VerificationofRelay Interlocking Systems p. 8/30

Relay circuits consist of power supply wires relays external relays: captor the state of track sections and points internal relays: captor control state, e.g. route lockings 2 states: drawn ( ) or dropped( ) contacts ruled by relays 2 states: connected ordis-connected buttons controlled by the operator 2 states: pushed or released lamps,... Modelling and VerificationofRelay Interlocking Systems p. 9/30

Relay circuit diagrams Relay circuits are documented by diagrams like this: Modelling and VerificationofRelay Interlocking Systems p. 10/30

Electrical behaviour of relay circuits Example: Modelling and VerificationofRelay Interlocking Systems p. 11/30

Agenda 1. Project goal. 2. Informal description of the application domain. 3. Model of an interlocking system and its environment. 4. Safety properties and their verification. 5. Conclusions. Modelling and VerificationofRelay Interlocking Systems p. 12/30

Model: state space b : Bool for each button b true means conductive (pushed) Initial state: false (released) r : Bool for each relay r true means drawn ( ) Initial state: indicated on diagrams state of contacts can be derived from the state of their relay Modelling and VerificationofRelay Interlocking Systems p. 13/30

Model: transition rules for internal relays For each internal relay r: [ draw r] r currentthrough r r = true, [ drop r] r currentthrough r r = false currentthrough r: condition for current to go through r. Modelling and VerificationofRelay Interlocking Systems p. 14/30

Model: condition for current to go through a relay Current goes through a relay r if there is a conductive path through r. Example: currentthrough RR1 = (A1 A2) (B1 A2) Modelling and VerificationofRelay Interlocking Systems p. 15/30

Model: condition for current to go through a relay Current goes through a relay r if there is a conductive path through r: currentthrough r = conductive p1... conductive pn where p 1,..., p n are the pathes through r conductive pi is condition for path p i to be conductive A path p i is conductive, if all components com i1,..., com im of p i are conductive: conductive pi = conductive comi1... conductive comim Conditions for components to be conductive: Buttons b must be pushed: b Upper contacts c must be connected: relayof(c) Lower contacts c must be connected: relayof(c) Modelling and VerificationofRelay Interlocking Systems p. 16/30

Modelling the environment External events: A button B is being pushed or released. A track section T is being occupied or freed. This is detected by an external relay T being released or drawn. A point P changes position. This is detected by two external relays, P+ and P-, associated with the point. Model assumptions: External events can only happen when no internal event is possible. idle idle idle external event internal event busy state Modelling and VerificationofRelay Interlocking Systems p. 17/30

Introduction of idle Assumption: External events can only happen when the system is idle, i.e. when no internal relay changes are possible. idle : Bool := false A transition rule for setting idle to true: idle (gi1... gin ) idle = true where gi1,..., gin are the guards for changing internal relays. Pattern for transition rules for external events: idle... idle = false,... Modelling and VerificationofRelay Interlocking Systems p. 18/30

Rules for track relays Two models: Random track behaviour: Track sections T can be occupied and freed randomly: [ T] idle idle = false, T = T Ordered track behaviour: Only track events reflecting movements for trains that do not pass signals showing STOP do not change direction while using a route do not split only enter the station from entry sections only leaves the staion at exit sections Requires additional state variables. Modelling and VerificationofRelay Interlocking Systems p. 19/30

Rules for points Four transition rules for each point P: [ plustointermediate ] idle P+ unlockedp tp idle = false, P+ = false [ IntermediateToMinus]... [ minustointermediate]... [ IntermediateToPlus ]... where P+ is true only when P is in plus position, unlockedp is true when P is unlocked, tp is true when P is free. Modelling and VerificationofRelay Interlocking Systems p. 20/30

Rules for buttons [ pushb] idle B idle = false, B = true, [ releaseb]... Modelling and VerificationofRelay Interlocking Systems p. 21/30

Agenda 1. Project goal. 2. Informal description of the application domain. 3. Model of an interlocking system and its environment. 4. Safety properties and their verification. 5. Conclusions. Modelling and VerificationofRelay Interlocking Systems p. 22/30

Proof obligations Safety conditions at two levels of abstraction: Implementation independent level: general safety conditions Implementation level: conditions derived from train route tables requirements in train route based interlocking Confidence conditions Modelling and VerificationofRelay Interlocking Systems p. 23/30

Requirements in train route based interlocking 1. Two conflicting train routes must not be locked at the same time. 2. When a route is locked, the points must be in positions making the route open. 3. When a route is locked, it must retain being locked until the last section of the route is occupied. 4. When a route entrance signal shows GO, the route must be locked and empty, and certain other signals must show STOP. This implies that when a train enters a route, the signal must change to STOP. Modelling and VerificationofRelay Interlocking Systems p. 24/30

Conditions derived from a train route table For a specific station, the requirements for train route based interlocking can be instantiated with data from its train route table and expressed as LTL assertions. Example: Conflicting routes 1 and 7 for Stenstrup must not be locked at the same time: G(r1 r7), where ri = true when route i is unlocked. For Stenstrup station, 24 such assertions have been proved for random track behaviour. Modelling and VerificationofRelay Interlocking Systems p. 25/30

General safety conditions No derailing at any point P: When P is occupied, P is in + or - position: t- t tp t+ G( tp (P+ P )) When a train is entering P from a +/- branch, P is in the right position: t- t tp t+ G( tp t+ P+) G( tp t P ) No collisions:... For Stenstrup station, 12 general safety conditions have been proved for ordered track behaviour. Modelling and VerificationofRelay Interlocking Systems p. 26/30

Confidence conditions For Stenstrup station, 100 confidence conditions have been proved. No internal events are possible in the initial state: X(idle) No internal cycles: G(F(idle)) No critical races between internal events: The order of internal relay events does not alter the eventual state. Does the model include the states that can be obtained by changing relays concurrently? Will different interleavings give the same terminal state? Two confidence conditions for each relay R: G(canDrawR X( candrawr R)) G(canDropR X( candropr R)) If a guard is true at one point, it remains true until the transition is taken. Modelling and VerificationofRelay Interlocking Systems p. 27/30

Experiments with Stenstrup Station Stenstrup Station and its interlocking system: 8 track sections, 2 points, 6 signals, 8 train routes. 4 buttons. 46 internal + 10 external relays. 18 diagrams. Transition system: 61 + x Boolean variables. 92 rules for internal relays. additional rules for buttons and external relays. Assertions: 100 confidence conditions. 24 conditions derived from the train route table. 12 general safety conditions. Results: All assertions are valid. Modelling and VerificationofRelay Interlocking Systems p. 28/30

Agenda 1. Project goal. 2. Informal description of the application domain. 3. Model of an interlocking system and its environment. 4. Safety properties and their verification. 5. Conclusions. Modelling and VerificationofRelay Interlocking Systems p. 29/30

Conclusions Results: A method for extracting a behavioural model and safety conditions from the station documentation. The method applied to Stenstrup station. Under the assumptions made, we can conclude that Stenstrup station is safe. Future work: Scalability study. Other ways of modelling / further inspection of assumptions. Tools for automatic generation of model and assertions from station documentation. Modelling and VerificationofRelay Interlocking Systems p. 30/30