CN114625105A - Train network control system testing method and device based on real-time Ethernet - Google Patents

Train network control system testing method and device based on real-time Ethernet Download PDF

Info

Publication number
CN114625105A
CN114625105A CN202210196049.3A CN202210196049A CN114625105A CN 114625105 A CN114625105 A CN 114625105A CN 202210196049 A CN202210196049 A CN 202210196049A CN 114625105 A CN114625105 A CN 114625105A
Authority
CN
China
Prior art keywords
train
model
real
control system
network control
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
CN202210196049.3A
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 Rentong Electronic Technology Co ltd
Original Assignee
Shanghai Rentong Electronic Technology 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 Rentong Electronic Technology Co ltd filed Critical Shanghai Rentong Electronic Technology Co ltd
Priority to CN202210196049.3A priority Critical patent/CN114625105A/en
Publication of CN114625105A publication Critical patent/CN114625105A/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/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)
  • Small-Scale Networks (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The embodiment of the invention discloses a method and a device for testing a train network control system based on real-time Ethernet, wherein the method comprises the following steps: determining second communication information according to the first communication information, wherein the first communication information is determined, and the first communication information is data flow information corresponding to the train network control system and at least one real train subsystem in a TRDP communication process; determining an original data stream file according to the first communication information; carrying out file type conversion on the original data stream file to obtain a target data stream file; and testing the train network control system by using the train subsystem model based on the target data stream file, wherein the train subsystem model and the train network control system perform bidirectional data transmission through a real-time Ethernet. The method and the device realize the test of the train network control system based on the real-time Ethernet.

Description

Train network control system testing method and device based on real-time Ethernet
Technical Field
The invention relates to the technical field of testing, in particular to a method and a device for testing a train network control system based on real-time Ethernet.
Background
At present, the test of the train network control system generally adopts an open-loop excitation response mode to test, or the test of the whole real train is carried out after the system integration of the real train is completed. The traditional open-loop excitation response test can only test a single control logic of the train network control system, and can only perform one-way test by using the train network control system as a sending end or a receiving end, and the open-loop excitation response test also ignores the coupling effect among various functions of the train. The physical test method needs to be carried out after the train is integrated, a large amount of manpower and material resources are consumed, and real equipment can be damaged in the test process. In addition, in the process of the physical test, the system architecture, the TRDP (Train Real-time Data Protocol) communication, the I/O interface, and the like are not easy to configure, and the test consumes much time. Therefore, how to carry out closed loop on the train network control system is a problem to be solved, and convenient and fast testing is required.
Disclosure of Invention
The invention provides a real-time Ethernet-based train network control system testing method and device, which are used for realizing real-time Ethernet-based testing of a train network control system. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for testing a train network control system based on a real-time ethernet, where the method includes:
determining first communication information, wherein the first communication information is data flow information corresponding to the train network control system and at least one real train subsystem in a TRDP communication process;
determining an original data stream file according to the first communication information, wherein the TRDP communication is carried out between the train network control system and at least one real train subsystem based on the original data stream file;
performing file type conversion on an original data stream file to obtain a target data stream file, wherein a train network control system and at least one train subsystem model perform TRDP communication based on the target data stream file, each train subsystem corresponds to one train subsystem model, the train subsystem models are used for simulating the train subsystems, and the file type of the target data stream file is the file type supporting real-time Ethernet board card driving;
and testing the train network control system by using the train subsystem model based on the target data stream file, wherein the train subsystem model and the train network control system perform bidirectional data transmission through a real-time Ethernet.
Optionally, the data flow information includes communication configuration information and process data, the communication configuration information includes an IP address, a ComID number, and a communication cycle, and the process data includes received data and transmitted data.
Optionally, before testing the train network control system by using the train subsystem model based on the target data stream file, the method further includes:
and initializing a real-time Ethernet board card driving module according to the target data stream file, wherein the real-time Ethernet board card driving module is arranged in the real-time Ethernet board card.
Optionally, the train subsystem model is any one of a driver platform model, a train circuit model, a vehicle-mounted VOBC model, a dynamics model, a traction system model, a braking system model, an auxiliary system model, a battery model, a charger model, a door system model, an air conditioner logic model, and an illumination logic model.
Optionally, the file type of the target data stream file is XML.
In a second aspect, an embodiment of the present invention provides a train network control system testing apparatus based on real-time ethernet, including;
the system comprises a first determining module, a second determining module and a control module, wherein the first determining module is used for determining first communication information, and the first communication information is data flow information corresponding to a train network control system and at least one real train subsystem in a TRDP communication process;
the second determining module is used for determining an original data stream file according to the first communication information, wherein the train network control system and at least one real train subsystem carry out TRDP communication based on the original data stream file;
the system comprises a conversion module, a train network control system and at least one train subsystem model, wherein the conversion module is used for converting the file type of an original data stream file to obtain a target data stream file, the train network control system and the at least one train subsystem model carry out TRDP communication based on the target data stream file, each train subsystem corresponds to one train subsystem model, the train subsystem models are used for simulating train subsystems, and the file type of the target data stream file is the file type supporting real-time Ethernet board card driving;
and the test module is used for testing the train network control system by utilizing the train subsystem model based on the target data stream file, wherein the train subsystem model and the train control system carry out bidirectional data transmission through the real-time Ethernet.
Optionally, the data flow information includes communication configuration information and process data, the communication configuration information includes an IP address, a ComID number, and a communication cycle, and the process data includes received data and transmitted data.
Optionally, the apparatus further comprises:
and the initialization module is used for initializing the real-time Ethernet board card driving module according to the target data stream file, wherein the real-time Ethernet board card driving module is arranged in the real-time Ethernet board card.
Optionally, the train subsystem model is any one of a driver platform model, a train circuit model, a vehicle-mounted VOBC model, a dynamics model, a traction system model, a braking system model, an auxiliary system model, a battery model, a charger model, a door system model, an air-conditioning logic model, and a lighting logic model.
Optionally, the file type of the target data stream file is XML.
As can be seen from the above, in the method and the device for testing a train network control system based on real-time ethernet provided by the embodiment of the present invention, first communication information is determined, where the first communication information is data flow information corresponding to the train network control system and at least one real train subsystem in a TRDP communication process; determining an original data stream file according to the first communication information, wherein the TRDP communication is carried out between the train network control system and at least one real train subsystem based on the original data stream file; performing file type conversion on an original data stream file to obtain a target data stream file, wherein a train network control system and at least one train subsystem model perform TRDP communication based on the target data stream file, each train subsystem corresponds to one train subsystem model, the train subsystem models are used for simulating the train subsystems, and the file type of the target data stream file is a file type supporting real-time Ethernet board card driving; and testing the train network control system by using the train subsystem model based on the target data stream file, wherein the train subsystem model and the train network control system perform bidirectional data transmission through a real-time Ethernet.
By applying the embodiment of the invention, the test based on the real-time Ethernet can be realized for the train network control system, and the test period is shortened. Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
The technical effects of the embodiment of the invention comprise:
1. in the prior art, a train network control system is usually tested in an open-loop excitation response mode, the method can only test a single control logic of the train network control system, and communication data can only be transmitted in a single direction. In the embodiment of the invention, data transmission is carried out between the train subsystem model and the train network control system through the real-time Ethernet, so that bidirectional data transmission is realized, each train subsystem model and each train network control system are a sending end and a receiving end, and each communication terminal can send corresponding instructions or information to the opposite side according to the received data after receiving the communication data, so that closed-loop test of the train network control system is realized.
2. The embodiment of the invention utilizes a plurality of train subsystem models to test the train network control system, takes the coupling effect among the train subsystems into consideration, and leads the test result data to be more accurate compared with the traditional single control logic test of open-loop excitation response.
3. In the prior art, the test can be performed through a train object, although the test method can realize the coupling effect among the train subsystems, the test can be performed only after the train is integrated, a large amount of manpower and material resources are consumed, and real equipment can be damaged in the test process. The embodiment of the invention relates to a semi-physical simulation test, namely, each train subsystem is replaced by a corresponding train subsystem model, each train subsystem model is connected with a physical train network control system, and the test of the train network control system can be completed in a laboratory. The embodiment of the invention can quickly construct the peripheral simulation environment model of the tested object (the train network control system), thereby improving the testing efficiency and shortening the testing period.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is to be understood that the drawings in the following description are merely exemplary of some embodiments of the invention. For a person skilled in the art, without inventive effort, other figures can also be derived from these figures.
Fig. 1 is a schematic flowchart of a method for testing a train network control system based on real-time ethernet according to an embodiment of the present invention;
fig. 2 is a system architecture diagram of a train network control system testing method based on real-time ethernet according to an embodiment of the present invention;
fig. 3 is another system architecture diagram of a train network control system testing method based on real-time ethernet according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a train network control system testing apparatus based on real-time ethernet according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. A process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention provides a train network control system testing method and device based on real-time Ethernet. The following provides a detailed description of embodiments of the invention.
Fig. 1 is a schematic flow chart of a method for testing a train network control system based on real-time ethernet according to an embodiment of the present invention. The method may comprise the steps of:
s101: determining first communication information, wherein the first communication information is data flow information corresponding to the train network control system and at least one real train subsystem in a TRDP communication process.
And data transmission is carried out between each train subsystem and the train network control system in the real train so as to realize the control of the whole train. The embodiment of the invention carries out simulation test on the train network control system by simulating each train subsystem in a real train, and each communication terminal carries out data transmission based on real-time Ethernet (TRDP). In the real train, the data flow information when the real train subsystems and the train network control system perform TRDP communication is the same as the data flow information when the train subsystem models and the train network control system perform TRDP communication in the test process, so the embodiment of the invention firstly needs to determine the data flow information when the real train subsystems and the train network control system perform TRDP communication in the real train. Real train subsystems such as traction systems, door systems, etc. The data flow information comprises configuration information and specific content information interacted between the communication terminals.
In one implementable manner, the data flow information includes communication configuration information including an IP address, a ComID number, a communication cycle, and process data including received data and transmitted data.
The communication configuration information is communication information that needs to be configured when each real train subsystem and the train network control system in the real train perform TRDP communication, and includes, but is not limited to, an IP address of each real train subsystem, an IP address of the train network control system, a communication cycle, IP addresses of source and sink devices in a single communication process, a Com ID, and the like. The process data is the content of specific interaction of each communication terminal in the TRDP communication process of each real train subsystem and the train network control system, and may include a data type, a data byte offset, a data name, and the like.
S102: determining an original data stream file according to the first communication information, wherein the train network control system and at least one real train subsystem perform TRDP communication based on the original data stream file;
and generating an original data stream file by using the first communication information, and transmitting TRDP data only by using the original data stream file as a basis for the train network control system and the real train subsystem.
S103: performing file type conversion on the original data stream file to obtain a target data stream file, wherein the train network control system and at least one train subsystem model perform TRDP communication based on the target data stream file, each train subsystem corresponds to one train subsystem model, the train subsystem models are used for simulating the train subsystems, and the file type of the target data stream file is the file type supporting real-time Ethernet board card driving
The original data stream file is a data stream file corresponding to a real train, and the train subsystem model is used for simulating the train subsystem in the embodiment of the invention so as to realize the test of the train network control system in a test place (such as a laboratory). In order to adapt to the whole set of test system, the file type of the original data stream file needs to be converted, and the finally converted data stream file, namely the target data stream file, is suitable for the test of the embodiment of the invention.
In an implementation manner, as shown in fig. 2, the whole set of test system may include a simulation test management upper computer 11, a real-time simulation computer 12, an I/O adaptation system 13, and a train network control system 14, wherein the real-time ethernet board driver is built in the real-time simulation computer 12. The simulation test management upper computer 11 can create each train subsystem model, the real-time simulation computer 12 downloads each train subsystem model in the simulation test management upper computer 11, and each train subsystem model and the train network control system 14 are in real-time Ethernet communication through the real-time simulation computer 12. Specifically, the simulation test management upper computer 11 can create each train subsystem test model according to the test content, execute the test sequence, issue the test instruction to the real-time simulation computer 12, monitor the simulation data, judge and display the test result; the real-time simulation computer 12 is used for simulating a train subsystem, simulating test data of a train network control system according to requirements, and acquiring and responding to a control instruction of a tested controller to form train closed-loop control; the I/O adaptation system 13 may be used for I/O channel electrical characteristic matching and buffer isolation between the real-time simulation computer 12 and the train network control system.
In another implementation manner, on the basis of fig. 2, as shown in fig. 3, the whole set of system hardware for the real-time ethernet-based train network control system simulation test may include a simulation test management host computer 21, a real-time simulation computer 22, an I/O adaptation system 23, and a train network control system 24.
The simulation test management upper computer 21 is connected with the real-time simulation computer 22 through an ethernet network so as to run a simulation test monitoring program.
The real-time simulation computer 22 equipment consists of an industrial control computer case, a real-time simulation computer processor 221, a real-time Ethernet board 222, a DIO board 223, an AIO board 224 and a PWM board 225; the real-time simulation processor 221 runs a simulation train subsystem model, model data interacts with a tested device (a train network control system) through a board card in a simulator, and the real-time Ethernet board card 222 realizes TRDP communication; the DIO board card 223 realizes the acquisition and output of digital signals, simulates train circuit state signals and is in butt joint with an RIOM module in a train network control system; the AIO board 224 realizes input and output of analog quantity; the PWM board 225 is used to simulate a train controller traction braking level command.
The I/O adaptation system 23 includes a program-controlled disconnection box 231 and a signal conditioning module 232, wherein the program-controlled disconnection box 231 is connected in series between the real-time simulation computer 22 and the train network control system 24, and can automatically realize signal path control in the test process and simulate the I/O disconnection condition of the train network control system; the signal conditioning module 232 realizes the electrical matching of the I/O signal, generally, the I/O of the train network control system is 110V signal, and the I/O of the real-time simulation computer is 5V TTL signal, so the normal connection of the electrical signals of the two parties is realized through the signal conditioning module 232.
The tested object (train network control system 24) in the embodiment of the invention can comprise a train central controller 241, a remote input/output module 242 and a driver HMI 243, wherein the train central controller 241 realizes a train control function and can control at least one of a train high-voltage device, a traction system, a brake system, a door control system and an air conditioning system; the remote input and output module 242 realizes the functions of train circuit state acquisition and central controller instruction output, and communicates with the train central controller 241 through real-time ethernet; the driver HMI 243 is used as a train man-machine interface, realizes the display of the running state of the train, and receives the operation instruction of the driver, and the HMI is also communicated with the train central controller 241 through the real-time Ethernet;
it should be noted that, in the real object test of the train, the train central controller 241, the remote input/output module 242, the driver HMI 243, the train traction system, the brake system and the door control system are all connected through the real-time ethernet, and the remote input/output module 242 is distributed at each position on the train, connected with the train control circuit, and used for collecting the state of the train and outputting the control instruction of the central controller; in the test method in the embodiment of the invention, the real-time simulation computer 22 and the I/O adaptation system 23 replace a vehicle subsystem and a train control circuit in a physical test, a technical method of a digital model is used for simulating a train traction system, a brake system, a door control system and the like and the train control circuit, and an interface of a train network control system is reserved for data interaction.
In an alternative embodiment, the file type of the target data stream file is XML.
In one case, the file type of the original data stream file is Excel, and the original data stream file is converted into an XML file by a file type conversion tool to obtain a target data stream file.
S104: and testing the train network control system by utilizing the train subsystem model based on the target data stream file, wherein the train subsystem model and the train network control system carry out bidirectional data transmission through a real-time Ethernet.
In the prior art, the traditional open-loop excitation response test can only test a single control logic of the train network control system, and in the embodiment of the invention, bidirectional data transmission is carried out between the train subsystem model and the train network control system through the real-time Ethernet, so that the closed-loop test of the train network control system is realized. The embodiment of the invention sends the simulation data to the train network control system through the real-time Ethernet, detects the output result of the measured controller, and judges whether the control logic is correct or not so as to form a closed-loop test. The embodiment of the invention adopts the semi-physical simulation technology to quickly construct the peripheral simulation environment model of the tested object, configure the real-time Ethernet communication content, improve the simulation test efficiency and shorten the test period.
In an optional embodiment, on the basis of the above embodiment, before the testing the train network control system by using the train subsystem model based on the target data stream file, the method may further include the following steps:
and initializing a real-time Ethernet board card driving module according to the target data stream file, wherein the real-time Ethernet board card driving module is arranged in the real-time Ethernet board card.
After the target data stream file is obtained, the target data stream file may be imported into the real-time ethernet board card drive module to perform TRDP initialization. After TRDP initialization, TRDP input/output interface model adaptation can be performed through a TRDP receiving model and a TRDP transmitting model, and communication interface adaptation of TRDP is generally completed. The adaptive simulated train subsystem models correspondingly have interface models, so that the train subsystems have TRDP input and output functions, and the input and output interfaces based on TRDP are used for sending simulated train subsystem model data to the train network control system and receiving the data sent by the train network control system. The embodiment of the invention can better realize the connection between the train subsystem model and the train network control system.
In an alternative embodiment, the train subsystem model is any one of a driver platform model, a train circuit model, a vehicle-mounted VOBC model, a dynamics model, a traction system model, a braking system model, an auxiliary system model, a battery model, a charger model, a door system model, an air conditioning logic model, and a lighting logic model.
The driver platform model is used for simulating a train control instruction signal sent by a driver through a driver platform button, a pull key and a driver control handle.
The train circuit model is constructed according to a train electrical schematic diagram, simulates train circuit logic and at least comprises a pantograph lifting control loop, an emergency braking safety loop and a traction safety loop, and input and output data of the model are interacted with a remote input and output module in the train network control system.
The vehicle-mounted VOBC model is used for simulating a control instruction sent by a signal system to a vehicle, and comprises a train network instruction signal and a hard line instruction signal, the network instruction is sent to the train network control system through a real-time Ethernet, and the hard line instruction signal directly acts on a train circuit and is collected into the train network control system through a remote input and output module.
The dynamic model is used for simulating the running speed and position information of the train, the traction braking system model calculates the traction braking force of the train according to the control instruction of the train network control system, and the dynamic model calculates the running acceleration and speed information of the train by taking the traction braking force as input; and the dynamic model simultaneously considers the information of the ramp, the curve and the tunnel of the train running line and calculates the basic resistance of the train running.
The train subsystem model can also be one of a traction system model, a braking system model, an auxiliary system model, a storage battery model, a charger model, a door system model, an air conditioner logic model and an illumination logic model, and all the train subsystem models are used for simulating the state of the train subsystem equipment and receiving and responding to the instructions of the train network control system.
The embodiment of the invention generates a train subsystem model aiming at each train subsystem, tests the train network control system (real object) by utilizing all the train subsystem models, and considers the coupling effect among the train subsystems, so compared with the traditional open-loop excitation response test which can only test the single control logic of the train network control system, the test data obtained by applying the embodiment of the invention is more accurate.
The embodiment of the invention tests the real train control system through each virtual train subsystem, namely the invention is a semi-physical simulation test method.
In another embodiment, a method for testing a train network control system based on real-time ethernet may include:
s301: and the real-time simulation computer receives a simulation test instruction of the train network control system from the simulation test management upper computer.
S302: the model in the real-time simulation computer outputs an excitation signal (namely a simulation test instruction) for testing the train network control system, and outputs the state information of the subsystem to the train network control system.
The test excitation signal of the train network control system is an instruction input signal of the train network control system, and at least comprises one of a train cab activation signal, a pantograph lifting instruction signal, a main breaker closing instruction signal, an emergency braking instruction signal, a direction instruction signal and a traction and braking instruction signal. After receiving the simulated driver instruction signal, the control system starts to control the train to run; the subsystem state information is the basis of the control decision of the train network control system; the state information of the train subsystem at least comprises at least one of train running speed, running time, traction system equipment state, brake system equipment state, vehicle door state and train traction braking force, and the command input signal of the train network control system and the state information of the train subsystem are not specifically limited.
S303: the train network control system receives the simulation data sent by the real-time simulation computer and outputs a train control instruction according to the self control logic.
The train network control system self function logic refers to a specific control function of the equipment, and is also a specific content to be tested in the embodiment of the invention, and at least comprises the following steps: the control system comprises one of a train pantograph control function, a main circuit breaker control function, a train direction control function, a traction level control function, a brake level control function, an air-electric combined brake control function, a vehicle door control function, an air conditioner and lighting control function, a train operation mode control function, an emergency brake control function and a train state display function.
S304: the real-time simulation computer receives a control instruction of the train network control system, the train subsystem model updates the system state according to the control instruction, and data in the real-time simulation test process are sent to the simulation test management upper computer; the real-time simulation computer uploads simulation test data to the simulation test management computer through the Ethernet, and the data are the basis for data display and test result judgment of the upper computer.
S305: the simulation test management upper computer receives the real-time simulation test process data, displays the data to a test engineer through a monitoring panel and judges whether the function of the tested object is in line with expectation.
The simulation test management upper computer monitoring interface is established based on the test requirements of the train network control system, and at least comprises one of the functions of train subsystem equipment state display, test instruction setting and simulation test process management.
Corresponding to the above method embodiment, an embodiment of the present invention provides a schematic structural diagram of a train network control system testing apparatus based on real-time ethernet, and as shown in fig. 4, the apparatus may include:
a first determining module 301, configured to determine first communication information, where the first communication information is data flow information corresponding to a train network control system and at least one real train subsystem in a TRDP communication process;
a second determining module 302, configured to determine an original data stream file according to the first communication information, where the train network control system and at least one of the real train subsystems perform TRDP communication based on the original data stream file;
a conversion module 303, configured to perform file type conversion on the original data stream file to obtain a target data stream file, where the train network control system and at least one train subsystem model perform TRDP communication based on the target data stream file, each train subsystem corresponds to a train subsystem model, the train subsystem model is used to simulate the train subsystem, and the file type of the target data stream file is a file type supporting real-time ethernet board card driving;
a testing module 304, configured to test the train network control system by using the train subsystem model based on the target data stream file, where the train subsystem model and the train control system perform bidirectional data transmission through a real-time ethernet.
Optionally, the data flow information includes communication configuration information and process data, the communication configuration information includes an IP address, a ComID number, and a communication cycle, and the process data includes received data and transmitted data.
Optionally, the apparatus further comprises:
and the initialization module is used for initializing a real-time Ethernet board card driving module according to the target data stream file, wherein the real-time Ethernet board card driving module is arranged in the real-time Ethernet board card.
Optionally, the train subsystem model is any one of a driver platform model, a train circuit model, a vehicle-mounted VOBC model, a dynamics model, a traction system model, a braking system model, an auxiliary system model, a battery model, a charger model, a door system model, an air conditioner logic model, and a lighting logic model.
Optionally, the file type of the target data stream file is XML.
The system and apparatus embodiments correspond to the system embodiments, and have the same technical effects as the method embodiments, and for the specific description, refer to the method embodiments. The device embodiment is obtained based on the method embodiment, and for specific description, reference may be made to the method embodiment section, which is not described herein again. Those of ordinary skill in the art will understand that: the figures are schematic representations of one embodiment, and the blocks or processes shown in the figures are not necessarily required to practice the present invention.
Those of ordinary skill in the art will understand that: modules in the devices in the embodiments may be distributed in the devices in the embodiments according to the description of the embodiments, or may be located in one or more devices different from the embodiments with corresponding changes. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A train network control system testing method based on real-time Ethernet is characterized by comprising the following steps:
determining first communication information, wherein the first communication information is data flow information corresponding to the train network control system and at least one real train subsystem in a TRDP communication process;
determining an original data stream file according to the first communication information, wherein the train network control system and at least one real train subsystem perform TRDP communication based on the original data stream file;
performing file type conversion on the original data stream file to obtain a target data stream file, wherein the train network control system and at least one train subsystem model perform TRDP communication based on the target data stream file, each train subsystem corresponds to one train subsystem model, the train subsystem models are used for simulating the train subsystems, and the file type of the target data stream file is a file type supporting real-time Ethernet board card driving;
and testing the train network control system by utilizing the train subsystem model based on the target data stream file, wherein the train subsystem model and the train network control system carry out bidirectional data transmission through a real-time Ethernet.
2. The method of claim 1, wherein the data flow information includes communication configuration information including an IP address, a ComID number, a communication period, and process data including received data and transmitted data.
3. The method of claim 1, wherein prior to testing the train network control system using the train subsystem model based on the target data stream file, further comprising:
and initializing a real-time Ethernet board card driving module according to the target data stream file, wherein the real-time Ethernet board card driving module is arranged in the real-time Ethernet board card.
4. The method of claim 1, wherein the train subsystem model is any one of a driver's station model, a train circuit model, a vehicle VOBC model, a dynamics model, a traction system model, a braking system model, an auxiliary system model, a battery model, a charger model, a door system model, an air conditioning logic model, and a lighting logic model.
5. The method of claim 1, wherein the file type of the target data stream file is XML.
6. A real-time Ethernet-based train network control system testing device is characterized by comprising:
the system comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for determining first communication information, and the first communication information is data flow information corresponding to a train network control system and at least one real train subsystem in a TRDP communication process;
a second determining module, configured to determine an original data stream file according to the first communication information, where the train network control system and at least one real train subsystem perform TRDP communication based on the original data stream file;
the conversion module is used for performing file type conversion on the original data stream file to obtain a target data stream file, wherein the train network control system and at least one train subsystem model perform TRDP communication based on the target data stream file, each train subsystem corresponds to one train subsystem model, the train subsystem models are used for simulating the train subsystems, and the file type of the target data stream file is a file type supporting real-time Ethernet board card driving;
and the test module is used for testing the train network control system by utilizing the train subsystem model based on the target data stream file, wherein the train subsystem model and the train control system carry out bidirectional data transmission through a real-time Ethernet.
7. The apparatus of claim 6, wherein the data flow information comprises communication configuration information including an IP address, a ComID number, a communication period, and process data including received data and transmitted data.
8. The apparatus of claim 6, wherein the apparatus further comprises:
and the initialization module is used for initializing a real-time Ethernet board card driving module according to the target data stream file, wherein the real-time Ethernet board card driving module is arranged in the real-time Ethernet board card.
9. The apparatus of claim 6, wherein the train subsystem model is any one of a driver's station model, a train circuit model, an on-board VOBC model, a dynamics model, a traction system model, a braking system model, an auxiliary system model, a battery model, a charger model, a door system model, an air conditioning logic model, and a lighting logic model.
10. The apparatus of claim 6, wherein the file type of the target data stream file is XML.
CN202210196049.3A 2022-03-01 2022-03-01 Train network control system testing method and device based on real-time Ethernet Pending CN114625105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210196049.3A CN114625105A (en) 2022-03-01 2022-03-01 Train network control system testing method and device based on real-time Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210196049.3A CN114625105A (en) 2022-03-01 2022-03-01 Train network control system testing method and device based on real-time Ethernet

Publications (1)

Publication Number Publication Date
CN114625105A true CN114625105A (en) 2022-06-14

Family

ID=81900193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210196049.3A Pending CN114625105A (en) 2022-03-01 2022-03-01 Train network control system testing method and device based on real-time Ethernet

Country Status (1)

Country Link
CN (1) CN114625105A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080087970A (en) * 2007-03-28 2008-10-02 현대로템 주식회사 Tester device of cbtc(communication based train control) atc/ato(automatic train control automatic train operation) for magnetic levitation train
CN102323761A (en) * 2011-07-18 2012-01-18 铁道部运输局 Semi-physical simulation testing platform of train control network
CN103676921A (en) * 2012-09-05 2014-03-26 中国北车股份有限公司大连电力牵引研发中心 TCMS (Train Control and Monitoring System) testing system and method
CN105425778A (en) * 2015-12-15 2016-03-23 唐山轨道客车有限责任公司 Test platform for train network control system based on CAN (Controller Area Network) bus
CN105759631A (en) * 2016-03-28 2016-07-13 株洲中车时代电气股份有限公司 Train network control system semi-physical simulation testing system and method
US20170066460A1 (en) * 2014-11-25 2017-03-09 Crrc Qingdao Sifang Co., Ltd. Simulation and experiment platform for high-speed train braking system and experiment method
CN110808875A (en) * 2019-10-29 2020-02-18 交控科技股份有限公司 Transportation management system interface simulation system and method
US20220044495A1 (en) * 2020-08-07 2022-02-10 Marvell Asia Pte Ltd Self-diagnosis for in-vehicle networks

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080087970A (en) * 2007-03-28 2008-10-02 현대로템 주식회사 Tester device of cbtc(communication based train control) atc/ato(automatic train control automatic train operation) for magnetic levitation train
CN102323761A (en) * 2011-07-18 2012-01-18 铁道部运输局 Semi-physical simulation testing platform of train control network
CN103676921A (en) * 2012-09-05 2014-03-26 中国北车股份有限公司大连电力牵引研发中心 TCMS (Train Control and Monitoring System) testing system and method
US20170066460A1 (en) * 2014-11-25 2017-03-09 Crrc Qingdao Sifang Co., Ltd. Simulation and experiment platform for high-speed train braking system and experiment method
CN105425778A (en) * 2015-12-15 2016-03-23 唐山轨道客车有限责任公司 Test platform for train network control system based on CAN (Controller Area Network) bus
CN105759631A (en) * 2016-03-28 2016-07-13 株洲中车时代电气股份有限公司 Train network control system semi-physical simulation testing system and method
CN110808875A (en) * 2019-10-29 2020-02-18 交控科技股份有限公司 Transportation management system interface simulation system and method
US20220044495A1 (en) * 2020-08-07 2022-02-10 Marvell Asia Pte Ltd Self-diagnosis for in-vehicle networks

Similar Documents

Publication Publication Date Title
CN107340441B (en) A kind of fuel cell car power assembly integrated test system
CN112987700B (en) Integrated test system of magnetic suspension traffic operation control system
CN105159188B (en) A kind of new energy vehicle heterogeneous network emulator and control method
CN106444420B (en) A kind of locomotive semi-hardware type simulation test system and method
CN102809937B (en) PLC and 1553B based portable equivalent device for carrier rocket test-launch control system
CN105759631A (en) Train network control system semi-physical simulation testing system and method
CN204480040U (en) The test macro of fuel-cell vehicle entire car controller
CN114488847B (en) Semi-physical simulation system of vehicle-mounted network control system
CN112445149B (en) Semi-physical simulation test system of rail train braking system
CN108919778A (en) Vehicle control unit of electric vehicle test device
CN103631147A (en) Train network control system semi-physical comprehensive simulation test platform and test method
CN104503424A (en) New energy automobile overall controller and battery controller joint test system
CN106406278B (en) The combined test system of rail traffic vehicles control equipment based on MVB bus
CN110631843A (en) Test system and method for rail transit vehicle
KR20190123858A (en) Smart traffic signal control center algorithm evaluation method and device thereof
CN110456761A (en) Test macro, method and the vehicle of energy management apparatus
CN105785965A (en) Finished automobile control strategy and network test platform for new energy automobiles
CN114089719B (en) Vehicle signal interface simulation verification method and device for TACS system
CN114745312B (en) Vehicle-mounted Ethernet test system and method
CN108519936B (en) Verification system and method for data transmission bus of effective load subsystem
CN206411509U (en) Vehicle multi-controller emulation test system
CN202261347U (en) TCN-based train network simulation experimental system
CN102880173A (en) Simulation testing method, equipment and system
CN104678776A (en) Semi-physical/full-digital compatible simulation method for ocean robots
CN113997990A (en) High-speed maglev train traction and motion simulation 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