CN113867311A - Test system and test method thereof - Google Patents
Test system and test method thereof Download PDFInfo
- Publication number
- CN113867311A CN113867311A CN202111068245.4A CN202111068245A CN113867311A CN 113867311 A CN113867311 A CN 113867311A CN 202111068245 A CN202111068245 A CN 202111068245A CN 113867311 A CN113867311 A CN 113867311A
- Authority
- CN
- China
- Prior art keywords
- communication
- data
- conversion module
- communication interface
- data conversion
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 83
- 238000010998 test method Methods 0.000 title claims abstract description 10
- 238000004891 communication Methods 0.000 claims abstract description 483
- 238000006243 chemical reaction Methods 0.000 claims abstract description 151
- 238000004088 simulation Methods 0.000 claims abstract description 84
- 230000001360 synchronised effect Effects 0.000 claims description 14
- 239000013307 optical fiber Substances 0.000 claims description 13
- 230000009286 beneficial effect Effects 0.000 abstract description 3
- 238000000034 method Methods 0.000 description 27
- 238000005339 levitation Methods 0.000 description 24
- 230000008569 process Effects 0.000 description 24
- 238000005259 measurement Methods 0.000 description 17
- 230000005540 biological transmission Effects 0.000 description 16
- 238000005192 partition Methods 0.000 description 11
- 230000003993 interaction Effects 0.000 description 9
- 239000000725 suspension Substances 0.000 description 5
- 230000002452 interceptive effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 239000005441 aurora Substances 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 238000013316 zoning Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric 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/0213—Modular 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
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application relates to the technical field of rail transit, in particular to a test system and a test method thereof, wherein the test system comprises: the simulator resolves the simulation model to obtain first communication data, and transmits the first communication data to the data conversion module; the data conversion module is provided with a first communication interface, the control module is provided with a second communication interface, the type of the first communication interface is the same as that of the second communication interface, the data conversion module converts the first communication data into second communication data, and the second communication data is transmitted to the control module through the second communication interface through the first communication interface; the control module obtains third communication data based on the second communication data, and transmits the third communication data to the data conversion module, wherein the control module comprises a subarea radio control unit, a vehicle-mounted radio control unit and a traction motor controller. The embodiment of the application is beneficial to improving the accuracy and the effectiveness of the test.
Description
Technical Field
The embodiment of the application relates to the field of rail transit, in particular to a test system and a test method thereof.
Background
The high-speed magnetic levitation positioning and speed measuring system is an essential part in the running of a high-speed magnetic levitation train, and can provide train position information for a traction system, mileage information for an operation control system and diagnosis information for a vehicle-mounted safety computer. Therefore, the positioning accuracy and stability of the high-speed magnetic levitation positioning and speed measuring system are directly related to the safe operation of the train.
Because high-speed magnetic levitation is difficult to complete test and verification in a high-speed process in a ground real object system, in order to test the positioning accuracy and stability of the high-speed magnetic levitation positioning and speed measuring system, data in the high-speed magnetic levitation running process needs to be transmitted to a running control system and units such as a vehicle-mounted radio control unit, a partition radio control unit and a traction motor controller in a traction power supply system for data interaction.
However, in the current testing method, one is to directly set parameters in the high-speed magnetic levitation running process in the zoning radio control unit and the vehicle-mounted radio control unit to realize the test of the high-speed magnetic levitation positioning speed measurement system, so that the authenticity is lacked, and the test data may be inaccurate. The other method is that a control program is modified for the traction motor controller, an actual interface of the traction motor controller is changed into an Ethernet interface, parameters of the high-speed magnetic levitation positioning and speed measuring system in the simulator are sent to the traction motor controller in the form of Ethernet, and due to the fact that a communication interface in a real scene cannot be simulated, timeliness is low, and test data cannot be suitable for practical application.
Disclosure of Invention
The embodiment of the application provides a test system and a test method thereof, which are at least beneficial to improving the accuracy and effectiveness of a test process when the positioning precision and stability of a high-speed magnetic levitation positioning and speed measuring system are tested.
To solve the foregoing technical problem, an embodiment of the present application provides a test system, including: the simulation machine is used for resolving a simulation model to obtain first communication data, and the simulation model comprises: the simulation machine is in communication connection with the data conversion module and transmits first communication data to the data conversion module; the data conversion module is provided with a first communication interface, the control module is provided with a second communication interface, the first communication interface and the second communication interface are communication interfaces with the same type, and the data conversion module is used for converting the first communication data into second communication data matched with the first communication interface and the second communication interface and transmitting the second communication data to the control module through the first communication interface and the second communication interface; the control module is used for obtaining third communication data based on the second communication data, and is also used for transmitting the third communication data to the data conversion module through the first communication interface through the second communication interface, and the control module comprises a subarea radio control unit, a vehicle-mounted radio control unit and a traction motor controller.
In addition, the first communication interface and the second communication interface are synchronous 485 interfaces.
In addition, the test system further includes: and the upper computer is in communication connection with the data conversion module and is used for receiving the first communication data, the second communication data and the third communication data.
In addition, the simulation model further comprises a communication model, and the communication model is used for simulating communication interruption, communication delay and communication jitter between the vehicle-mounted radio control unit and the subarea radio control unit.
In addition, the data conversion module includes: a control unit for: receiving first communication data, and performing communication decoding on the first communication data to obtain a communication signal; coding the communication signal to obtain second communication data; and controlling the second communication data to be transmitted to the control module through the first communication interface and the second communication interface.
In addition, the data conversion module is provided with any one of a PCIe communication interface or an SFP optical fiber communication interface, and the simulator transmits the first communication data to the data conversion module through any one of the PCIe communication interface or the SFP optical fiber communication interface.
Correspondingly, an embodiment of the present application further provides a testing method, which is applied to the testing system, and includes: the simulator resolves the simulation model to obtain first communication data; the simulator establishes communication connection with the data conversion module and transmits first communication data to the data conversion module; the control module converts the first communication data to obtain second communication data; the data conversion module transmits the second communication data to the control module through the first communication interface and the second communication interface; the control module obtains third communication data based on the second communication data; the control module transmits the third communication data to the data conversion module through the first communication interface through the second communication interface.
In addition, the test system further includes: the data conversion module also transmits the first communication data and the second communication data to the upper computer, and the data conversion module also transmits the third communication data to the upper computer.
In addition, the data conversion module establishes communication connection with the simulator based on a communication protocol adaptive to the simulator.
In addition, still include: the simulation model further comprises a communication model, the communication model is used for simulating communication interruption, communication delay and communication jitter between the vehicle-mounted radio control unit and the partition radio control unit, and the simulator resolves the communication model to obtain first communication data; the simulator transmits the first communication data to a data conversion module; the data conversion module converts the first communication data to obtain second communication data; and the data conversion module transmits the second communication data to the traction motor controller.
The technical scheme provided by the embodiment of the application has at least the following advantages:
in the technical solution of the test system provided in the embodiment of the present application, the method includes: the simulation machine is used for resolving a simulation model to obtain first communication data, and the simulation model comprises: the simulation machine is in communication connection with the data conversion module, transmits first communication data to the data conversion module, can simulate a real scene by using the simulation model, and has high authenticity; the data conversion module is provided with a first communication interface, the control module is provided with a second communication interface, and the first communication interface and the second communication interface are communication interfaces of the same type, namely, the communication interface of the data conversion module is of the same type as the communication interface of the control module, namely, the data conversion module can simulate the communication connection between the communication interface consistent with the actual application scene and the control module, so that the test data can be better suitable for the actual application scene; the data conversion module is used for converting the first communication data into second communication data matched with the first communication interface and the second communication interface, and is also used for transmitting the second communication data to the control module through the first communication interface and the second communication interface; the control module is used for obtaining third communication data based on the second communication data, the control module is further used for transmitting the third communication data to the data conversion module through the first communication interface through the second communication interface, the control module comprises a subarea radio control unit, a vehicle-mounted radio control unit and a traction motor controller, and therefore data interaction between the control module and the simulation machine according to the communication interface consistent with the actual application scene can be achieved through the data conversion module, and the test process has high accuracy and effectiveness.
Drawings
One or more embodiments are illustrated by corresponding figures in the drawings, which are not to be construed as limiting the embodiments, unless expressly stated otherwise, and the drawings are not to scale.
FIG. 1 is a system diagram of a test system according to an embodiment of the present application;
fig. 2 is a flowchart of a testing method according to an embodiment of the present disclosure.
Detailed Description
The background technology shows that the existing testing method for the positioning accuracy and stability of the high-speed magnetic levitation positioning and speed measuring system has the problems of low accuracy and low effectiveness in the testing process.
An embodiment of the present application provides a test system, including: the simulation machine is used for resolving a simulation model to obtain first communication data, and the simulation model comprises: the simulation machine is in communication connection with the data conversion module, transmits first communication data to the data conversion module, can simulate a real scene by using the simulation model, and has high authenticity; the data conversion module is provided with a first communication interface, the control module is provided with a second communication interface, and the first communication interface and the second communication interface are communication interfaces of the same type, namely, the communication interface of the data conversion module is of the same type as the communication interface of the control module, namely, the data conversion module can simulate the communication connection between the communication interface consistent with the actual application scene and the control module, so that the test data can be better suitable for the actual application scene; the data conversion module is used for converting the first communication data into second communication data matched with the first communication interface and the second communication interface, and is also used for transmitting the second communication data to the control module through the first communication interface and the second communication interface; the control module is used for obtaining third communication data based on the second communication data, the control module is further used for transmitting the third communication data to the data conversion module through the first communication interface through the second communication interface, the control module comprises a subarea radio control unit, a vehicle-mounted radio control unit and a traction motor controller, and therefore data interaction between the control module and the simulation machine according to the communication interface consistent with the actual scene can be achieved through the data conversion module, and the test process is high in accuracy and effectiveness.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that in the examples of the present application, numerous technical details are set forth in order to provide a better understanding of the present application. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
Fig. 1 is a system connection diagram of a test system according to an embodiment of the present disclosure.
Referring to fig. 1, the test system includes: the simulation machine 100 is used for calculating a simulation model to obtain first communication data, and the simulation machine 100 includes: the simulation system comprises a traction power supply model, an operation control model and a vehicle kinematics model, wherein the simulator 100 is in communication connection with a data conversion module 110 and transmits first communication data to the data conversion module 110; the data conversion module 110 has a first communication interface 111, the control module 120 has a second communication interface 121, the first communication interface 111 and the second communication interface 121 are communication interfaces of the same type, the data conversion module 110 is configured to convert the first communication data into second communication data matched with the first communication interface 111 and the second communication interface 121, and further configured to transmit the second communication data to the control module 120 through the second communication interface 121 via the first communication interface 111; the Control module 120 is configured to obtain third communication data based on the second communication data, the Control module 120 is further configured to transmit the third communication data to the data conversion module 110 through the first communication interface 111 via the second communication interface 121, and the Control module 120 includes a partitioned Radio Control Unit (DRCU), a vehicle Radio Control Unit (MRCU), and a traction Motor Controller (MCU).
The first communication data calculated by the simulator 100 is converted into second communication data matched with the first communication interface 111 and the second communication interface 121 through the data conversion module 110, so that the second communication data can be transmitted to the control module 120 according to a communication protocol between the first communication interface 111 and the second communication interface 121, and therefore interactive testing of data between the control module 120 and the simulator 100 according to the communication interface consistent with the actual scene is achieved, and the testing process has high accuracy and effectiveness.
The first communication data is obtained by the simulator 100 resolving the simulation model, and specifically, the simulator 100 resolves the simulation model by running the simulation model with a certain simulation step length to obtain the first communication data. In some embodiments, the simulation machine 100 may be a real-time simulation machine 100, and the simulation step size may be 20 μ s. The simulation model is used for simulating a high-speed magnetic suspension system. The system comprises a traction power supply model, an operation control model and a vehicle kinematics model, wherein the traction power supply model is used for simulating a traction power supply system of a high-speed magnetic levitation system, the operation control model is used for simulating an operation control system of the high-speed magnetic levitation system, and the vehicle kinematics model is used for simulating a vehicle kinematics system of the high-speed magnetic levitation system. The real situation of the high-speed magnetic-levitation train in actual operation can be more truly simulated through the simulation model. Specifically, in some embodiments, the simulation model may be built by a modeling machine, and the modeling machine is communicatively coupled to the simulation machine 100 to transmit the simulation model to the simulation machine 100. The first communication data is high-speed maglev positioning and speed measuring data of the high-speed maglev train, and specifically, in some embodiments, the first communication data can be signals such as a magnetic pole phase angle and an absolute position during operation of the high-speed maglev train, and serve as the speed measuring and positioning data.
The control module 120 is used for collecting, decomposing, encoding and decoding information source and the like of transmission information between the high-speed magnetic levitation system and the traction system and between the high-speed magnetic levitation system and the operation control system. Specifically, the information transmission between the high-speed magnetic levitation speed measurement positioning system in the high-speed magnetic levitation system, the traction system and the operation control system is taken as an example for explanation. The vehicle-mounted radio control unit is in communication connection with the subarea radio control unit, and the subarea radio control unit is in communication connection with the traction motor controller. The vehicle-mounted radio control unit is used for receiving positioning speed measurement data in the high-speed magnetic levitation positioning speed measurement system and transmitting the positioning speed measurement data to the subarea radio control unit; the partition radio control unit transmits the positioning speed measurement data to the traction motor controller, and the traction motor controller controls the operation of the traction system.
During the testing process, the real control module 120 is in communication connection with the data conversion module 110 to realize data interaction with the simulation model operated by the simulator 100, so that the authenticity of the test is improved. The first communication interface 111 of the data conversion module 110 and the second communication interface 121 of the control module 120 are of the same type, that is, in the testing process, the data conversion module 110 is in communication connection with the control module 120 by simulating the actual communication interface which is the same as the controller in the control module 120, so that the result obtained in the testing process can be directly applied to the actual application scenario. Compared with the prior art that the actual communication interface of the control module 120 is converted into the ethernet interface, the technical solution of the embodiment of the present invention has higher effectiveness. In some embodiments, the first communication interface 111 and the second communication interface 121 may be both synchronous 485 interfaces. Specifically, 1 way of synchronous 485 interface is composed of 4 ways of 485 interfaces, each 485 interface has a strict time sequence relationship, and in the actual test process, the 4 ways of 485 interfaces are required to transmit data simultaneously. In addition, when the data conversion module 110 is in communication connection with the control module 120, the protocols used by the first communication interface 111 and the second communication interface 121 are different according to the difference of the control module 120, and only when the communication data matches the first communication interface 111 and the second communication interface 121, the communication data can be transmitted. The data conversion module 110 may convert the first communication data into second communication data matched with the first communication interface 111 and the second communication interface 121 according to a protocol used between the first communication interface 111 and the second communication interface 121, so as to transmit the second communication data to the control module 120, thereby implementing an interactive test of data between the control module 120 and the simulation machine 100 according to a communication interface consistent with that in an actual scene.
Specifically, in some embodiments, the data conversion module 110 includes a control unit 112, the control unit 112 is configured to: receiving first communication data, and performing communication decoding on the first communication data to obtain a communication signal; coding the communication signal to obtain second communication data; the second communication data is controlled to be transmitted to the control module 120 through the first communication interface 111 and the second communication interface 121. That is to say, the first communication data is encoded data, and specifically, when the simulation model is established, the first communication data is obtained by encoding the data according to the encoding rule in the simulation model. When the first communication data is transmitted to the data conversion module 110, the control unit 112 in the data conversion module 110 decodes the first communication data and re-encodes the decoded first communication data to obtain the second communication data, so that the decoded second communication data meets the encoding rule in the communication protocol between the first communication interface 111 and the second communication interface 121. In addition, the control unit 112 also controls the timing sequence of the first communication interface 111, so that the second communication data is transmitted from the first communication interface 111 to the control module 120 through the second communication interface 121 according to the communication protocol between the first communication interface 111 and the second communication interface 121, thereby implementing high-speed transmission of speed measurement and positioning data between the control module 120 and the emulator 100. Specifically, in some embodiments, the control unit 112 may be a Field Programmable Gate Array (FPGA) control unit.
It is understood that after the data conversion module 110 transmits the second communication data to the control module 120, the control module 120 obtains third communication data in response to the second communication data, and the third communication data may be test data.
In some embodiments, the first communication interface 111 in the data conversion module 110 can be used to simulate a communication interface of a speed measurement positioning device in a high-speed maglev train, and communicate with the on-board radio control unit 112. That is to say, at this time, the simulator 100 and the data conversion module 110 are equivalent to a speed measurement positioning device, and the data conversion module 110 transmits the positioning speed measurement data resolved in the simulator 100 to the vehicle-mounted radio control unit 112 through the second communication interface 121 via the first communication interface 111, so that the process of transmitting the positioning speed measurement data from the speed measurement positioning device to the vehicle-mounted radio control unit 112 can be simulated, and the interactive test between the speed measurement positioning device and the vehicle-mounted radio control unit 112 is realized. It should be noted that, in this case, a communication protocol suitable for the on-board radio control unit 112 is used for data transmission between the first communication interface 111 and the second communication interface 121.
In still other embodiments, the first communication interface 111 in the data conversion module 110 may also be used to simulate a communication interface of the partition radio control unit 112 to communicate with the traction motor controller, that is, when the simulator 100 and the data conversion module 110 are equivalent to the partition radio control unit 112, the data conversion module 110 transmits the positioning speed measurement data resolved in the simulator 100 to the traction motor controller via the second communication interface 121 through the first communication interface 111, so as to simulate a process of transmitting the positioning speed measurement data from the partition radio control unit 112 to the traction motor controller, thereby implementing an interactive test between the partition radio control unit 112 and the traction motor controller. At this time, when data is transmitted between the first communication interface 111 and the second communication interface 121, a communication protocol suitable for the traction motor controller is used.
In other embodiments, the first communication interface 111 of the data conversion module 110 may also be used to simulate a communication interface of the vehicle-mounted radio control unit 112 and communicate with the sectorized radio control unit 112, that is, the simulator 100 and the data conversion module 110 are equivalent to the vehicle-mounted radio control unit 112, and it should be noted that, at this time, the vehicle-mounted radio unit and the sectorized radio unit may communicate with each other by wireless communication, so as to implement an interaction test between the vehicle-mounted radio control unit 112 and the sectorized radio control unit 112.
That is, the data conversion module 110 can simulate the actual interfaces of different control modules, and implement data interaction test between different control modules, so that the test process has authenticity and validity.
In some embodiments, the test system further comprises: the host computer 130, the host computer 130 and the data conversion module 110 are connected in a communication mode, and the host computer 130 is used for receiving the first communication data, the second communication data and the third communication data. That is, in the testing process, the data conversion module 110 sends the first communication data, the second communication data and the third communication data to the upper computer 130, so as to check the conversion state of the data conversion module 110 and the testing state of the testing system at any time. In some embodiments, the data conversion module 110 has an ethernet communication interface, and the upper computer 130 has the same ethernet communication interface as the data conversion module 110, and the data conversion module 110 communicates with the upper computer 130 through a TCP/IP (Transmission Control Protocol/Internet Protocol) Protocol. In particular, in some embodiments, the host computer 130 may be a cell phone.
In some embodiments, the simulation model further includes a communication model for simulating communication interruption, communication delay, and communication jitter between the in-vehicle radio control unit 112 and the zone radio control unit 112. Therefore, the state of a fault between the vehicle-mounted radio control unit 112 and the partition radio control unit 112 can be simulated, the simulator 100 resolves the communication model, the data resolved by the simulator 100 for the communication model is interacted with the traction motor controller in the control module 120 through the data conversion module 110, and the system test application of the control module 120 under different communication conditions is realized.
In some embodiments, the simulator 100 and the data conversion module 110 are communicatively connected through the same communication interface. Specifically, in some embodiments, the data conversion module 110 has a PCIe (Peripheral Component Interconnect express) communication interface or an SFP (Small Form-factor Pluggable) optical fiber communication interface, and the emulator 100 transmits the first communication data to the data conversion module 110 through the PCIe communication interface or the SFP optical fiber communication interface. In some embodiments, when the data transmission between the simulation machine 100 and the data conversion module 110 is performed through the PCIe communication interface, since the bandwidth of the PCIe communication interface can reach 10GB/S, the data transmission between the simulation machine 100 and the data transmission module can be faster. In other embodiments, when the simulator 100 and the data conversion module 110 are transmitted through the SFP optical fiber communication interface, the SFP optical fiber communication interface can realize high-speed data transmission between the simulator 100 and the data transmission module. Because the high-speed maglev train is fast, the speed per hour can reach 650km/h, the real-time requirement on the test process is high, and the data transmission speeds of the PCIe communication interface and the SFP optical fiber communication interface are high, so that the real-time requirement can be met.
In the test system provided in the foregoing embodiment, the simulation machine 100 is configured to calculate a simulation model to obtain the first communication data, where the simulation model includes: the simulation system comprises a traction power supply model, an operation control model and a vehicle kinematics model, wherein the simulator 100 is in communication connection with the data conversion module 110, first communication data are transmitted to the data conversion module 110, a real scene can be simulated by using the simulation model, and the simulation system has high authenticity; the data conversion module 110 has a first communication interface 111, the control module 120 has a second communication interface 121, and the first communication interface 111 and the second communication interface 121 are the same type of communication interface, that is, the communication interface of the data conversion module 110 is the same type as the communication interface of the control module 120, that is, the data conversion module 110 can simulate the communication connection between the communication interface consistent with the actual application scene and the control module 120, so that the test data can be better suitable for the actual application scene; the data conversion module 110 is configured to convert the first communication data into second communication data matched with the first communication interface 111 and the second communication interface 121, and further configured to transmit the first communication data to the control module 120 through the second communication interface 121 via the first communication interface 111; the control module 120 is configured to obtain third communication data based on the second communication data, and the control module 120 is further configured to transmit the third communication data to the data conversion module 110 through the first communication interface 111 via the second communication interface 121, so that, through the data conversion module 110, data interaction between the control module 120 and the simulation machine 100 according to the communication interface consistent with that in the actual scene can be achieved, and thus, the testing process has higher accuracy and effectiveness.
Correspondingly, another embodiment of the present application further provides a testing method, which is applied to the testing system provided in the embodiment of the previous application, and the method for manufacturing the semiconductor structure provided in another embodiment of the present application will be described in detail below with reference to the drawings.
Fig. 2 is a flowchart of a testing method according to another embodiment of the present application, including:
In some embodiments, before the simulation machine 100 solves the simulation model, it may further include: the high-speed magnetic suspension system model is built, for example, a modeling machine can be used for building the high-speed magnetic suspension system model, and the high-speed magnetic suspension system model comprises a traction power supply model, an operation control model and a vehicle kinematics model. The modeling machine is in communication connection with the simulator 100, and transmits the high-speed magnetic suspension system model to the simulator 100. In some embodiments, when the high-speed magnetic levitation system model is built, the data in the high-speed magnetic levitation system model is encoded according to the encoding rule of the high-speed magnetic levitation system, so that when the simulation model is solved by simulation, encoded first communication data is obtained, and the first communication data can be transmitted between the simulator 100 and the data conversion module 110.
Specifically, in some embodiments, the data conversion module 110 establishes a communication connection with the simulation machine 100 based on a communication protocol adapted to the simulation machine 100. For example, when the simulator 100 and the data conversion module 110 are in communication connection through a PCIe communication interface, the simulator 100 and the data conversion module 110 both use PCIe communication interfaces of the same type, and the data conversion module 110 and the simulator 100 need to be in communication connection through a communication protocol, at this time, the data conversion module 110 may develop a customized communication driver according to the communication protocol, so as to drive the data conversion module 110 and the simulator 100 to transmit the first communication data according to the communication protocol. When the PCIe communication interface is used, under the condition that the simulation step size is 20 μ s, each simulation step size may read and write the data of the positioning speed measurement data conversion module 110, so as to implement the in-loop test between the first communication data resolved by the simulator 100 and the controller. For another example, when the simulator 100 and the data conversion module 110 are communicatively connected through an SFP optical fiber communication interface, the simulator 100 and the data conversion module 110 both use the same type of SFP optical fiber communication interface, and the simulator 100 and the data conversion module 110 are communicatively connected through a communication protocol, specifically, in some embodiments, the simulator 100 and the data conversion module 110 may be communicatively connected through an Aurora communication protocol. At this time, each simulation step can read and write the data of the positioning and speed measuring data conversion module 110, so as to implement the in-loop test of the first communication data resolved by the simulator 100 and the controller.
In step 104, the data conversion module 110 transmits the second communication data to the control module 120 through the second communication interface 121 via the first communication interface 111. The first communication interface 111 of the data conversion module 110 and the second communication interface 121 of the control module 120 are of the same type, that is, in the testing process, the data conversion module 110 is in communication connection with the control module 120 by simulating the actual communication interface which is the same as the controller in the control module 120, so that the result obtained in the testing process can be directly applied to the actual application scenario. In some embodiments, the first communication interface 111 and the second communication interface 121 may be synchronous 485 interfaces. In addition, compared with the case that the ethernet interface is used between the data conversion module 110 and the control module 120 for data transmission, the synchronous 485 interface consistent with the actual application scenario is used, so that the testing process has higher authenticity and validity, and the transmission speed of the synchronous 485 interface is faster than that of the ethernet interface, so that the delay of the technical scheme of the embodiment of the application on interface transmission is only 25 μ s, and the real-time requirement required by the testing process is met.
Specifically, when a synchronous 485 interface is adopted, 1 synchronous 485 interface is composed of 4 synchronous 485 interfaces. The zoned radio control unit 112, the on-board radio control unit 112, and the traction motor controller have 2-way synchronous 485 interfaces. In some embodiments, each time a test is performed, the data conversion module 110 transmits the second communication data to 1 of the control modules 120 through the 1-way synchronous 485 interface, which may be any one of the on-board radio control unit 112, the partition radio control unit 112, and the traction motor controller, for example, and each control module 120 is tested separately, while the other 1-way synchronous 485 interface is used as a backup. It should be noted that, when the synchronous 485 interface is adopted, the 4 485 interfaces have a strict timing relationship, and the 4 485 interfaces need to be controlled to transmit data at the same time, so the control unit 112 in the data conversion module 110 also controls the timing of the first communication interface 111, so that the second communication data is transmitted from the first communication interface 111 to the control module 120 via the second communication interface 121 according to the communication protocol between the first communication interface 111 and the second communication interface 121, and the high-speed transmission of speed measurement and positioning data between the control module 120 and the emulator 100 is realized.
In addition, when the data conversion module 110 is in communication connection with the control module 120, according to the difference of the control module 120, the protocols used between the first communication interface 111 and the second communication interface 121 are also different, and in order to select different control modules 120 for respective testing, in some embodiments, when a simulation model is established, the control modules 120 that need to be externally tested need to be respectively numbered in the model, and meanwhile, the control modules 120 that need to be externally tested are written in the communication protocols corresponding to the control modules 120, and corresponding communication protocols are selected based on the numbers of the controllers to perform communication connection on the corresponding control modules 120, so that it is beneficial to respectively testing different control modules 120.
In step 105, the control module 120 obtains third communication data based on the second communication data, where the third communication data may be test data obtained by the control module 120 based on the second communication data.
In step 106, the control module 120 transmits the third communication data to the data conversion module 110 through the first communication interface 111 via the second communication interface 121. In some embodiments, the test system further comprises an upper computer 130, the data conversion module 110 further transmits the first communication data and the second communication data to the upper computer 130, and the data conversion module 110 further transmits the third communication data to the upper computer 130. The upper computer 130 is in communication connection with the data conversion module 110, and in the testing process, the data conversion module 110 sends the first communication data, the second communication data and the third communication data to the upper computer 130 so as to check the conversion state of the data conversion module 110 and the testing state of the testing system at any time. Specifically, data transmission is performed between the data conversion module 110 and the upper computer 130 through an ethernet interface, the data conversion module 110 and the upper computer 130 have the same type of ethernet interface, and communication is performed between the data conversion module 110 and the upper computer 130 through a TCP/IP protocol. In particular, in some embodiments, the host computer 130 may be a cell phone.
In some embodiments, the simulation model may further include a communication model for simulating communication interruption, communication delay, and communication jitter between the in-vehicle radio control unit 112 and the partition radio control unit 112, and the test method may further include:
the simulator 100 calculates a communication model to obtain first communication data;
the simulator 100 transmits the first communication data to the data conversion module 110;
the data conversion module 110 converts the first communication data to obtain second communication data;
the data conversion module 110 transmits the second communication data to the traction motor controller.
That is to say, the simulation model can also simulate a state of a fault between the on-board radio control unit 112 and the partition radio control unit 112, and implement interaction between data resolved by the simulation machine 100 for the communication model and the traction motor controller in the control module 120 through the data conversion module 110, thereby implementing test application of the system of the control module 120 under different communication conditions.
Specifically, the communication model may be built by a modeling machine, the modeling machine is in communication connection with the simulation machine 100, and the communication model is transmitted to the simulation machine 100.
In the test method provided in the above embodiment, the simulator 100 calculates a simulation model to obtain first communication data; the simulator 100 establishes communication connection with the data conversion module 110, and transmits the first communication data to the data conversion module 110; the control module 120 converts the first communication data to obtain second communication data; the data conversion module 110 transmits the second communication data to the control module 120 through the second communication interface 121 via the first communication interface 111; the control module 120 obtains third communication data based on the second communication data; the control module 120 transmits the third communication data to the data conversion module 110 through the first communication interface 111 via the second communication interface 121. The first communication interface 111 and the second communication interface 121 are of the same type, that is, the data conversion module 110 may simulate a communication interface consistent with an actual application scenario to be in communication connection with the control module 120, so that the test data may be better suitable for the actual application scenario. Through the data conversion module 110, data interaction between the control module 120 and the simulation machine 100 according to a communication interface consistent with that in an actual application scene can be realized, so that the test process has higher accuracy and effectiveness.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the present application, and that various changes in form and details may be made therein without departing from the spirit and scope of the present application in practice. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the application, and it is intended that the scope of the application be limited only by the claims appended hereto.
Claims (10)
1. A test system, comprising: a simulator, a data conversion module and a control module,
the simulator is used for resolving a simulation model to obtain first communication data, and the simulation model comprises: the simulation machine is in communication connection with the data conversion module and transmits the first communication data to the data conversion module;
the data conversion module is provided with a first communication interface, the control module is provided with a second communication interface, the first communication interface and the second communication interface are communication interfaces with the same type, and the data conversion module is used for converting the first communication data into second communication data matched with the first communication interface and the second communication interface and transmitting the second communication data to the control module through the second communication interface through the first communication interface;
the control module is used for obtaining third communication data based on the second communication data, the control module is also used for transmitting the third communication data to the data conversion module through the first communication interface through the second communication interface, and the control module comprises a subarea radio control unit, a vehicle-mounted radio control unit and a traction motor controller.
2. The test system of claim 1, wherein the first communication interface and the second communication interface are synchronous 485 interfaces.
3. The test system of claim 1, further comprising: the upper computer is in communication connection with the data conversion module and is used for receiving the first communication data, the second communication data and the third communication data.
4. The test system of claim 1, wherein the simulation model further comprises a communication model for simulating communication interruption, communication delay, and communication jitter between the on-board radio control unit and the sectorized radio control unit.
5. The test system of claim 1, wherein the data conversion module comprises: a control unit to: receiving the first communication data, and performing communication decoding on the first communication data to obtain a communication signal; coding the communication signal to obtain the second communication data; and controlling the second communication data to be transmitted to the control module through the first communication interface and the second communication interface.
6. The test system of claim 1, wherein the data conversion module has a PCIe communication interface or an SFP optical fiber communication interface, and the emulator transmits the first communication data to the data conversion module through the PCIe communication interface or the SFP optical fiber communication interface.
7. A test method applied to the test system of any one of claims 1 to 6, comprising:
the simulator resolves the simulation model to obtain first communication data;
the simulator establishes communication connection with the data conversion module and transmits the first communication data to the data conversion module;
the control module converts the first communication data to obtain second communication data;
the data conversion module transmits the second communication data to the control module through the first communication interface and the second communication interface;
the control module obtains third communication data based on the second communication data;
and the control module transmits the third communication data to the data conversion module through the first communication interface through the second communication interface.
8. The testing method of claim 7, wherein the testing system further comprises: the data conversion module is used for transmitting the first communication data and the second communication data to the upper computer, and the data conversion module is used for transmitting the third communication data to the upper computer.
9. The test method according to claim 7, wherein the data conversion module establishes a communication connection with the simulation machine based on a communication protocol adapted to the simulation machine.
10. The test method of claim 7, further comprising:
the simulation model further comprises a communication model, the communication model is used for simulating communication interruption, communication delay and communication jitter between the vehicle-mounted radio control unit and the subarea radio control unit, and the simulator resolves the communication model to obtain the first communication data;
the simulator transmits the first communication data to the data conversion module;
the data conversion module converts the first communication data to obtain second communication data;
and the data conversion module transmits the second communication data to the traction motor controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111068245.4A CN113867311A (en) | 2021-09-13 | 2021-09-13 | Test system and test method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111068245.4A CN113867311A (en) | 2021-09-13 | 2021-09-13 | Test system and test method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113867311A true CN113867311A (en) | 2021-12-31 |
Family
ID=78995542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111068245.4A Pending CN113867311A (en) | 2021-09-13 | 2021-09-13 | Test system and test method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113867311A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN206411509U (en) * | 2016-12-17 | 2017-08-15 | 上海科梁信息工程股份有限公司 | Vehicle multi-controller emulation test system |
CN108062034A (en) * | 2017-12-11 | 2018-05-22 | 中车大连电力牵引研发中心有限公司 | Locomotive and EMU adhesion control analogue system and emulation mode |
CN108255145A (en) * | 2016-12-29 | 2018-07-06 | 株洲中车时代电气股份有限公司 | A kind of test system and method for system of vehicle transmission control unit |
KR20200058712A (en) * | 2018-11-20 | 2020-05-28 | 지티시스템 주식회사 | Device and method for multi-protocol interface for ttcn-3 test framework for automotive data testing, recording medium for performing the method |
CN112987700A (en) * | 2021-04-27 | 2021-06-18 | 湖南中车时代通信信号有限公司 | Integrated test system of magnetic suspension traffic operation control system |
CN113009900A (en) * | 2021-02-06 | 2021-06-22 | 武汉光庭信息技术股份有限公司 | Hardware-in-loop simulation system of ADAS controller |
-
2021
- 2021-09-13 CN CN202111068245.4A patent/CN113867311A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN206411509U (en) * | 2016-12-17 | 2017-08-15 | 上海科梁信息工程股份有限公司 | Vehicle multi-controller emulation test system |
CN108255145A (en) * | 2016-12-29 | 2018-07-06 | 株洲中车时代电气股份有限公司 | A kind of test system and method for system of vehicle transmission control unit |
CN108062034A (en) * | 2017-12-11 | 2018-05-22 | 中车大连电力牵引研发中心有限公司 | Locomotive and EMU adhesion control analogue system and emulation mode |
KR20200058712A (en) * | 2018-11-20 | 2020-05-28 | 지티시스템 주식회사 | Device and method for multi-protocol interface for ttcn-3 test framework for automotive data testing, recording medium for performing the method |
CN113009900A (en) * | 2021-02-06 | 2021-06-22 | 武汉光庭信息技术股份有限公司 | Hardware-in-loop simulation system of ADAS controller |
CN112987700A (en) * | 2021-04-27 | 2021-06-18 | 湖南中车时代通信信号有限公司 | Integrated test system of magnetic suspension traffic operation control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108009097B (en) | Cloud computing simulation test method and device for rail transit signal system | |
CN109445308B (en) | RT-LAB-based high-speed magnetic suspension train semi-physical simulation platform | |
CN103631257A (en) | Automated testing method and system for subway train signal systems | |
CN104020675A (en) | Train braking hardware-in-the-loop simulation testing stand and method | |
CN109683582B (en) | VOBC adaptation system based on FAO and interconnection environment | |
CN101916311A (en) | Model development and simulation test system and method for rail transit automatic pilot system | |
CN103616591A (en) | Simulation device and method of characters of merging unit of intelligent transformer substation | |
CN106926699B (en) | The control display methods and its control system of Digital Automobile combination instrument | |
CN202421883U (en) | Testing device for vehicle network control system | |
CN112874588B (en) | Test system of rail transit interconnection intercommunication signal system | |
CN114089719B (en) | Vehicle signal interface simulation verification method and device for TACS system | |
CN114895574A (en) | Simulation system, method and storage medium for unmanned mine car | |
CN113532884B (en) | Intelligent driving and ADAS system test platform and test method | |
CN110631843A (en) | Test system and method for rail transit vehicle | |
CN202261347U (en) | TCN-based train network simulation experimental system | |
CN113867311A (en) | Test system and test method thereof | |
CN112987591A (en) | Medium-speed magnetic suspension partition operation environment simulation system | |
CN103746865A (en) | Node application layer equipment simulation testing system in CAN communication system | |
CN203554485U (en) | CAN bus test equipment | |
CN106130829A (en) | A kind of bus test method and device | |
CN113212500B (en) | Rail transit signal and vehicle professional interface linkage verification method and device | |
Liu et al. | Research on the method of interoperability test for the onboard equipment of CTCS-3 train control system of chinese railway | |
CN102923166A (en) | Main plug-in connector for integrated train overspeed protection equipment | |
CN104199769A (en) | Locomotive network control software debugging method and system | |
CN109436031A (en) | Auxiliary driving device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211231 |