CN114706747A - Automatic test system for TACS (train operation control System) - Google Patents

Automatic test system for TACS (train operation control System) Download PDF

Info

Publication number
CN114706747A
CN114706747A CN202210183818.6A CN202210183818A CN114706747A CN 114706747 A CN114706747 A CN 114706747A CN 202210183818 A CN202210183818 A CN 202210183818A CN 114706747 A CN114706747 A CN 114706747A
Authority
CN
China
Prior art keywords
test
controller
vehicle
train
automatic
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
CN202210183818.6A
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.)
Casco Signal Ltd
Original Assignee
Casco Signal 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 Casco Signal Ltd filed Critical Casco Signal Ltd
Priority to CN202210183818.6A priority Critical patent/CN114706747A/en
Publication of CN114706747A publication Critical patent/CN114706747A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Abstract

The invention relates to an automatic test system for a TACS (train-in-train control system) system, which comprises a tested signal system and a test platform which are connected with each other, wherein a software part of the test platform adopts TestStand test management software of NI to compile an automatic test script, a hardware part of the test platform is connected with the tested signal system to form an automatic test environment, and the automatic test environment can adopt all real equipment to build a set of real target test environment or a simulation subsystem to build a set of virtual host test environment. Compared with the prior art, the invention has the advantages of strong flexibility, automatic testing, strong universality and the like.

Description

Automatic test system for TACS (train operation control System)
Technical Field
The invention relates to a rail transit signal system, in particular to an automatic test system for a TACS system.
Background
With the vigorous development of urban rail transit industry in China, a CBTC signal system is mature at home and has practical application in many cities, the CBTC signal system is a communication-based train control system, trackside resource management and train interval protection of the signal system are centered on ground equipment, and the ground equipment interacts with vehicle-mounted equipment through train-ground communication to ensure the running safety of trains.
In recent years, train control systems TACS based on vehicle-to-vehicle communication have become the development direction of the next generation of train control signal systems. The TACS is called Train Autonomous Circuit Board System, which takes the vehicle-mounted control as the core, the vehicle-mounted equipment directly communicates with the adjacent Train to obtain the position information of the adjacent Train and carry out the mobile authorization calculation, and the Train is controlled to run safely and effectively. In order to ensure smooth opening and safe and stable operation of the TACS system, an integrated test environment needs to be built indoors to perform sufficient test verification on the TACS signal system. At present, the domestic vehicle-vehicle communication signal system is still in a starting stage, a mature integrated test environment does not exist, and the research on an automatic test platform of the TACS signal system is less.
At present, the test and verification of the domestic TACS signal system are mainly carried out in the following modes:
1) field debugging: the field debugging wastes a large amount of manpower and material resources and has great potential safety hazard. The purpose of signal system laboratory verification is to reduce the construction pressure on site and to avoid the potential safety hazard of site construction. If no reliable integrated verification environment exists indoors, all tests are placed on the site, on one hand, the construction progress of the site is delayed, and on the other hand, greater potential safety hazards are caused. Generally, only a few scenes without test conditions in a laboratory can be put on site for verification, and the site verification can have great defects.
2) The indoor integrated test environment does not have the automatic test function. In the existing subway signal system test, as more and more scene cases are used and the opening time is short, several rounds of regression tests are generally carried out indoors before opening, the automatic test can greatly facilitate the execution of the regression tests, and the error probability is reduced. Therefore, the automatic test of the subway signal system is also the main research direction of many manufacturers at present.
Disclosure of Invention
The present invention is directed to an automated testing system for TACS system, which overcomes the above-mentioned drawbacks of the prior art.
The purpose of the invention can be realized by the following technical scheme:
according to one aspect of the invention, the automatic test system for the TACS system comprises a tested signal system and a test platform which are connected with each other, wherein a software part of the test platform adopts TestStand test management software of NI to compile an automatic test script, a hardware part of the test platform is connected with the tested signal system to form an automatic test environment, and the automatic test environment can adopt all real equipment to build a set of real target test environment or adopt a simulation subsystem to build a set of virtual host test environment.
As a preferred technical scheme, if a target test environment is adopted, the tested signal system comprises a vehicle-mounted controller CC, an automatic train monitoring system ATS, a trackside resource manager WRC, a trackside vehicle manager WTC and an interlocking target controller OC; the test platform comprises a program control power supply, an IO module, a speed sensor, a beacon simulation module, a PXI controller and a switch, wherein the switch comprises a three-layer switch and a two-layer switch.
As a preferred technical scheme, the vehicle-mounted controller CC serves as a tested signal subsystem and is connected with other signal subsystems through a three-layer switch in a signal layer; on a test platform layer, the vehicle-mounted controller CC is respectively connected with the program control power supply, the IO module and the fast transmission and beacon simulation module through hard wires, the PXI controller is connected to the vehicle-mounted controller CC through an omap network to acquire omap information of the vehicle-mounted subsystem, and the PXI controller is connected to the vehicle-mounted controller CC through a TCMS network to perform TCMS information interaction with the vehicle-mounted subsystem.
As a preferred technical scheme, the automatic train monitoring system ATS is used as a measured signal subsystem, is responsible for supervising and controlling the operation of a train, and has the functions of train tracking operation, alarming, operation adjustment and operation control; in the actual operation process, the ATS sends a train operation plan, manual adjustment information, and the like to the on-board controller CC.
As a preferred technical scheme, the trackside resource manager WRC is used as a tested signal subsystem and is responsible for functions of trackside resource allocation and recovery, train sequence management, operation adjustment and operation control; meanwhile, the trackside resource manager WRC also sends a driving command of trackside equipment to the target controller OC and collects the trackside equipment state sent by the target controller OC.
As a preferred technical solution, the wayside train manager WTC is used as a measured signal subsystem, and is used for a sports car in a train backup mode on one hand, and handles a temporary speed limit function of the train on the other hand.
As a preferred technical scheme, the interlock target controller OC serves as a measured signal subsystem and is responsible for the driving and state acquisition functions of the trackside equipment, and receives a control command of the trackside resource manager WRC to drive trackside resources and sends the states of the trackside resources to the WRC.
As a preferred technical scheme, the three-layer switch is used for replacing a DCS module in an actual signal system, a mirror image port needs to be configured on the three-layer switch, all the other ports are mirrored to the port, and information interaction between all the measured signal subsystems is obtained through the mirror image port;
the image port is connected to the PXI controller through a network, and an automatic test script is written on the PXI controller to obtain information among the signal subsystems, so that the aim of automatic test is fulfilled.
As a preferred technical scheme, the input of the program-controlled power supply is alternating current, the output of the program-controlled power supply is a multi-path 110V direct current power supply, the program-controlled power supply is used for providing power for the vehicle-mounted controller CC, the program-controlled power supply is connected to the PXI controller through a network cable and a two-layer switch, and an automatic script is written on the PXI controller to control the power-on and power-off of the vehicle-mounted controller CC, so that the purpose of automatic testing is achieved.
As a preferred technical scheme, the IO module is used for simulating input and output code bits between a vehicle and a vehicle-mounted controller, and is respectively connected with a vehicle-mounted controller CC and a PXI controller through hard wires, the PXI controller is provided with a digital IO board card, and an automatic test script is compiled on the PXI controller to acquire the output code bits of the vehicle-mounted controller CC and control the input code bits of the vehicle-mounted controller CC, so that the purpose of automatic testing is achieved.
As a preferred technical scheme, the speed sensor and beacon simulation module is used for simulating signals of the speed sensor and the beacon and is respectively connected with the CC and PXI controllers through hard wires, an automatic test script is written on the PXI controller to simulate the running of a train, the script sends a train control command to the speed sensor and beacon simulation module through a network, and the speed sensor and beacon simulation module is used for simulating the speed sensor and beacon waveform in the running process of the train and sending the speed sensor and beacon waveform to the CC and beacon simulation module, so that the purpose of automatic testing is achieved.
As a preferred technical solution, the two-layer switch is used to connect the programmable power supply, the speed sensor and the beacon simulation module to the PXI controller through the test network, and control the programmable power supply module, the speed sensor and the beacon simulation module by writing an automatic script on the PXI controller.
As a preferred technical scheme, the PXI controller is provided with TestStand test management software of NI company, programming APIs through various programming languages, controlling a program-controlled power supply, an IO module, a quick transmission module and a beacon simulation module, interacting with TCMS, Omap and wireshark, and calling the APIs through TestStand to create a test sequence, so that the purpose of automatic testing is achieved.
As a preferred technical scheme, if a host test environment is adopted, the tested signal system comprises a vehicle-mounted controller CC Sim, an automatic train monitoring system ATS Sim, a trackside resource manager WRC Sim, a trackside vehicle manager WTC Sim and an interlocking target controller OC Sim; the test platform comprises a PC or a server and a three-layer switch.
As a preferred technical scheme, the vehicle-mounted controller CC Sim, the train automatic monitoring system ATS Sim, the trackside resource manager WRC Sim, the trackside vehicle manager WTC Sim, and the interlock target controller OC Sim are all simulators operating on a PC, and the functions thereof are the same as those of real devices.
Compared with the prior art, the invention has the following advantages:
1. the flexibility is strong. According to different test requirements, the test system can adopt all real equipment to build a Target test environment, and can also adopt all simulated systems to build a host test environment. The Target environment needs relatively more hardware devices and relatively higher cost, but has higher consistency with the field environment, and is mainly used for doing work and confirming related tests. The Host test environment can be built by only needing a plurality of PCs and switches, the building time is short, the cost is low, but the signal system is simulated, so that the Host test environment is suitable for interface integration test among subsystems.
2. And (4) carrying out automatic testing. The test system of the invention adopts the TestStand of NI as the automatic test management software, and the testStand has the advantages that the test system can call APIs developed by different mainstream programming languages to form an automatic test script, and the steps of the test system are divided into a plurality of types, some steps are only used for executing certain action, some steps can set an expected value or an upper limit value and a lower limit value, and the actual test value and the set value are compared to judge the test result. Different developers can develop different function module APIs by using a programming language familiar to the developers, and finally, the APIs are called by the TestStand to form the automatic test script. The test cases and the test scripts can be corresponded by utilizing the system, each case corresponds to one automation script, and meanwhile, the steps in the scripts and the steps of the cases can also be corresponded one by one, so that the test cases and the test scripts are greatly convenient to maintain. Meanwhile, the TestStand can automatically generate test reports with different formats, and the test reports can record testers, test time, detailed execution conditions of each step and the like in detail.
3. The universality is strong. The invention provides a universal automatic test system of a TACS system, different signal system manufacturers can have different car-to-car communication solutions, but the test platform architecture in the invention is universal, any signal system has information interaction among different subsystems, and a three-layer switch image port is adopted to capture the information among all the subsystems; the vehicle-mounted controller of any signal system also has data recording software similar to the omap, and the information of the vehicle-mounted controller can be captured through interaction with the omap. Meanwhile, different signal system manufacturers can adopt a good programming language to develop a universal API, and then generate an automatic test script by a TestStand call. Compared with other methods, the method has the advantages of higher expansibility and universality and the like.
Drawings
FIG. 1 is a schematic structural diagram of an automated Target test environment according to the present invention;
FIG. 2 is a schematic diagram of the structure of the Host automated test environment of the present invention;
FIG. 3 is a flow chart of an automated test script according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
The invention provides an automatic test system for a TACS (train operation control System), which is mainly divided into a tested signal system and a test platform. The tested signal system mainly comprises a vehicle-mounted controller CC, an automatic train monitoring system ATS, a trackside resource manager WRC, a trackside vehicle manager WTC, an interlocking target controller OC and the like; the hardware of the test platform mainly comprises a program control power supply, an IO module, a speed sensor, a beacon simulation module, a high-performance PXI controller, a switch and the like; the TestStand test management software of the NI is mainly used on the test platform software to write the automatic test scripts. The test system can adopt all real equipment to build a set of real target test environment, and can also adopt a simulation subsystem to build a set of virtual host test environment.
As shown in fig. 1 below, a real target test environment. The invention can be realized by the following technical scheme:
1) an automatic test method and a test system for a TACS system are mainly divided into a tested signal system and a test platform. The tested signal system mainly comprises a vehicle-mounted controller CC, an automatic train monitoring system ATS, a trackside resource manager WRC, a trackside vehicle manager WTC, an interlocking target controller OC and the like; the hardware of the test platform mainly comprises a program control power supply, an IO module, a speed sensor, a beacon simulation module, a high-performance PXI controller, a switch and the like; the TestStand test management software of the NI is mainly used on the test platform software to write the automatic test scripts.
2) The vehicle-mounted controller CC is a tested signal subsystem, carries out path planning mainly according to an operation task sent by the ATS, applies for required trackside resources to trackside resource managers WRC and WTC, autonomously controls the train to operate after the vehicle-mounted subsystem acquires the allocated trackside resources, and actively initiates an application for releasing the resources after the vehicle-mounted subsystem does not need the resources; each vehicle-mounted controller can communicate with the adjacent vehicle-mounted controller to acquire the position and the operation range information of the adjacent train, and actively calculate the movement authorization required by operation. The vehicle-mounted controller is connected with other signal subsystems through a three-layer switch on a signal layer, the vehicle-mounted controller is connected with the beacon simulation module through a hard wire, a program control power supply, an IO module and a speed transmission on a test platform layer, the PXI controller is connected to the vehicle-mounted controller through an omap network to acquire omap information of the vehicle-mounted subsystem, and the PXI controller is connected to the vehicle-mounted controller through a TCMS network to perform TCMS information interaction with the vehicle-mounted subsystem.
3) The ATS is a tested signal subsystem, is mainly responsible for monitoring and controlling the operation of the train, and has the functions of train tracking operation, alarming, operation adjustment, operation control and the like. In the actual operation process, the ATS sends a train operation plan, manual adjustment information, and the like to the on-board controller CC.
4) The trackside resource manager WRC is a tested signal subsystem, and is mainly responsible for functions of trackside resource allocation and recovery, train sequence management, operation adjustment, operation control and the like. Meanwhile, the system also sends a driving command of the trackside equipment to the target controller OC and collects the status of the trackside equipment sent by the target controller OC.
5) The wayside vehicle manager WTC is a measured signal subsystem, and on one hand, the wayside vehicle manager is used for a sports car in a train backup mode, and on the other hand, the wayside vehicle manager has the functions of processing temporary speed limit of the train and the like.
6) The interlocking target controller OC is a tested signal subsystem, and is responsible for the driving and state acquisition functions of trackside equipment such as turnouts and signal machines. The system receives a control command of a trackside resource manager WRC to drive trackside resources such as turnouts and signal machines, and sends the states of the trackside resources to the WRC.
7) The three-layer switch is a component of a signal system and is used for replacing a DCS module in an actual signal system, and the tested signal subsystems are communicated with each other through the three-layer switch. A mirror image port is needed to be configured on the three-layer switch, and all the other ports are mirrored to the port, so that information interaction among all the tested signal subsystems can be obtained through the mirror image port. The image port is connected to the PXI controller through a network, so that an automatic test script can be written on the PXI controller to obtain information among the signal subsystems, and the aim of automatic test is fulfilled.
8) The programmable power supply is a hardware component of the test platform, the input of the programmable power supply is alternating current, the output of the programmable power supply is a multi-path 110V direct current power supply, the programmable power supply is mainly used for providing power for the vehicle-mounted controller CC, and the programmable power supply is connected to the PXI controller through a network cable and a two-layer switch, so that an automatic script can be written on the PXI controller to control the power-on and power-off of the CC, and the purpose of automatic test is achieved.
9) The IO module is a hardware component of the test platform and is mainly used for simulating input and output code bits between the vehicle and the vehicle-mounted controller, the IO module is directly connected with the vehicle-mounted controller CC through a hard wire, and the IO module is also connected with the high-performance PXI controller through a hard wire. A digital IO board card can be installed on the PXI controller, an automatic test script is compiled on the PXI controller, output code bits of the CC are collected, input code bits of the CC are controlled, and therefore the purpose of automatic testing is achieved.
10) The speed sensor and beacon simulation module is a hardware component of the test platform, is mainly used for simulating signals of the speed sensor and the beacon, is directly connected with the vehicle-mounted controller CC through a hard wire, and is connected with the high-performance PXI controller through a test network. The automatic test script is compiled on the PXI controller to simulate the running of a train, the script sends a train control command to the speed sensor and beacon simulation module through a network, and the speed sensor and beacon waveforms in the running process of the train are simulated by the speed sensor and beacon simulation module and sent to the vehicle-mounted controller, so that the aim of automatic test is fulfilled.
11) The two-layer switch is a hardware component of the test platform and is mainly used for connecting the programmable power supply, the speed sensor and the beacon simulation module to the high-performance PXI controller through the test network, so that the programmable power supply module, the speed sensor and the beacon simulation module can be controlled by compiling an automatic script on the PXI controller.
12) The high-performance PXI controller is an important component of the test platform, and the test stand test management software of NI company is installed on the high-performance PXI controller. TestStand is a software platform developed by national instruments of the united states, which is a test management software that can be executed immediately, and can help users develop an automatic test and verification system more quickly. The most important advantage is that test programs written in various programming languages, such as LabVIEW, C + +, DLL,. NET, Python, etc., can be supported, and then the testStand is used to call these code modules to quickly create a test sequence. That is, the API is written through various programming languages, controlling the auto power module, the IO module, the express and beacon emulation module, interacting with the TCMS, interacting with the Omap, and interacting with the wireshark. And then calling the APIs through TestStand to create a test sequence, thereby achieving the purpose of automatic testing.
In the scheme, if the interface between the signal subsystems is tested, a host simulation environment can be built for each subsystem, so that a pure virtual host test environment is created. As shown in fig. 2 below, the present invention can be realized by the following technical solutions.
1) An automatic test method and a test system for a TACS system are mainly divided into a tested signal system and a test platform. The measured signal system mainly comprises a vehicle-mounted controller CC Sim, an automatic train monitoring system ATS Sim, a trackside resource manager WRC Sim, a trackside vehicle manager WTC Sim, an interlocking target controller OC Sim and the like. The hardware of the test platform mainly comprises a high-performance PC or server and a three-layer switch, and the software of the test platform mainly uses the TestStand test management software of NI to write an automatic test script.
2) The functions of the measured signal systems ATS Sim, CC Sim, WRC Sim, WTC Sim, ATS Sim, OC Sim are the same as those introduced in the target environment, and the main difference is that in the target environment, the measured signal systems are all built by using hardware devices as same as those in the field, but in the host environment, the measured signal systems are software running on a common PC, but have the same functions as real devices.
3) The hardware part of the test platform uses a high-performance PC or a server, and the difference between the test platform and the target environment is that because the vehicle-mounted controller uses simulation software and is separated from a hardware carrier, the test platform part does not need to use a program control power supply module, an IO module, a speed transmission and beacon simulation module and the like.
4) The test platform software part also uses the Teststand of NI to call APIs written in various programming languages for the purpose of automated testing.
5) And the three-layer switch of the test platform is used for replacing a DCS (distributed control system) module in an actual signal system and connecting each signal subsystem. A mirror port is also required to be configured on the three-layer switch, and all the other ports are mirrored to the port, so that information interaction among all the tested signal subsystems can be acquired through the mirror port. The mirror image port is connected to the PXI controller through a network, so that an automatic test script can be written on the PXI controller to obtain information among the signal subsystems, and the purpose of automatic test is achieved.
6) Compared with the Target test environment, the Host test environment can be built only by using a plurality of PCs and three layers of switches. The required hardware resources are relatively less, and the building is simple and quick. The accuracy of the simulation test environment depends on the accuracy of simulation software of each signal subsystem, and the more real each simulation signal subsystem is, the more accurate the test environment is. However, the Host test environment can only be used for interface integration test among signal subsystems, and cannot be used for system-level function confirmation test.
FIG. 3 is a flow chart of an exemplary implementation of an automated test system for a TACS system of the present invention. In the actual test process, the classical scenario is to control a sports car, check various information of a CC through omap, and check information interaction among signal subsystems through wireshark. The workflow of the automated test script of the present invention is illustrated below by taking such a classical scenario as an example.
1) Preparation work: before the automatic test script runs, all the devices such as WRC, WTC, OC, ATS, switch and the like need to be started manually and prepared. The program control power supply is powered on and switched to an automatic mode, and the fast transmission and beacon simulation module is powered on and enters an initialization state. These systems do not need to be restarted each time during the test if they have no anomalies.
2) Starting a test platform: and starting the test platform and initializing variables. In the initialization process, mainly the initialization of variables, all programs needing to be started in advance can be called to be started through the step, and all devices needing to be initialized can be initialized through the step.
3) Starting a fast transmission and beacon simulation module: the fast transmission and beacon simulation module is a state machine and is controlled to enter a running state through a script. In a practical system, even if the vehicle is in a static state, the vehicle-mounted controller collects signals in the static state of the vehicle from the speed sensor and the beacon, and during the power-on starting process of the vehicle-mounted controller CC, the signals are checked, and if the speed sensor or the beacon module is detected to be absent or the static signal is not correct, the vehicle-mounted controller cannot be started correctly, so the module is started before the vehicle-mounted controller CC.
4) Powering on the CC: the programmable power supply is connected to the PXI controller through the test network, the input of the programmable power supply is 220V alternating current, the output of the programmable power supply is a multi-path 110V direct current power supply, 110V voltage output of the programmable power supply is controlled through programming API, and therefore the CC is electrified and started.
5) Setting initial code bit information (RM) of a train: safety code bits and non-safety code bits are arranged between the vehicle and the CC, and the CC enters an initial RM limiting mode by setting input of related code bits of the CC. Compiling a test script and sending code bit information to be set to an IO module, and inputting the relevant code bit information to a CC module of the vehicle-mounted controller through a hard wire by the IO module so as to enable the CC to enter an RM limiting mode.
6) Setting the initial motion information of the train, and moving the train: and compiling a test script to set the initial position, the acceleration, the deceleration, the maximum speed, the end position, the uplink and downlink movement information and the like of the train. The test script plans a speed curve to run according to the setting, and simultaneously interacts with the speed transmission and beacon simulation module in real time in the running process, and the speed transmission and beacon simulation module converts the received motion information into real waveform signals of the speed sensor and the beacon and is connected to the vehicle-mounted controller CC through a hard wire.
7) Checking the information of the CC by omap: and writing a test script to interact with the omap of the CC to acquire the related information of the CC. For example, the CC is checked for location and compared with expected values to determine if the step passes the test. The step of TestStand can be divided into several types, for example, some steps are only executed with a certain action, and after the step is finished, Done is displayed in a result column; some steps are needed to be judged, such as comparing with expected values or judging whether the steps are within the set upper and lower limits, and after the steps are finished, Pass or Fail is displayed in a result column. This checking of CC information by omap allows an expected value to be set and compared.
8) Set code bit information (FAM) of CC: this step is identical to setting the initial code bit information (RM) of the CC, except that the code bits that need to be set are different for setting the CC to RM mode and to FAM mode. This is generally defined in the interface document between the vehicle and the signal.
9) FAM sports car: note that before running the script FAM, a task needs to be manually issued to the CC on the ATS, such as from point a to point B, and the CC will run the FAM automatically after receiving a valid task. It should also be noted that during the FAM sports car, the test platform needs to communicate with the TCMS emulation part in real time to obtain the level of traction braking issued by the CC. In the FAM sports car process, the test script also needs to continuously send motion information to the speed sensor and the beacon simulation module.
10) And checking information among various signal subsystems through real-time interaction with Wireshark. During the test process, certain information fields among the signal subsystems are often required to be checked through the Wireshark packet capture, and since the PXI controller is connected to the mirror port of the three-layer switch through the Wireshark network, the information fields among the signal subsystems can be obtained by writing a test script and compared with an expected value.
11) Powering off CC: this step is the reverse of the CC power up, and also requires programming a test step to interact with the programmable power supply to control the CC power down.
12) Stopping the test platform: this step is the reverse of the process of starting up the test platform. And stopping the test platform, resetting the input code bit of the CC, and closing the program started in the initialization process.
13) And (3) generating a test report: the TestStand can automatically generate reports in XML, HTML and other formats, and can customize the format of the reports according to the requirements of customers. The test report shows details of the tester, the test time, the name of the test script, the detailed test value and test result of each step, the test result of the whole script, and the like.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (15)

1. The automatic test system for the TACS system is characterized by comprising a tested signal system and a test platform which are connected with each other, wherein the software part of the test platform adopts TestStand test management software of NI to compile an automatic test script, the hardware part of the test platform is connected with the tested signal system to form an automatic test environment, and the automatic test environment can adopt all real equipment to build a set of real target test environment or adopt a simulation subsystem to build a set of virtual host test environment.
2. The automatic test system for the TACS system as claimed in claim 1, wherein if a target test environment is adopted, the signal system under test comprises an on-board controller CC, an automatic train monitoring system ATS, a trackside resource manager WRC, a trackside vehicle manager WTC and an interlocking target controller OC; the test platform comprises a program control power supply, an IO module, a speed sensor, a beacon simulation module, a PXI controller and a switch, wherein the switch comprises a three-layer switch and a two-layer switch.
3. The automated test system for the TACS system as claimed in claim 2, wherein the vehicle-mounted controller CC is used as a signal subsystem to be tested and is connected with the rest signal subsystems through a three-layer switch at a signal layer; on a test platform layer, the vehicle-mounted controller CC is respectively connected with the program control power supply, the IO module and the fast transmission and beacon simulation module through hard wires, the PXI controller is connected to the vehicle-mounted controller CC through an omap network to acquire omap information of the vehicle-mounted subsystem, and the PXI controller is connected to the vehicle-mounted controller CC through a TCMS network to perform TCMS information interaction with the vehicle-mounted subsystem.
4. The automatic test system for the TACS system as claimed in claim 2, wherein the ATS is used as a sub-system of the signal to be tested, is responsible for supervising and controlling the operation of the train, and has the functions of train tracking operation, alarming, operation adjustment and operation control; in the actual operation process, the ATS sends a train operation plan, manual adjustment information, and the like to the on-board controller CC.
5. The automatic test system for the TACS system as claimed in claim 2, wherein the trackside resource manager WRC is used as a tested signal subsystem and is responsible for the functions of trackside resource allocation and recovery, train sequence management, operation adjustment and operation control; meanwhile, the trackside resource manager WRC also sends a driving command of trackside equipment to the target controller OC and collects the trackside equipment state sent by the target controller OC.
6. The automatic test system for the TACS system as claimed in claim 2, wherein the trackside vehicle manager (WTC) is used as a tested signal subsystem for a sports car in a train backup mode on one hand and for handling a temporary speed limit function of the train on the other hand.
7. The automatic test system for the TACS system as claimed in claim 2, wherein the interlock target controller OC is responsible for the driving and state acquisition functions of the trackside equipment as the tested signal subsystem, receives the control command of the trackside resource manager WRC to drive the trackside resources, and sends the states of the trackside resources to the WRC.
8. The system of claim 2, wherein the triple-layer switch is used to replace a DCS module in an actual signal system, a mirror port is configured on the triple-layer switch, all the other ports are mirrored to the mirror port, and information interaction between all the sub-systems of the signal to be tested is obtained through the mirror port;
the image port is connected to the PXI controller through a network, and an automatic test script is written on the PXI controller to obtain information among the signal subsystems, so that the aim of automatic test is fulfilled.
9. The system of claim 2, wherein the programmable power supply has an input of ac power and an output of multiple 110V dc power supplies, and is configured to provide power to the CC, and is connected to the PXI controller through a network cable via the two-layer switch, and the PXI controller is programmed with an automation script to control the CC to power on and power off, so as to achieve the purpose of automatic testing.
10. The automatic test system for the TACS system of claim 2, wherein the IO module is used for simulating input and output code bits between the vehicle and the vehicle-mounted controller, and is respectively connected with the vehicle-mounted controller CC and the PXI controller through hard wires, the PXI controller is provided with a digital IO board card, and an automatic test script is compiled on the PXI controller to collect the output code bits of the vehicle-mounted controller CC and control the input code bits of the vehicle-mounted controller CC, so that the purpose of automatic test is achieved.
11. The system of claim 2, wherein the speed sensor and beacon simulation module is configured to simulate signals of a speed sensor and a beacon, and is connected to the CC and the PXI controller via hard wires, respectively, the PXI controller writes an automatic test script to simulate the operation of a train, the script sends a train control command to the speed sensor and beacon simulation module via the network, and the speed sensor and beacon simulation module is configured to simulate a speed sensor and a beacon waveform during the operation of the train and send the speed sensor and beacon waveform to the CC and the PXI controller, thereby achieving the purpose of automatic testing.
12. The automated test system for TACS systems of claim 2, wherein the two-layer switch is configured to connect the programmable power supply and the speed sensor and beacon emulation module to the PXI controller through the test network, and to control the programmable power supply module and the speed sensor and beacon emulation module by programming an automated script on the PXI controller.
13. The system of claim 2, wherein the PXI controller is installed with TestStand test management software of NI corporation, writes APIs through various programming languages, controls the programmable power supply, the IO module, the express and beacon simulation module, interacts with TCMS, interacts with Omap, and interacts with wireshark, and calls these APIs through TestStand to create test sequences, thereby achieving the purpose of automated testing.
14. The automated testing system for the TACS system as claimed in claim 1, wherein if a host testing environment is adopted, the signal system to be tested comprises an on-board controller CC Sim, an automatic train monitoring system ATS Sim, a rail side resource manager WRC Sim, a rail side vehicle manager WTC Sim and an interlocking target controller OC Sim; the test platform comprises a PC or a server and a three-layer switch.
15. The automated testing system for TACS system of claim 14, wherein the on-board controller CC Sim, the train automatic monitoring system ATS Sim, the trackside resource manager WRC Sim, the trackside vehicle manager WTC Sim, and the interlock target controller OC Sim are all simulators operating on a PC and functioning as real devices.
CN202210183818.6A 2022-02-28 2022-02-28 Automatic test system for TACS (train operation control System) Pending CN114706747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210183818.6A CN114706747A (en) 2022-02-28 2022-02-28 Automatic test system for TACS (train operation control System)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210183818.6A CN114706747A (en) 2022-02-28 2022-02-28 Automatic test system for TACS (train operation control System)

Publications (1)

Publication Number Publication Date
CN114706747A true CN114706747A (en) 2022-07-05

Family

ID=82167089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210183818.6A Pending CN114706747A (en) 2022-02-28 2022-02-28 Automatic test system for TACS (train operation control System)

Country Status (1)

Country Link
CN (1) CN114706747A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328104A (en) * 2022-10-13 2022-11-11 湖南中车时代通信信号有限公司 Automatic testing device and method for train operation monitoring system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328104A (en) * 2022-10-13 2022-11-11 湖南中车时代通信信号有限公司 Automatic testing device and method for train operation monitoring system

Similar Documents

Publication Publication Date Title
CN109298648B (en) Simulation automatic test system for train control center
CN102616253B (en) Railway signal control simulation system
CN105933173A (en) Electric power system intelligent device automatic testing system
CN105808432A (en) Software automated testing system and method for rail traffic drive control unit/ tractive control unit (DCU/TCU)
CN107065837A (en) Simulation test platform, automatic simulation test system and method for testing
CN111708345A (en) Simulation test system, test method and test device for signal equipment
CN108919778A (en) Vehicle control unit of electric vehicle test device
CN109358599A (en) A kind of Auto-Test System of train operation monitoring device, method and device
CN113219855B (en) Simulation verification method and device for TACS (terminal-to-terminal Security System)
CN111016978B (en) Method for realizing regional controller equipment test based on GoogleTest test framework
CN109857087A (en) A kind of urban rail zone controller system hardware is in ring test system
CN103913728B (en) A kind of method of testing based on portable radar comprehensive tester
CN110456761A (en) Test macro, method and the vehicle of energy management apparatus
CN112000557A (en) Automatic testing arrangement of track traffic signal system
CN109086197A (en) The acceptance testing method and system of urban track traffic CBTC system
CN114706747A (en) Automatic test system for TACS (train operation control System)
CN114089719B (en) Vehicle signal interface simulation verification method and device for TACS system
CN115328104A (en) Automatic testing device and method for train operation monitoring system
CN112416715B (en) Computer interlocking performance test system based on operation scene
CN102880166A (en) Hardware-in-loop (HIL) testing platform of velocity measuring system (VMS)
CN108693415A (en) A kind of test system and method for semaphore drive system
CN109656231B (en) Communication test system for magnetic suspension traffic vehicle-mounted operation control
CN115892146A (en) Automatic test method for interactive code bits of interlocking system and external system interface
CN112306039B (en) Debugging method and system for full-electronic interlocking system
CN114691488A (en) Automatic testing system and method for interlocking system

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