Professional Documents
Culture Documents
on
Review of Electronic Interlocking (EI)
Application Data Design
Report On Review of Electronic Interlocking (EI) Application Data Design
Outline
1. Recommendations
2. Roadmap
7. Committee Meetings
8. Terms of Reference
1. Recommendations
1.1 Standardisation has to be done for Signal Interlocking plan (SIP), Front Panel
Display (FPD) diagram and Route Control Chart (RCC) or Table Of Control (TOC).
Leaving any of these primary documents will not help in achieving the goal.
1.2 The nomenclature of (a) Signalling functions on Signal Interlocking Plan, (b)
Interlocking Relays have not been standardised. SIP, FPD, RCC/TOC, Interlocking
Circuits have been standardised to larger extent by earlier work groups 1
1.3 Standardisation of boolean equations using standard syntax and semantics has to
be carried out. To begin with, IR should attempt to standardise the process from
SIP till this stage.
They are at present taking the different interlocking documents as the basis for
processing Application Binary. For example,
(a) Microlok-II and MEI-633 EI systems require boolean equations for generating
the application binary for which they have to precompile and translate standard
boolean logic into their native style or type.-
(b) Westrace EI system does not require boolean equations, but requires
interlocking circuits for generating the application binary.
(c) K5BMC EI system requires only RCC/TOC for generating the interlocking
circuits and application binary.
1
(a) Working Group on Standardisation of Signalling Principles and Interlocking Practices have formulated
Directive Principles and Typical Circuits for End Cabin Motor operated points (RB 2010/Sig/WG/Interlocking
Principle dated 13/22-10-2010)
(b) RDSO Report on Standardisation of the typical circuits for Electronic Interlocking (Report no. SS/137/2013
Reference: RB 2010/Sig/WG/IP dated 02.05.2012)
Page 3 Version 1.0
Report On Review of Electronic Interlocking (EI) Application Data Design
1.6 Application Data can broadly be divided into 3 categories (i) VDU Data (ii)
Application Data (iii) Configuration Data.
The precompilers also may consider configuration data required for their
systems. The configuration may include virtual I/O, physical I/O, communication
protocols etc.
1.7 Electronic Interlocking vendors have to prepare standard GUI Editor to take
standardised FPD to translate them into their native style for further compilation
and generation of VDU data and VDU binary.
-Signed-
(P. Venkata Ramana)
Senior Professor Signal, IRISET
& Convener
-Signed-
(Shri G. K. Dwivedi)
Chief Signal & Telecom Engineer/Construction
South Western Railway/ Bangalore Cantonment
& Committee Member
-Signed-
(Shri Tarun Prakash)
Chief Signal Engineer
Northern Railway, New Delhi
& Committee Member
-Signed-
(Shri Anurag Goyal)
Executive Director/Signal
Research, Development & Standards Organisation, Lucknow
& Committee Member
2. Roadmap
2.1 A Working Group preferably consisting of three members with Software
Knowledge, Circuit Design knowledge and Construction Experience have to be
constituted. The work carried out by the earlier workgroups2 have to be
reviewed to define the following:
● Station Layout
○ Nomenclature of signal functions
○ Standardisation of Pictorial Symbols
○ Standardisation of Notes, Aspect Control Chart, etc.,
● Table of Control
○ Standardisation of Columns and their Labels
○ Standardisation of Column Entries
○ Standardisation of Notes
● Circuits
○ Standardisation of Circuits
○ Nomenclature of Relay contacts
○ Symbols
● Application Logic
○ Standardisation of Boolean Operators
○ Syntax and Semantics of Statements
2.2 Precompilers have to make ready by the approved EI vendors,, after issuance of
Standardised Design Guidelines
2.3 After completion of above activities, each zonal Railway has to try out a
standardised version of plan and circuits at one station where EI system is being
installed. Precompilers are to be used to generate Application Data Design.
2
(a) Working Group on Standardisation of Signalling Principles and Interlocking Practices have formulated
Directive Principles and Typical Circuits for End Cabin Motor operated points (RB 2010/Sig/WG/Interlocking
Principle dated 13/22-10-2010)
(b) RDSO Report on Standardisation of the typical circuits for Electronic Interlocking (Report no. SS/137/2013
Reference: RB 2010/Sig/WG/IP dated 02.05.2012)
Page 5 Version 1.0
Report On Review of Electronic Interlocking (EI) Application Data Design
Standard GUI Editors are to be used for generation of VDU Data. Feedback from
the railways will help in modifications and corrections to above Design
Guidelines.
3.1 Indian Railways have 6000 block stations and out of which 1200 stations are
equipped with Electronic Interlocking systems of different makes namely
Microlok II, Westrace VLM 6 & Mark II, MEI 633, AZD-Praha, SIMIS S , VHLC,
spreading over 15 zones. Architecture varies from make to make so is Application
Data Design processes. Even Logic circuits adopted for such systems are varying
from zone to zone.
VHLC Warm 13 16 4 1 9 3 46
Hot 19 3 11 33
SICAS
Warm 9 1 1 1 10 6 28
K5BMC Hot 1 7 2 12 1 6 6 35
MEI633 Hot 14 5 3 45 5 9 17 26 1 6 7 19 157
Total 31 74 47 0 124 145 68 87 81 16 122 132 110 63 57 34 1191
3.3 Further, RDSO has prepared Report on Standardisation of the typical circuits for
Electronic Interlocking (Report no. SS/137/2013 Reference: RB 2010/Sig/WG/IP
dated 02.05.2012).
● Railway design staff have to be familiar with all 4 vendors tools &
processes
● Significant design representation variations between and within zones -
may lead to delays and errors
● Separate training needs for each vendor specific design process
● Unable to apply Generic Tools such as Model Checkers etc., in the absence of
standardised representation
● Important steps - design & verification - are to be done fully manually or
heavily dependent on vendors
Application Data Design involves two parts for any Electronic Interlocking System
(i) Application Data Design for Processor and (ii) GUI Design for VDU.
4.1.1 (i) Application Data Design Process Flow of Microlok is comprehensive and the
simplest. Designer has to deal with only one source file for generation of
application binary. The source file will have, apart from boolean equations,
declaration of vital and nonvital bits, mapping of these bits with physical I/O,
local interface declarations and communication protocol and timing declarations
etc., in well structured manner.
-----------------------------------------------------------------
PRAGMA < compiler option string >
PROGRAM < program name >;
INTERFACE < interface definitions >
LOCAL < physical I/O>
COMM < serial I/O>
BOOLEAN BITS < bit list>;
NV.BOOLEAN BITS < bit list>;
TIMER BITS < bit list>
LOG BITS < items to log >
CONSTANTS < constant definitions >
ARRAYS < array definitions >
CONFIGURATION < configurations>
-----
LOGIC BEGIN
< boolean statements>
END LOGIC
TABLES BEGIN
< table definitions >
END TABLES
NUMERIC BEGIN
< numeric blocks >
END NUMERIC
END PROGRAM
-----------------------------------------------------------------
4.1.3 The compilation of the source file (.ml2) will generate debug symbol file (.mld)
and listing file (.mll). Listing file contains errors, warnings for missing syntax or
declarations, bits usage, unused variables, I/O jumper settings, summaries,
checksums and CRC. If no error are found, the compiler will generate application
binary (.mlp). Application binary file will be transferred to CPU flash ram of the
EI System.
4.2 (ii) GUI Design for VDU - GUI design involves preparation of station layout using
Graphic Editor - TrakPlan, assignment of indication bit mapping and control bit
mapping, preparation of various GUI associated CSV files and preparation of an
almanac; NVP Data Checker verifies these files. On compilation of these files, a
Local Control Panel (LCP) Configuration file is generated which is deployed in
VDU PC by VDU software installer.
VDU GUI is prepared using PC Graphic Editor (PCGE) and this VDU data along
with mapping information is compiled by Westcad to generate VDU binary
which is placed in VDU PC.
TOC tool generates extended Table of control (ETOC) and boolean logic directly.
Logic Data Generator (LDG) Compiler compiles the boolean logic along with
interface data into application binary. Application binary is placed in F486-4I
card of EI system.
VDU Data is prepared with GUI tool and is compiled with mapping information
into VDU binary which is placed in VDU PC.
Yard Data Compiler Fitter (YDCF) compiles manually prepared boolean logic
along with interface data into application binary which is placed in Vital
Interlocking Computer (VIC) and Communication Controller (CCC) cards of EI
system.
VDU Layout is prepared on Yard Data Compiler Front End Tool (YDC-FET). After
compilation with mapping data, VDU binary is generated which is placed in VDU
PC.
Testing FAT
Deployment SAT
Non-Interlocking
Config & Change Mgmt
Project Management
Iterations
Standardisation can have 4 stages. Standardisation of SIP and FPD can be in Stage
1, standardisation of TOC in Stage 2, standardisation of Logic Circuits and
Equations in Stage 3 and development of pre-compiler and standard GUI Editor
in stage 4.
Indian Railways has carry out first 3 stages and Approved EI Vendors have to do
last stage.
A tool suite is being developed for railways which includes a GUI-based layout
editor to capture a given yard layout and to generate the corresponding control
table. Yard specific safety properties in the form of temporal logic formulae from
the control table according to railway signalling principles are also generated as
part of this tool suite. The tool suite also contains a logic generator tool to
generate Boolean relay logic equations from the control table. Corresponding
ladder logic diagrams are also generated for visualisation. The relay logic
equations generated by the logic generator tool are used for formal modelling
the interlocking system which is then verified with respect to safety properties
using the NuSMV model checker. After verification of these auto-generated relay
logic circuits, these validated logic circuits can be used as specifications for EI
application implementation by vendors.
Till Railways will have the reliable tool, the possibility of Validation and
Verification of application data can also be explored by the industry.
7. Committee Meetings
Meeting I
Shri Sivakumar, TSTS has demonstrated the tool which has generated ROC and
Interlocking Circuits through Signal Layout.
Shri Jayaraman, Siemens and Shri Srinivasa Rao, Medha have presented their
design processes.
Meeting II:
The committee deliberated on the issues. At present all vendors are preparing GUI
using proprietary GUI tools with which VDU Layouts are being generated.
The committee has felt that, apart from standardisation of pre-compiler. There is
a need to standardise GUI tool
8. Terms of Reference