Abstract

VBTC (vehicle-to-vehicle communication based train control) has gradually become an important research trend in the field of rail transit. This has resulted in advantages of decreasing the number of pieces of wayside equipment and improving the efficiency of real-time system communication. Characteristics and mechanism of train-to-train communication, as key implementation technology of safety critical system, are given and discussed. A new method, based on the LTS (labelled transition system) model checking, is proposed for verifying the safety properties in the communication procedure. The LTS method is adapted to model system behaviours; analysis and safety verification are checked by means of LTSA (labelled transition system analyzer) software. The results show that it is an efficient method to verify safety properties, as well as to assist the complex system’s design and development.

1. Introduction

With rapid development of urbanization, demands from increased living standards and travel lead to requirement of rapid development of urban transit transport. Signal system, as an important role of traffic safety, is to ensure traffic safety, shorten the operation interval, and improve traffic efficiency [1]. CBTC (communication based on train control) system adding wireless communication technology into traditional ground interlocking control system, which makes moving block operation mode under double protection of ground ATP (automatic train protection) and vehicle ATP, provides protective speed based on real-time speed from vehicle [2, 3]. CBTC system has a great advantage in terms of transportation capacity and system safety, and its great development in urban transit signalling system contributes to lower the urban traffic pressure [4, 5].

The next generation of train control system welcomes a new research field that follows on from the mature development of CBTC system and modern communication technology. VBTC system is a good example in attractive research trend [6]. The system is designed to improve train automotive control, reduce system coupling for better efficiency, and lower cost [7]. Train-to-train communication is the main supporting architecture in VBTC, whose simple structure has the advantage of decreasing equipment number and lowering construction and maintenance cost. Direct communication among trains in real time should decrease the impact from delay caused by undirected wireless communication and improve overall system efficiency[8, 9].

Although VBTC brings out innovative results by optimizing communication methods, it originally belongs to safety critical system, which requires design phase needed to be verified carefully to the extent of safety and security. Formal modeling is the process of converting the natural description language into a formal description language during the system's requirement design phase, which can improve the completeness and consistency of the system design. According to the description of the system characteristics, it can be divided into two categories: one is used to describe the system sequence characteristics based on mathematical analysis methods, such as Z method [10], B method [11], and VDM method [12]; the other method is preferable to describe concurrent characteristics of system, such as Petri net [1315], finite automata [16, 17], and LTS [18].

Different from other formal methods, LTS has the unique ability to analyze the countably infinite set of states and actions of system and infinite interactive branching, so it is appropriate for reactive and concurrent system behaviour. It provides method to trace state transit behaviour, identify observable states, and evaluate sequence of performed actions. As an ideal tool to verify concurrent and complex system, it gains a great achievement in the application of verifying safety protocol RSSP-1 [19] and needs of ERTMS/ETCS system [20]. This paper focuses on formal modeling and verification based on LTS method for train-to-train communication logic in the architecture of VBTC.

In the rest of this paper, we firstly define and describe new architecture of VBTC and make comparison with CBTC in Section 2. In Section 3, LTS and its auxiliary analysis tool LTSA software are introduced and adopted to model the behaviours of train-to-train communication. Safety property of train-to-train communication is verified in Section 4. Comparisons in the aspect of application and performance are listed using LTS method and traditional human checking method in Section 5. Finally, the conclusions are presented in Section 6.

2. The Architecture of VBTC

VBTC system is shown in Figure 1. Its five cardinal parts are central ITS (intelligent train supervision system), TMC (train management center), OC (object controller) belonging to wayside systems, IVOBC (intelligent vehicle on board controller) installed in vehicle, and DCS (data communication system), which provides data transmission link between static equipment and moving train. Main functions of each system are illustrated as follows.

Central ITS is in charge of train operation schedule, monitoring all the conditions of other systems, and processing safety related events. All the trains on line should interact with central ITS based on periodic and reliable communication. Central ITS checks status of every section to make sure safety of the whole line operation. It will provide all the necessary information required for trains to identify what trains are in front or behind.

TMC is responsible for the storage and distribution of electronic map, system configuration data, and temporary speed limits. Its communication mode should be aperiodic or passive response.

OC is a new kind of wayside equipment control unit. It collects and sends status of control objects in response to request of trains and central ITS; at the same time, it receives control information as operation input. Passive communication is interactive mode of this type of unit.

IVOBC is the core of VBTC system. It inherits all the features of ATP (automatic train protection) and ATO (automatic train operation) and V2I (vehicle-to-infrastructure) communication in CBTC system; IVOBC also develops the new functions of route plan, route safety protection, and moving authority calculation.

DCS should support multiple communication protocols as an important bridge link for IVOBC and other systems, for communication standards should vary adaptively with distance parameters in the adjacent trains. For instance, a train should communicate with other trains by the communication form of LTE-V2X in long range, and it chooses direct-to-direct communication form when range is less than 1km.

The property differences between VBTC and CBTC system are compared in the five aspects of system components, train-to-train communication mode, train control mode, wayside equipment, and daily maintenance (see Table 1).

3. Formal Modeling and Verification Methodology Based on LTS

The communication cooperation among trains has the characteristics of complex concurrency and logic synchronization. Therefore, LTS method is selected by the advantage of accurate description of system behaviour in real time and concurrency. The train-to-train communication cooperation strategy in VBTC is modeled by LTS method, which provides a basis for subsequent simulation and verification analysis.

3.1. Formal Definition of LTS

Let represent the universal set of states including a designated error state . is the universal set of labels and acts as, where denotes an internal actions that cannot be observed by the environment of an LTS.

An LTS of a process is a quadruple, where(1) is a countable finite and nonempty set of states,(2) is a countable set of labels , where denotes the alphabet of , and ,(3) denotes a transition relation that maps from a state and an action onto another state,(4) indicates the initial state of .

The only LTS that is allowed to have the error state as its initial state is , named . The alphabet of this process .

An LTS transits with action into , denoted as , if(1),where and ,(2), and .

means that such that .

End states such that an LTS is terminating if there is a state and for all .

LTSA software, as an auxiliary analysis tool based on LTS, can animate and check the behaviour of the overall system before it is implemented. It focuses on the aspect of concurrency, provides methods to model animation to visualize system behaviour, and gives mechanical verification of system properties including safety and progress. LTSA program supports process algebra notation, such as FSP (finite state process), for concise description of system component behaviour [21].

3.2. Train-to-Train Communication Mechanism

Train-to-train communication can be broken down into a set of simpler activities, its mechanism should include at least three basic functions: (a) identification of train in front, (b) communication status management between train and the train in front, and (c) communication status management between train and the following train. These activities are not executed one after the other in a strictly fixed order in the physical world. In fact, it is noticing that these activities are permitted to overlap or occur concurrently in certain scenarios.

(a) Identification of Train in Front. It is accessible to get numbers ID information of other trains when a train enters recognizable region in touch with central ITS. After a train confirms all the trains in the same region in the mode of calling and answering, it begins to identify and confirm the train in front. The procedure of this stage is shown in Figure 2.

(b) Communication Status Management between Train and the Train in Front. Implementation of the stage should be divided into four steps as follows:(1)Get the train ID in front and check tracing condition requirements.(2)Send the tracing establishment request message when tracing condition is satisfied.(3)Wait and receive tracing establishment reply from train in front; the communication between train and the front should be closed if communication time is over the designed parameter of time gate.(4)It is successful to enter tracing mode after train accepts reply from the train in front; otherwise the train should resend tracing establishment request message in the case that communication between train and the front status is still valid, or the train rebuild tracing link from the beginning if communication time is over the designed parameter time gate.

The procedure of this stage is shown in Figure 3.

(c) Communication Status Management between Train and the Following Train. It is similar to the previous stage. The tracing mode is triggered by the following train; confirmation message is sent by the train in response to the tracing request of the following train. Train will check condition after receiving message. The procedure of this stage is shown in Figure 4.

3.3. Simulation and Verification

Designed to be easily machine readable, FSP is a simple algebraic notation to describe process models; each description of state in LTS has a corresponding FSP description. The semantics of basic FSP can be easily defined in terms of LTS, and LTSA software has the function of depicting the LTS by FSP language as a graph. In the following, their correspondence is defined by the function inwhere is the set of FSP process expressions and represents the set of LTSs. The function is defined inductively on the structure of FSP process expressions.

After analyzing train-to-train communication workflow in the Section 3.2, action sets of system behaviour are illustrated by alphabet sets A, while system process S and intermediate transition process variables Mi,( i=1,2,...9 ) should be defined in FSP language as follows.

A=, inisysOK, inisysBad, sndReqTrain, rcvFdReqTrain, checkTrainID, rcvReqTrain, reqTraintimeout, trainAlarm, sndITS, isTrainPos, trainisFront, trainisBack, sndBldTracReq, bldTracReqTimeout, rcvBldTracAns, checkTracCond, tracCondisOK, tracCondNotOK, setTracMode, selfFixBlock, selfTracingMode, sndDismissTracReq, S = M1,M1 = ( inichk->inisysOK->M2 inichk->inisysBad->M3 ),M2 = ( sndReqTrain->rcvFdReqTrain->checkTrainID->M4 rcvReqTrain-> checkTrainID->M4 sndReqTrain ->reqTraintimeout->M3 ),M3= ( trainAlarm->sndITS->M1 ),M4= ( isTrainPos->trainisFront->M5 isTrainPos->trainisBack->M6 ),M5 = (sndBldTracReq-> M6 sndBldTracReq ->bldTracReqTimeout -> M3),M6 = ( rcvBldTracAns->M8 ),M7 = (checkTracCond->tracCondisOK->M8checkTracCond->tracCondNotOK-> M9 ),M8 = ( setTracMode->selfFixBlock->M2 setTracMode->selfTracingMode->M5 ),M9 = ( sndDismissTracReq->rcvDismissTracAns ->M8 sndDismissTracReq->dismissTracReqtimeout ->M3 ).

Detailed explanations of actions in FSP language are shown in Table 2.

By means of LTSA software, the graphic transition actions and processes of train-to-train communication model are shown in Figure 5. The nodes in the Figure 5 represent states of the system, and transitions are depicted by connecting edges. It is noticed that no error label -1 is shown in these model checking result. The verification results by LTSA in Figure 6 give that there is no deadlock or logic violations in 19 states before the model is implemented into executable codes.

4. Safety Verification

In the design phase of VBTC, there exist some dangerous situations that should never not be allowed to occur. Designers and programmers should take careful and thoughtful actions to these dangerous situations. Fault-oriented safety principle is convention in the engineering field of rail transit. The prohibited system requirements should be listed and fulfilled in the final implementation of system.

The following actions are prohibited; the safety aspects should be verified strictly as safety property in the system model.(1)Send request message to other train when the initialization check of self system fails.(2)Send request message to other train when train alarms for error.(3)Send build tracing request message to other train in the case of timeout for request message.(4)Tracing condition should not be satisfied in the case of timeout for built tracing request.(5)The mode is not allowed to be set tracing mode in the case of timeout for tracing request message.(6)The mode is not allowed to be set tracing mode when tracing condition is unsatisfied.

The safety property in these unacceptable behaviours above modeled by FSP language is follows:property TrainSafety = Safe,Safe =(inisysBad -> sndReqTrain -> Safe trainAlarm-> sndReqTrain -> SafereqTraintimeout -> sndBldTrackReq -> SafebldTrackReqTimeout -> trackCondisOK-> SafedismissTrackReqtimeout -> selfTracingMode ->SafetrackCondNotOK -> selfTracingMode-> Safe).

It appears a mistake state labelled ‘–1’ in the system in Figure 7, which means that, in all transition traces begun from initial state, there are no exceptional transition lists from to (6). It can be confirmed that the model of system satisfies the safety requirements.

5. Application and Performance

The formal modeling and verification method presented above is used in the deployment of train-to-train communication program. In order to evaluate the efficiency of the LTS modeling method, two independent developing teams with the same labour and similar technical experience are assigned to fulfill the program.

Both teams start the task simultaneously, and eight hours is their work time in one day. The entire developed procedure is divided into two stages, developing phase and testing phase. The main task of the first phase is to convert executable code from model based on the system requirement; testers in the second phase focus on errors occurring in the executable code, analysis, and classification of their reason. Operating time and categorized bugs are recorded in summary as important evaluation parameters in Table 3.

It turns out to be more efficient and time-saving to use the LTS method compared with the conventional method. Approximately 51% of the total developing time is saved. Less time consumption did not lead to quality reduction. On the contrary, formal modeling and verification make further improvement on the quality. By analyzing errors in the test phase, we find that 17 out of 25 bugs by traditional method are derived from logic errors, and the remaining are due to data configuration. Statics show that logic bugs are attributed to two reasons in the developing phase. The first one is uncertain and ambiguous system requirements, which give programmers vague understanding of system behaviour; the other reason is some dangerous system behaviour unpredicted by programmer by the limits of manual screening. All these traps are avoided by LTS model developer. All the seven data bugs in LTS model come from wrong engineering data, none from control area of LTS model. Nearly 72% reduction in the design flaws proves the powerful ability of LTS formal method. The comparison experimental results indicate that LTS model absolutely helps developer shorten design cycle and improve software quality.

6. Conclusion

With the final goal of allowing designers to describe train-to-train communication safely and efficiently, this paper presents a novel method for modeling and verifying such real-time systems. The train-to-train communication mechanism is described in FSP language which introduces logic properties in a simple and explicit manner. LTS model for train-to-train communication is built, and the function requirements as well as safety properties are verified with the aid of LTSA software. In the system simulation, LTSA verification software shows a powerful tool for complex systems by visualizing train-to-train LTS model. It thoroughly animates and checks whether the specification of candidate system satisfies the properties required, and it supports specification animation to interactively research on system behaviour. Simulation and verification results indicate that LTS method provides great assistance for designers to develop more efficient and reliable real-time systems.

Conflicts of Interest

The author declares that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

The research work has been supported by Key Project of China Academy of Railway Sciences (1651TH5302, 1651TH6603, and 1752TH1004); the National Natural Science Foundation of China (no. 61603026); Beijing Natural Science Foundation (L171004).