A verification method and verification system for a train control system based on communication
Through the combination of STPA and Event-B methods, the establishment of hierarchical processing and verification models, the security issues caused by the complex design of the CBTC system are solved, ensuring the correctness and security of the system, and avoiding the occurrence of harmful events.
Patent Information
- Application Number
- CN202211441041.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-17
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The design of the communication-based train control system (CBTC) is complex, resulting in design defects that lead to serious disasters and frequent accidents. How to ensure the correctness of system development to avoid the occurrence of hazardous events is an urgent problem that needs to be solved.
The system theory analysis method (STPA) is used to perform hierarchical processing on the CBTC system, identify the safety control structure and generate safety constraints, and combine it with the Event-B method to establish a verification model to verify the control behavior and ensure system security.
Through the combination of STPA and Event-B methods, a verification model was established to effectively verify the control behavior of the CBTC system, ensure the correctness of the system, and avoid the occurrence of harmful events.
Smart Images

Figure CN115808907B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of train safety control, and in particular to a verification method and a verification system for a communication-based train control system. Background Art
[0002] Communication Based Train Control (CBTC) technology breaks the inherent limitations of traditional railway signals based on track circuits. Through the coordination of software computing, network communication and automated control, it provides more flexible and precise train control, continuous safe train interval guarantee and overspeed protection. It also has equipment such as on-board and ground processors that can perform safety functions to realize mobile blocking technology. Due to the high-frequency real-time collaboration of components involved in the CBTC system, the design and implementation of the system are extremely complex, and serious disasters, accidents and losses caused by design defects are common. Therefore, how to ensure the correctness of CBTC system development and avoid the occurrence of harmful events has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] The purpose of the present invention is to provide a verification method and a verification system for a communication-based train control system to ensure the correctness of CBTC system development and avoid the occurrence of harmful events.
[0004] To achieve the above object, the present invention provides the following solutions:
[0005] A verification method for a communication-based train control system, the verification method comprising the following steps:
[0006] According to the requirements of the communication-based train control system, a control structure of the communication-based train control system is obtained;
[0007] The control structure is hierarchically processed by using the STPA method to obtain a three-level nested safety control structure; the three-level nested safety control structure is a first-level safety control structure, a second-level safety control structure, and a third-level safety control structure from the inside to the outside;
[0008] The STPA method is used to identify unsafe control behaviors at each layer of the safety control structure and generate safety constraints for each layer of the safety control structure.
[0009] According to the three-level nested safety control structure and the safety constraints of each level of the safety control structure, the control structure is modeled using the Event-B method to obtain a verification model of the communication-based train control system;
[0010] The control behavior of the communication-based train control system developed and generated is verified based on the verification model.
[0011] Optionally, the control structure includes an automatic train monitoring system, a zone controller, an interlocking system and an onboard controller;
[0012] The automatic train monitoring system is connected to the regional controller; the automatic train monitoring system monitors all trains in the control area according to the status information of all trains in the first control area; the first control area is the control area of the automatic train monitoring system;
[0013] The regional controller is connected to the interlocking system; the regional controller is used to send a train arrangement route request command to the interlocking system in the turnout area, and the interlocking system is used to control the state of the signal and the position state of the turnout according to the train arrangement route request command, and feed back the state information of the signal and the state information of the turnout to the regional controller;
[0014] The regional controller is also connected to the vehicle-mounted controller, and is used to send a train control command to the vehicle-mounted controller, wherein the train control command includes a movement authorization command and a temporary speed limit command;
[0015] The on-board controller is used to control the train according to the train control command and feed back the train status information to the regional controller.
[0016] Optionally, the first-layer safety control structure includes a control loop formed by an on-board controller and a column;
[0017] The second-layer safety control structure includes a control loop formed by a regional controller and an on-board controller;
[0018] The third-level safety control structure includes the control loop formed by the interlocking system and the area controller, the control loop formed by the interlocking system and the switch, and the control loop formed by the interlocking system and the signal.
[0019] Optionally, the security constraints of the first-layer security control structure include:
[0020] The train position cannot exceed the range specified by the movement authorization command;
[0021] The train speed cannot exceed the maximum speed;
[0022] The areas occupied by any two trains cannot overlap.
[0023] Optionally, the security constraints of the second-layer security control structure include:
[0024] The movement authorization command sent by the regional controller should not conflict with the movement authorization command sent to other trains in the second control area; the second control area is the control area of the regional controller;
[0025] The range defined by the movement authorization command sent by the zone controller should not be occupied by other trains in the second control area.
[0026] Optionally, the security constraints of the third-layer security control structure include:
[0027] The CI route within the range defined by the mobile authorization command must be an authorized route, and the CI route is the route information in the operation task sent by the automatic train monitoring system to the regional controller;
[0028] It must be ensured that the turnout position within the range specified by the movement authorization command is the turnout position required by the train running route;
[0029] When the switch downstream of the signal is safe and locked, the signal should be controlled to green;
[0030] When the locked switch is occupied by a train, the signal should be controlled to red;
[0031] When there is no safe and locked switch downstream of the signal, the signal should be controlled to red.
[0032] Optionally, the control structure is modeled using the Event-B method according to the three-level nested safety control structure and the safety constraints of each level of the safety control structure to obtain a verification model of the communication-based train control system, specifically including:
[0033] The change information of each device in each layer of the safety control structure is defined as a variable, and the unchanged information of each device in each layer of the safety control structure is defined as a constant; the device is a train automatic monitoring system, a zone controller, an interlocking system, an on-board controller, a train, a turnout or a signal; the change information includes command information and status information, and the unchanged information includes train operation tasks;
[0034] Use invariants to express the relationship between different variables, the relationship between different constants, and the relationship between variables and constants;
[0035] The safety constraints of each layer of safety control structure are expressed using invariants;
[0036] The Event-B method is used to describe events in each layer of the security control structure; the events include the conditions for command execution and the results of command execution.
[0037] The corresponding verification model-based verification method for the control behavior includes: determining whether the variables in the control behavior meet the constraint conditions, executing the control behavior, that is, the event occurs, and whether the result of the command execution obtained meets the constraint conditions.
[0038] A verification system for a communication-based train control system, the verification system being applied to the above-mentioned verification method, comprising:
[0039] A control structure acquisition module, used to acquire the control structure of the communication-based train control system according to the requirements of the communication-based train control system;
[0040] A hierarchical processing module is used to hierarchically process the control structure using the STPA method to obtain a three-level nested safety control structure; the three-level nested safety control structure is a first-level safety control structure, a second-level safety control structure, and a third-level safety control structure from the inside to the outside;
[0041] The safety constraint generation module is used to identify unsafe control behaviors of each layer of the safety control structure using the STPA method and generate safety constraints for each layer of the safety control structure;
[0042] A modeling module, for modeling the control structure using an Event-B method according to the three-level nested safety control structure and the safety constraints of each level of the safety control structure, so as to obtain a verification model of the communication-based train control system;
[0043] A verification model is used to verify the control behavior of the communication-based train control system developed and generated based on the verification model.
[0044] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned verification method when executing the computer program.
[0045] A computer-readable storage medium stores a computer program, which implements the above verification method when executed.
[0046] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0047] The present invention discloses a verification method and verification system for a communication-based train control system, the verification method comprising: obtaining a control structure of a communication-based train control system according to the requirements of the communication-based train control system; hierarchically processing the control structure using the STPA method to obtain a three-level nested safety control structure; identifying unsafe control behaviors of each level of the safety control structure using the STPA method to generate safety constraints for each level of the safety control structure; modeling the control structure using the Event-B method according to the three-level nested safety control structures and the safety constraints of each level of the safety control structure to obtain a verification model of a communication-based train control system; and verifying the control behavior of the communication-based train control system developed and generated based on the verification model. The present invention verifies the control behavior of the communication-based train control system developed and generated by using the verification model established by the STPA method and the Event-B method to ensure the correctness of the CBTC system development and avoid the occurrence of hazardous events. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0049] Figure 1 A flow chart of a verification method of a communication-based train control system provided by an embodiment of the present invention;
[0050] Figure 2 A control structure of a CBTC system provided by an embodiment of the present invention;
[0051] Figure 3 A schematic diagram of a train tracking operation scenario provided by an embodiment of the present invention;
[0052] Figure 4 A three-level nested safety control structure diagram of a CBTC system provided in an embodiment of the present invention;
[0053] Figure 5 A hierarchical structure diagram of a model provided by an embodiment of the present invention;
[0054] Figure 6 A schematic diagram of a control loop formed by a vehicle-mounted controller and a column provided in an embodiment of the present invention;
[0055] Figure 7 A schematic diagram of a control loop formed by a regional controller and a vehicle-mounted controller provided in an embodiment of the present invention;
[0056] Figure 8 A schematic diagram of a control loop formed by an interlocking system and a zone controller provided in an embodiment of the present invention;
[0057] Fig. 9 A schematic diagram of a control loop formed by an interlocking system and a fork provided in an embodiment of the present invention;
[0058] Fig.10 A schematic diagram of a control loop formed by an interlocking system and a signal machine provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] The purpose of the present invention is to provide a verification method and a verification system for a communication-based train control system to ensure the correctness of CBTC system development and avoid the occurrence of harmful events.
[0061] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0062] like Figure 1 As shown, a verification method of a train control system based on communication provided by an embodiment of the present invention comprises the following steps:
[0063] Step 1: Requirements extraction of CBTC system.
[0064] The CBTC system includes two categories: ground equipment and on-board equipment. The data communication equipment distributed on the trackside, trains and control center is used to realize data communication between ground equipment, between ground equipment and on-board equipment, and within on-board equipment. It mainly includes the Automatic Train Supervision (ATS), Zone Controller (ZC), Computer Based Interlocking (CI) and Vehicle On-Board Controller (VOBC). The control structure of the CBTC system is as follows: Figure 2 As shown, Figure 2 The computer interlocking CI in the system is the interlocking system CI.
[0065] The relationship between different components of the CBTC system is as follows: Figure 2 As shown, the following is a brief description of these components:
[0066] Automatic Train Monitoring System ATS: ATS is mainly responsible for centralized monitoring and management of all trains in the first control area. It is the command center of the CBTC system. By monitoring the position, running speed and other equipment status of the train, it can realize train identification and tracking, automatic route arrangement, automatic train adjustment and operation diagram management, etc., and assist the central dispatcher in managing the trains on the entire line.
[0067] Zone controller ZC: ZC is installed on the trackside and is the core ground equipment of the CBTC system. It is the key to the CBTC system to achieve mobile blocking. ZC sends movement authority (MA) commands and temporary speed restriction (TSR) commands to trains in the responsible area (second control area) according to the train position information, route status information and other relevant information in the responsible area (second control area). ZC provides an interface with the interlocking system CI to realize the control and status supervision of trackside equipment at the CBTC system level.
[0068] Interlocking system CI: Based on the principle of mobile blocking in CBTC mode, the regional controller ZC can perform most of the interlocking functions. Outside the turnout area, the regional controller ZC arranges the train route information. In the turnout area, the regional controller ZC sends a request to the interlocking system CI to arrange the train route. CI executes the command received from ZC, such as setting the signal display to allow or prohibit, moving the turnout to the fixed position or reverse position. At the same time, CI provides the status of the signal, the status of the turnout, and the axle counting section to ZC.
[0069] Onboard controller VOBC: When the train passes the ground transponder, VOBC receives the information sent by the ground transponder and calculates the current position information of the train based on the speed sensor. OBC will periodically send the train position information to ZC. When ZC sends MA to VOBC, VOBC will be responsible for controlling the train to run within the range of the current MA command limit. At the same time, VOBC will monitor the stopping distance under the most unfavorable conditions to ensure that the train can stop within the range of the received MA command limit even in the worst case.
[0070] Step 2: According to the control structure diagram of the CBTC system in step 1, the control structure of the CBTC system is hierarchically processed by the STPA method.
[0071] Consider Figure 3 The CBTC system tracking operation scenario shown in Figure 1 is shown in Figure 2. Figure 3In the present invention, the track network is divided into several sections, and the interlocking area considered by the CBTC system in the embodiment of the present invention is mainly the turnout area (such as Figure 3 S3 and S6 in FIG. 1 ), which includes two signal machines (such as Figure 3 In this scenario, the CBTC system should correctly control train T1 so that train T1 and train T2 will never collide (the ranges defined by the MA commands of trains T1 and T2 are shown as follows: Figure 3 As shown, the range defined by the MA command of train T1 includes a CI route), and in the embodiment of the present invention, the CI route only includes the turnout section.
[0072] The control components involved in this scenario are ZC, CI, VOBC and track circuits. Based on the STPA method, the hierarchical framework of the safety control structure proposed in step 101 is hierarchically processed, and these components are combined into a safety control structure with three levels of nesting. The structure diagram is as follows: Figure 4 As shown, Figure 4 The computer interlocking CI in the figure is the interlocking system CI. According to the STPA method, the safety constraints of the identified unsafe control behaviors are also assigned to the corresponding levels.
[0073] In the first-level safety control structure, the onboard controller VOBC forms a control loop with the train, where the onboard controller VOBC is the controller and the train is the controlled object. The onboard controller VOBC sends acceleration or deceleration commands to the train based on the collected information, and the train feeds back the speed and position to the onboard controller VOBC through sensors.
[0074] In the second-layer safety control structure, the zone controller ZC and the onboard controller VOBC form a control loop, the zone controller ZC is the controller, and the onboard controller VOBC is the controlled object. The zone controller ZC will periodically generate MA commands for the trains in its jurisdiction and distribute them to VOBC. At the same time, the onboard controller VOBC will also periodically feedback the train position information to ZC so that ZC can update the train's MA command.
[0075] In the third-layer safety control structure, there are three control loops, namely, the interlocking system CI and the regional controller ZC, the interlocking system CI and the turnout, and the interlocking system CI and the signal. In the above three control loops, the interlocking system CI is the controller. When the regional controller ZC sends the train information and the CI route information involved to CI, CI authorizes the current CI route involved. The CI route mainly includes the turnout section and the signal light. After the authorization is completed, the CI route is sent to ZC. At this time, the CI route is no longer regarded as an obstacle.
[0076] Step 3: According to the three-level nested safety control structure of the CBTC system in step 2, the STPA method is used to identify unsafe control behaviors for each level of the control structure, and the corresponding safety constraints are generated. Each level of the control structure is modeled using the Event-B method, and the safety constraints are expressed using invariants. The correctness of the invariants is verified in the model to ensure that the system's hazardous control behaviors will not occur. Its main parts include the following:
[0077] Through the refined strategy of Event-B method, modeling is performed layer by layer from the bottom control structure to the high-level control structure. The safety constraints analyzed by STPA method are expressed by the invariant in Event-B method, and the correctness of the invariant is verified by the change of events, so as to ensure that no dangerous events will occur in the system. In order to reduce the complexity of modeling, in the embodiment of the present invention, when the train is tracking and running, the MA command calculated by the zone controller ZC for the rear car is to the end of the previous section occupied by the tail of the front car. The main model hierarchical structure diagram is as follows Figure 5 shown.
[0078] according to Figure 5 As shown in the figure, the model of the CBTC system is gradually refined through the Event-B refinement strategy to obtain the final model. The safety constraints obtained in the three-layer safety control structure of the system are verified at the corresponding level during the model refinement process, where the model M0_SL verifies the first-layer safety control structure, the model M1_MA verifies the second-layer safety control structure, and M2_POINT, M3_POS and M4_SIGNAL verify the third-layer safety control structure. The overview of each layer of the model is as follows:
[0079] Model M0_SL: In the initial model M0_SL, the first-level safety control structure is mainly modeled, that is, the control loop formed by the on-board controller VOBC and the train, and the safety constraints SR1-SR3 are verified during the modeling process.
[0080] Model M1_MA: Models the second-layer safety control structure, simulates the control behavior between the zone controller ZC and the on-board VOBC, and verifies the safety constraints SR4-SR5.
[0081] Models M2_POINT, M3_POS and M4_SIGNAL: Model and verify the third-layer safety control structure including the three control loops of interlocking system CI and zone controller ZC, interlocking system CI and turnout, and interlocking system CI and signal, and verify the safety constraints SR6-SR10. Among them, safety constraints SR1-SR10 are introduced later and will not be repeated here.
[0082] Through the above overview of the model hierarchy of the CBTC system, the relationship between the safety hierarchical framework (i.e., the three-level nested safety control structure) and the model refinement level is roughly described. The modeling process of the model M0_SL, M1_MA, M2_POINT, M3_POS, and M4_SIGNAL layer models and the safety constraint verification process generated in the safety hierarchical framework are described in detail below.
[0083] In the initial model, model M0_SL mainly models the first-level safety control structure. In the first-level safety control structure, only the control loop between the on-board controller VOBC and the train is considered, and the behaviors of other controllers are abstracted. Figure 6 shown.
[0084] For the first layer of safety control structure, the onboard controller VOBC will send a braking command to the train through the actuator, and the train will also feedback its speed and position information to the onboard VOBC through sensors. In this layer of safety control structure, the control behavior is analyzed based on the STPA method and three safety constraints are obtained:
[0085] SR1: The train position can never exceed the MA range;
[0086] SR2: The train cannot exceed the maximum speed limit;
[0087] SR3: The areas occupied by two trains cannot overlap.
[0088] The feedback information of the train, train position and speed, is abstracted into variables occp, trainOccpSECFront, trainOccpSECRear and train_Speed, which represent the set of sections occupied by the train, the section resources occupied by the head of the train, the section resources occupied by the tail of the train and the train speed respectively. The following invariant definitions are used for the above variables:
[0089]
[0090]
[0091] inv3: trainOccpSECRear∈dom(trainOccpSECFront)→SEC
[0092]
[0093] The relationship between the variables trainOccpSECFront and trainOccpSECRear and the variable occp is expressed by invariants inv5 and inv6. Invariant inv5 indicates that the train head occupied section belongs to the train overall occupied section resource set, and invariant inv6 indicates that the train tail occupied section also belongs to the train overall occupied section resource set.
[0094]
[0095]
[0096] For the control behavior braking of the onboard controller VOBC, the variable braking is introduced to represent it, which is defined as a subset of the trains occupying the track network. The MA range sent by the zone controller ZC to the train is abstracted as the variable train_ma in this layer model, which represents the MA range of each train and is defined as a subset of the section resources. The definition of the variable is shown in inv7 and inv8:
[0097]
[0098]
[0099] The safety constraints obtained by analyzing the first-level safety control structure are expressed using invariants. The invariants must not be violated during the modeling process, otherwise safety accidents will occur. Invariant inv9 indicates that the train position can never exceed the range specified by the MA command (safety constraint SR1), invariant inv10 indicates that the train cannot exceed the maximum speed limit (safety constraint SR2), and invariant inv11 indicates that the occupied areas of two trains cannot overlap (SR3).
[0100]
[0101]
[0102]
[0103] Take the Train_Brake event that controls the behavior variable braking as an example:
[0104] Train_Brake
[0105] ANY tt
[0106] WHERE
[0107] grd1:tt∈Trains
[0108] grd2: tt∈dom(occp)\braking
[0109] grd3: train_Speed(tt)>sl
[0110] THEN
[0111]
[0112] END
[0113] In the above event, grd1 constrains the train to belong to the set of trains in the track network, grd2 indicates that the train does not belong to the set of brake trains at this time, and grd3 indicates that the train speed is greater than the speed limit at this time. Then behavior act1 indicates that the on-board VOBC sends a brake command to the train at this time, adding the current train to the brake set.
[0114] Model M1_MA models the second-layer safety control structure in this layer model, that is, the control structure between the zone controller ZC and the vehicle controller VOBC. The zone controller ZC will periodically send the calculated MA range to the vehicle controller VOBC to continuously update the MA range of the train. The vehicle controller VOBC will also periodically feed back the train's position information to the zone controller ZC. The control loop between the zone controller ZC and the vehicle controller VOBC is as follows: Figure 7 As shown:
[0115] for Figure 7 The control behavior MA in the safety control structure is sent through the STPA method to obtain two safety constraints SR4 and SR5. In this layer model, the safety constraints SR4 and SR5 are mainly verified:
[0116] SR4: The MA sent by ZC to VOBC should not conflict with other train movement authorizations;
[0117] SR5: The section resources within the MA range sent by ZC should not be occupied by other trains.
[0118] In this layer model, the train operation task is abstracted into a set OBJ. The constant objr associates the set OBJ with the section resource set SEC, indicating the section resources contained in each operation task. The constant objrNext is introduced to indicate the continuity relationship of the section resources in the operation task, while the constants fst and lst respectively indicate the first and last sections in the operation task. The specific definitions are as follows:
[0119]
[0120]
[0121] axm3:fst∈OBJ→SEC
[0122] axm4:lst∈OBJ→SEC
[0123] The variable objt is introduced to represent the operation task issued by the automatic train monitoring system ATS for each train. For two different trains, the operation tasks are the same, so the relationship between the train set Trains and the operation task set OBJ is expressed as a full function relationship. The control behavior of the zone controller ZC sending MA to the onboard controller VOBC is represented by the variable train_MA. The above variable definitions are shown in inv12~inv13:
[0124] inv12: objt∈Trains→OBJ
[0125]
[0126] The safety constraints SR4 and SR5 in the second-level safety control structure are represented by invariants inv14 and inv15 respectively. Invariant inv14 indicates that the intersection of the MA ranges of any two trains is empty (safety constraint SR4), and invariant inv15 indicates that the section resources within the MA range of any train are not occupied by other trains (safety constraint SR5).
[0127]
[0128]
[0129] For the change of control behavior variable train_MA, this layer introduces new event Trains_Extend_Ma_Fst to indicate that the zone controller ZC allocates the first section resource in the operation task issued by ATS to the train MA range and event Trains_Extend_Ma_Others to indicate that the zone controller ZC allocates other section resources in the operation task issued by ATS to the train MA range. For the above events, event Trains_Extend_Ma_Others is used as an example here.
[0130] Trains_Extend_Ma_Others
[0131] ANY tt s s1
[0132] WHERE
[0133] grd1:tt∈Trains
[0134]
[0135] grd3: s∈train_MA(tt)
[0136]
[0137] grd5:s1∈objr(objt(tt))
[0138]
[0139]
[0140]
[0141]
[0142] THEN
[0143]
[0144] END
[0145] In the above event, the guard condition grd4 indicates that the current segment resource does not belong to the MA range of the current train, grd6 and grd7 ensure that the current segment resource is not a segment resource within the movement authorization range of other trains, and grd8 ensures that the current segment resource is not occupied by other trains. Then the action act1 expands the range of the variable value train_MA. However, after the segment resource is expanded, the variable train_MA can still satisfy the safety invariants inv14 and inv15, otherwise a dangerous event will occur.
[0146] Model M2_POINT: This model is the initial model of the third-layer safety control structure, which mainly models and verifies the control behavior between the interlocking system CI and the regional controller ZC. When the regional controller ZC obtains the operation task issued by ATS, it determines whether the operation task includes the CI route. If it does, it requests the route from the interlocking system CI. The interlocking system CI will determine whether it can send the authorized route behavior to the current ZC based on the status of the turnout and signal. The control loop between the interlocking system CI and the regional controller ZC is as follows: Figure 8 As shown, Figure 8 The computer interlocking CI in the system is the interlocking system CI.
[0147] Figure 8 The control behavior approach authorization in the STPA method identifies unsafe control behaviors and obtains safety constraint SR6. The correctness of SR6 needs to be verified in this layer model.
[0148] SR6: CI routes within the train MA range must be authorized routes.
[0149] In the embodiment of the present invention, the interlocking part and the section resources are subdivided into linear sections and turnout sections. For the CBTC system, the scope of the interlocking system CI is mainly the turnout section, so in the embodiment of the present invention, the MA command for the turnout part is determined to be modeled in the manner of the interlocking system CI. The constant Point is introduced to represent the turnout section set, and its definition is as follows:
[0150]
[0151] The control behavior of the interlocking system CI sending route authorization to the zone controller ZC is represented by the variable Point_Res, which is defined as the set of locked turnouts in the track network. The variable Point_Res_Train represents the turnouts locked by the system for the train. The locked turnout set and the train are represented as a full function relationship. The definitions of the variables are shown in invariants inv16 and invariants inv17. Invariant inv18 indicates that the turnouts locked for the train are the section resources in its operating mission. The variable Point_Res_Train is associated with the variable objt to strengthen the constraint.
[0152]
[0153] inv17: Point_Res_Train∈Point_Res→Trains
[0154]
[0155] The safety constraint SR6 to be verified at this layer is formalized as the invariant inv19, which means that the turnout section resources within the MA range of any train are locked turnout resources.
[0156]
[0157] For the change of the control behavior variable Point_Res, this layer model introduces a new event Point_Reser ve to authorize the unauthorized turnout. In this layer model, because the details of the turnout have not been fully introduced, the guard condition grd3 determines that the turnout is not authorized and is not occupied by any train, grd5 determines that the current turnout does not belong to the MA range of other trains, and grd6 and grd7 constrain the turnout and the section resources within the MA range of the current train to be continuous. Then the behaviors act1 and act2 represent the authorization of the current turnout. After the variable Point_Res changes through the behavior act1, the correctness of the invariant in v19 can still be guaranteed, otherwise it will violate the safety constraint and a dangerous event will occur. The specific code is as follows:
[0158] Point_Reserve
[0159] ANY tts
[0160] WHERE
[0161] grd1:tt∈Trains
[0162] grd2:s∈objr(objt(tt))
[0163]
[0164] grd4:s∈Point\Point_Res
[0165]
[0166] grd6: s1∈train_MA(tt)
[0167]
[0168] THEN
[0169]
[0170]
[0171] END
[0172] Model M3_POS: In this model, the control loop between the interlocking system CI and the turnout in the third-layer safety control structure is modeled. The interlocking system CI sends a turnout control command to the turnout according to the route information requested by the current zone controller ZC, and the turnout will feed back its status information to the interlocking system CI. The control loop between the interlocking system CI and the turnout is as follows: Fig. 9 As shown, Fig. 9 The computer interlocking CI in the system is the interlocking system CI.
[0173] Based on the STPA method, the unsafe control behavior of the turnout control command in this control loop is identified to obtain the safety constraint SR7.
[0174] SR7: The interlocking system CI must ensure that the switch position within the train MA is the switch position required by the train route.
[0175] In the embodiment of the present invention, the direction of the turnout in the interlocking system CI is introduced to ensure that the direction when the interlocking system CI locks the turnout for the train is the turnout direction required in the train operation task. The set POS is introduced to represent all directions of the turnout, the constant Default_Point_Pos represents the default direction of the turnout in the track network in the initial situation, and the constant OBJ_Point_Pos represents the specific direction of the turnout required in each train operation task. The specific definition is shown in axm6 to axm8. axm9 associates the constant BJ_Point_Pos with the constant objr, indicating that the turnout resources in the same operation task belong to the section resources in its operation task.
[0176] axm6:finite(POS)
[0177] axm7:Default_Point_Pos∈Point→POS
[0178] axm8:OBJ_Point_Pos∈OBJ→(Point→POS)
[0179]
[0180] The control behavior in the interlocking system CI and the turnout control loop is represented by the variable Point_Pos, which is defined as the direction of the turnout in the track network. This variable can change direction through the behavior of events to simulate the turning of the turnout. Its definition is shown in inv20. At the same time, the safety constraint interlocking system CI must ensure that the turnout position within the range of the train MA is the turnout position required by the train running route (SR7) is formalized as an invariant inv21.
[0181]
[0182]
[0183] For the change of the control behavior variable Point_Pos, this layer model introduces a new event Point_Set, which means that the interlocking system CI moves the turnout direction to the corresponding direction according to the train operation task. In the event, the guard condition grd5 constrains that the current turnout section resources are not occupied by other trains, grd6 constrains that the current turnout does not belong to the range specified by the MA instruction of other trains, grd7 and grd8 indicate that the current turnout is in a continuous relationship with the current train MA range, grd9 indicates that the turnout direction at this time is inconsistent with the turnout direction required by the train operation task, and the behavior act1 moves the turnout direction to the turnout direction required by the train operation task. After the behavior changes the value of Point_Pos, it is still necessary to maintain the safety invariant in v21, otherwise a dangerous event will occur.
[0184] Point_Set
[0185] ANY tts
[0186] WHERE
[0187] grd1:s∈Point\Point_Res
[0188] grd2:tt∈Trains
[0189] grd3:s∈objr(objt(tt))
[0190]
[0191]
[0192] grd6: s∈dom(Point_Pos)
[0193] grd7:s1∈train_MA(tt)
[0194]
[0195] grd9: Point_Pos(s)≠OBJ_Point_Pos(objt(tt))(s)
[0196] THEN
[0197]
[0198]
[0199] END
[0200] Model M4_SIGNAL: The last layer of the model mainly models the control loop between the interlocking system CI and the signal in the third layer of the safety control structure. After the interlocking system CI obtains the turnout status, it sends a signal control command to the signal according to the turnout status at this time, and the signal will feed back the signal status to the interlocking system CI. The control loop between the interlocking system CI and the signal is as follows Fig.10 As shown, Fig.10 The computer interlocking CI in the system is the interlocking system CI.
[0201] for Fig.10 The control behavior of the signal control command in the control is constrained to obtain three safety constraints SR8, SR9 and SR10. The correctness of SR8, SR9 and SR10 needs to be verified in this layer model.
[0202] SR8: The interlocking system CI should control the signal to green only when the switch downstream of the signal is safe and locked;
[0203] SR9: When a locked switch is occupied by a train, its signal light should be red;
[0204] SR10: If there is no safe and locked turnout downstream of the signal, the CI should operate the signal to red.
[0205] Introducing the signal light part in the interlocking system CI, in the embodiment of the present invention, the signal light set Signal is introduced, and the set is divided into two parts representing green and red, which are specifically defined as follows:
[0206] axm10: partition(Signal, {Green}, {Red})
[0207] The control behavior signal control command is represented by the variable Point_Signal. In the initial state, all signal lights in the track network are red, as defined by the invariant inv22. Invariant inv23 indicates that the safety constraint interlocking system CI should control the signal to green only when the switch downstream of the signal is safe and locked (SR8). Invariant inv24 indicates the safety constraint that when a locked switch is occupied by a train, its signal light should be displayed as red (SR9). Invariant 25 indicates the safety constraint that if there is no safe and locked switch downstream of the signal, CI should control the signal to red (SR10).
[0208] inv22: Point_Signal∈Point→Signal
[0209]
[0210]
[0211]
[0212] For the change of the control behavior variable Point_Signal, this layer model introduces a new event Signal_Set. The guard condition grd1 indicates that when the switch is locked by the interlocking system CI for a certain train, grd2 indicates that the signal light is still red at this time, and grd3 indicates that the switch is not occupied by other trains, then the behavior act1 changes its signal light from red to green.
[0213] Signal_Set
[0214] ANY tts
[0215] WHERE
[0216] grd1:s∈Point_Res
[0217] grd2: Point_Signal(s) = Red
[0218]
[0219] THEN
[0220]
[0221] END
[0222] Example 2
[0223] Embodiment 2 of the present invention provides a verification system for a communication-based train control system, and the verification system is applied to the above-mentioned verification method, including:
[0224] A control structure acquisition module, used to acquire the control structure of the communication-based train control system according to the requirements of the communication-based train control system;
[0225] A hierarchical processing module is used to hierarchically process the control structure using the STPA method to obtain a three-level nested safety control structure; the three-level nested safety control structure is a first-level safety control structure, a second-level safety control structure, and a third-level safety control structure from the inside to the outside;
[0226] The safety constraint generation module is used to identify unsafe control behaviors of each layer of the safety control structure using the STPA method and generate safety constraints for each layer of the safety control structure;
[0227] A modeling module, for modeling the control structure using an Event-B method according to the three-level nested safety control structure and the safety constraints of each level of the safety control structure, so as to obtain a verification model of the communication-based train control system;
[0228] A verification model is used to verify the control behavior of the communication-based train control system developed and generated based on the verification model.
[0229] The specific implementation steps of each module provided in the embodiment of the present invention are similar to the implementation methods of the verification method steps described in the above embodiment 1, as well as their working principles and beneficial effects, and are therefore not described in detail here. For specific contents, please refer to the introduction of the above method embodiment.
[0230] Example 3
[0231] Embodiment 3 of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned verification method when executing the computer program.
[0232] In addition, when the computer program in the above-mentioned memory is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk.
[0233] Example 4
[0234] Embodiment 4 of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed, the above-mentioned verification method is implemented.
[0235] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0236] The present invention discloses a verification method and verification system for a communication-based train control system, the verification method comprising: obtaining a control structure of a communication-based train control system according to the requirements of the communication-based train control system; hierarchically processing the control structure using the STPA method to obtain a three-level nested safety control structure; identifying unsafe control behaviors of each level of the safety control structure using the STPA method to generate safety constraints for each level of the safety control structure; modeling the control structure using the Event-B method according to the three-level nested safety control structures and the safety constraints of each level of the safety control structure to obtain a verification model of a communication-based train control system; and verifying the control behavior of the communication-based train control system developed and generated based on the verification model. The present invention verifies the control behavior of the communication-based train control system developed and generated by using the verification model established by the STPA method and the Event-B method to ensure the correctness of the CBTC system development and avoid the occurrence of hazardous events.
[0237] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0238] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A verification method for a communication-based train control system, characterized in that: The verification method comprises the following steps: According to the requirements of the communication-based train control system, a control structure of the communication-based train control system is obtained; The control structure is hierarchically processed by using the STPA method to obtain a three-level nested safety control structure; the three-level nested safety control structure is a first-level safety control structure, a second-level safety control structure, and a third-level safety control structure from the inside to the outside; The STPA method is used to identify unsafe control behaviors at each layer of the safety control structure and generate safety constraints for each layer of the safety control structure. According to the three-level nested safety control structure and the safety constraints of each level of the safety control structure, the control structure is modeled using the Event-B method to obtain a verification model of the communication-based train control system; Verifying the control behavior of the communication-based train control system developed and generated based on the verification model; The first layer safety control structure includes a control loop formed by an on-board controller and a column; The second-layer safety control structure includes a control loop formed by a regional controller and an on-board controller; The third-level safety control structure includes the control loop formed by the interlocking system and the area controller, the control loop formed by the interlocking system and the turnout, and the control loop formed by the interlocking system and the signal machine; The security constraints of the first-layer security control structure include: The train position cannot exceed the range specified by the movement authorization command; The train speed cannot exceed the maximum speed; The areas occupied by any two trains cannot overlap; The security constraints of the second-layer security control structure include: The movement authorization command sent by the regional controller should not conflict with the movement authorization command sent to other trains in the second control area; the second control area is the control area of the regional controller; The range defined by the movement authorization command sent by the zone controller should not be occupied by other trains in the second control area; The security constraints of the third-layer security control structure include: The CI route within the range defined by the mobile authorization command must be an authorized route, and the CI route is the route information in the operation task sent by the automatic train monitoring system to the regional controller; It must be ensured that the turnout position within the range specified by the movement authorization command is the turnout position required by the train running route; When the switch downstream of the signal is safe and locked, the signal should be controlled to green; When the locked switch is occupied by a train, the signal should be controlled to red; When there is no safe and locked turnout downstream of the signal, the signal should be controlled to red; According to the three-level nested safety control structure and the safety constraints of each level of the safety control structure, the control structure is modeled using the Event-B method to obtain a verification model of the communication-based train control system, which specifically includes: The change information of each device in each layer of the safety control structure is defined as a variable, and the unchanged information of each device in each layer of the safety control structure is defined as a constant; the device is a train automatic monitoring system, a zone controller, an interlocking system, an on-board controller, a train, a turnout or a signal; the change information includes command information and status information, and the unchanged information includes train operation tasks; Use invariants to express the relationship between different variables, the relationship between different constants, and the relationship between variables and constants; The safety constraints of each layer of safety control structure are expressed using invariants; The Event-B method is used to describe events in each layer of the security control structure; the events include the conditions for command execution and the results of command execution.
2. The verification method of a communication-based train control system according to claim 1, characterized in that: The control structure includes an automatic train monitoring system, a zone controller, an interlocking system and an onboard controller; The automatic train monitoring system is connected to the regional controller; the automatic train monitoring system monitors all trains in the control area according to the status information of all trains in the first control area; the first control area is the control area of the automatic train monitoring system; The regional controller is connected to the interlocking system; the regional controller is used to send a train arrangement route request command to the interlocking system in the turnout area, and the interlocking system is used to control the state of the signal and the position state of the turnout according to the train arrangement route request command, and feed back the state information of the signal and the state information of the turnout to the regional controller; The regional controller is also connected to the onboard controller, and is used to send a train control command to the onboard controller, wherein the train control command includes a movement authorization command and a temporary speed limit command; The on-board controller is used to control the train according to the train control command and feed back the train status information to the regional controller.
3. A verification system for a communication-based train control system, characterized in that: The verification system is applied to the verification method according to any one of claims 1 to 2, comprising: A control structure acquisition module, used to acquire the control structure of the communication-based train control system according to the requirements of the communication-based train control system; A hierarchical processing module is used to hierarchically process the control structure using the STPA method to obtain a three-level nested safety control structure; the three-level nested safety control structure is a first-level safety control structure, a second-level safety control structure, and a third-level safety control structure from the inside to the outside; The safety constraint generation module is used to identify unsafe control behaviors of each layer of the safety control structure using the STPA method and generate safety constraints for each layer of the safety control structure; A modeling module, for modeling the control structure using an Event-B method according to the three-level nested safety control structure and the safety constraints of each level of the safety control structure, so as to obtain a verification model of the communication-based train control system; A verification model is used to verify the control behavior of the communication-based train control system developed and generated based on the verification model.
4. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the verification method according to any one of claims 1 to 2 when executing the computer program.
5. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed, the verification method according to any one of claims 1 to 2 is implemented.
Citation Information
Patent Citations
ZC, control method thereof and train automatic control system
CN108216305A
Function security hazard and information security threat analysis method based on STPA model
CN110008607A
