CN110299999B - Train real-time Ethernet TRDP network card based on Linux platform - Google Patents

Train real-time Ethernet TRDP network card based on Linux platform Download PDF

Info

Publication number
CN110299999B
CN110299999B CN201910417470.0A CN201910417470A CN110299999B CN 110299999 B CN110299999 B CN 110299999B CN 201910417470 A CN201910417470 A CN 201910417470A CN 110299999 B CN110299999 B CN 110299999B
Authority
CN
China
Prior art keywords
interface
real
trdp
common
ethernet
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.)
Expired - Fee Related
Application number
CN201910417470.0A
Other languages
Chinese (zh)
Other versions
CN110299999A (en
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.)
Beijing Jiaotong University
Original Assignee
Beijing Jiaotong University
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 Beijing Jiaotong University filed Critical Beijing Jiaotong University
Priority to CN201910417470.0A priority Critical patent/CN110299999B/en
Publication of CN110299999A publication Critical patent/CN110299999A/en
Application granted granted Critical
Publication of CN110299999B publication Critical patent/CN110299999B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to a train real-time Ethernet network card based on a Linux platform, which comprises a core processing unit, a real-time Ethernet transceiver, a CAN interface, two UART interfaces and two common Ethernet transceivers. The core processing unit is respectively connected with the two paths of common Ethernet transceivers, the real-time Ethernet transceiver, the CAN interface and the two paths of UART interfaces and integrates VME backboard bus logic and interfaces; the core processing unit comprises an FPGA and an ARM loaded with a Linux platform and is used for realizing protocol conversion and data transmission among VME backboard data, CAN network data, UART network data and TRDP network; the two paths of common Ethernet transceivers are in a hot standby redundancy relationship and are used for a data redundancy sending scene with higher reliability requirement. The invention can realize the high-reliability and strong-instantaneity data processing of the TRDP communication data and meet the requirements of the train communication network on instantaneity and reliability.

Description

Train real-time Ethernet TRDP network card based on Linux platform
Technical Field
The invention relates to the technical field of computer communication networks, in particular to a train real-time Ethernet TRDP network card based on a Linux platform.
Background
The train communication network carrying control, state monitoring and fault diagnosis information has increased requirements for network bandwidth with the development of high-speed train intelligence degree and the continuous improvement of safety requirements. With the international electrotechnical commission bringing the switched ethernet into the IEC61375 standard of the Train communication network, it is marked that the international rail transit field has achieved consensus on solving the TCN (Train communication network) bandwidth problem by using ethernet. According to the standard specification of IEC61375-2-3, TRDP (Train Real-time Data Protocol) is a Real-time Ethernet standard for trains.
The invention patent with application number 201710255420.8 discloses a railway real-time Ethernet TRDP gateway based on a Linux platform, which is used for realizing data conversion between a UART network and a CAN network and a TRDP network. In addition, for an application scenario with high real-time requirement, the patent has no corresponding functional design.
The utility model discloses a utility model patent of application number 201721070631.6 discloses a real-time ethernet network card of train based on TRDP agreement, and wherein two net gapes are RMII and FSMC interface respectively, and data transmission speed all does not exceed 100Mbps, adopts Cortex-M3 as central processing unit throughput limited, hardly satisfies strong real-time requirement.
Application number is 201621486327.5's utility model patent, a two serial ports change ethernet module is disclosed, this patent does not support the TRDP agreement, and the two serial ports of this patent pass through SPS3232EEY serial ports chip and realize that the self-adaptation between RS232 and the RS485 switches, so two serial ports can not the simultaneous working, and this patent does not realize that two net gape communication can not satisfy the user demand that the application scene that the reliability requirement is high, Cortex-M3 network processing ability is weak in addition.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a train real-time Ethernet TRDP network card based on a Linux platform. The invention can meet the Ethernet real-time communication requirement of trains in various marshalling forms; the data is ensured not to be lost easily, and the vehicle-mounted subsystem equipment is prevented from being paralyzed due to malicious network, virus invasion and the like, so that the safety of the vehicle-mounted subsystem equipment is improved. In addition, different processing systems are arranged according to application scenes with different real-time requirements, and scenes with different real-time and reliability requirements can be fully met.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:
a train real-time Ethernet TRDP network card based on a Linux platform comprises: the system comprises a core processing unit 1, a UART interface I2, a UART interface II 3, a CAN interface 4, a common Ethernet transceiver I5, a common Ethernet transceiver II 6, a real-time Ethernet transceiver 7, a common Ethernet interface I8, a common Ethernet interface II 9, a real-time Ethernet interface 10, an SD card interface 15 and a VME back board interface 16;
the core processing unit 1 is respectively connected with a UART interface I2, a UART interface II 3, a CAN interface 4, a common Ethernet transceiver I5, a common Ethernet transceiver II 6, a real-time Ethernet transceiver 7, an SD card interface 15 and a VME back board interface 16; the common Ethernet transceiver I5 is connected with a common Ethernet interface I8, and the common Ethernet transceiver II 6 is connected with a common Ethernet interface II 9; the real-time Ethernet transceiver 7 is connected with the real-time Ethernet interface 10;
the core processing unit 1 integrates a VME standard backboard bus hardware protocol stack and an interface, loads a Linux platform, is used for TRDP frame conversion and transceiving, and realizes data transmission between the vehicle-mounted subsystem and the train communication network;
the core processing unit 1 comprises an FPGA chip and an ARM processor, and the FPGA chip is connected with the ARM processor through an AXI bus of the system on chip.
Further, the core processing unit 1 is a chip of ZYNQ-7000 series; in particular to a chip with the model number of XC7Z020-2CLG 400I.
Further, a standard VME backboard bus hardware protocol stack and an interface, and a Mac layer real-time IP soft core are integrated on the FPGA chip; the Mac layer real-time IP soft core is connected with the real-time Ethernet transceiver 7 and used for realizing real-time TRDP frame conversion and transceiving;
the ARM processor is provided with a Linux platform, is connected with a common Ethernet transceiver I5 and a common Ethernet transceiver II 6, and is used for realizing common TRDP frame conversion and transceiving.
Further, the VME backplane bus interface 16 is connected to a Train TCMS (Train Control and Management System); and the UART interface I2 and the CAN interface 4 are respectively connected with vehicle control units or sensor systems of a vehicle-mounted subsystem, such as a BCU (binary coded Unit), a CCU (central control Unit) and the like.
Further, the core processing unit 1 is configured to implement TRDP frame conversion and transceiving, specifically:
the core processing unit 1 packages data received through the VME backplane bus interface 16, the UART interface I2 and the CAN interface 4 into a TRDP frame according to a TRDP protocol, and sends a common Ethernet interface I8, a common Ethernet interface II 9 or a real-time Ethernet interface 10 through a common Ethernet transceiver I5, a common Ethernet transceiver II 6 or a real-time Ethernet transceiver 7;
the core processing unit 1 extracts the TRDP message received by the common Ethernet transceiver I5, the common Ethernet transceiver II 6 or the real-time Ethernet transceiver 7 into common data according to a TRDP protocol, and transmits the common data to the train TCMS through the VME backboard bus interface 16, or transmits the common data to the train control units or sensor systems of BCUs, CCUs and the like of the train subsystem connected with the core processing unit through the UART interfaces I2 and CAN interface 4.
Further, the core processing unit 1 implements the TRDP message configuration and the network card performance configuration of the vehicle-mounted subsystem through the UART interface ii 3, specifically:
after the train initially runs according to the TTDP protocol, initializing an IP address in a local xml type configuration file according to the IP address distributed by a DHCP server;
the core processing unit 1 detects the number of the vehicle-mounted subsystem transceiving equipment and the message condition according to the VME backboard bus interface 16, the UART interface I2 and the CAN interface 4, and configures the data type, the message sending period, the message sending priority, the message sending delay, the message sending address, the message starting mode and the like of the train TCMS and the TRDP message of the corresponding equipment according to the received configuration information;
and connecting a super terminal according to a UART interface II 3 to configure the use scene of the real-time Ethernet TRDP network card of the train, namely setting whether the real-time application scene is strong.
Further, the common ethernet interface i 8 and the common ethernet interface ii 9 are in a hot standby redundancy relationship with each other.
Further, the core processing unit 1 further includes a real-time clock calibration chip, an QSPI FLASH chip and two SDRAM memory chips;
the model of the QSPI FLASH chip is W25Q256, and the QSPI FLASH chip is used for storing a starting mirror image of a Linux system;
the SDRAM memory chip is an SDRAM memory chip with the model number of DDR3 and is used for a memory operated by a Linux platform.
Further, the common Ethernet transceiver I5, the common Ethernet transceiver II 6 and the real-time Ethernet transceiver 7 all comprise PHY chips with the model number of RTL 8211E-VL;
the PHY chip is respectively connected with the data line and the address line of the PS end of the XC7Z020-2CLG400I chip and the PL end.
Further, the real-time Ethernet TRDP network card of the train further comprises an LED interface I11, an LED interface II 12, an EE PROM interface 13 and an RTC interface 14.
Compared with the prior art, the train real-time Ethernet network card based on the Linux platform further improves the processing and transmission speed of data in the network card chip by adopting the SoC technology, and the TRDP soft core protocol stack can realize flexible online message configuration according to the configuration information of the vehicle-mounted subsystem, support a PD mode, an MD mode, an SDT mode and a TTDP and meet the Ethernet real-time communication requirements of trains in various marshalling forms. Furthermore, the Linux soft core protocol stack is adopted, and the isolation cache is arranged among the VME backboard bus interface, the UART interface and the CAN interface, so that the data is not easy to lose, the vehicle-mounted subsystem equipment is prevented from being paralyzed due to malicious network, virus invasion and the like, and the safety of the vehicle-mounted subsystem equipment is improved.
Drawings
The invention has the following drawings:
FIG. 1 is a schematic structural diagram of a real-time Ethernet TRDP network card of a train based on a Linux platform according to the present invention;
FIG. 2 is a logic diagram of the VME backplane bus data transfer section;
FIG. 3 is a schematic circuit diagram of a core processing unit;
FIG. 4 is a schematic diagram of an example circuit configuration of an Ethernet transceiver;
FIG. 5 is a schematic diagram of an exemplary power supply circuit;
FIG. 6 is a schematic diagram of an example circuit configuration of a reset circuit;
FIG. 7 is a circuit diagram of an example SD card interface circuit.
In the figure, 1, a core processing unit, 2, UART interfaces i, 3, UART interfaces ii, 4, a CAN interface, 5, common ethernet transceivers i, 6, common ethernet transceivers ii, 7, a real-time ethernet transceiver, 8, common ethernet interfaces i, 9, common ethernet interfaces ii, 10, a real-time ethernet interface, 11, LED i, 12, LED ii, 13, EE PROM, 14, RTC, 15, an SD card interface, 16, a VEM backplane interface.
Detailed Description
The technical solutions in the embodiments of the present invention are described in detail below with reference to the drawings in the embodiments of the present invention, and the described embodiments are only some embodiments of the present invention. Other embodiments, which can be derived by one of ordinary skill in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of an embodiment of a train real-time ethernet TRDP network card based on a Linux platform provided by the present invention. As shown in fig. 1, the real-time ethernet TRDP network card for a train includes: the system comprises a core processing unit 1, a UART interface I2, a UART interface II 3, a CAN interface 4, a common Ethernet transceiver I5, a common Ethernet transceiver II 6, a real-time Ethernet transceiver 7, a common Ethernet interface I8, a common Ethernet interface II 9, a real-time Ethernet interface 10, an SD card interface 15 and a VME back board interface 16;
the core processing unit 1 is respectively connected with a UART interface I2, a UART interface II 3, a CAN interface 4, a common Ethernet transceiver I5, a common Ethernet transceiver II 6, a real-time Ethernet transceiver 7, an SD card interface 15 and a VME back board interface 16; the common Ethernet transceiver I5 is connected with a common Ethernet interface I8, and the common Ethernet transceiver II 6 is connected with a common Ethernet interface II 9; the real-time ethernet transceiver 7 is connected to a real-time ethernet interface 10.
In this embodiment, the core processing unit 1 includes an FPGA chip and an ARM processor, the FPGA chip and the ARM processor are connected through an AXI bus of the system on chip, and a hardware protocol stack and an interface of a standard VME backplane bus and a Mac layer real-time IP soft core are integrated in the FPGA chip. And the Mac layer real-time IP soft core is connected with the real-time Ethernet transceiver 7 and is used for realizing real-time TRDP frame conversion and transceiving. The ARM processor is provided with a Linux platform, is connected with a common Ethernet transceiver I5 and a common Ethernet transceiver II 6, and is used for realizing conversion and transceiving of common TRDP frames.
In this embodiment, the UART interface i 2 and the CAN interface 4 are respectively connected to the vehicle-mounted subsystem device, the VME backplane bus interface 16 is connected to the TCMS, and is configured to receive and transmit train control or sensor data signals, and the ARM processor in the core processing unit 1 is configured to complete framing and deframing of an IP packet according to a TRDP protocol. The method specifically comprises the following steps:
in a common application scenario, an ARM processor in a core processing unit 1 packages data received from a UART interface I2, a CAN interface 4 and a VME backplane interface 16 into a TRDP message according to a TRDP protocol, and sends the TRDP message to a train communication Ethernet from a common Ethernet transceiver I5, a common Ethernet transceiver II 6 or a real-time Ethernet transceiver 7 through a common Ethernet interface I8, a common Ethernet interface II 9 or a real-time Ethernet interface 10 respectively; after the TRDP message received from the common Ethernet transceiver I5, the common Ethernet transceiver II 6 or the real-time Ethernet transceiver 7 is subjected to redundancy discarding according to a PRP protocol, after the message period, the time delay, the content, the TTL and the like are judged to be correct, the common data message in the TRDP message is extracted, and the data is sent to corresponding equipment through a UART interface I2, a CAN interface 4 or a VME backboard bus interface 16 according to the message destination address requirement.
The common ethernet interface i 8 and the common ethernet interface ii 9 are in a hot standby redundancy relationship with each other, which specifically includes: in an application scene with high reliability requirement, a common Ethernet interface I8 and a common Ethernet interface II 9 can be respectively accessed into two redundant subnets, in the Data transmission Process, a PD (Process Data, PD for short) Message adopts a parallel Message redundancy mode to simultaneously transmit the Message from the two network ports to the redundant subnets, and an MD (Message Data, MD for short) Message adopts an alternate Message redundancy mode to respectively transmit the Message from the two network ports to the redundant subnets; in the data receiving process, data are received from two network ports simultaneously, and the PD data are subjected to redundancy discarding by adopting a PRP protocol.
Under the scene with higher real-time requirement, the core processing unit 1 realizes data exchange between the network card and the vehicle-mounted equipment through the UART interface I2, the CAN interface 4 and the VME backplane interface 16, and realizes the transceiving of real-time Ethernet data packets through the AXI Ethernet controller, the Mac layer real-time IP soft core, the real-time Ethernet transceiver 7 and the real-time Ethernet interface 10. The MAC layer real-time IP soft core is used for completing the receiving and sending of the real-time Ethernet data messages and also used for realizing the clock synchronization function among the global real-time Ethernet devices under the condition of strong real-time networking.
In this embodiment, the core processing unit 1 implements the TRDP message configuration and the network card performance configuration of the vehicle-mounted subsystem through the UART interface ii 3, specifically:
A. connecting a super terminal according to the UART interface II 3 to configure a network card use scene, namely setting whether the scene is a strong real-time application scene;
B. under a general application scene, after a train initially runs, a TRDP network card sends a broadcast frame request IP address to a DHCP server according to a DHCP protocol, the TRDP network card selects an IP address suitable for a network segment of a current subsystem from the received IP addresses distributed by the DHCP server and sends a confirmation message to the DHCP server, the DHCP server configures the IP address of the TRDP network card after receiving the confirmation message and registering the lease, and initializes the local IP address in an XML configuration file according to the IP address;
C. receiving message configuration information of a VME back plate interface 16, a UART interface I2 and a CAN interface 4, wherein the message configuration information comprises the data type, the message sending period, the message sending priority, the message sending delay, the message sending address, the message sending mode and the like of equipment messages corresponding to the interface, and initializing a conversation label in an XML configuration file according to the configuration information;
D. reading the XML configuration file to initialize the TRDP network card.
Referring to fig. 2, which is a logic schematic diagram of a bus data transmission part of the VME backplane of the present invention, a CPU board of an upper computer is connected to a VME backplane bus interface control module, the backplane bus interface control module is connected to a ping-pong RAM module, and the ping-pong RAM module is connected to an AXI bus controller. When the CPU board of the upper computer sends data through the TRDP network card and the VME back board bus module writes data in the RAM1, the AXI bus controller module reads the data from the RAM 2; when the VME backplane bus module writes data in the RAM2, the AXI bus controller module reads data from the RAM 1. When the CPU board of the upper computer receives data through the TRDP network card, the AXI bus controller module writes data in the RAM2, and the VME backboard bus interface module reads data in the RAM 1; when the AXI bus controller module writes data in the RAM1, the VME backplane bus interface module reads data in the RAM 2. According to the transmission mode, continuous reading and writing can be guaranteed on the premise that data are not lost, and the transmission speed is improved.
Fig. 3 is a schematic circuit diagram of an embodiment of the core processing unit 1 according to the present invention. As shown in FIG. 3, core processing unit 1 includes a microprocessor model XC7Z020-2CLG 400I; the SDRAM memory chip is a DDR3 type SDRAM memory chip. The core processing unit 1 is also integrated with a 256Mbit QSPI FLASH chip, a real-time clock calibration chip and the like, and has complete minimum system functions.
The microprocessor in the core processing unit 1 loads the Linux platform, encapsulates the TRDP protocol stack and the TRDP network card configuration function in the Linux platform, cuts Linux, further reduces the influence of system delay on real-time performance, can meet the requirement of the TRDP protocol on communication real-time performance, and frames and unframes TRDP messages are completed in the Linux soft core protocol stack. In order to further guarantee the TRDP message processing speed, an ARM Cortex-A9 processor is adopted.
In addition, the invention is provided with a CAN-bus protocol and a serial communication protocol (TTL) in order to adapt to the application requirements of the multi-type interface subsystem. The TRDP network card may package the data messages received from the CAN interface and the UART interface into a TRDP message and send the TRDP message to the train communication network. The soft core protocol stack of the Linux platform has the following characteristics:
(1) based on a real-time Linux system, the self-contained mature and stable Ethernet protocol stack is not halted, is resistant to attack and has reliable communication quality;
(2) the software realizes the separation of a serial port/CAN/Ethernet driver layer, a TRDP protocol layer and an application layer, and CAN conveniently realize various application combinations and configuration modification;
in this example, the core processing unit 1 employs a microprocessor model XC7Z020-2CLG400I, which is divided into a Processor System (PS) and a Programmable Logic (PL). The PL part and the PS part are directly connected by adopting an AXI bus, the data transmission speed can reach 600Mbit/s, the transmission speed in the core processing unit is further ensured, and the overall real-time performance of the protocol stack is improved.
Fig. 4 is a schematic diagram of an example circuit configuration for providing an ethernet transceiver. As shown in FIG. 4, the present example provides network communication services to users via an Ethernet PHY chip of model Realtek RTL 8211E-VL. The common Ethernet transceiver I5, the common Ethernet transceiver II 6 and the real-time Ethernet transceiver 7 all comprise PHY chips with the model number of RTL 8211E-VL; PHY chips of the common Ethernet transceiver I5 and the common Ethernet transceiver II 6 are connected to a GPIO interface of a PS terminal BANK501 of the core processing unit 1, and a PHY chip of the real-time Ethernet transceiver 7 is connected to a GPIO interface of a BANK34 of a PL terminal of the core processing unit. The PHY chip performs data transmission with Mac layers of the PS terminal and the PL terminal of the core processing unit 1 through an RGMII bus interface. The PHY chip of the model supports 10/100/1000Mbps network transmission rate, the power supply adopts a 3.3V power supply for power supply, and a DC-DC scheme is selected. The RTL8211E-VL supports MDI/MDX self-adaptation, transmission speed self-adaptation and Master/Slave self-adaptation, and supports PHY register management through an MDIO bus. The RGMII interface is compatible with the RMII interface, when the network is connected to a gigabit Ethernet, the data transmission of the MAC layer and the PHY chip RTL8211E-VL is communicated through an RGMII bus protocol, the transmission clock is 125Mhz, and the data is sampled at the rising edge and the falling edge of the clock. When the network is connected to a hundred mega Ethernet, the data transmission of the MAC layer and the PHY chip RTL8211E-VL is communicated through the RMII bus, and the transmission clock is 25 Mhz. Data is sampled on both the rising and falling edges of the clock. In order to ensure the stability of ethernet communication, the PCB traces for connecting signals between the PHY chip and the Zynq7000PS system are processed with equal length.
Fig. 5 is a schematic circuit diagram of an embodiment of a power supply circuit provided in the present invention. As shown in FIG. 5, the TLV62130RGTDC-DC power supply adopted by the power supply circuit of the invention is supplied with power by +5V, and is converted into four power supplies of +3.3V, +1.5V, +1.8V, +1.0V by four DC/DC power supply chips TLV62130RGT, and the output current of each power supply can reach 3A. The method has the advantages of high efficiency, strong current output capability and the like.
Fig. 6 is a circuit diagram of an embodiment of a reset circuit provided by the present invention. The micro controller adopts a TCM811 micro controller reset monitor, provides a reset signal for the main controller through manual reset input, and has the advantages of high corresponding reset speed, low power consumption and the like.
Fig. 7 is a circuit structure diagram of an embodiment of an SD card interface circuit provided in the present invention. The SD card interface is used for accessing the SD memory card.
As can be seen from the above, compared with the prior art, the train real-time ethernet network card based on the Linux platform provided by the embodiments of the present invention adopts the SoC technology, so that the processing and transmission speed of data inside the network card is further improved, the TRDP soft core protocol stack can implement flexible online message configuration according to the subsystem configuration information, support the PD mode, the MD mode, the SDT mode, and the TTDP, and meet the ethernet real-time communication requirements of trains in various marshalling forms.
Furthermore, the Linux soft core protocol stack is adopted, and the isolation cache is arranged among the VME backboard bus interface 16, the UART interface I2 and the CAN interface 4, so that the data is ensured not to be lost easily, the paralysis of the subsystem equipment caused by malicious network, virus invasion and the like is avoided, and the safety of the subsystem equipment is improved.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention.
Those not described in detail in this specification are within the skill of the art.

Claims (8)

1. The utility model provides a real-time ethernet TRDP network card of train based on Linux platform which characterized in that: the system comprises a core processing unit (1), a UART interface I (2), a UART interface II (3), a CAN interface (4), a common Ethernet transceiver I (5), a common Ethernet transceiver II (6), a real-time Ethernet transceiver (7), a common Ethernet interface I (8), a common Ethernet interface II (9), a real-time Ethernet interface (10), an SD card interface (15) and a VME backboard bus interface (16);
the core processing unit (1) is respectively connected with a UART interface I (2), a UART interface II (3), a CAN interface (4), a common Ethernet transceiver I (5), a common Ethernet transceiver II (6), a real-time Ethernet transceiver (7), an SD card interface (15) and a VME backboard bus interface (16); the common Ethernet transceiver I (5) is connected with a common Ethernet interface I (8), and the common Ethernet transceiver II (6) is connected with a common Ethernet interface II (9); the real-time Ethernet transceiver (7) is connected with the real-time Ethernet interface (10);
the core processing unit (1) is used for TRDP message conversion and receiving and transmitting, and data transmission between the vehicle-mounted subsystem and the train real-time Ethernet is realized;
the core processing unit (1) comprises an FPGA chip and an ARM processor, and the FPGA chip is connected with the ARM processor through an AXI bus of the system on chip;
a standard VME backboard bus hardware protocol stack and an interface and a Mac layer real-time IP soft core are integrated on the FPGA chip; the Mac layer real-time IP soft core is connected with a real-time Ethernet transceiver (7) and used for realizing real-time TRDP message conversion and transceiving;
the ARM processor is provided with a Linux platform, is connected with a common Ethernet transceiver I (5) and a common Ethernet transceiver II (6), and is used for realizing conversion and transceiving of common TRDP messages;
in a common application scene, an ARM processor in a core processing unit (1) packs data received from a UART interface I (2), a CAN interface (4) and a VME backboard bus interface (16) into a real-time TRDP message according to a TRDP protocol, and sends the real-time TRDP message to a train real-time Ethernet from a common Ethernet transceiver I (5), a common Ethernet transceiver II (6) or a real-time Ethernet transceiver (7) through a common Ethernet interface I (8), a common Ethernet interface II (9) or a real-time Ethernet interface (10) respectively; after a TRDP message received from a common Ethernet transceiver I (5), a common Ethernet transceiver II (6) or a real-time Ethernet transceiver (7) is subjected to redundancy discarding according to a PRP protocol, after a message sending period, a message sending delay, message sending contents and a serial port communication protocol are judged to be correct, the common TRDP message in the TRDP message is extracted, and the common TRDP message is sent to corresponding equipment through a UART interface I (2), a CAN interface (4) or a VME backboard bus interface 1(6) according to a message destination address;
the common Ethernet interface I (8) and the common Ethernet interface II (9) are in hot standby redundancy relationship with each other, and specifically comprise: under an application scene with high reliability requirement, a common Ethernet interface I (8) and a common Ethernet interface II (9) are respectively accessed into two redundant subnets, in the data transmission process, a PD message simultaneously transmits a message from the two network ports to the redundant subnets in a parallel message redundancy mode, and an MD message respectively transmits a message from the two network ports to the redundant subnets in an alternate message redundancy mode; in the data receiving process, data are received from two network ports simultaneously, and the PD data are subjected to redundancy discarding by adopting a PRP protocol.
2. The Linux platform-based real-time ethernet TRDP network card for trains according to claim 1, wherein: the core processing unit (1) is a chip with the model of XC7Z020-2CLG 400I.
3. The Linux platform-based real-time ethernet TRDP network card for trains according to claim 1, wherein: the VME back panel bus interface (16) is connected with a train control and management system TCMS; and the UART interface I (2) and the CAN interface (4) are respectively connected with a vehicle control unit or a sensor system of the vehicle-mounted subsystem.
4. The Linux platform-based real-time ethernet TRDP network card for trains as claimed in claim 3, wherein: the core processing unit (1) is used for TRDP message conversion and receiving and transmitting,
the core processing unit (1) extracts TRDP messages received by a common Ethernet transceiver I (5), a common Ethernet transceiver II (6) or a real-time Ethernet transceiver (7) into common TRDP messages according to a TRDP protocol, and transmits the common TRDP messages to a train control and management system TCMS through a VME back board bus interface (16) or transmits the common TRDP messages to a vehicle control unit or a sensor system of a train subsystem connected with the core processing unit through a UART interface I (2) and a CAN interface (4).
5. The Linux platform-based real-time ethernet TRDP network card for trains as claimed in claim 3, wherein: the core processing unit (1) realizes the TRDP message configuration and the network card performance configuration of the vehicle-mounted subsystem through the UART interface II (3), and specifically comprises the following steps:
after the train initially runs according to the TTDP protocol, initializing an IP address in a local xml type configuration file according to the IP address distributed by a DHCP server;
the core processing unit (1) detects the number of the vehicle-mounted subsystem transceiving equipment and the message condition according to the VME backboard bus interface (16), the UART interface I (2) and the CAN interface (4), and configures the data type, the message sending period, the message sending priority, the message sending delay, the message sending address and the message sending mode of the TRDP message of the train control and management system TCMS according to the received configuration information.
6. The Linux platform-based real-time ethernet TRDP network card for trains according to claim 1, wherein: the core processing unit (1) also comprises a real-time clock calibration chip, an QSPIFLASH chip and two SDRAM memory chips;
the model of the QSPI FLASH chip is W25Q256, and the QSPI FLASH chip is used for storing a starting mirror image of a Linux system;
the SDRAM memory chip is an SDRAM memory chip with the model number of DDR3 and is used for a memory operated by a Linux platform.
7. The Linux platform-based real-time ethernet TRDP network card for trains according to claim 2, wherein: the common Ethernet transceiver I (5), the common Ethernet transceiver II (6) and the real-time Ethernet transceiver (7) respectively comprise PHY chips with the model number of RTL 8211E-VL;
the PHY chip is respectively connected with the data line and the address line of the PS end of the XC7Z020-2CLG400I chip and the PL end.
8. The Linux platform-based real-time ethernet TRDP network card for trains according to claim 1, wherein: the TRDP network card for the real-time Ethernet of the train further comprises an LED interface I (11), an LED interface II (12), an EE PROM interface (13) and an RTC interface (14).
CN201910417470.0A 2019-05-20 2019-05-20 Train real-time Ethernet TRDP network card based on Linux platform Expired - Fee Related CN110299999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910417470.0A CN110299999B (en) 2019-05-20 2019-05-20 Train real-time Ethernet TRDP network card based on Linux platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910417470.0A CN110299999B (en) 2019-05-20 2019-05-20 Train real-time Ethernet TRDP network card based on Linux platform

Publications (2)

Publication Number Publication Date
CN110299999A CN110299999A (en) 2019-10-01
CN110299999B true CN110299999B (en) 2021-02-09

Family

ID=68026973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910417470.0A Expired - Fee Related CN110299999B (en) 2019-05-20 2019-05-20 Train real-time Ethernet TRDP network card based on Linux platform

Country Status (1)

Country Link
CN (1) CN110299999B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262888B (en) * 2020-04-29 2020-08-21 新誉轨道交通科技有限公司 Train networking control system
CN111654508A (en) * 2020-06-24 2020-09-11 青岛思锐科技有限公司 Maintenance terminal of railway vehicle braking system, vehicle-ground transmission system and transmission method
CN111756861A (en) * 2020-07-07 2020-10-09 成都运达科技股份有限公司 System for realizing internal and external network data exchange based on configuration file
CN112291256B (en) * 2020-11-06 2023-12-01 北京中航通用科技有限公司 UART gateway data transmission method
CN112436948B (en) * 2020-11-12 2023-04-18 中国铁道科学研究院集团有限公司 Train Ethernet card based on TSN and data receiving and transmitting method
CN112671862B (en) * 2020-12-15 2022-09-02 交控科技股份有限公司 Real-time communication method and terminal for combination of train TSN (traffic transmission network) and TRDP (trunk protocol data distribution) protocol
CN112968818B (en) * 2021-04-14 2022-03-11 中车青岛四方车辆研究所有限公司 Train Ethernet abnormal data detection system, equipment and method
CN113971148A (en) * 2021-06-04 2022-01-25 北京中航双兴科技有限公司 PCIE real-time network card data transmission method and device based on linux real-time operating system
CN114189832B (en) * 2021-11-30 2022-09-02 北京华高世纪科技股份有限公司 Train wireless intelligent gateway system, data processing method, terminal and gateway
CN116996592B (en) * 2023-09-27 2023-12-22 网络通信与安全紫金山实验室 Network card, data transmission processing method and data receiving processing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107171827A (en) * 2017-04-19 2017-09-15 广州众志诚信息科技有限公司 A kind of railway real-time ethernet TRDP gateways based on Linux platform
CN207083094U (en) * 2017-08-25 2018-03-09 北京卓越信通电子股份有限公司 A kind of train real-time ethernet network interface card based on TRDP agreements
CN208143238U (en) * 2018-05-22 2018-11-23 广州众志诚信息科技有限公司 Railway Ethernet TRDP gateway
CN208479662U (en) * 2018-06-15 2019-02-05 广州众志诚信息科技有限公司 Railway ethernet gateway equipment

Also Published As

Publication number Publication date
CN110299999A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
CN110299999B (en) Train real-time Ethernet TRDP network card based on Linux platform
US6081523A (en) Arrangement for transmitting packet data segments from a media access controller across multiple physical links
US9565270B2 (en) LPC2468-based MVB-WTB gateway and working method thereof
CN106789605B (en) A kind of railway real-time ethernet TRDP gateway
US20080205416A1 (en) Flight control computers with ethernet based cross channel data links
CN109194679B (en) Multi-protocol interface data acquisition device and acquisition method based on SpaceFibre interface
CN105516191A (en) 10-gigabit Ethernet TCP offload engine (TOE) system realized based on FPGA
CN103905281A (en) FC-AE-1553 bus node card capable of interchangeably achieving functions of network controller and network terminal
CA2691077A1 (en) Deterministic communication system
US8493975B2 (en) Communication system
CN107171827A (en) A kind of railway real-time ethernet TRDP gateways based on Linux platform
CN103024042A (en) Avionics full duplex switched Ethernet (AFDX) terminal protocol stack, and data receiving and sending method thereof
CN109962830A (en) A kind of efficient CAN interface based on FPGA
CN101106504A (en) Distributed communication system for intelligent independent robot based on CAN bus
CN108614797A (en) A kind of high low-frequency serial bus integrated interface of polymorphic type
WO2024041008A1 (en) On-board communication system and method for train-ground communication
CN115550104B (en) AXI bus expansion method, device, electronic equipment and storage medium
CN101355589B (en) Ethernet equipment, Ethernet communication system and method for configuring Ethernet equipment
Wang et al. Design and implementation of FC-AE-ASM data acquisition and forwarding system
CN105530247A (en) Circuit and method of SRIO node for automatically matching different DeviceID widths based on FPGA
CN114124786B (en) R-NAT device and ETBN switch for rail transit train
CN108664443A (en) Data communication synchronous method and system
CN204392242U (en) A kind of power line communication module based on G.hn standard
CN112968822A (en) One-master multi-slave real-time communication system and method based on Ethernet PHY
CN102611615B (en) FPGA (Field Programmable Gate Array)-based integrated system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210209

CF01 Termination of patent right due to non-payment of annual fee