A time synchronization method for high-speed railway data acquisition and corresponding system

By setting up star card timing equipment on the main equipment in the high-speed railway data acquisition system, transmitting time information through cascading, and using Ethernet to achieve clock synchronization and delay compensation, the lack of time synchronization accuracy and cost in the existing technology is solved. High-precision and low-cost data collection is achieved.

CN115622652BActive Publication Date: 2024-08-30JIANGSU BIDE SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211221497.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-08
Publication Date
2024-08-30
Estimated Expiration
2042-10-08

AI Technical Summary

Technical Problem

The existing high-speed railway data acquisition system relies on star card timing technology in auxiliary modules such as fault collection and diagnosis, resulting in a significant increase in cost. The installation conditions of the star card receiver are limited, and the time synchronization accuracy is not enough to meet the needs of high-frequency signal actions.

Method used

Set up a star card timing device on the main device, transmit time information through cascading, use Ethernet to achieve clock synchronization, and eliminate link transmission delays through delay compensation to ensure that the delay between devices is less than 1us.

Benefits of technology

It improves time synchronization accuracy, reduces equipment networking costs, and enables high-precision data analysis between devices. The delay accuracy between devices is less than 100ns.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115622652B
    Figure CN115622652B
Patent Text Reader

Abstract

The present invention provides a time synchronization method for high-speed railway data acquisition, which improves time accuracy and reduces costs. The method is characterized in that: a. a master device receives a clock source input, obtains information about the clock source, and then synchronizes the clock on the master device with the clock of a reference source, and periodically transmits absolute time information to slave device 1 in the form of a message. After the clock synchronization of the master device is completed, the time information is transmitted to slave device 1 through Ethernet; b. it includes several levels of slave devices, specifically slave device 1, slave device 2, ..., slave device N, where the value of N is a natural number of up to 15, and all slave devices use a PHY chip supporting SGMII to connect to FPGA, and a phase-locked loop is used on the slave device to lock the output clock of the PHY chip. After slave device 1 locks the clock of the master device, each level of slave devices transmits the time information to the slave device of the next level through Ethernet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic equipment, and in particular to a time synchronization method for high-speed railway data acquisition. The present invention also provides a time synchronization system for high-speed railway data acquisition. Background Art

[0002] In the existing technology, high-precision time synchronization on high-speed railways relies on satellite timing technologies such as GPS / Beidou. The high-precision clock / time information obtained is mainly provided to the dispatching subsystem for precise time synchronization. However, if star card timing is used for auxiliary modules such as fault collection and fault diagnosis modules, the cost will increase significantly. In addition, the star card receiver must have a dedicated antenna and the installation conditions are extremely limited. The current solution is mainly based on the NTP service timing of the train network. The time accuracy of timing is in seconds, which can meet some conventional services. However, with the increasing sampling frequency of auxiliary systems such as fault collection and diagnosis, the signal actions between subsystems are in the range of tens of microseconds, and the acquisition equipment is spread across the carriages. Therefore, there is a need for a unified time standard. The data collected by each device has a prescribed reference benchmark, and there is a very accurate judgment on the logical order of the actions of key components such as relays.

[0003] Therefore, a new time synchronization method for high-speed railway data collection is needed, which can effectively reduce costs while improving the accuracy of time synchronization. Summary of the invention

[0004] In view of the above problems, the present invention provides a time synchronization method for high-speed railway data acquisition, which only sets a star card timing device on the main device, and then transmits the time information of the main device in a cascaded networking manner. It improves the time accuracy and reduces the cost.

[0005] A time synchronization method for high-speed railway data collection, characterized by:

[0006] a. After receiving the clock source input and obtaining the clock source information, the master device synchronizes the clock on the master device with the clock of the reference source, and periodically transmits the absolute time information to the slave device 1 in the form of a message. After the clock synchronization of the master device is completed, the time information is transmitted to the slave device 1 through Ethernet;

[0007] b It includes several levels of slave devices, specifically slave device 1, slave device 2, ..., slave device N, where the value of N is a natural number up to 15. All slave devices use a PHY chip that supports SGMII to connect to the FPGA. At the same time, a phase-locked loop is used on the slave device to lock the output clock of the PHY chip. After slave device 1 locks the clock of the master device, each level of slave devices transmits the time information to the slave device of the next level through Ethernet, thereby completing the transmission of clock information in the system, and then parsing the time information message of the master device, thereby realizing the synchronization of time information;

[0008] c Delay compensation is used between the master device and the slave device, and between the upper slave device and the lower slave device at the same time. It obtains the delay between the transmission lines through a loopback method, and sends the transmission line delay to the lower device in the form of a message. The lower device implements compensation based on the transmission line delay compensation information sent by the upper device, ensuring that the delay caused by link transmission between each device is eliminated.

[0009] It is further characterized by:

[0010] The clock source is specifically GPS / Beidou / or 1588v2. The master device supports GPS / Beidou and 1588v2 clock source inputs. The original second pulse generated by the clock source is phase-detected through FPGA, and the system clock locked to the clock source is output by adjusting the built-in voltage-controlled oscillator VCXO on the single-board DA. At the same time, the original second pulse is counted to generate a second pulse synchronized with the system clock and sent to the lower-level slave device;

[0011] All slave devices lock the clock output by the GSMII PHY chip of the upper-level device through a phase-locked loop, thereby achieving clock synchronization between the slave device and the master device, as well as between adjacent slave devices. After completing the clock synchronization of the upper and lower-level devices, the slave device recovers the second pulse sent by the upper-level device through the FPGA, and forwards the second pulse to the upper and lower ports at the same time. The upper-level device calculates the link delay based on the acquired transmission delay, and the lower-level device implements compensation based on the transmission line delay compensation information sent by the upper-level device.

[0012] A time synchronization system for high-speed railway data collection, characterized in that it includes:

[0013] A main device, wherein the main device has a built-in GPS / Beidou card, a GSMII PHY chip for receiving timing, an FPGA, a phase-locked loop PLL, an adjustment board DA, a voltage-controlled oscillator VCXO, and a GSMII PHY chip for transmission;

[0014] and N-level slave devices, specifically slave device 1, slave device 2, ..., slave device N, where the value of N is a natural number of up to 15, and each slave device includes an uplink port, a downlink port, a phase-locked loop, and an FPGA;

[0015] The master device is connected to the receiving antenna via a GPS / Beidouxing card, or the master device is connected to the train network interface via Ethernet via a GSMII PHY chip for receiving timing. The GSMII PHY chip used for transmission of the master device is connected to the uplink port of the slave device 1, the downlink port of the device 1 is connected to the uplink port of the slave device 2, and the downlink port of the upper-level slave device is connected to the uplink port of the lower-level slave device.

[0016] It is further characterized in that: the master device sends a second pulse to the uplink port of device 1, and the uplink port of device 1 sends a second pulse to the GSMII PHY chip used for transmission of the master device;

[0017] The uplink port and the downlink port of the slave device are both provided with a PHY chip supporting SGMII.

[0018] After adopting the present invention, by borrowing the Ethernet transmission link between devices, clock synchronization and time information transmission are realized, ensuring that the delay between various devices is less than 1us, which is of great reference significance for data analysis between various devices, and the device does not need to install GPS / Beidou receiving equipment separately, which can greatly reduce the cost of device networking; the upper device can obtain the transmission delay of the link by counting the second pulses returned by the lower-level device, and calculate the compensation and then send it to the lower-level device for compensation, so that the delay accuracy between devices can be less than 100ns, realizing higher-precision data analysis; it only sets the star card timing device on the main device, and then transmits the time information of the main device in a cascaded manner according to the cascade networking method, which reduces the cost while improving the time accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a network diagram of the data acquisition time synchronization device corresponding to the invention;

[0020] Figure 2 A schematic diagram of a clock synchronization circuit for a master device of the invention;

[0021] Figure 3 A schematic diagram of a clock synchronization circuit of a slave device of the present invention;

[0022] Figure 4 It is a schematic diagram of the data acquisition time synchronization delay compensation of the present invention. DETAILED DESCRIPTION

[0023] A time synchronization method for high-speed railway data collection:

[0024] a. After receiving the clock source input and obtaining the clock source information, the master device synchronizes the clock on the master device with the clock of the reference source, and periodically transmits the absolute time information to the slave device 1 in the form of a message. After the clock synchronization of the master device is completed, the time information is transmitted to the slave device 1 through Ethernet;

[0025] b It includes several levels of slave devices, specifically slave device 1, slave device 2, ..., slave device N, where the value of N is a natural number up to 15. All slave devices use a PHY chip that supports SGMII to connect to the FPGA. At the same time, a phase-locked loop is used on the slave device to lock the output clock of the PHY chip. After slave device 1 locks the clock of the master device, each level of slave devices transmits the time information to the slave device of the next level through Ethernet, thereby completing the transmission of clock information in the system, and then parsing the time information message of the master device, thereby realizing the synchronization of time information;

[0026] c Delay compensation is used between the master device and the slave device, and between the upper slave device and the lower slave device at the same time. It obtains the delay between the transmission lines through a loopback method, and sends the transmission line delay to the lower device in the form of a message. The lower device implements compensation based on the transmission line delay compensation information sent by the upper device, ensuring that the delay caused by link transmission between each device is eliminated.

[0027] In specific implementation, the clock source is GPS / Beidou / or 1588v2. The master device supports GPS / Beidou and 1588v2 clock source inputs. The original second pulse generated by the clock source is phase-detected through FPGA, and the system clock locked to the clock source is output by adjusting the built-in voltage-controlled oscillator VCXO on the single-board DA. At the same time, the original second pulse is counted to generate a second pulse synchronized with the system clock and sent to the lower-level slave device;

[0028] All slave devices lock the clock output by the GSMII PHY chip of the upper-level device through a phase-locked loop, thereby achieving clock synchronization between the slave device and the master device, as well as between adjacent slave devices. After completing the clock synchronization of the upper and lower-level devices, the slave device recovers the second pulse sent by the upper-level device through the FPGA, and forwards the second pulse to the upper and lower ports at the same time. The upper-level device calculates the link delay based on the acquired transmission delay, and the lower-level device implements compensation based on the transmission line delay compensation information sent by the upper-level device.

[0029] A time synchronization system for high-speed railway data acquisition, see Figure 1-Figure 4 , which includes a master device and N levels of slave devices;

[0030] The main device has built-in GPS / Beidou card, GSMII PHY chip for receiving timing, FPGA, phase-locked loop PLL, adjustment board DA, voltage-controlled oscillator VCXO, and GSMII PHY chip for transmission;

[0031] The N-level slave devices are specifically slave device 1, slave device 2, ..., slave device N, where the value of N is a natural number up to 15, and each slave device includes an uplink port, a downlink port, a phase-locked loop, and an FPGA;

[0032] The master device is connected to the receiving antenna through the GPS / Beidou star card, or the master device is connected to the train network interface through Ethernet through the GSMII PHY chip for receiving timing. The GSMII PHY chip used for transmission of the master device is connected to the uplink port of slave device 1, the downlink port of device 1 is connected to the uplink port of slave device 2, and the downlink port of the upper-level slave device is connected to the uplink port of the lower-level slave device.

[0033] The master device sends a second pulse to the uplink port of device 1, and the uplink port of device 1 sends a second pulse to the GSMII PHY chip used for transmission of the master device;

[0034] The uplink port and downlink port of the slave device are both equipped with a PHY chip that supports SGMII.

[0035] In specific implementation, the maximum value of N is 15, that is, excluding the master device, the maximum number of slave devices supported by the entire system is 15.

[0036] In specific implementation, the master device sends the second pulse recovered by GPS / Beidou through the SGMII interface. After receiving the second pulse, the slave device forwards the second pulse to the master device through the uplink port. After receiving the second pulse, the master device can obtain the two-way delay between the master and slave devices; the slave device forwards the second pulse to the slave device of the next level at the same time. After receiving the second pulse, the slave device of the next level also forwards the second pulse to the upper level device in the same way, and then forwards it to the next level. It can support up to 16 master-slave devices in cascade (see Figure 1 );

[0037] The master device supports GPS / Beidou and 1588v2 clock source inputs. The original second pulse generated by the clock source is phase-detected through FPGA. By adjusting the built-in voltage-controlled oscillator VCXO on the single-board DA, the system clock locked to the clock source is output. At the same time, the original second pulse is counted to generate a second pulse synchronized with the system clock and sent to the lower-level slave device (see Figure 2 );

[0038] The slave device locks the clock output by the GSMII PHY chip through a phase-locked loop, thereby achieving clock synchronization between the slave device and the master device (see Figure 3), after completing the clock synchronization of the master and slave devices, the slave device recovers the second pulse sent by the upper level through the FPGA, and forwards the second pulse to the upper and lower ports at the same time (see Figure 1 ), the upper-level device calculates the link delay based on the acquired transmission delay.

[0039] Its beneficial effects are as follows: by using the Ethernet transmission link between devices, clock synchronization and time information transmission are achieved, ensuring that the delay between devices is less than 1us, which is of great reference significance for data analysis between devices, and the devices do not need to install additional GPS / Beidou receiving equipment separately, which can greatly reduce the cost of equipment networking; the upper and lower devices can obtain the transmission delay of the link by counting the second pulses returned by the lower-level devices, and calculate the compensation and then send it to the lower-level devices for compensation, so the delay accuracy between devices can be less than 100ns, achieving more high-precision data analysis; it only sets the star card timing device on the main device, and then transmits the time information of the main device in a cascaded manner according to the cascade networking method, which reduces costs while improving time accuracy.

[0040] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

[0041] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A time synchronization method for high-speed railway data collection, Features: a. After receiving the clock source input and obtaining the clock source information, the master device synchronizes the clock on the master device with the clock of the reference source, and periodically transmits the absolute time information to the slave device 1 in the form of a message. After the clock synchronization of the master device is completed, the time information is transmitted to the slave device 1 through Ethernet; b It includes several levels of slave devices, specifically slave device 1, slave device 2, ..., slave device N, where the value of N is a natural number up to 15. All slave devices use a PHY chip that supports SGMII to connect to the FPGA. At the same time, a phase-locked loop is used on the slave device to lock the output clock of the PHY chip. After slave device 1 locks the clock of the master device, each level of slave devices transmits the time information to the slave device of the next level through Ethernet, thereby completing the transmission of clock information in the system, and then parsing the time information message of the master device, thereby realizing the synchronization of time information; c Delay compensation is used between the master device and the slave device, and between the upper slave device and the lower slave device at the same time. It obtains the delay between the transmission lines through a loopback method, and sends the transmission line delay to the lower device in the form of a message. The lower device implements compensation based on the transmission line delay compensation information sent by the upper device, ensuring that the delay caused by link transmission between each device is eliminated.

2. A time synchronization method for high-speed railway data collection as claimed in claim 1, Its characteristics are: The clock source is specifically GPS / Beidou / or 1588v2. The master device supports both GPS / Beidou and 1588v2 clock source inputs. The original second pulse generated by the clock source is phase-detected through FPGA, and the system clock locked to the clock source is output by adjusting the built-in voltage-controlled oscillator VCXO on the single-board DA. At the same time, the original second pulse is counted to generate a second pulse synchronized with the system clock and sent to the lower-level slave device.

3. A time synchronization method for high-speed railway data collection as claimed in claim 1, Features: All slave devices lock the clock output by the GSMII PHY chip of the upper-level device through a phase-locked loop, thereby achieving clock synchronization between the slave device and the master device, as well as between adjacent slave devices. After completing the clock synchronization of the upper and lower-level devices, the slave device recovers the second pulse sent by the upper-level device through the FPGA, and forwards the second pulse to the upper and lower ports at the same time. The upper-level device calculates the link delay based on the acquired transmission delay, and the lower-level device implements compensation based on the transmission line delay compensation information sent by the upper-level device.

4. A time synchronization system for high-speed railway data collection, It is characterized in that It includes: A main device, wherein the main device has a built-in GPS / Beidou card, a GSMII PHY chip for receiving timing, an FPGA, a phase-locked loop PLL, an adjustment board DA, a voltage-controlled oscillator VCXO, and a GSMII PHY chip for transmission; and N-level slave devices, specifically slave device 1, slave device 2, ..., slave device N, where the value of N is a natural number of up to 15, and each slave device includes an uplink port, a downlink port, a phase-locked loop, and an FPGA; The master device is connected to the receiving antenna via a GPS / Beidouxing card, or the master device is connected to the train network interface via Ethernet via a GSMII PHY chip for receiving timing. The GSMII PHY chip used for transmission of the master device is connected to the uplink port of the slave device 1, the downlink port of the device 1 is connected to the uplink port of the slave device 2, and the downlink port of the upper-level slave device is connected to the uplink port of the lower-level slave device.

5. A time synchronization system for high-speed railway data collection as claimed in claim 4, Features: The master device sends a second pulse to the uplink port of device 1, and the uplink port of device 1 sends a second pulse to the GSMII PHY chip used for transmission of the master device.

6. A time synchronization system for high-speed railway data collection as claimed in claim 4, Features: The uplink port and the downlink port of the slave device are both provided with a PHY chip supporting SGMII.

Citation Information

Patent Citations

  • IEEE 1588-based synchronization system and synchronization method thereof

    CN102104475A

  • High-precision Ethernet time synchronization device

    CN111585680A