TRDP network communication simulation system
By using dual network port processor boards and TRDP lower-level computers that support expansion functions in the TRDP network communication simulation system, the problem of high hardware cost due to limited ports of traditional cPCI boards is solved, and a simulation system with high scalability and low hardware cost is realized.
Patent Information
- Application Number
- CN202421936616.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2034-08-09
AI Technical Summary
When traditional cPCI boards perform large number of TRDP node simulations, limited ports lead to high hardware costs.
A TRDP network communication simulation system is designed. The processor board using a simulation computer has dual network ports, which communicates with the human-computer interactive upper computer through the first network port, and communicates with the TRDP lower computer through the second network port. The TRDP lower computer supports extended functions and can simulate multiple TRDP nodes.
This system does not require the use of cPCI board, which effectively reduces hardware costs and improves the scalability of the system, and can meet the needs of a large number of node simulations.
Smart Images

Figure CN222897259U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of communications, and more specifically, to a TRDP network communication simulation system. Background Art
[0002] With the rapid increase in the amount of train communication data, traditional train buses are unable to meet the needs of large data transmission. To solve this problem, Ethernet communication technology has been introduced into the train field, and TRDP (Train Real-Time Data Protocol) has been designed to meet the requirements of real-time and reliability.
[0003] In the field of TRDP network communication simulation, a commonly used solution is to encapsulate the TRDP protocol stack into a Simulink library and then embed it into a cPCI (Compact Peripheral Component Interconnect) board. Each port of the cPCI board can correspond to a TRDP node. The cPCI board is inserted into the simulation computer to realize the data transmission and protocol parsing functions between TRDP nodes. However, due to the limited number of cPCI board ports, a large number of boards are required when simulating a large number of nodes, and the hardware cost is extremely high. Utility Model Content
[0004] In view of this, the utility model provides a TRDP network communication simulation system with high scalability and effectively reduces hardware costs.
[0005] In order to achieve the above purpose, the specific technical solutions provided by the utility model are as follows:
[0006] A TRDP network communication simulation system, comprising: a human-computer interaction host computer, a simulation computer and at least one TRDP slave computer;
[0007] The processor board of the simulation computer includes: a first network port and a second network port, the simulation computer is connected to the network port of the human-computer interaction host computer through the first network port, and is connected to at least one TRDP slave computer through the second network port to communicate TRDP message data in the interactive simulation process;
[0008] The TRDP slave machine is used to simulate multiple TRDP nodes;
[0009] The TRDP node is used to communicate with the system under test.
[0010] In some embodiments, further comprising a first switch;
[0011] The second network port of the simulation computer is communicatively connected to the first switch, and the first switch is communicatively connected to at least one of the TRDP slave computers.
[0012] In some embodiments, the TRDP slave computer further includes: a plurality of Ethernet expansion card network ports extended through an Ethernet expansion card, and each of the Ethernet expansion card network ports of the TRDP slave computer corresponds to one of the TRDP nodes.
[0013] In some embodiments, further comprising at least one second switch;
[0014] The TRDP lower computer also includes: a plurality of Ethernet expansion card network ports extended by the Ethernet expansion card;
[0015] At least one Ethernet expansion card network port of the TRDP slave computer is communicatively connected with the second switch;
[0016] The second switch extends a plurality of network ports for the Ethernet expansion card network port through virtual network technology, and each network port of the second switch corresponds to one of the TRDP nodes;
[0017] Each network port of the second switch is respectively communicatively connected to the system under test.
[0018] In some embodiments, the human-computer interaction host computer includes a Simulink configuration module, and the Simulink configuration module is used to parse the configuration file imported by the user and perform functional configuration on the simulation computer and the TRDP slave computer;
[0019] The simulation computer includes a Simulink driver module;
[0020] The TRDP slave computer includes a transceiver module;
[0021] The Simulink driver module is used to interact with the transceiver module during the TRDP message data simulation process;
[0022] The transceiver module is used to perform TRDP communication with the system under test.
[0023] In some embodiments, the first switch is a gigabit switch.
[0024] In some embodiments, the second network port of the simulation computer is communicatively connected to the RJ45 Ethernet port of the gigabit switch, and the second network port is an RJ45 Ethernet port;
[0025] The RJ45 Ethernet port of the gigabit switch is communicatively connected to the RJ45 Ethernet port on the mainboard of at least one of the TRDP slave computers.
[0026] In some embodiments, the second switch is a virtual local area network switch.
[0027] In some embodiments, the TRDP slave computer expands 16 Ethernet expansion card network ports through an Ethernet expansion card.
[0028] In some embodiments, the second switch expands 10 network ports for the Ethernet expansion card network port through virtual network technology.
[0029] Compared with the prior art, the beneficial effects of the utility model are as follows:
[0030] A TRDP network communication simulation system disclosed in the utility model, the processor board of the simulation computer has dual network ports, is connected to the network port communication of the human-computer interaction host computer through the first network port, and is connected to at least one TRDP slave computer communication through the second network port, and the TRDP slave computer supports extended functions, can simulate multiple TRDP nodes, and the TRDP node is used to communicate with the system under test, and realizes TRDP network communication simulation. It is not necessary to use cPCI boards in the simulation computer in the utility model, which effectively reduces the hardware cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0032] Figure 1 A schematic diagram of the structure of a TRDP network communication simulation system disclosed in an embodiment of the utility model;
[0033] Figure 2 A schematic diagram of the structure of another TRDP network communication simulation system disclosed in an embodiment of the present utility model;
[0034] Figure 3 A schematic diagram of the structure of another TRDP network communication simulation system disclosed in an embodiment of the present utility model;
[0035] Figure 4 A schematic diagram of the structure of another TRDP network communication simulation system disclosed in an embodiment of the present utility model;
[0036] Figure 5 A schematic diagram of the structure of another TRDP network communication simulation system disclosed in an embodiment of the present utility model;
[0037] Figure 6 This is a schematic diagram of the operation of the TRDP network communication simulation system disclosed in the embodiment of the utility model. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0039] The embodiment of the utility model provides a TRDP network communication simulation system, including: a human-computer interaction host computer, a simulation computer and at least one TRDP slave computer.
[0040] The human-computer interaction host computer is a computer that can directly issue control commands, such as industrial computers, workstations, laptops, desktop computers, etc. It has human-computer interaction functions, and users input commands through touch screens, mice, keyboards, etc.
[0041] Furthermore, in order to facilitate user use and observation of communication status, the human-computer interaction host computer includes a display screen for displaying a human-computer interaction interface and a communication status interface.
[0042] The processor board of the simulation computer has dual network ports. For the sake of convenience, the dual network ports of the processor board of the simulation computer are represented by a first network port and a second network port. The simulation computer is connected to the network port of the human-computer interaction host computer through the first network port, and is connected to at least one TRDP slave computer through the second network port.
[0043] The TRDP slave computer can be an industrial computer, a single-chip microcomputer, a PLC (Programmable Logic Controller), etc., which is used to simulate multiple TRDP nodes, and the TRDP nodes are used to communicate with the system under test.
[0044] The processor board of the simulation computer is used to run the driver program, and the TRDP lower computer is used to run the transceiver program. The processor board of the simulation computer is used to run the driver program to control the transceiver program in the TRDP lower computer to perform transceiver operations.
[0045] The processor board of the simulation computer also includes a packaged Simulink driver module for TRDP, which parses the configuration file and the transceiver logic, and implements the configuration refresh of the TRDP lower computer through a customized script.
[0046] The above-mentioned TRDP network communication simulation system configures node functions through Matlab / Simulink models, and controls and monitors the communication process through a human-computer interaction host computer. It communicates with the system under test through an independent TRDP slave computer, providing a simulation system with a simple structure, low cost, high stability, high scalability, and easy maintenance of software and hardware.
[0047] According to actual usage requirements, there can be one or more TRDP slave machines.
[0048] Figure 1 The schematic diagram is a structural diagram of a TRDP network communication simulation system according to an exemplary embodiment. The TRDP network communication simulation system includes: a human-computer interaction host computer 11, a simulation computer 12 and a TRDP slave computer 13.
[0049] The simulation computer 12 is connected to the network port of the human-computer interaction host computer 11 through the first network port, and is connected to the TRDP slave computer 13 through the second network port, that is, the TRDP slave computer 13 and the second network port of the simulation computer 12 are directly connected.
[0050] The TRDP lower computer 13 includes multiple Ethernet expansion card network ports extended through the Ethernet expansion card, and each Ethernet expansion card network port of the TRDP lower computer 13 corresponds to a TRDP node.
[0051] Exemplarily, the TRDP lower computer 13 includes 16 Ethernet expansion card network ports expanded through the Ethernet expansion card.
[0052] A TRDP network communication simulation system disclosed in the present embodiment, the processor board of the simulation computer has dual network ports, is connected to the network port communication of the human-computer interaction host computer through the first network port, and is connected to at least one TRDP slave computer communication through the second network port, and the TRDP slave computer supports extended functions, and multiple TRDP nodes can be simulated, and TRDP nodes are used to communicate with the system under test, and TRDP network communication simulation is realized. It is not necessary to use cPCI boards in the simulation computer in the present embodiment, which effectively reduces hardware costs.
[0053] In order to meet the simulation requirements of a large number of nodes, multiple TRDP slave computers can be set up, and the multiple TRDP slave computers are networked with the simulation computer through the first switch. Figure 2 The schematic diagram is a structural diagram of a TRDP network communication simulation system according to an exemplary embodiment. The TRDP network communication simulation system includes: a human-computer interaction host computer 21, a simulation computer 22, a plurality of TRDP slave computers 23 and a first switch 24.
[0054] The simulation computer 22 is connected to the network port of the human-computer interaction host computer 21 through the first network port, and is connected to the first switch 24 through the second network port. The first switch 24 is connected to at least one TRDP slave computer 23.
[0055] The number of TRDP slave computers 23 in the TRDP network communication simulation system is determined by the number of network ports of the first switch 24 .
[0056] Exemplarily, the first switch 24 is a gigabit switch.
[0057] Exemplarily, the second network port of the simulation computer 22 is communicatively connected to the RJ45 Ethernet port of the gigabit switch 24, and the second network port is an RJ45 Ethernet port; the RJ45 Ethernet port of the gigabit switch 24 is communicatively connected to the RJ45 Ethernet port on the motherboard of at least one TRDP slave computer 23.
[0058] This embodiment discloses a TRDP network communication simulation system, in which multiple TRDP slave machines are networked with a simulation computer through a first switch, which effectively increases the number of TRDP slave machines and ensures high scalability of nodes while maintaining low hardware costs.
[0059] Figure 3 This is a structural diagram of a TRDP network communication simulation system according to an exemplary embodiment. The TRDP network communication simulation system includes: a human-computer interaction host computer 31, a simulation computer 32, multiple TRDP slave computers 33, a first switch 34 and a second switch 35.
[0060] The simulation computer 32 is connected to the network port of the human-computer interaction host computer 31 through the first network port, and is connected to the first switch 34 through the second network port. The first switch 34 is connected to at least one TRDP slave computer 33.
[0061] The TRDP lower computer 33 also includes a plurality of Ethernet expansion card network ports expanded through the Ethernet expansion card.
[0062] At least one Ethernet expansion card network port of the TRDP slave computer 33 is communicatively connected to the second switch 35;
[0063] The second switch 35 expands a plurality of network ports for the Ethernet expansion card network port through virtual network technology, and each network port of the second switch 35 corresponds to a TRDP node.
[0064] Each network port of the second switch 35 is respectively connected to the system under test for communication.
[0065] Exemplarily, the second switch 35 is a virtual local area network switch, that is, a VLAN switch.
[0066] Taking the example that the TRDP slave machine 33 also includes: 16 Ethernet expansion card network ports expanded through the Ethernet expansion card, and the second switch 35 expands 10 network ports for the Ethernet expansion card network ports through virtual network technology, each TRDP slave machine 33 can simulate 160 independent TRDP nodes.
[0067] The present embodiment discloses a TRDP network communication simulation system, which virtually expands the physical network port by using virtual network technology, and combines the VLAN technology with the VLAN switch, so that the extended Ethernet expansion card network port corresponds one-to-one to the network port on the VLAN switch, thereby realizing the physical expansion of the network interface; since multiple nodes of the original board card are integrated into a TRDP lower computer, its communication load is greatly increased compared with the original one, and the traditional backplane bus is difficult to meet the communication requirements. The present embodiment adopts Gigabit Ethernet as a replacement. After testing, the use of the Gigabit Ethernet bus can meet the simulated communication load of 128 nodes.
[0068] Figure 4 This is a structural diagram of a TRDP network communication simulation system shown according to an exemplary embodiment. The simulation computer has two Ethernet ports, one port interacts with the human-computer interface of the human-computer interaction host computer to display data, and the other port interacts with the TRDP slave computer to transmit TRDP message data during the simulation process; the TRDP slave computer also includes 16 Ethernet expansion card ports expanded by the Ethernet expansion card, which can simulate 16 real network port TRDP nodes, and each Ethernet expansion card port can also expand 10 virtual TRDP nodes through virtual network technology and realize the independence of node physical interfaces through VLAN switches, that is, each TRDP slave computer can simulate 160 independent TRDP nodes.
[0069] To realize the functions of TRDP simulation equipment based on Matlab / Simulink model, such as Figure 5 As shown, the human-computer interaction host computer in this embodiment includes a Simulink configuration module, the simulation computer includes a Simulink driver module, and the TRDP lower computer includes a transceiver module.
[0070] The human-computer interaction host computer also includes a human-computer interaction module, which provides a human-computer interaction interface. Users can import configuration files to the human-computer interaction host computer through the human-computer interaction interface. The configuration file is a TRDP configuration xml file compatible with the standard. The Simulink configuration module in the human-computer interaction host computer parses the configuration file, and can configure the source and destination IP, ComId, sending cycle, message size, and message data area structure of the TRDP message data sent and received during the simulation process. For example, the configuration interface is displayed on the human-computer interaction interface, and users can complete the configuration by checking the configuration items on the configuration interface. The configuration of the message data area defines the actual physical quantity represented by the TRDP message, and this configuration can be used for parsing and displaying on the human-computer interaction interface.
[0071] The Simulink driver module in the simulation computer is used to implement the TRDP message encapsulation of the custom communication protocol (such as the customized UDP protocol), and interacts with the transceiver module in the TRDP lower computer to realize the TRDP message transceiver interaction between the external and the system under test. Specifically, the Simulink driver module interacts with the transceiver module through the Ethernet bus, and the TRDP message is delivered through the customized UDP protocol. The Simulink driver module controls the start and stop of the transceiver module in the TRDP lower computer and the basic message information configuration, and sends the encapsulated TRDP message to be sent to the transceiver module in the TRDP lower computer during the simulation process, while monitoring the message received by the TRDP lower computer fed back by the TRDP lower computer.
[0072] The transceiver module in the TRDP slave computer controls the network port on the TRDP slave computer and the system under test to perform TRDP communication.
[0073] Figure 6 This is a schematic diagram of the operation of the TRDP network communication simulation system. The Simulink configuration modules in the human-computer interaction host computer include the SimulinkInit module and the Simulink Send / Recv module. The Simulink Init module parses the configuration file imported by the user, configures the source and destination IP, ComId, sending cycle, message size, and message data area of the message sending and receiving in the simulation model, and configures the sending and receiving logic of the simulation model through the Simulink Send / Recv module, thereby completing the configuration of the simulation model.
[0074] The Simulink configuration module parses the configured simulation model to generate a network configuration script, sends the network configuration script to the TRDP slave computer via FTP, and resets the TRDP slave computer. In addition, the Simulink Init module configures the basic message sending and receiving logic of the simulation computer, and the Simulink Send / Recv module calls the relevant driver interface to enable the simulation computer and the TRDP slave computer to interact.
[0075] After the TRDP lower machine runs the network configuration script to complete the reset, the transceiver program run by the transceiver module in the TRDP lower machine is in the self-starting state. The transceiver program interacts with the Simulink driver module in the simulation computer through a custom communication protocol, and the transceiver program and the device under test (i.e., the above-mentioned system under test) perform TRDP communication.
[0076] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0077] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that an article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such article or device. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the article or device including the above elements.
[0078] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A TRDP network communication simulation system, characterized in that, include: A human-computer interaction host computer, a simulation computer and at least one TRDP slave computer; The processor board of the simulation computer includes: a first network port and a second network port, the simulation computer is connected to the network port of the human-computer interaction host computer through the first network port, and is connected to at least one TRDP slave computer through the second network port to communicate TRDP message data in the interactive simulation process; The TRDP slave machine is used to simulate multiple TRDP nodes; The TRDP node is used to communicate with the system under test.
2. The TRDP network communication simulation system according to claim 1, characterized in that, Also included is a first switch; The second network port of the simulation computer is communicatively connected to the first switch, and the first switch is communicatively connected to at least one of the TRDP slave computers.
3. The TRDP network communication simulation system according to claim 1 or 2, characterized in that, The TRDP slave computer also includes: a plurality of Ethernet expansion card network ports extended through an Ethernet expansion card, and each of the Ethernet expansion card network ports of the TRDP slave computer corresponds to one of the TRDP nodes.
4. The TRDP network communication simulation system according to claim 1 or 2, characterized in that, Also comprising at least one second switch; The TRDP lower computer also includes: a plurality of Ethernet expansion card network ports extended by the Ethernet expansion card; At least one Ethernet expansion card network port of the TRDP slave computer is communicatively connected with the second switch; The second switch extends a plurality of network ports for the Ethernet expansion card network port through virtual network technology, and each network port of the second switch corresponds to one of the TRDP nodes; Each network port of the second switch is respectively communicatively connected to the system under test.
5. The TRDP network communication simulation system according to claim 1, characterized in that, The human-computer interaction host computer includes a Simulink configuration module, which is used to parse the configuration file imported by the user and perform functional configuration on the simulation computer and the TRDP slave computer; The simulation computer includes a Simulink driver module; The TRDP slave computer includes a transceiver module; The Simulink driver module is used to interact with the transceiver module during the simulation process of TRDP message data; The transceiver module is used to perform TRDP communication with the system under test.
6. The TRDP network communication simulation system according to claim 2, characterized in that, The first switch is a gigabit switch.
7. The TRDP network communication simulation system according to claim 6, characterized in that, The second network port of the simulation computer is communicatively connected to the RJ45 Ethernet port of the gigabit switch, and the second network port is an RJ45 Ethernet port; The RJ45 Ethernet port of the gigabit switch is communicatively connected to the RJ45 Ethernet port on the mainboard of at least one of the TRDP slave computers.
8. The TRDP network communication simulation system according to claim 4, characterized in that, The second switch is a virtual local area network switch.
9. The TRDP network communication simulation system according to claim 3, characterized in that, The TRDP slave computer expands 16 Ethernet expansion card network ports through the Ethernet expansion card.
10. The TRDP network communication simulation system according to claim 4, characterized in that, The second switch expands 10 network ports for the Ethernet expansion card network port through virtual network technology.