CN113960975A - Interface simulation system and method of CBTC (communication based train control) system based on discrete I/O (input/output) control - Google Patents

Interface simulation system and method of CBTC (communication based train control) system based on discrete I/O (input/output) control Download PDF

Info

Publication number
CN113960975A
CN113960975A CN202010701747.5A CN202010701747A CN113960975A CN 113960975 A CN113960975 A CN 113960975A CN 202010701747 A CN202010701747 A CN 202010701747A CN 113960975 A CN113960975 A CN 113960975A
Authority
CN
China
Prior art keywords
interface
relay
vehicle
module
tested
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010701747.5A
Other languages
Chinese (zh)
Inventor
万勇兵
黄关强
王大庆
梅萌
张凯
洪海珠
金捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Shentong Rail Transit Testing & Certification Co ltd
Shanghai Shentong Metro Co ltd
Original Assignee
Shanghai Shentong Rail Transit Testing & Certification Co ltd
Shanghai Shentong Metro Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Shentong Rail Transit Testing & Certification Co ltd, Shanghai Shentong Metro Co ltd filed Critical Shanghai Shentong Rail Transit Testing & Certification Co ltd
Priority to CN202010701747.5A priority Critical patent/CN113960975A/en
Publication of CN113960975A publication Critical patent/CN113960975A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0216Human interface functionality, e.g. monitoring system providing help to the user in the selection of tests or in its configuration
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0256Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults injecting test signals and analyzing monitored process response, e.g. injecting the test signal while interrupting the normal operation of the monitored system; superimposing the test signal onto a control signal during normal operation of the monitored system

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention discloses an interface simulation system and method of a CBTC system based on discrete I/O control, wherein the system comprises: a relay; a data acquisition card; the trackside interface preprocessing module and the vehicle-mounted interface preprocessing module can be loaded and initialize connection with a corresponding system according to the standard of the equipment to be tested; the interface information conversion module can acquire the bidirectional digital signals and convert the bidirectional digital signals into a universal data format; the interface information mapping execution module can realize the mapping from the physical state value of the tested equipment to the relay state value and the mapping from the relay state value to the computer digital signal; the responder message execution module can realize dynamic calculation and real-time processing of the responder; and the fault injection module can realize the simulation reduction of a fault scene through the logic combination of the relay states. The invention can realize the interface adaptation with different systems and has better compatibility, thereby improving the interoperability of the interface layer and being beneficial to reducing the cost of related tests.

Description

Interface simulation system and method of CBTC (communication based train control) system based on discrete I/O (input/output) control
Technical Field
The invention relates to a CBTC (communication based train control) system in a rail transit system, in particular to an interface simulation system and method of the CBTC system based on discrete I/O (input/output) control.
Background
The CBTC System (Communication Based Train Control System) is a mainstream signal System used for implementing operation Control of a rail transit Train, and multiple rounds of tests are required before the CBTC System is online operated to verify that the System needs to be completely covered, all defect items are found and closed, so that the efficiency and safety of the System are finally ensured, and the confidence in the System safety is improved.
Currently, the mainstream method for testing a CBTC train control system in a rail transit system is to separately perform an indoor laboratory simulation test and an outdoor test line test. Compared with outdoor testing, indoor simulation has the advantages of low cost, agility in implementation, easiness in fault recovery and the like. The existing engineering experience shows that the biggest difficulty in developing the indoor simulation test is how to truly restore the equipment state and the operation scene of the main line site. Therefore, a test platform and an interface need to be developed and provided for systems of different systems, and if the work is completely realized through software, the defects that the core function is repeatedly developed, the early-stage debugging is time-consuming and labor-consuming, the field fault is difficult to completely reproduce, the interfaces of different signal manufacturers are incompatible and the like when different lines are tested can be caused, and the reusability, the interoperability, the reliability and the compatibility of the test are influenced. In particular, in the prior art, the interface reusability of the CBTC system is low, the interoperability of the test platform and the tested system is poor, and the compatibility of the peer-to-peer system heterogeneity is poor.
Therefore, it is desirable to design an interface emulation system and method for a CBTC system based on discrete I/O control to overcome at least partially the above-mentioned disadvantages of the prior art.
Disclosure of Invention
The invention provides a novel interface simulation system and method of a CBTC (communication based train control) system based on discrete I/O (input/output) control, aiming at overcoming the defects that the related test of the existing CBTC system has low interface reusability on the CBTC system, the interoperability of a test platform and a tested system is poor, and the compatibility of the isomerism of an opposite end system is poor.
The invention solves the technical problems by adopting the following technical scheme:
the invention provides an interface simulation system of a CBTC (communication based train control) system based on discrete I/O (input/output) control, wherein the CBTC system comprises a trackside system and a vehicle-mounted system, and is characterized in that the interface simulation system comprises:
a relay;
an interface data acquisition card based on a PXI bus (PXI is fully called PCI extensions for Instrumentation, which means PCI extensions for instrument systems);
the trackside interface preprocessing module is configured to be loaded according to the standard of the tested equipment so as to initialize the connection with the trackside system and generate a data visualization interface based on the digital signal;
the vehicle-mounted interface preprocessing module is configured to be loaded according to the standard of the tested equipment so as to initialize the connection with a vehicle-mounted system and generate a data visualization interface based on a digital signal;
the interface information conversion module is configured to be capable of acquiring bidirectional Digital signals sent to and received from the device under test according to an interface data acquisition card based on the PXI bus, and converting the acquired bidirectional Digital signals into general data in a general data format by using a StaticDIO dynamic link library (StaticDIO is entirely called Static Digital Input/Output, meaning Input/Output of Digital signals);
the interface information mapping execution module is configured to be capable of respectively realizing mapping from a physical state value of the tested device expressed by a switching value to a relay state value and providing a digital value state in a closed form of a relay node switch according to the general data converted and output by the interface information conversion module;
the responder message execution module is configured to be capable of realizing dynamic calculation and real-time processing of the responder according to the vehicle-mounted interface information which is output by the interface information conversion module and is associated with the vehicle-mounted system, and sending the responder message information to the tested equipment to realize the determination of the train position associated with the tested equipment;
and the fault injection module is configured to be capable of sending digital signals to the interface mapping execution module and the transponder message execution module to change the state of the relay, so that simulation or restoration of a fault scene of the tested device is realized through logical combination of the states of the relay.
Preferably, the interface information conversion module is configured to be capable of uniformly converting the expression forms of the interface data of the devices under test in different systems by using a StaticDIO dynamic link library;
the interface information conversion module is also configured to provide digital switching value input in the form of switching of the relay coil for driving of the device under test, and to collect traction/brake output level signals of the VOBC system (i.e., the onboard controller system) to convert them into traction/brake force output values.
Preferably, the transponder message execution module is configured to dynamically calculate a time for sending the active transponder message to an ATP device of the trackside system (ATP means an automatic train protection system, and may also be referred to as a train overspeed protection system) according to speed, acceleration and displacement information of the train from the device under test of the vehicle-mounted system.
Preferably, the fault injection module is further configured to inject faults into the virtual device and the real device respectively, so as to realize simulation and restoration of various faults of the trackside device and the vehicle-mounted device at the interface layer, where the various fault simulations include, but are not limited to, the following faults: the method comprises the following steps of vehicle door fault, zero speed state abnormity, signal machine abnormity representation and turnout abnormity representation.
Preferably, the fault injection module is further configured to be capable of supporting direct modification of interface data communicated between the interface simulation system and the device under test in the form of ethernet and communicated in the form of a relay, so as to implement recovery of a fault at a data plane.
The invention also provides an interface simulation method of the CBTC system based on the discrete I/O control, which is characterized by comprising the following steps:
s1, loading a corresponding trackside interface preprocessing module according to the standard of the tested equipment, initializing the connection with a trackside system, and generating a data visualization interface based on digital signals;
s2, loading a corresponding vehicle-mounted interface preprocessing module according to the standard of the tested equipment, initializing the connection with a vehicle-mounted system, and generating a data visualization interface based on digital signals;
s3, acquiring bidirectional digital signals sent to and received from a tested device end according to an interface data acquisition card based on a PXI bus, and converting the acquired bidirectional digital signals into general data in a general data format by using a StaticDIO dynamic link library;
s4, respectively realizing the mapping from the physical state value of the tested device expressed by the switching value to the relay state value and providing the state of the digital value in the form of the closing of the relay node switch according to the general data converted and output by the interface information conversion module;
s5, according to the vehicle-mounted interface information which is output by the interface information conversion module and is associated with the vehicle-mounted system, dynamic calculation and real-time processing of the transponder are achieved, and transponder message information is sent to the tested equipment to achieve determination of the train position associated with the tested equipment;
and S6, sending digital signals to the interface mapping execution module and the responder message execution module to change the state of the relay, and simulating or restoring the fault scene of the tested equipment through the logic combination of the states of the relay.
Preferably, in step S3, the expression forms of the interface data of the devices under test in different formats are uniformly converted by using a StaticDIO dynamic link library;
the digital switching value input is provided in the form of the on-off of a relay coil to drive the tested equipment, and a traction/braking output level signal of a VOBC system is acquired to be converted into a traction/braking force output value.
Preferably, step S5 further includes dynamically calculating the timing of sending the active transponder message to the ATP device of the trackside system according to the speed, acceleration and displacement information of the train from the device under test of the vehicle-mounted system.
Preferably, step S6 further includes injecting faults into the virtual device and the real device, respectively, so as to simulate and restore various faults of the trackside device and the vehicle-mounted device at the interface layer, where the various fault simulations include, but are not limited to, the following faults: the method comprises the following steps of vehicle door fault, zero speed state abnormity, signal machine abnormity representation and turnout abnormity representation.
Preferably, step S6 further includes supporting direct modification of interface data between the interface simulation system and the device under test, which are communicated in the form of ethernet and communicated in the form of relay, so as to implement recovery of the fault at the data level.
On the basis of the common knowledge in the field, the above preferred conditions can be combined randomly to obtain the preferred embodiments of the invention.
The positive progress effects of the invention are as follows:
according to the interface simulation system and method of the CBTC system based on the discrete I/O control, the interface adaptation with different systems and the logic conversion are facilitated, so that the stability of a core application layer and the unification of the interfaces are kept, the problems that systems of multiple signal manufacturers have heterogeneity, a test platform is poor in interoperability with a tested system and low in interface reusability are solved, the compatibility is remarkably better, and the cost of related tests can be remarkably reduced.
Drawings
Fig. 1 is a flowchart of an interface simulation method of a CBTC system based on discrete I/O control according to a preferred embodiment of the present invention.
FIG. 2 is a schematic diagram of an interface emulation system of a CBTC system based on discrete I/O control according to a preferred embodiment of the present invention.
FIG. 3 is a diagram of an exemplary hardware connection arrangement in implementation of the interface emulation system and method for a CBTC system based on discrete I/O control according to the preferred embodiment of the present invention.
Fig. 4 is a schematic diagram of an exemplary discrete I/O circuit that may be used in the interface simulation system and method of the CBTC system based on discrete I/O control according to the preferred embodiment of the present invention.
FIG. 5 is a schematic diagram of a portion of an exemplary software framework involved in the interface emulation system and method for a CBTC system based on discrete I/O control in accordance with a preferred embodiment of the present invention.
Detailed Description
The following detailed description of the preferred embodiments of the present invention, taken in conjunction with the accompanying drawings, is intended to be illustrative, and not restrictive, and any other similar items may be considered within the scope of the present invention.
In the following detailed description, directional terms, such as "left", "right", "upper", "lower", "front", "rear", and the like, are used with reference to the orientation as illustrated in the drawings. The components of various embodiments of the present invention can be positioned in a number of different orientations and the directional terminology is used for purposes of illustration and is in no way limiting.
As shown in fig. 1, the CBTC system interface simulation system and method based on discrete I/O control according to the preferred embodiment of the present invention includes the following steps:
s1, loading a corresponding trackside interface preprocessing module according to the standard of the tested equipment, initializing the connection with a trackside system, and generating a data visualization interface based on digital signals;
s2, loading a corresponding vehicle-mounted interface preprocessing module according to the standard of the tested equipment, initializing the connection with a vehicle-mounted system, and generating a data visualization interface based on digital signals;
s3, acquiring bidirectional digital signals sent to and received from a tested device end according to an interface data acquisition card based on a PXI bus, and converting the acquired bidirectional digital signals into general data in a general data format by using a StaticDIO dynamic link library;
s4, respectively realizing the mapping from the physical state value of the tested device expressed by the switching value to the relay state value and providing the state of the digital value in the form of the closing of the relay node switch according to the general data converted and output by the interface information conversion module;
s5, according to the vehicle-mounted interface information which is output by the interface information conversion module and is associated with the vehicle-mounted system, dynamic calculation and real-time processing of the transponder are achieved, and transponder message information is sent to the tested equipment to achieve determination of the train position associated with the tested equipment, so that closed loop of a data layer is achieved;
and S6, sending digital signals to the interface mapping execution module and the responder message execution module to change the state of the relay, and simulating or restoring the fault scene of the tested equipment through the logic combination of the states of the relay.
According to some preferred embodiments of the present invention, in step S3, the expression forms of the interface data of the devices under test in different formats are uniformly converted using a StaticDIO dynamic link library. The interface information conversion module is also configured to provide digital switching value input in the form of switching of the relay coil for driving of the device under test, and acquire a traction/braking output level signal of the VOBC system to convert the traction/braking output level signal into a traction/braking force output value (i.e., output ratio).
According to some preferred embodiments of the present invention, step S5 further includes dynamically calculating the timing of sending the active transponder message to the ATP device of the trackside system according to the speed, acceleration and displacement information of the train from the device under test of the on-board system.
According to some preferred embodiments of the present invention, step S6 further includes injecting faults into the virtual device and the real device through the data visualization interface, respectively, so as to simulate and restore various faults of the trackside device and the vehicle-mounted device at the interface layer, where the various fault simulations include, but are not limited to, the following faults: the method comprises the following steps of vehicle door fault, zero speed state abnormity, signal machine abnormity representation and turnout abnormity representation. Therein, it is understood that a wayside device, i.e. a device in a wayside system or a device used thereby, an on-board device, i.e. a device such as an on-board device of a train or a device used by a train.
According to some preferred embodiments of the present invention, step S6 further includes supporting direct modification of interface data between the interface simulation system and the device under test, which are communicated in the form of ethernet and communicated in the form of relays, so as to implement recovery of the fault at the data level.
According to the interface simulation method based on discrete I/O control in the preferred embodiment of the invention, the mapping from the physical state value of the tested device expressed by the switching value to the relay state value can be realized, and the state of the digital value is provided in the form of the closing of the relay node switch, which is beneficial to realizing the interface adaptation with different systems and carrying out the logic conversion, thereby maintaining the stable and uniform interface of the core application layer. The interface simulation system configures a self-adaptive interface protocol according to engineering application, and automatically converts interface information into corresponding input and output according to the requirements of core application; the method and the device are beneficial to solving the current situations that systems of multiple signal manufacturers have heterogeneity, a test platform and a tested system have poor interoperability and interface reusability, and are beneficial to realizing seamless switching among multi-standard equipment, eliminating data difference of different signal equipment suppliers and avoiding repeated development of core functions for being compatible with different standard system interfaces.
According to the interface simulation method based on discrete I/O control in the preferred embodiment of the invention, the simulation or reduction of the fault scene of the tested equipment can be realized through the logical combination of the relay states, which is beneficial to solving the defect that the real equipment state is difficult to change during laboratory test verification, completely reproducing the field fault scene and rapidly reducing the fault, solving the problem that the traditional indoor test verification test conclusion lacks persuasion, and ensuring that the test platform adopting the method has the advantages of low cost, agile implementation and easy reduction of the fault on the basis of the indoor test verification, has the advantages that the outdoor test can truly reduce the equipment state and the operation scene of the main line field, and provides a system and a method for developing indoor test verification for equipment of different systems.
When the interface simulation system is initialized to be connected with the trackside system, the database is read to obtain the number of the acquisition and driving relays of each device, the truth table is initialized, and the number, the name and the type of the device are obtained. And calculating the effective state number in the truth table according to the system of the trackside interface preprocessing module, and finally obtaining an effective acquisition and driving state table. And generating a visual operation interface of the interface simulation system by combining the actual positions of the equipment acquisition and driving relays, finally establishing communication connection with the trackside equipment, and adapting to the relay driving and acquisition information of the trackside equipment of different systems.
When the interface simulation system is initialized to be connected with the vehicle-mounted system, the database is read to obtain the number of the acquisition and driving relays of each device, the truth table is initialized, and the number, the name and the type of the device are obtained. And calculating the effective state number in the truth table according to the system of the vehicle-mounted interface preprocessing module, and finally obtaining an effective acquisition and driving state table. And generating a visual operation interface of the interface simulation system by combining the actual positions of the equipment acquisition and driving relays, finally establishing communication connection with the vehicle-mounted equipment, and adapting to the relay acquisition and driving information of the vehicle-mounted equipment with different systems.
When the StaticDIO dynamic link library is used for converting the bidirectional digital signals, the interface simulation system firstly processes the bidirectional digital signals acquired by the PXI bus-based high-performance data acquisition card of the path interface. Converting a control command sent by the interface simulation system into driving relay information to tested equipment; and converting feedback self-tested equipment state information received by the interface simulation system into acquisition relay information. Therefore, the interactive closed loop that bidirectional digital signals are converted into driving information and states into acquisition information respectively through commands is realized, the interface adaptation with different systems is realized, and the logic conversion is carried out, so that the stability and the uniformity of a core application layer are kept.
When the mapping from the physical state value of the tested equipment to the relay state value and the state of providing the digital quantity are realized, the database is read, the mapping relation between the physical state value of the tested equipment expressed by the switching value and the relay state value after conversion is inquired, the change of the relay state value is executed, the dynamic configuration of the discrete relay interface point is realized, and the mapping is carried out with the hardware node. And the relay of the equipment to be tested is driven to execute the control command according to the mapping relation, and the state change of the equipment to be tested is executed according to the mapping relation by the relay of the equipment to be tested.
When the dynamic calculation and real-time processing of the responder are realized, in each operation period, the interface simulation system firstly temporarily stores the responder message received from the tested CBTC, writes the data in the buffer into a file, simultaneously processes the message headers of the responders with different systems, marks the position of the current message processing field, and reserves 2 bytes for the purposes of simply and conveniently expressing the message length, the message type, the reservation and the information type. And then, according to the train position, speed and acceleration information sent by the tested equipment of the vehicle-mounted system, the relative relationship between the real-time position of the train and the actual position of the transponder is dynamically calculated, the time for sending the transponder message to the line simulator is determined according to the relationship, and meanwhile, the calculation result of the train position is fed back to the vehicle simulator. The performances of train positioning precision, stop precision and the like of the tested equipment after being connected to the test platform are improved through real-time calculation and dynamic processing. This part of the software configuration block diagram is shown in fig. 5, in which the middle part in fig. 5 indicates "inheritance" from an arrow "pointing to" interface of CBTC "from the interface of LS (LS is all called Line System, meaning trackside equipment) equipment for CBTC and" inheritance "from an arrow" pointing to "interface of CBTC" from the interface of VS (VS is all called Vehicle System, meaning Vehicle-mounted equipment) equipment for CBTC, and the other Line segments and arrows shown in fig. 5 indicate "invocation".
When the simulation or the reduction of the fault scene of the tested equipment is realized, the function of directly modifying message data and relay driving and acquiring data based on an interface simulation system is realized, and the injection of virtual and real equipment is realized by flexibly combining the representation states of Ethernet data or discrete relay interface points, wherein the representation states include but are not limited to: the fault scenes of vehicle door fault, zero speed state abnormity, signal machine abnormity and the like. Meanwhile, based on the characteristic that the interface simulation system can directly process and intervene the data layer, the fault scene is quickly and safely restored, and the reliability and the efficiency of indoor testing are effectively improved. When the interface simulation system is used for developing the indoor laboratory simulation test, a guide tool which enables the indoor laboratory simulation test to have the advantages of compatibility, agility, interoperability, interface reusability and the like is explored, and finally a system and a method which can completely cover the whole process of the train operation control system interface based on discrete I/O control are formed.
As shown in fig. 2, the train operation control system interface simulation system according to the preferred embodiment of the present invention includes:
the trackside interface preprocessing module 1 is configured to load a corresponding trackside interface preprocessing module according to the standard of the equipment to be tested, initialize the connection with a trackside system and generate a data visualization interface based on a digital signal;
the vehicle-mounted interface preprocessing module 2 is configured to load a corresponding vehicle-mounted interface preprocessing module according to the standard of the equipment to be tested, initialize the connection with a vehicle-mounted system and generate a data visualization interface based on a digital signal;
the interface information conversion module 3 is configured to be capable of acquiring bidirectional digital signals sent to and received from the tested device end according to an interface data acquisition card based on the PXI bus, and converting the acquired bidirectional digital signals into general data in a general data format using a StaticDIO dynamic link library;
the interface information mapping execution module 4 is configured to be capable of respectively realizing mapping from a physical state value of the tested device expressed by a switching value to a relay state value and providing a digital value state in a closed form of a relay node switch according to the general data converted and output by the interface information conversion module;
the responder message execution module 5 is configured to be capable of realizing dynamic calculation and real-time processing of the responder according to the vehicle-mounted interface information which is output by the interface information conversion module and is associated with the vehicle-mounted system, and sending the responder message information to the tested equipment to realize determination of the train position associated with the tested equipment;
and the fault injection module 6 is configured to be capable of sending digital signals to the interface mapping execution module and the transponder message execution module to change the state of the relay, and the simulation or restoration of the fault scene of the tested device is realized through the logic combination of the states of the relay.
According to some preferred embodiments of the present invention, the interface information conversion module is configured to be able to use a StaticDIO dynamic link library to uniformly convert the expression forms of the interface data of the devices under test in different formats. The interface information conversion module is also configured to provide digital switching value input in the form of on-off of a relay coil for driving of the device under test, and acquire a traction/braking output level signal of the VOBC system to convert it into a traction/braking force output value (output ratio).
According to some preferred embodiments of the present invention, the transponder message execution module is configured to dynamically calculate the timing of sending the active transponder message to the ATP device of the trackside system according to the speed, acceleration and displacement information of the train from the device under test of the on-board system.
According to some preferred embodiments of the present invention, the fault injection module is further configured to inject faults into the virtual device and the real device through the data visualization interface, so as to simulate and restore various faults of the trackside device and the vehicle-mounted device at the interface layer, where the various fault simulations include, but are not limited to, the following faults: the method comprises the following steps of vehicle door fault, zero speed state abnormity, signal machine abnormity representation and turnout abnormity representation.
According to some preferred embodiments of the present invention, the fault injection module is further configured to be able to support direct modification of interface data between the interface simulation system and the device under test in ethernet form and in relay form to enable restoration of the fault at the data plane.
According to the preferred embodiment of the invention, the state and the interface mode of the field equipment of the main line can be truly restored by adopting the interface mode of the discrete I/O control consistent with the main line, and the fault scene of the field can be reproduced. Based on the scheme, the method can further combine the modes of software dynamic configuration and hardware node mapping, has the agility of indoor simulation and the authenticity of outdoor test, can flexibly realize seamless switching among multi-system equipment, and greatly reduces repeated debugging work.
Moreover, for the modularized interface simulation system, only one set of core function module needs to be maintained for the multi-system external subsystem, thereby avoiding the defect that the core function needs to be repeatedly developed for the system interfaces compatible with different systems in the prior art.
Fig. 4 shows a schematic diagram of an exemplary discrete I/O circuit that can be used in the implementation of the interface simulation system of the CBTC system based on discrete I/O control according to the preferred embodiment of the present invention, which is a schematic diagram of an internal circuit of a single node of, for example, 800 relay nodes in the solution of the preferred embodiment of the present invention. The ports 1 to 5 shown in fig. 4 adopt the following configuration, wherein specifically, the port 5 is connected with a power supply direct current power supply, and the port 1 is used as a node signal output port and is respectively connected with 64 input ports of a data acquisition card. And the No. 4 port is left empty and used as the protection of the node. The node can be respectively connected with the No. 2 port and the No. 3 port according to different received current states, and outputs corresponding I/O signals, so that a data channel of the relay, the data acquisition card and the computer is established.
According to the interface simulation system and method of the preferred embodiment of the invention, the interface adaptation with different systems is facilitated and the logic conversion is carried out, so that the stable and uniform interface of the core application layer is maintained. Moreover, a self-adaptive interface protocol can be configured according to engineering application, and interface information is automatically converted into corresponding input and output according to the requirements of core application; the method is beneficial to solving the current situations that systems of a plurality of signal manufacturers have heterogeneity, the interoperability of a test platform and a tested system is poor and the interface reusability is low; the seamless switching among multi-system equipment is facilitated, and the method has a wide application prospect particularly in the technical field of test and verification in a rail transit room.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. An interface simulation system of a CBTC system based on discrete I/O control, wherein the CBTC system comprises a track-side system and an on-board system, the interface simulation system comprises:
a relay;
an interface data acquisition card based on a PXI bus;
the trackside interface preprocessing module is configured to be loaded according to the standard of the tested equipment so as to initialize the connection with the trackside system and generate a data visualization interface based on the digital signal;
the vehicle-mounted interface preprocessing module is configured to be loaded according to the standard of the tested equipment so as to initialize the connection with a vehicle-mounted system and generate a data visualization interface based on a digital signal;
the interface information conversion module is configured to be capable of acquiring bidirectional digital signals sent to and received from the tested device end according to the PXI bus-based interface data acquisition card, and converting the acquired bidirectional digital signals into general data in a general data format by using a StaticDIO dynamic link library;
the interface information mapping execution module is configured to be capable of respectively realizing mapping from a physical state value of the tested device expressed by a switching value to a relay state value and providing a digital value state in a closed form of a relay node switch according to the general data converted and output by the interface information conversion module;
the responder message execution module is configured to be capable of realizing dynamic calculation and real-time processing of the responder according to the vehicle-mounted interface information which is output by the interface information conversion module and is associated with the vehicle-mounted system, and sending the responder message information to the tested equipment to realize the determination of the train position associated with the tested equipment;
and the fault injection module is configured to be capable of sending digital signals to the interface mapping execution module and the transponder message execution module to change the state of the relay, so that simulation or restoration of a fault scene of the tested device is realized through logical combination of the states of the relay.
2. The interface simulation system according to claim 1, wherein the interface information conversion module is configured to be able to uniformly convert the expression forms of the interface data of the devices under test of different standards using a StaticDIO dynamic link library;
the interface information conversion module is also configured to provide digital switching value input in the form of on-off of a relay coil for driving the device to be tested, and acquire a traction/braking output level signal of the VOBC system to convert the traction/braking output level signal into a traction/braking force output value.
3. The interface simulation system of claim 1 wherein the transponder message execution module is configured to dynamically calculate the timing of sending active transponder messages to the ATP device of the wayside system based on the speed, acceleration and displacement information of the train of devices under test from the on-board system.
4. The interface simulation system according to claim 1, wherein the fault injection module is further configured to inject faults into the virtual device and the real device, respectively, so as to simulate and restore various types of faults of the trackside device and the vehicle-mounted device at the interface layer, wherein the various types of fault simulations include the following faults: the method comprises the following steps of vehicle door fault, zero speed state abnormity, signal machine abnormity representation and turnout abnormity representation.
5. The interface simulation system of claim 1 wherein the fault injection module is further configured to enable direct modification of interface data communicated in ethernet form and communicated in relay form between the interface simulation system and the device under test to enable recovery of faults at the data plane.
6. An interface simulation method of a CBTC system based on discrete I/O control is characterized by comprising the following steps:
s1, loading a corresponding trackside interface preprocessing module according to the standard of the tested equipment, initializing the connection with a trackside system, and generating a data visualization interface based on digital signals;
s2, loading a corresponding vehicle-mounted interface preprocessing module according to the standard of the tested equipment, initializing the connection with a vehicle-mounted system, and generating a data visualization interface based on digital signals;
s3, acquiring bidirectional digital signals sent to and received from a tested device end according to an interface data acquisition card based on a PXI bus, and converting the acquired bidirectional digital signals into general data in a general data format by using a StaticDIO dynamic link library;
s4, respectively realizing the mapping from the physical state value of the tested device expressed by the switching value to the relay state value and providing the state of the digital value in the form of the closing of the relay node switch according to the general data converted and output by the interface information conversion module;
s5, according to the vehicle-mounted interface information which is output by the interface information conversion module and is associated with the vehicle-mounted system, dynamic calculation and real-time processing of the transponder are achieved, and transponder message information is sent to the tested equipment to achieve determination of the train position associated with the tested equipment;
and S6, sending digital signals to the interface mapping execution module and the responder message execution module to change the state of the relay, and simulating or restoring the fault scene of the tested equipment through the logic combination of the states of the relay.
7. The interface simulation method according to claim 6, wherein in step S3, the expression forms of the interface data of the devices under test of different formats are uniformly converted using StaticDIO dynamic link library;
the digital switching value input is provided in the form of the on-off of a relay coil to drive the tested equipment, and a traction/braking output level signal of a VOBC system is acquired to be converted into a traction/braking force output value.
8. The interface simulation method of claim 6, wherein step S5 further comprises dynamically calculating the timing of sending the active transponder message to the ATP device of the wayside system according to the speed, acceleration and displacement information of the train from the device under test of the on-board system.
9. The interface simulation method according to claim 6, wherein step S6 further includes injecting faults into the virtual device and the real device, respectively, to simulate and restore various faults of the trackside device and the vehicle-mounted device at the interface layer, where the various fault simulations include but are not limited to the following faults: the method comprises the following steps of vehicle door fault, zero speed state abnormity, signal machine abnormity representation and turnout abnormity representation.
10. The interface simulation method according to claim 6, wherein step S6 further comprises supporting direct modification of interface data communicated between the interface simulation system and the device under test in the form of ethernet and in the form of relays to achieve recovery of faults at the data plane.
CN202010701747.5A 2020-07-21 2020-07-21 Interface simulation system and method of CBTC (communication based train control) system based on discrete I/O (input/output) control Pending CN113960975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010701747.5A CN113960975A (en) 2020-07-21 2020-07-21 Interface simulation system and method of CBTC (communication based train control) system based on discrete I/O (input/output) control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010701747.5A CN113960975A (en) 2020-07-21 2020-07-21 Interface simulation system and method of CBTC (communication based train control) system based on discrete I/O (input/output) control

Publications (1)

Publication Number Publication Date
CN113960975A true CN113960975A (en) 2022-01-21

Family

ID=79459548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010701747.5A Pending CN113960975A (en) 2020-07-21 2020-07-21 Interface simulation system and method of CBTC (communication based train control) system based on discrete I/O (input/output) control

Country Status (1)

Country Link
CN (1) CN113960975A (en)

Similar Documents

Publication Publication Date Title
US9864355B2 (en) Test device for testing a virtual electronic control unit
CN109472061B (en) Reusable simulation verification platform and simulation verification method
CN111007837B (en) Test system and method for testing TCMS
CN112987700B (en) Integrated test system of magnetic suspension traffic operation control system
CN108227519B (en) CTCS2-200C type train control vehicle-mounted equipment automation simulation test platform
CN111538315B (en) Simulation test system and test method for automatic driving function of whole vehicle
CN112445149B (en) Semi-physical simulation test system of rail train braking system
CN109358599A (en) A kind of Auto-Test System of train operation monitoring device, method and device
US11366945B2 (en) Soft-real-time hub providing data transport for processor-in-the-loop (PIL) simulations
EP2839300A1 (en) Train test platform
CN114488847B (en) Semi-physical simulation system of vehicle-mounted network control system
CN113219950A (en) Multifunctional virtual test platform for train
CN112874588B (en) Test system of rail transit interconnection intercommunication signal system
CN111682993A (en) Automobile CAN bus signal simulation method and device
CN108121217A (en) Train Operation Control System Onboard function model machine emulation driving analog system based on inter-vehicle communication
CN109947579A (en) Rail vehicle general network controller platform and control method
CN108008639A (en) The system digitalized emulation platform of electric locomotive microcomputer network control based on Life cycle
CN108427320A (en) A kind of high-speed EMUs real time execution semi-matter simulating system testing stand
CN110631843A (en) Test system and method for rail transit vehicle
Martinen et al. Modular and open test bench architecture for distributed testing
CN109656231B (en) Communication test system for magnetic suspension traffic vehicle-mounted operation control
Wang et al. Cloud-based simulated automated testing platform for virtual coupling system
CN113960975A (en) Interface simulation system and method of CBTC (communication based train control) system based on discrete I/O (input/output) control
CN116737538A (en) Automatic software testing system and method for rail transit traction transmission control unit
CN107390549A (en) CRH5 types car control logic analogue system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination