A nationally produced multi-bus multi-redundant B-code timing device
By adopting multi-bus multi-redundancy design and multi-redundancy analysis of ARM and FPGA in the B-code timing device, the problems of complex design, low accuracy and poor stability in the prior art are solved, and the B-code timing device is realized Nationally produced design improves time accuracy and system reliability.
Patent Information
- Application Number
- CN202111034330.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-18
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2041-10-18
AI Technical Summary
The existing B-code time-based device has complex design, low accuracy and poor stability, and cannot achieve independent and controllable national production design, and cannot cope with equipment failures and time-based interruptions.
Adopt multi-bus and multi-redundancy design, including CPU chip 2K1000, FPGA chip SMQ7K325T, ARM chip GD32F450 and GBE SWITCH chip SF2507EBI, multi-channel transmission and monitoring of time information through gigabit network bus, RS485 serial bus and PCIE high-speed bus , ARM and FPGA respectively parse B codes, and the CPU serves as an arbitration center for precision screening to ensure the stability and reliability of time synchronization.
The B-code timing accuracy reaches microsecond level, improves the stability and reliability of the system, avoids the impact of disabling foreign devices, and enhances the compatibility and data transmission efficiency of the system.
Smart Images

Figure CN113805643B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of domestic communication time synchronization, and in particular relates to a domestic multi-bus multi-redundancy B-code time synchronization device. Background Art
[0002] At present, time synchronization, or timing, plays a vital role in many industries and fields. For example, in systems such as aerospace and power electronics, the timing accuracy required must reach the microsecond level to ensure the synchronous and collaborative operation of the entire large system. As an internationally accepted time code, B code has the characteristics of universality and standardization. However, the existing B code timing device has the problems of complex design, low accuracy, and poor working stability. More importantly, it is impossible to achieve an autonomous and controllable national design. Moreover, when designing general B code timing devices, the implementation method is relatively single and cannot cope with possible failures.
[0003] In order to meet the needs of localization and realize high-precision B-code time synchronization, especially to realize the effective integration of multi-path and multi-backup time synchronization and to be ready for possible equipment failures and time synchronization interruptions, how to design a domestically produced multi-bus and multi-redundant B-code time synchronization device has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] 1. Technical issues to be resolved
[0005] The technical problem to be solved by the present invention is: how to realize the domestic design of the B code timing device on the basis of ensuring that the B code timing accuracy reaches microseconds, realize multi-bus multi-redundant B code timing, and improve the stability and reliability of the system.
[0006] (II) Technical solution
[0007] In order to solve the above technical problems, the present invention provides a nationally produced multi-bus multi-redundant B-code timing device, including a CPU chip 2K1000, an FPGA chip SMQ7K325T, an ARM chip GD32F450, and a GBE SWITCH chip SF2507EBI;
[0008] The entire timing device has formed a multi-bus and multi-redundancy design, namely, multiple buses of gigabit network bus, RS485 serial bus and PCIE high-speed bus, as well as multi-redundancy of ARM timing and FPGA timing. The CPU chip 2K1000 monitors and arbitrates the entire timing process, monitors the time information parsed by ARM and FPGA in real time, and performs accuracy screening.
[0009] Preferably, the SF2507EBI of the GBE SWITCH chip builds a Gigabit Ethernet switching network to realize the network switching of the CPU chip 2K1000, the FPGA chip SMQ7K325T, the ARM chip GD32F450 and the external devices; the B code input from the external DB9 serial port is divided into two, one way enters the ARM chip GD32F450, and the other way enters the FPGA chip SMQ7K325T, and the ARM chip GD32F450 and the FPGA chip SMQ7K325T parse the B code respectively; the ARM chip GD32F450 transmits the parsed year, month, day, hour, minute, and second time information to the SF2507EBI of the GBE SWITCH chip and the CPU chip 2K1000 through the Gigabit network bus and the RS485 serial bus respectively, while the FPGA chip SMQ7K325T transmits the parsed time information to the VPX bus through the PCIE bus, the RS485 serial bus and the Gigabit Ethernet bus respectively, and the CPU chip 2K1000 and the GBE The SF2507EBI of the SWITCH chip; the CPU chip 2K1000 serves as the monitoring and arbitration center, obtains time information from the PCIE bus, RS485 serial bus and Gigabit Ethernet bus, and performs real-time monitoring. By comparing the accuracy of the time information, the time information with the highest accuracy is screened out, and then sent to the VPX bus through multiple buses for direct acquisition by other external devices on the VPX bus.
[0010] Preferably, the B code parsing logic implemented by the ARM chip GD32F450 is as follows: the first timer inside the GD32F450 detects the start bit of the B code symbol to detect a complete B code symbol information; the second timer is used to time the process of GD32F450 parsing the B code so as to calibrate the B code later; the network transceiver inside the GD32F450 is used to send the parsed year, month, day, hour, minute, and second time information to the network switch SF2507EBI of the GBE SWITCH chip for broadcasting; the RS485 transceiver inside the GD32F450 is used to send the parsed year, month, day, hour, minute, and second time information to the CPU chip 2K1000 for monitoring.
[0011] Preferably, the B code parsing logic implemented by the FPGA chip SMQ7K325T is as follows: after receiving the B code information input from the outside, the FPGA chip SMQ7K325T keeps detecting the start mark of the B code symbol. If it is not detected, the timing register inside the FPGA chip SMQ7K325T directly obtains the time information of the RTC module and distributes it to the network switch SF2507EBI, VPX bus and CPU chip 2K1000 of the GBE SWITCH chip. Once the start mark is detected, the FIFO in the timing register inside the FPGA chip SMQ7K325T caches the symbol of this second, and the decoding register decodes it at the same time, and the microsecond timer counts it. Then, the decoding register transmits the parsed year, month, day, hour, minute and second information to the timing register. On the one hand, the timing register sends out the whole second symbol in the FIFO chip SMQ7K325T after a certain delay, and the delay time is the time of the microsecond timer. On the other hand, the timing register melts the information of the microsecond timer into the time information, and then transmits it to the GBE through the Gigabit Ethernet and PCIE bus respectively. The network switch SF2507EBI and VPX bus of the SWITCH chip also directly transmits the time information to the CPU chip 2K1000 through the RS485 bus and PCIE bus.
[0012] Preferably, the CPU chip 2K1000 adopts a 40nm process, integrates 2 GS264 processor cores, has a main frequency of 1GHz, integrates a shared 1MB secondary cache, a 64-bit 533MHz DDR3 controller, 2 x4 PCIE2.0 interfaces and 2 RGMII Gigabit network interfaces.
[0013] Preferably, the FPGA chip SMQ7K325T contains 840 digital signal processors, 445 36Kb BRAMs, 326080 logic units, 10 CMTs, 1 PCIE2.1, and 16 GTX programmable resources.
[0014] Preferably, the ARM chip GD32F450 adopts an ARM Cortex-M4 32-bit processor core, and integrates 3072KB of FLASH storage and 512KB of SRAM storage on chip.
[0015] Preferably, the network switch SF2507EBI of the GBE SWITCH chip adopts LQFP128-EPAD packaging, supports 5+2-port 10 / 100 / 1000M high-performance Ethernet switching, and integrates 5 GigaPHY and 2 GMAC ports.
[0016] The present invention also provides a method for B code parsing implemented by using the device, comprising the following steps:
[0017] Step 1. The B code is sent to the ARM chip GD32F450 and the FPGA chip SMQ7K325T through the DB9 serial port;
[0018] Step 2. The first timer inside the ARM chip GD32F450 receives the B code information and performs a timed query to continuously detect whether there is a start mark of the B code element. If no start mark is found, the query is continued at a fixed time. Once the start mark of the B code element is found, the second timer is triggered to start;
[0019] Step 3. When the second timer is started, the ARM chip GD32F450 parses the B code elements to parse out the year, month, day, hour, minute, and second information. At the same time, the ARM chip GD32F450 continuously detects whether all the valid B code elements of one second have been parsed. If not, the parsing continues. Once the completion mark is detected, the second timer is triggered to stop timing.
[0020] Step 4. After the second timer stops timing, the ARM chip GD32F450 calibrates the parsed B code time information according to the timing time of the second timer;
[0021] Step 5. For the time information after calibration, the ARM chip GD32F450 broadcasts the parsed year, month, day, hour, minute, and second to the network switch of the GBE SWITCH chip or the CPU chip 2K1000 by calling the network transceiver and the RS485 transceiver;
[0022] Step 6. After receiving the B code information input from the outside, the FPGA chip SMQ7K325T keeps detecting the start mark of the B code element. If it is not detected, the timing register inside the FPGA chip SMQ7K325T directly obtains the time information of the RTC module and distributes it to the network switch SF2507EBI of the GBE SWITCH chip, the VPX bus and the CPU chip 2K1000;
[0023] Step 7. Once the start flag is detected, the FIFO in the internal timing register of the FPGA chip SMQ7K325T caches the code element of this second, and the internal decoding register of the FPGA chip SMQ7K325T decodes and the microsecond timer counts;
[0024] Step 8. Then the decoding register transmits the parsed year, month, day, hour, minute, and second information to the timing register. On the one hand, the timing register sends out the whole second code element in the FIFO after a certain delay, and the delay time is the time of the microsecond timer; on the other hand, the timing register melts the information of the microsecond timer into the time information, and then transmits it to the network switch SF2507EBI and VPX bus of the GBE SWITCH chip through Gigabit Ethernet and PCIE bus respectively. At the same time, the time information can also be directly transmitted to the CPU chip 2K1000 through RS485 bus and PCIE bus;
[0025] Step 10. The CPU chip 2K1000 obtains time information from the PCIE bus, RS485 serial bus, and Gigabit Ethernet bus, and performs real-time monitoring on the upper-layer software. By comparing the accuracy of the time information, the time information with the highest accuracy is selected, and then sent to the VPX bus through the multi-bus for direct acquisition by other external devices on the VPX bus.
[0026] (III) Beneficial effects
[0027] Compared with the prior art, the present invention adopts an autonomous and controllable domestically produced design, which is not affected by the ban on foreign devices. The multi-bus design of Gigabit network bus, RS485 serial bus and PCIE high-speed bus makes the data flow of the entire timing device smoother and the time distribution faster, which can effectively improve the efficiency of distribution and reduce the delay on the transmission line; the multi-bus design can make the B code timing device more compatible. Furthermore, the multi-redundancy of ARM timing and FPGA timing, as well as the design of CPU monitoring and arbitration of the entire timing process, achieves the goal of autonomous control and can improve the reliability of the system; the redundant design can achieve the accuracy of timing at the microsecond level. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A block diagram of the principle of a B-code timing device based on which the method of an embodiment of the present invention is implemented;
[0029] Figure 2 ARM B code parsing logic block diagram based on the method of the embodiment of the present invention;
[0030] Figure 3 This is a logic block diagram of FPGA B code parsing based on the method of an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to make the purpose, content, and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the accompanying drawings and examples.
[0032] In order to solve the shortcomings of the existing B code time synchronization technology, specifically to solve the problems of single system design, poor reliability and low time synchronization accuracy, the present invention realizes the domestic design of the B code time synchronization device on the basis of ensuring that the B code time synchronization accuracy reaches microseconds, realizes multi-bus and multi-redundant B code time synchronization, and improves the stability and reliability of the system.
[0033] Combination Figure 1 The principle block diagram of the B code timing device shown in the figure, Figure 2 The ARM B code parsing logic block diagram shown in the figure and Figure 3 The FPGA B code parsing logic block diagram is shown, and the method of the present invention is further described below.
[0034] Specifically, Figure 1 As shown, the B code timing device adopts the CPU+FPGA+ARM architecture. In this device, the CPU chip 2K1000 of Beijing Loongson Company, the FPGA chip SMQ7K325T of Shenzhen Guowei Company, the ARM chip GD32F450 of GigaDevice Company, and the GBE SWITCH chip SF2507EBI of Nanfei Microelectronics Company are selected. Other peripheral serial ports, networks, buses and all other chips have realized domestic design.
[0035] The entire timing device has formed a multi-bus and multi-redundant design, namely, multiple buses of gigabit network bus, RS485 serial bus and PCIE high-speed bus, as well as multi-redundancy of ARM timing and FPGA timing. CPU 2K1000 monitors and arbitrates the entire timing process, and can monitor the time information parsed by ARM and FPGA in real time, and perform accuracy screening, giving priority to outputting time information with high timing accuracy, achieving the goal of autonomous control and improving system reliability. With the use of redundant design, the timing accuracy can reach microsecond level.
[0036] The SF2507EBI of the GBE SWITCH chip builds a Gigabit Ethernet switching network to realize network switching between the CPU, FPGA, ARM and external devices; the B code input from the external DB9 serial port is divided into two, one enters the ARM and the other enters the FPGA, and the ARM and FPGA parse the B code respectively; the ARM transmits the parsed year, month, day, hour, minute and second time information to the SF2507EBI and CPU of the GBE SWITCH chip through the Gigabit network bus and RS485 serial bus respectively, while the FPGA transmits the parsed time information to the VPX bus, CPU and GBE SWITCH through the PCIE bus, RS485 serial bus and Gigabit Ethernet bus respectively; the CPU, as the monitoring and arbitration center, obtains time information from the PCIE bus, RS485 serial bus and Gigabit Ethernet bus, performs real-time monitoring on the upper-level software, and selects the time information with the highest accuracy by comparing the accuracy of the time information, and then sends it to the VPX bus through multiple buses for direct acquisition by other external devices on the VPX bus.
[0037] Furthermore, the Loongson CPU chip 2K1000 adopts a 40nm process, integrates two GS264 processor cores, has a main frequency of 1GHz, integrates a shared 1MB secondary cache, a 64-bit 533MHz DDR3 controller, two x4 PCIE2.0 interfaces and two RGMII Gigabit network interfaces, etc.
[0038] Furthermore, the FPGA chip SMQ7K325T of Guowei Company contains 840 digital signal processors, 445 36Kb BRAMs, 326080 logic units, 10 CMTs, 1 PCIE2.1, 16 GTX and other programmable resources, which can realize high-performance digital signal processing, large-capacity logical operations and other applications, has high-bandwidth data throughput capabilities, and is fully compatible with XQ7K325T-FFG900 of Xilinx Company in the United States.
[0039] Furthermore, the ARM chip GD32F450 of GigaDevice uses an ARM Cortex-M4 32-bit processor core, integrates 3072KB of FLASH storage and 512KB of SRAM storage on chip, has rich IO resources and peripheral interfaces, and can meet conventional standards as well as advanced communication requirements.
[0040] Furthermore, the SF2507EBI of the Nanfei Microelectronics GBE SWITCH chip adopts LQFP128-EPAD packaging, supports 5+2-port 10 / 100 / 1000M high-performance Ethernet switching, and integrates 5 low-power GigaPHY and 2 GMAC ports.
[0041] refer to Figure 2 , the B code parsing logic implemented by ARM is as follows: the first timer 1 inside GD32F450 detects the start bit of the B code symbol to detect a complete B code symbol information; the second timer 2 is used to time the process of GD32F450 parsing the B code so as to calibrate the B code later; the network transceiver inside GD32F450 is used to send the parsed year, month, day, hour, minute, and second time information to the network switch SF2507EBI of the GBE SWITCH chip for broadcasting; the RS485 transceiver inside GD32F450 is used to send the parsed year, month, day, hour, minute, and second time information to the CPU for monitoring.
[0042] The B code parsing logic implemented by FPGA is as follows: after receiving the B code information input from the outside, FPGA keeps detecting the start mark of the B code symbol. If it is not detected, the timing register inside FPGA directly obtains the time information of the RTC module and distributes it to the network switch SF2507EBI, VPX bus and CPU of GBE SWITCH chip. Once the start mark is detected, the FIFO in the timing register inside FPGA caches the symbol of this second, while the decoding register decodes it and the microsecond timer counts it. Then the decoding register transmits the parsed year, month, day, hour, minute and second information to the timing register. On the one hand, the timing register sends out the whole second symbol in FIFO after a certain delay, and the delay time is the time of the microsecond timer. On the other hand, the timing register melts the information of the microsecond timer into the time information, and then transmits it to the network switch SF2507EBI and VPX bus of GBE SWITCH chip through Gigabit Ethernet and PCIE bus respectively. At the same time, the time information can also be directly transmitted to the CPU through RS485 bus and PCIE bus.
[0043] like Figure 2 As shown, the steps of B code parsing implemented by the above device are as follows:
[0044] Step 1. Send B code to ARM and FPGA through DB9 serial port;
[0045] Step 2. The first timer 1 inside the ARM receives the B code information and performs a timed query to continuously detect whether there is a start mark of the B code element. If no start mark of the B code element is found, the timed query is continued. Once the start mark of the B code element is found, the second timer 2 is triggered to start;
[0046] Step 3. When the second timer 2 is started, ARM parses the B code elements to parse out the year, month, day, hour, minute, and second information. At the same time, ARM continuously checks whether all the valid B code elements of one second have been parsed. If not, it continues parsing. Once the completion mark is detected, the second timer 2 is triggered to stop timing.
[0047] Step 4. After the second timer 2 stops timing, the ARM calibrates the parsed B code time information according to the timing time of the second timer 2;
[0048] Step 5. For the time information after calibration, ARM broadcasts the parsed year, month, day, hour, minute, and second to the network switch or CPU of the GBE SWITCH chip by calling the network transceiver and RS485 transceiver;
[0049] Step 6. After receiving the B code information from the external input, FPGA keeps detecting the start mark of the B code element. If it is not detected, the timing register inside the FPGA directly obtains the time information of the RTC module and distributes it to the network switch SF2507EBI, VPX bus and CPU of the GBE SWITCH chip;
[0050] Step 7. Once the start flag is detected, the FIFO in the FPGA's internal timing register caches the code element for this second, while the FPGA's internal decoding register decodes and the microsecond timer counts;
[0051] Step 8. Then the decoding register transmits the parsed year, month, day, hour, minute, and second information to the timing register. On the one hand, the timing register sends out the whole second code element in the FIFO after a certain delay, and the delay time is the time of the microsecond timer; on the other hand, the timing register melts the information of the microsecond timer into the time information, and then transmits it to the network switch SF2507EBI and VPX bus of the GBE SWITCH chip through Gigabit Ethernet and PCIE bus respectively. At the same time, the time information can also be directly transmitted to the CPU through RS485 bus and PCIE bus;
[0052] Step 10. The CPU obtains time information from the PCIE bus, RS485 serial bus, and Gigabit Ethernet bus, and performs real-time monitoring on the upper-layer software. By comparing the accuracy of the time information, the CPU selects the time information with the highest accuracy, and then sends it to the VPX bus through the multi-bus for direct acquisition by other external devices on the VPX bus.
[0053] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A domestically produced multi-bus multi-redundant B-code timing device, characterized in that: Including CPU chip 2K1000, FPGA chip SMQ7K325T, ARM chip GD32F450, GBE SWITCH chip SF2507EBI; The entire timing device has a multi-bus and multi-redundancy design, namely, multi-buses of Gigabit network bus, RS485 serial bus and PCIE high-speed bus, as well as multi-redundancy of ARM timing and FPGA timing. The CPU chip 2K1000 monitors and arbitrates the entire timing process, monitors the time information parsed by ARM and FPGA in real time, and performs accuracy screening. The SF2507EBI of the GBE SWITCH chip builds a Gigabit Ethernet switching network to realize the network switching of the CPU chip 2K1000, the FPGA chip SMQ7K325T, the ARM chip GD32F450 and the external devices; the B code input from the external DB9 serial port is divided into two, one enters the ARM chip GD32F450, and the other enters the FPGA chip SMQ7K325T. The ARM chip GD32F450 and the FPGA chip SMQ7K325T parse the B code respectively; the ARM chip GD32F450 transmits the parsed year, month, day, hour, minute and second time information to the SF2507EBI of the GBE SWITCH chip and the CPU chip 2K1000 through the Gigabit network bus and the RS485 serial bus respectively, while the FPGA chip SMQ7K325T transmits the parsed time information to the VPX bus through the PCIE bus, the RS485 serial bus and the Gigabit Ethernet bus respectively. The CPU chip 2K1000 and the GBE SF2507EBI of SWITCH chip; CPU chip 2K1000 as the monitoring and arbitration center, obtains time information from PCIE bus, RS485 serial bus and Gigabit Ethernet bus, performs real-time monitoring, and selects the time information with the highest accuracy by comparing the accuracy of time information, and then sends it to VPX bus through multi-bus for other external devices on VPX bus to directly obtain; The B code parsing logic implemented by the ARM chip GD32F450 is as follows: the first timer inside the GD32F450 detects the start bit of the B code element to detect a complete B code element information; the second timer is used to time the process of GD32F450 parsing the B code so as to calibrate the B code later; the network transceiver inside the GD32F450 is used to send the parsed year, month, day, hour, minute, and second time information to the network switch SF2507EBI of the GBE SWITCH chip for broadcasting; the RS485 transceiver inside the GD32F450 is used to send the parsed year, month, day, hour, minute, and second time information to the CPU chip 2K1000 for monitoring; The B code parsing logic implemented by the FPGA chip SMQ7K325T is as follows: after receiving the B code information input from the outside, the FPGA chip SMQ7K325T keeps detecting the start mark of the B code symbol. If it is not detected, the timing register inside the FPGA chip SMQ7K325T directly obtains the time information of the RTC module and distributes it to the network switch SF2507EBI, VPX bus and CPU chip 2K1000 of the GBE SWITCH chip. Once the start mark is detected, the FIFO in the timing register inside the FPGA chip SMQ7K325T caches the symbol of this second, and the decoding register decodes it at the same time, and the microsecond timer counts it. Then the decoding register transmits the parsed year, month, day, hour, minute and second information to the timing register. On the one hand, the timing register sends out the whole second symbol in the FIFO chip SMQ7K325T after a certain delay, and the delay time is the time of the microsecond timer. On the other hand, the timing register melts the information of the microsecond timer into the time information, and then transmits it to GBE through Gigabit Ethernet and PCIE bus respectively. The network switch SF2507EBI and VPX bus of the SWITCH chip also directly transmits the time information to the CPU chip 2K1000 through the RS485 bus and PCIE bus.
2. The device according to claim 1, characterized in that The CPU chip 2K1000 adopts 40nm process, integrates 2 GS264 processor cores, has a main frequency of 1GHz, integrates a shared 1MB secondary cache, a 64-bit 533MHz DDR3 controller, 2 x4 PCIE2.0 interfaces and 2 RGMII Gigabit network interfaces.
3. The device according to claim 1, characterized in that The FPGA chip SMQ7K325T contains 840 digital signal processors, 445 36Kb BRAMs, 326080 logic units, 10 CMTs, 1 PCIE2.1, and 16 GTX programmable resources.
4. The device according to claim 1, characterized in that The ARM chip GD32F450 adopts the ARM Cortex-M4 32-bit processor core, and integrates 3072KB of FLASH storage and 512KB of SRAM storage on the chip.
5. The device according to claim 1, characterized in that The network switch SF2507EBI of the GBE SWITCH chip adopts LQFP128-EPAD package, supports 5+2-port 10 / 100 / 1000M high-performance Ethernet switching, and integrates 5 GigaPHY and 2 GMAC ports.
6. A method for B-code parsing implemented by the device according to any one of claims 1 to 5, characterized in that: The following steps are involved: Step 1. The B code is sent to the ARM chip GD32F450 and the FPGA chip SMQ7K325T through the DB9 serial port; Step 2. The first timer inside the ARM chip GD32F450 receives the B code information and performs a timed query to continuously detect whether there is a start mark of the B code element. If no start mark is found, the query is continued at a fixed time. Once the start mark of the B code element is found, the second timer is triggered to start; Step 3. When the second timer is started, the ARM chip GD32F450 parses the B code elements to parse out the year, month, day, hour, minute, and second information. At the same time, the ARM chip GD32F450 continuously detects whether all the valid B code elements of one second have been parsed. If not, the parsing continues. Once the completion mark is detected, the second timer is triggered to stop timing. Step 4. After the second timer stops timing, the ARM chip GD32F450 calibrates the parsed B code time information according to the timing time of the second timer; Step 5. For the time information after calibration, the ARM chip GD32F450 broadcasts the parsed year, month, day, hour, minute, and second to the network switch of the GBE SWITCH chip or the CPU chip 2K1000 by calling the network transceiver and the RS485 transceiver; Step 6. After receiving the B code information input from the outside, the FPGA chip SMQ7K325T keeps detecting the start mark of the B code element. If it is not detected, the timing register inside the FPGA chip SMQ7K325T directly obtains the time information of the RTC module and distributes it to the network switch SF2507EBI of the GBE SWITCH chip, the VPX bus and the CPU chip 2K1000; Step 7. Once the start flag is detected, the FIFO in the internal timing register of the FPGA chip SMQ7K325T caches the code element of this second, and the internal decoding register of the FPGA chip SMQ7K325T decodes and the microsecond timer counts; Step 8. Then the decoding register transmits the parsed year, month, day, hour, minute and second information to the timing register. On the one hand, the timing register sends out the whole second code element in the FIFO after a certain delay, and the delay time is the time of the microsecond timer; on the other hand, the timing register melts the information of the microsecond timer into the time information, and then transmits it to the network switch SF2507EBI and VPX bus of the GBE SWITCH chip through Gigabit Ethernet and PCIE bus respectively, and also transmits the time information to the CPU chip 2K1000 through RS485 bus and PCIE bus.
7. The method according to claim 6, characterized in that It also includes step 10. The CPU chip 2K1000 obtains time information from the PCIE bus, RS485 serial bus and Gigabit Ethernet bus, performs real-time monitoring on the upper-level software, and screens out the most accurate time information by comparing the accuracy of the time information. The time information is then sent to the VPX bus through multiple buses for direct acquisition by other external devices on the VPX bus.
