A clock protocol conversion method and system
Through the clock protocol conversion method, the BDS signal is decoded and processed, and the GPS standard protocol time-based code stream signal and phase-adjusted PPS signal is generated, which solves the problem that the I/A platform of the DCS system of the nuclear power plant does not support BDS clock timing, ensuring nuclear power Stable operation of the unit and system reliability.
Patent Information
- Application Number
- CN202411102694.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-13
AI Technical Summary
The I/A platform of the DCS system of the nuclear power plant does not support BDS clock timing after software and hardware upgrades, which affects the stable operation of the nuclear power unit.
Provide a clock protocol conversion method, including selecting IRIG-B (AC) signal or BD signal as time source, decoding and extracting time signal and PPS signal, processing and phase adjustment, and generating time code stream signal and phase of GPS standard protocol The adjusted PPS signal is output to the timing device.
It realizes compatibility of the I/A platform of the DCS system of the nuclear power plant to the BDS clock timing after the software and hardware upgrade, ensures the stable operation of the nuclear power unit, and improves the reliability of the DCS system.
Smart Images

Figure CN118646507B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of clock timing, and in particular to a clock protocol conversion method and system. Background Art
[0002] See also Figure 1 Before the software and hardware upgrade, the I / A platform clock station of the nuclear power plant DCS system had a Win7 operating system and a BNC interface as the input port, which received IRIG-B (AC) signals or BD signals sent by the upstream Beidou Navigation Satellite System (BDS); the output port was a DB15 interface, which provided clock timing for the downstream controller.
[0003] See also Figure 2 After the software and hardware upgrade, the I / A platform clock station of the nuclear power plant DCS system has a Win10 operating system, an 8-pin mini DIN input port, which receives specific signals converted by the upstream Global Positioning System (GPS) receiver; and a Micro DB25 output port for clock synchronization of the downstream controller.
[0004] Since the clock station of the I / A platform of the DCS system of the nuclear power plant does not support BDS clock timing after the software and hardware upgrade, once the on-site reserve parts of the nuclear power unit are consumed, the on-site DCS system of the nuclear power unit will face the loss of BDS clock timing, which will seriously affect the stable operation of the nuclear power unit. Summary of the invention
[0005] The purpose of the present invention is to provide a clock protocol conversion method and system to solve the problem that the I / A platform clock station of the DCS system of a nuclear power plant does not support BDS clock timing after the software and hardware are upgraded, which affects the stable operation of the nuclear power unit, and realize that the I / A platform clock station of the DCS system of the nuclear power plant is compatible with BDS clock timing after the software and hardware are upgraded, thereby ensuring the stable operation of the nuclear power unit.
[0006] In order to solve the above problem, the present invention provides a clock protocol conversion method, comprising the following steps:
[0007] Select IRIG-B (AC) signal or BD signal as the time source; decode the selected time source and extract the timing signal and PPS signal;
[0008] Processing the timing signal to generate a processed timing signal; performing GPS standard protocol timing code stream encoding on the processed timing signal to generate a GPS standard protocol timing code stream signal;
[0009] Performing phase adjustment on the PPS signal to generate a phase-adjusted PPS signal;
[0010] The GPS standard protocol timing code stream signal and the phase-adjusted PPS signal are level-converted and then output to the timing device.
[0011] As one of the feasible methods, the IRIG-B (AC) signal is selected as the time source; the IRIG-B (AC) signal is decoded to extract the timing signal and the PPS signal, including the following steps:
[0012] Acquire an IRIG-B (AC) signal from a BDS; condition the IRIG-B (AC) signal to generate a conditioned IRIG-B (AC) signal;
[0013] Carrier extraction is performed on the conditioned IRIG-B (AC) signal to generate a carrier-extracted IRIG-B (AC) signal;
[0014] Decode the IRIG-B (AC) signal after carrier extraction to extract the timing signal and PPS signal;
[0015] The phase of the PPS signal is adjusted to generate a phase-adjusted PPS signal, comprising the following steps:
[0016] The PPS signal is extracted from the IRIG-B (AC) signal after carrier extraction to obtain the original PPS signal; the PPS signal is adjusted to be synchronized with the original PPS signal to generate a phase-adjusted PPS signal.
[0017] As one of the feasible methods, a BD signal is selected as a time source; the BD signal is decoded to extract a timing signal and a PPS signal, including the following steps:
[0018] Obtain BD signal from BDS; decode BD signal and extract timing signal and PPS signal;
[0019] The phase of the PPS signal is adjusted to generate a phase-adjusted PPS signal, comprising the following steps:
[0020] The PPS signal is extracted from the BD signal to obtain the original PPS signal; the PPS signal is adjusted to be synchronized with the original PPS signal to generate a phase-adjusted PPS signal.
[0021] As one of the achievable methods, processing the timing signal to generate a processed timing signal includes the following steps:
[0022] Replace the timing signal in the GPS standard protocol timing message data with the timing signal to generate a processed timing signal;
[0023] The processed timing signal is encoded with the GPS standard protocol timing code stream to generate the GPS standard protocol timing code stream signal, including the following steps:
[0024] According to the GPS standard protocol timing code stream encoding rule, the processed timing signal is encoded to generate a GPS standard protocol timing code stream signal.
[0025] As one of the feasible ways, the GPS standard protocol obtains the encoding rule of the time code stream in the following way:
[0026] The GPS standard protocol timing code stream signal for communication between the timing device and the GPS, as well as the GPS standard protocol timing message data for communication between the timing device and the device being timed are collected and analyzed by a logic analyzer to find out the encoding rules of the GPS standard protocol timing code stream.
[0027] As one of the feasible ways, the GPS standard protocol timing code stream signal is level-converted according to the GPS standard protocol timing code stream signal level; the PPS signal is level-converted according to the PPS signal level; the GPS standard protocol timing code stream signal level is the GPS standard protocol timing code stream signal level for communication between the timing device and the GPS, and the PPS signal level is the PPS signal level for communication between the timing device and the GPS; the GPS standard protocol timing code stream signal level and the PPS signal level for communication between the timing device and the device being timed are obtained by oscilloscope testing.
[0028] As one of the achievable ways, the clock protocol conversion method further includes:
[0029] Detect the IRIG-B (AC) signal state and generate the IRIG-B (AC) signal state signal;
[0030] LED indicator light indicates the status of IRIG-B (AC) signal;
[0031] The LED indicator indicates by its display status; the display status of the LED indicator includes color and flashing mode, which changes according to the IRIG-B (AC) signal status signal.
[0032] As one of the achievable methods, the RIG-B (AC) signal status signal includes whether the IRIG-B (AC) signal has a bit error or frame loss;
[0033] Detecting the IRIG-B (AC) signal state and generating the IRIG-B (AC) signal state signal includes the following steps:
[0034] During the decoding process of the IRIG-B (AC) signal, it is detected whether the IRIG-B (AC) signal has bit errors or frame losses.
[0035] As one of the achievable ways, the clock protocol conversion method further includes:
[0036] Acquire a BDS navigation signal from the BDS; generate a BDS status signal according to the BDS navigation signal;
[0037] The BDS status signal is indicated by an LED indicator; the LED indicator indicates through its display state; the display state of the LED indicator includes a color and a flashing mode, which changes according to the BDS status signal.
[0038] As one of the achievable methods, generating a BDS status signal according to a BDS navigation signal includes the following steps:
[0039] Analyze the BDS navigation signal and obtain the BDS navigation message data; calculate the BDS position, speed and time information based on the BDS navigation message data;
[0040] According to the position, speed and time information of BDS, the BDS status is judged and a BDS status signal is generated.
[0041] As one of the achievable ways, the clock protocol conversion method further includes:
[0042] Detect whether the timing signal jumps; when the timing signal jumps, generate a timing signal jump alarm signal;
[0043] The timing signal jump alarm signal is displayed, the sound and light alarm is given, and the LED indicator light indicates; the LED indicator light indicates through its display state; the display state of the LED indicator light includes color and flashing mode, which changes according to the timing signal jump alarm signal.
[0044] As one of the feasible methods, detecting whether the timing signal jumps or not includes the following steps:
[0045] Generate the next timing signal according to the timing signal obtained by the previous decoding;
[0046] If the next timing signal obtained by decoding is inconsistent with the generated timing signal, it is determined that the timing signal jumps.
[0047] As one of the achievable ways, the clock protocol conversion method further includes:
[0048] Detect the time output quality of the timing device; when the time output quality of the timing device is poor, generate a fault alarm signal of the timing device; display the fault alarm signal of the timing device and issue an ALM alarm.
[0049] As one of the feasible methods, detecting the time output quality of the timing device includes the following steps:
[0050] Send a request to the device being timed to obtain the output time of the device being timed;
[0051] Compare the output time of the timing device with the standard time of GPS or BDS, and calculate the deviation and stability index of the output time of the timing device;
[0052] Evaluate the time output quality of the timing device based on the deviation and stability index of the output time of the timing device;
[0053] If the deviation and stability index of the output time of the timing device exceeds the set value, it is determined that the time output quality of the timing device is poor, and a fault alarm signal of the timing device is generated.
[0054] As one of the achievable ways, the clock protocol conversion method further includes:
[0055] Detect the accuracy of decoding; generate a decoding fault alarm signal when the decoding is inaccurate; display the decoding fault alarm signal and issue an ALM alarm.
[0056] As one of the feasible ways, detecting the decoding accuracy includes the following steps:
[0057] Compare the decoded timing signal and PPS signal with the standard timing signal and standard PPS signal of BDS or GPS respectively;
[0058] If the decoded timing signal is consistent with the standard timing signal of BDS or GPS, the decoded timing signal is determined to be accurate; otherwise, the decoded timing signal is determined to be inaccurate.
[0059] If the PPS signal obtained by decoding is consistent with the standard PPS signal of BDS or GPS, the PPS signal obtained by decoding is determined to be accurate, otherwise, the PPS signal obtained by decoding is determined to be inaccurate;
[0060] If the timing signal or PPS signal obtained by decoding is inaccurate, it is determined that the decoding is inaccurate.
[0061] In order to solve the above problem, the present invention also provides a clock protocol conversion system, comprising:
[0062] The signal processing unit is used to select IRIG-B (AC) signal or BD signal as the time source; decode the selected time source and extract the timing signal and PPS signal; process the timing signal to generate a processed timing signal; encode the processed timing signal into a GPS standard protocol timing code stream to generate a GPS standard protocol timing code stream signal;
[0063] A PPS signal extraction unit, used for performing phase adjustment on the PPS signal to generate a phase-adjusted PPS signal;
[0064] A level conversion unit is used to convert the GPS standard protocol timing code stream signal and the phase-adjusted PPS signal respectively;
[0065] The output signal interface unit is used to output the GPS standard protocol timing code stream signal after level conversion and the PPS signal after phase adjustment to the timing equipment.
[0066] Beneficial technical effects of the present invention:
[0067] The clock protocol conversion method and system of the present invention realize BDS clock timing of the DCS system of a nuclear power plant, effectively ensure the stable operation of the nuclear power unit, and greatly improve the system-level reliability of the DCS of the nuclear power plant. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 This is a schematic diagram of the I / A platform clock station structure of a nuclear power plant DCS system before the software and hardware upgrade;
[0069] Figure 2 This is a schematic diagram of the I / A platform clock station structure of the nuclear power plant DCS system after the software and hardware upgrade;
[0070] Figure 3 A schematic diagram of a flow chart of an embodiment of a clock protocol conversion method of the present invention;
[0071] Figure 4 The figure is a schematic diagram of the structure of an embodiment of the clock protocol conversion system of the present invention. DETAILED DESCRIPTION
[0072] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used in the specification of the application are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "include" and "comprising" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0073] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0074] The technical solution of the present invention is clearly and completely described below in conjunction with the accompanying drawings and specific embodiments.
[0075] See also Figure 3 , this embodiment provides a clock protocol conversion method, comprising the following steps:
[0076] Select IRIG-B (AC) signal or BD signal as the time source; decode the selected time source and extract the timing signal and PPS signal;
[0077] Processing the timing signal to generate a processed timing signal; performing GPS standard protocol timing code stream encoding on the processed timing signal to generate a GPS standard protocol timing code stream signal;
[0078] Performing phase adjustment on the PPS signal to generate a phase-adjusted PPS signal;
[0079] The GPS standard protocol timing code stream signal and the phase-adjusted PPS signal are level-converted and then output to the timing device.
[0080] In this embodiment, as one of the achievable methods, an IRIG-B (AC) signal is selected as a time source; decoding the IRIG-B (AC) signal to extract a timing signal and a PPS signal includes the following steps:
[0081] Acquire an IRIG-B (AC) signal from a BDS; condition the IRIG-B (AC) signal to generate a conditioned IRIG-B (AC) signal;
[0082] Carrier extraction is performed on the conditioned IRIG-B (AC) signal to generate a carrier-extracted IRIG-B (AC) signal;
[0083] Decode the IRIG-B (AC) signal after carrier extraction to extract the timing signal and PPS signal;
[0084] The phase of the PPS signal is adjusted to generate a phase-adjusted PPS signal, comprising the following steps:
[0085] The PPS signal is extracted from the IRIG-B (AC) signal after carrier extraction to obtain the original PPS signal; the PPS signal is adjusted to be synchronized with the original PPS signal to generate a phase-adjusted PPS signal.
[0086] In this embodiment, as one of the achievable methods, a BD signal is selected as a time source; decoding the BD signal to extract a timing signal and a PPS signal includes the following steps:
[0087] Obtain BD signal from BDS; decode BD signal and extract timing signal and PPS signal;
[0088] The phase of the PPS signal is adjusted to generate a phase-adjusted PPS signal, comprising the following steps:
[0089] The PPS signal is extracted from the BD signal to obtain the original PPS signal; the PPS signal is adjusted to be synchronized with the original PPS signal to generate a phase-adjusted PPS signal.
[0090] In this embodiment, as one of the feasible methods, the BD signal is obtained from the BDS system according to the "Beidou Satellite Navigation System User Terminal Universal Data Interface" specification; the BD signal is a TOD signal, the data bit is 8 bits, the baud rate default value is 115200 bits / s, the stop bit is 1 bit, and there is no check bit; the BD signal follows the least significant bit first rule, and the universal statement identifier in the serial data uses ZDA to identify the UTC time, date and local time zone information.
[0091] In this embodiment, as one of the achievable methods, processing the timing signal to generate a processed timing signal includes the following steps:
[0092] Generate GPS standard protocol synchronization message data; replace the synchronization signal in the GPS standard protocol synchronization message data with the synchronization signal to generate a processed synchronization signal;
[0093] The processed timing signal is encoded with the GPS standard protocol timing code stream to generate the GPS standard protocol timing code stream signal, including the following steps:
[0094] According to the GPS standard protocol timing code stream encoding rule, the processed timing signal is encoded to generate a GPS standard protocol timing code stream signal.
[0095] In this embodiment, as one of the feasible methods, the GPS standard protocol synchronization message data is the GPS standard protocol synchronization message data communicated between the timing device and the timing device; the GPS standard protocol synchronization message data includes GPZDA, GPGGA and GPRMC; GPZDA contains time and date information, GPGGA contains the world time, latitude, latitude hemisphere, longitude, longitude hemisphere, number of satellites and altitude information required for GPS positioning, and GPRMC contains the latitude, longitude, speed, azimuth, UTC date, magnetic declination and magnetic declination direction information required for GPS minimum positioning.
[0096] In this embodiment, as one of the achievable methods, the GPS standard protocol obtains the encoding rule of the time code stream in the following manner:
[0097] The GPS standard protocol timing code stream signal for communication between the timing device and the GPS, as well as the GPS standard protocol timing message data for communication between the timing device and the device being timed are collected and analyzed by a logic analyzer to find out the encoding rules of the GPS standard protocol timing code stream.
[0098] In this embodiment, as one of the achievable methods, the time synchronization signal includes year, month, day, hour, minute, and second information.
[0099] In this embodiment, as one of the achievable methods, the GPS standard protocol timing code stream signal is level-converted according to the GPS standard protocol timing code stream signal level; the PPS signal is level-converted according to the PPS signal level; the GPS standard protocol timing code stream signal level is the GPS standard protocol timing code stream signal level for communication between the timing device and the GPS; the PPS signal level is the PPS signal level for communication between the timing device and the GPS; the GPS standard protocol timing code stream signal level and the PPS signal level for communication between the timing device and the device being timed are tested by an oscilloscope.
[0100] The IRIG-B (AC) signal is a serial time code used to achieve time synchronization between systems. The IRIG-B (AC) signal state mainly refers to the accuracy and stability of the IRIG-B (AC) signal. In this embodiment, as one of the achievable methods, the clock protocol conversion method also includes:
[0101] Detect the IRIG-B (AC) signal state and generate the IRIG-B (AC) signal state signal;
[0102] LED indicator light indicates the status of IRIG-B (AC) signal;
[0103] The LED indicator indicates by its display status; the display status of the LED indicator includes color and flashing mode, which changes according to the IRIG-B (AC) signal status signal.
[0104] In this embodiment, as one of the implementable ways, the IRIG-B (AC) signal status signal includes whether there is a bit error or frame loss in the IRIG-B (AC) signal;
[0105] Detecting the IRIG-B (AC) signal state and generating the IRIG-B (AC) signal state signal includes the following steps:
[0106] During the decoding process of the IRIG-B (AC) signal, it is detected whether the IRIG-B (AC) signal has bit errors or frame losses.
[0107] In this embodiment, as one of the achievable ways, the clock protocol conversion method further includes:
[0108] Get BDS navigation signal from BDS;
[0109] Generate a BDS status signal according to the BDS navigation signal;
[0110] LED indicator light for BDS status signal;
[0111] The LED indicator indicates through its display state; the display state of the LED indicator includes color and flashing mode, which changes according to the BDS status signal.
[0112] In this embodiment, as one of the achievable methods, generating a BDS status signal according to a BDS navigation signal includes the following steps:
[0113] Analyze the BDS navigation signal and obtain the BDS navigation message data; calculate the BDS position, speed and time information based on the BDS navigation message data;
[0114] The BDS status is determined based on the position, speed and time information of the BDS, and a BDS status signal is generated; the BDS status signal includes the health status and orbit parameter information of the BDS.
[0115] The timing signal state mainly refers to the rate and integrity of the timing signal. In this embodiment, as one of the achievable methods, the clock protocol conversion method further includes:
[0116] Detect whether the timing signal jumps; when the timing signal jumps, generate a timing signal jump alarm signal;
[0117] The timing signal jump alarm signal is displayed, sound and light alarm is given and indicated by LED indicator; the LED indicator indicates through its display status; the display status of the LED indicator includes color and flashing mode, which changes according to the timing signal jump alarm signal; the timing signal jump includes interruption, omission and deviation of the timing signal.
[0118] In this embodiment, as one of the achievable methods, detecting whether the timing signal jumps or not includes the following steps:
[0119] Generate the next timing signal according to the timing signal obtained by the previous decoding;
[0120] If the next timing signal obtained by decoding is inconsistent with the generated timing signal, it is determined that the timing signal jumps.
[0121] The time output quality of the timing device mainly refers to the accuracy and stability of the output time of the timing device. The time output quality of the timing device needs to be calibrated. In this embodiment, as one of the achievable methods, the clock protocol conversion method also includes:
[0122] Detect the time output quality of the timing device; when the time output quality of the timing device is poor, generate a fault alarm signal of the timing device; display the fault alarm signal of the timing device and issue an ALM alarm.
[0123] In this embodiment, as one of the achievable methods, detecting the time output quality of the timing device includes the following steps:
[0124] Send a request to the device being timed to obtain the output time of the device being timed;
[0125] Compare the output time of the timing device with the standard time of GPS or BDS, and calculate the deviation and stability index of the output time of the timing device;
[0126] Evaluate the time output quality of the timing device based on the deviation and stability index of the output time of the timing device;
[0127] If the deviation and stability index of the output time of the timing device exceeds the set value, it is determined that the time output quality of the timing device is poor, and a fault alarm signal of the timing device is generated;
[0128] The deviation and stability indicators of the output time of the timing device include root mean square error and Allan variance.
[0129] In this embodiment, as one of the achievable ways, the clock protocol conversion method further includes:
[0130] Detect the accuracy of decoding; generate a decoding fault alarm signal when the decoding is inaccurate; display the decoding fault alarm signal and issue an ALM alarm.
[0131] In this embodiment, as one of the achievable methods, detecting the accuracy of decoding includes the following steps:
[0132] Compare the decoded timing signal and PPS signal with the standard timing signal and standard PPS signal of BDS or GPS respectively;
[0133] If the decoded timing signal is consistent with the standard timing signal of BDS or GPS, the decoded timing signal is determined to be accurate; otherwise, the decoded timing signal is determined to be inaccurate;
[0134] If the decoded PPS signal is consistent with the standard PPS signal of BDS or GPS, the decoded PPS signal is determined to be accurate, otherwise, the decoded PPS signal is determined to be inaccurate;
[0135] If the decoded timing signal or PPS signal is inaccurate, it is determined that the decoding is inaccurate.
[0136] refer to Figure 4 As an implementation of the above method, the present invention provides an embodiment of a clock protocol conversion system, and the system embodiment corresponds to the embodiment of the above clock protocol conversion method.
[0137] The clock protocol conversion system described in this embodiment includes:
[0138] The signal processing unit is used to select IRIG-B (AC) signal or BD signal as the time source; decode the selected time source and extract the timing signal and PPS signal; process the timing signal to generate a processed timing signal; encode the processed timing signal into a GPS standard protocol timing code stream to generate a GPS standard protocol timing code stream signal;
[0139] A PPS signal extraction unit, used for performing phase adjustment on the PPS signal to generate a phase-adjusted PPS signal;
[0140] A level conversion unit is used to convert the GPS standard protocol timing code stream signal and the phase-adjusted PPS signal respectively;
[0141] The output signal interface unit is used to output the GPS standard protocol timing code stream signal after level conversion and the PPS signal after phase adjustment to the timing equipment.
[0142] In this embodiment, as one of the achievable methods, the clock protocol conversion system further includes:
[0143] External input signal unit, used to obtain IRIG-B (AC) signal from BDS and send it to signal conditioning unit;
[0144] A signal conditioning unit, used for receiving the IRIG-B (AC) signal sent by the external input signal unit and sending it to the carrier extraction unit after conditioning;
[0145] A carrier extraction unit, used for receiving the IRIG-B (AC) signal sent by the signal conditioning unit and performing carrier extraction before sending the signal processing unit and the PPS signal extraction unit;
[0146] The signal processing unit is used to select the IRIG-B (AC) signal as the time source; receive the IRIG-B (AC) signal sent by the carrier extraction unit and decode it to extract the timing signal and the PPS signal; process the timing signal to generate a processed timing signal; encode the processed timing signal according to the GPS standard protocol timing code stream to generate a GPS standard protocol timing code stream signal and send it to the level conversion unit; send the PPS signal to the PPS signal processing unit;
[0147] A PPS signal extraction unit is used to receive the IRIG-B (AC) signal sent by the carrier extraction unit, extract the PPS signal from the IRIG-B (AC) signal after carrier extraction, and obtain the original PPS signal; receive the PPS signal sent by the signal processing unit; adjust the PPS signal to be synchronized with the original PPS signal according to the system configuration or external control instructions, generate a phase-adjusted PPS signal and send it to the level conversion unit;
[0148] A level conversion unit is used to receive the PPS signal sent by the PPS signal extraction unit and the GPS standard protocol timing code stream signal sent by the signal processing unit and perform level conversion on each of them and then send them to the output signal interface unit;
[0149] The output signal interface unit is used to receive the GPS standard protocol timing code stream signal and the phase-adjusted PPS signal sent by the level conversion unit and output them to the timing device.
[0150] In this embodiment, as one of the achievable methods, the signal processing unit is provided with a main control module, an IRIG-B (AC) decoding module and a timing code stream encoding module developed based on FPGA;
[0151] IRIG-B (AC) decoding module, used to decode the IRIG-B (AC) signal after carrier extraction, extract the timing signal and PPS signal and send them to the main control module;
[0152] The main control module is used to select the IRIG-B (AC) signal as the time source; receive the timing signal and PPS signal sent by the IRIG-B (AC) decoding module; process the timing signal and send it to the timing code stream encoding module; generate the timing code stream encoding instruction and send it to the timing code stream encoding module;
[0153] The timing code stream encoding module is used to receive the timing code stream encoding instruction and the timing signal sent by the main control module; according to the timing code stream encoding instruction, the processed timing signal is encoded with the GPS standard protocol timing code stream to generate the GPS standard protocol timing code stream signal.
[0154] In this embodiment, as one of the achievable methods, the main control module selects the IRIG-B (AC) signal as the time source by default. The main control module also supports the user to select the IRIG-B (AC) signal or the BD signal as the time source by pressing buttons or touching.
[0155] In this embodiment, as one of the achievable methods, the clock protocol conversion system further includes:
[0156] Satellite interface unit, used to obtain BD signal from BDS and send it to signal processing unit;
[0157] The signal processing unit is used to select the BD signal as the time source; receive the BD signal sent by the satellite interface unit and decode it, extract the timing signal and the PPS signal; process the timing signal to generate a processed timing signal; encode the processed timing signal by the GPS standard protocol timing code stream, generate a GPS standard protocol timing code stream signal and send it to the level conversion unit; send the BD signal and the PPS signal to the PPS signal processing unit;
[0158] A PPS signal extraction unit is used to receive the BD signal and the PPS signal sent by the signal processing unit, extract the PPS signal from the BD signal, and obtain the original PPS signal; adjust the PPS signal to be synchronized with the original PPS signal, generate a phase-adjusted PPS signal, and send it to the level conversion unit;
[0159] A level conversion unit is used to receive the PPS signal sent by the PPS signal extraction unit and the GPS standard protocol timing code stream signal sent by the signal processing unit and perform level conversion on each of them and then send them to the output signal interface unit;
[0160] The output signal interface unit is used to receive the GPS standard protocol timing code stream signal and the phase-adjusted PPS signal sent by the level conversion unit and output them to the timing device.
[0161] In this embodiment, as one of the feasible ways, the satellite interface unit obtains the BD signal from the BDS system according to the Beidou Satellite Navigation System User Terminal Universal Data Interface specification; the BD signal is a TOD signal, the data bit is 8 bits, the baud rate default value is 115200 bits / s, the stop bit is 1 bit, and there is no check bit; the BD signal follows the least significant bit first rule, and the universal statement identifier in the serial data uses ZDA to identify the UTC time, date and local time zone information.
[0162] In this embodiment, as one of the achievable methods, the signal processing unit is further provided with a BD decoding module developed based on FPGA;
[0163] BD decoding module, used to decode the BD signal, extract the timing signal and PPS signal and send them to the main control module;
[0164] The main control module is used to select the BD signal as the time source; receive the timing signal and PPS signal sent by the BD signal decoding module; process the timing signal and send it to the timing code stream encoding module; generate the timing code stream encoding instruction and send it to the timing code stream encoding module;
[0165] The timing code stream encoding module is also used to receive the timing code stream encoding instruction and the timing signal sent by the main control module; according to the timing code stream encoding instruction, the processed timing signal is encoded with the GPS standard protocol timing code stream to generate the GPS standard protocol timing code stream signal.
[0166] In this embodiment, as one of the achievable methods, the main control module processes the timing signal and then sends it to the timing code stream encoding module, including the following steps:
[0167] The main control module generates GPS standard protocol synchronization message data, replaces the timing signal in the GPS standard protocol synchronization message data with the timing signal, generates the processed timing signal and sends it to the timing code stream encoding module;
[0168] The timing code stream encoding module performs GPS standard protocol timing code stream encoding on the processed timing signal according to the timing code stream encoding instruction to generate GPS standard protocol timing code stream signal, including the following steps:
[0169] The timing code stream encoding module sets the GPS standard protocol timing code stream encoding rule, encodes the processed timing signal according to the timing code stream encoding instruction and the GPS standard protocol timing code stream encoding rule, and generates the GPS standard protocol timing code stream signal.
[0170] In this embodiment, as one of the feasible methods, GPS standard protocol synchronization message data is the GPS standard protocol synchronization message data for communication between the timing device and the timing device as the GPS standard protocol synchronization message data; the GPS standard protocol synchronization message data includes GPZDA, GPGGA and GPRMC; GPZDA contains time and date information; GPGGA contains the world time, latitude, latitude hemisphere, longitude, longitude hemisphere, number of satellites and altitude information required for GPS positioning; GPRMC contains the latitude, longitude, speed, azimuth, UTC date, magnetic declination and magnetic declination direction information required for GPS minimum positioning.
[0171] In this embodiment, as one of the achievable methods, the time code stream encoding module sets the GPS standard protocol time code stream encoding rule, including the following steps:
[0172] Use a logic analyzer to collect and analyze the GPS standard protocol timing code stream signals between the timing device and the GPS, as well as the GPS standard protocol timing message data between the timing device and the device being timed, to find out the encoding rules of the GPS standard protocol timing code stream;
[0173] The GPS standard protocol time code stream encoding rule found in the time code stream encoding module is set.
[0174] In this embodiment, as one of the achievable methods, the time synchronization signal includes year, month, day, hour, minute, and second information.
[0175] In this embodiment, as one of the feasible ways, the external input signal unit is an ADC circuit; the signal conditioning unit conditions the IRIG-B (AC) signal through a filtering algorithm to prevent interference from noise signals; the IRIG-B (AC) decoding module is composed of a sine wave with a frequency of 1kHz and a modulation ratio of 3:1, converts the IRIG-B (AC) signal into an IRIG-B (DC) signal, and extracts the PPS signal and the timing signal in the IRIG-B (DC) signal; the high level of the IRIG-B (DC) signal corresponds to the high-amplitude sine wave of the IRIG-B (AC) signal, and the low level of the IRIG-B (DC) signal corresponds to the low-amplitude sine wave of the IRIG-B (AC) signal.
[0176] In this embodiment, as one of the achievable methods, a PPS phase adjustment module developed based on FPGA is provided on the PPS signal extraction unit;
[0177] The PPS phase adjustment module is used to extract the PPS signal from the IRIG-B (AC) signal after carrier extraction to obtain the original PPS signal; according to the system configuration or external control instructions, the PPS signal is adjusted to be synchronized with the original PPS signal to obtain the phase-adjusted PPS signal.
[0178] In this embodiment, as one of the achievable ways, the output signal interface unit uses an isolated 422 transceiver to output the GPS timing code stream signal to the timing device.
[0179] In this embodiment, as one of the achievable methods, the level conversion unit sets the GPS standard protocol timing code stream signal level and the PPS signal level, performs level conversion on the GPS standard protocol timing code stream signal according to the GPS standard protocol timing code stream signal level, and performs level conversion on the PPS signal according to the PPS signal level; the GPS standard protocol timing code stream signal level is the GPS standard protocol timing code stream signal level for communication between the timing device and the GPS, and the PPS signal level is the PPS signal level for communication between the timing device and the GPS; the GPS standard protocol timing code stream signal level and the PPS signal level for communication between the timing device and the device being timed are tested by an oscilloscope.
[0180] In this embodiment, as one of the implementable ways, the clock protocol conversion system further includes: a display unit connected to other units of the system via an internal bus;
[0181] The signal processing unit is also equipped with an interactive control module and a display unit control module developed based on FPGA;
[0182] The main control module is also used to send system status and alarm signals to the interactive control module;
[0183] An interactive control module, used to receive status and alarm signals sent by the main control module and send them to the display unit control module;
[0184] The display unit control module is used to receive the status and alarm signals sent by the interactive control module and control the display unit to display, thereby realizing human-computer interaction.
[0185] In this embodiment, as one of the implementable ways, the system status and alarm signal include a system status signal and a system alarm signal;
[0186] The display unit includes a display screen, LED indicator lights, ALM terminals and sound and light alarm equipment;
[0187] The display unit control module includes a display screen control module, an LED indicator light control module and an alarm control module;
[0188] A display screen control module is used to control the display screen to display the system alarm signal; the system alarm signal includes abnormal data and the time when the abnormal data occurs;
[0189] LED indicator light control module, used to control the LED indicator light to indicate the system status signal;
[0190] The alarm control module is used to control the LED indicator to indicate the system alarm signal, control the sound and light alarm device to give a sound and light alarm to the system alarm signal, and control the ALM terminal to give an ALM alarm to the system alarm signal;
[0191] In this embodiment, as one of the achievable methods, the system status signal includes an IRIG-B (AC) code stream signal status signal and a BDS status signal; the system alarm signal includes a timing signal jump alarm signal, a timing device failure alarm signal, a decoding module failure alarm signal and a system power failure alarm signal;
[0192] The display screen control module controls the display screen to display the synchronization signal jump alarm signal, the timing device failure alarm signal, the decoding module failure alarm signal and the system power failure alarm signal respectively;
[0193] The LED indicator control module controls the LED indicator to indicate the IRIG-B (AC) code stream signal status signal and the BDS status signal respectively;
[0194] The alarm control module controls the LED indicator to indicate the timing signal jump alarm signal, controls the sound and light alarm device to give sound and light alarm for the timing signal jump alarm signal, and controls the ALM terminal to give ALM alarm for the timing device fault alarm signal, the decoding module fault alarm signal and the system power off alarm signal respectively.
[0195] In this embodiment, as one of the implementable ways, the IRIG-B (AC) decoding module is also used to detect the IRIG-B (AC) signal state, generate an IRIG-B (AC) signal state signal and send it to the main control module;
[0196] The main control module is also used to receive the IRIG-B (AC) signal status signal sent by the IRIG-B (AC) decoding module and send it to the interactive control module;
[0197] The interactive control module is also used to receive the IRIG-B (AC) signal status signal sent by the main control module and send it to the LED indicator light control module;
[0198] The LED indicator light control module is used to receive the IRIG-B (AC) signal status signal sent by the interactive control module, and control the LED indicator light to indicate the IRIG-B (AC) signal status signal;
[0199] The LED indicator indicates the IRIG-B (AC) signal status signal through its display state; the display state of the LED indicator includes a color and a flashing mode, which changes according to the IRIG-B (AC) signal status signal.
[0200] In this embodiment, as one of the implementable ways, the IRIG-B (AC) code stream signal status signal includes whether there is a bit error or frame loss in the IRIG-B (AC) code stream signal;
[0201] The IRIG-B (AC) status detection module detects the IRIG-B (AC) code stream signal status and generates an IRIG-B (AC) code stream signal status signal, including the following steps:
[0202] When the IRIG-B (AC) decoding module decodes the IRIG-B (AC) code stream signal, it is detected whether there is a bit error or frame loss in the IRIG-B (AC) code stream signal.
[0203] In this embodiment, as one of the implementable ways, the satellite interface unit is also used to obtain the BDS navigation signal from the BDS and send it to the main control module;
[0204] The main control module is also used to receive the BDS navigation signal sent by the satellite interface unit; generate a BDS status signal according to the BDS navigation signal and send it to the interactive control module;
[0205] The interactive control module is also used to receive the BDS status signal sent by the main control module and send it to the LED indicator light control module;
[0206] The LED indicator light control module is also used to receive the BDS status signal sent by the interactive control module and control the LED indicator light to indicate the BDS status signal;
[0207] The LED indicator indicates the BDS status signal through its display state; the display state of the LED indicator includes color and flashing mode, which changes according to the BDS status signal.
[0208] In this embodiment, as one of the achievable methods, the main control module generates a BDS status signal according to the BDS navigation signal, including the following steps:
[0209] Analyze the BDS navigation signal and obtain BDS navigation message data;
[0210] Calculate the position, speed and time information of BDS based on BDS navigation message data;
[0211] According to the position, speed and time information of BDS, the BDS status is judged and a BDS status signal is generated;
[0212] The BDS status signal includes the health status of the BDS status signal and orbit parameter information.
[0213] In this embodiment, as one of the achievable ways, the satellite interface unit uses an isolated 422 transceiver to obtain the BDS navigation signal from the BDS and perform level conversion.
[0214] In this embodiment, as one of the achievable methods, the main control module is also used to detect whether the timing signal obtained by decoding the selected time source has a jump; when the timing signal obtained by decoding the selected time source has a jump, a timing signal jump alarm signal is generated and sent to the interactive control module;
[0215] The interactive control module is also used to receive the timing signal jump alarm signal sent by the main control module and send it to the alarm control module and the display screen control module;
[0216] The alarm control module is also used to receive the timing signal jump alarm signal sent by the interactive control module, control the LED indicator to indicate the timing signal jump alarm signal, and control the sound and light alarm device to sound and light alarm the timing signal jump alarm signal;
[0217] The display screen control module is also used to receive the timing signal jump alarm signal sent by the interactive control module and control the display screen to display the timing signal jump alarm signal;
[0218] The LED indicator indicates the synchronization signal jump alarm signal through its display state; the display state of the LED indicator includes color and flashing mode, which changes according to the synchronization signal jump alarm signal;
[0219] The jump of the timing signal includes interruption, omission and deviation of the timing signal.
[0220] In this embodiment, as one of the achievable methods, the main control module detects whether the timing signal obtained by decoding the selected time source has a jump, including the following steps:
[0221] Generate the next timing signal of the selected time source according to the timing signal obtained by decoding the previous time source;
[0222] If the timing signal obtained by the next decoding of the selected time source is inconsistent with the generated timing signal, it is determined that the timing signal obtained by the decoding of the selected time source has a jump.
[0223] In this embodiment, as one of the achievable methods, the main control module is also used to detect the time output quality of the timing device; when the time output quality of the timing device is poor, a fault alarm signal of the timing device is generated and sent to the interactive control module;
[0224] The interactive control module is also used to receive the time failure alarm signal of the timing device sent by the main control module and send it to the alarm control module and the display screen control module;
[0225] The alarm control module is also used to receive the fault alarm signal of the timing device sent by the interactive control module, and control the ALM terminal to issue an ALM alarm for the fault alarm signal of the timing device;
[0226] The display screen control module is also used to receive the timing device failure alarm signal sent by the interactive control module and control the display screen to display the timing device failure alarm signal.
[0227] In this embodiment, as one of the achievable methods, the main control module detects the time output quality of the timing device, including the following steps:
[0228] Send a request to the device being timed to obtain the output time of the device being timed; compare the output time of the device being timed with the standard time of GPS or BDS, and calculate the deviation and stability index of the output time of the device being timed;
[0229] Evaluate the time output quality of the timing device based on the deviation and stability index of the output time of the timing device;
[0230] If the deviation and stability index of the output time of the timing device exceeds the set value, it is determined that the time output quality of the timing device is poor, and a fault alarm signal of the timing device is generated;
[0231] The deviation and stability indicators of the output time of the timing device include root mean square error and Allan variance.
[0232] In this embodiment, as one of the achievable methods, the main control module is also used to detect the accuracy of decoding; when the decoding is inaccurate, a decoding failure alarm signal is generated and sent to the interactive control module;
[0233] The interactive control module is also used to receive the decoded fault alarm signal sent by the main control module and send it to the alarm control module and the display screen control module;
[0234] The alarm control module is also used to receive the decoding fault alarm signal sent by the interactive control module and control the ALM terminal to issue an ALM alarm for the decoding fault alarm signal;
[0235] The display screen control module is also used to receive the decoding fault alarm signal sent by the interactive control module and control the display screen to display the decoding fault alarm signal.
[0236] In this embodiment, as one of the achievable methods, the main control module detects the accuracy of decoding, including the following steps:
[0237] Compare the decoded timing signal and PPS signal with the standard timing signal and standard PPS signal of BDS or GPS respectively;
[0238] If the decoded timing signal is consistent with the standard timing signal of BDS or GPS, the decoded timing signal is determined to be accurate; otherwise, the decoded timing signal is determined to be inaccurate;
[0239] If the decoded PPS signal is consistent with the standard PPS signal of BDS or GPS, the decoded PPS signal is determined to be accurate, otherwise, the decoded PPS signal is determined to be inaccurate;
[0240] If the decoded timing signal or PPS signal is inaccurate, it is determined that the decoding is inaccurate.
[0241] In this embodiment, as one of the achievable methods, the main control module is also used to detect the system power failure; when the system is powered off, a system power failure alarm signal is generated and sent to the interactive control module;
[0242] The interactive control module is also used to receive the system power failure alarm signal sent by the main control module and send it to the alarm control module and the display screen control module;
[0243] The alarm control module is also used to receive the system power failure alarm signal sent by the interactive control module and control the ALM terminal to issue an ALM alarm for the system power failure alarm signal;
[0244] The display screen control module is also used to receive the system power failure alarm signal sent by the interactive control module and control the display screen to display the system power failure alarm signal.
[0245] In this embodiment, as one of the achievable methods, the clock protocol conversion system also includes: a management interface unit, which is provided with an interface connected to a host computer or other management device, and is connected to other units of the system through internal buses, and is used for two-way communication between the system and the host computer or other management devices, so as to facilitate users to configure, monitor and manage the system; specifically, it receives control signals from the host computer or other management devices, and sends system status and alarm signals to the host computer or other management devices.
[0246] In this embodiment, as one of the feasible methods, the timing device is the clock station of the DCS system of the nuclear power plant; the timing device is the controller of the DCS system of the nuclear power plant; the clock protocol conversion system outputs the GPS standard protocol timing code stream signal and the phase-adjusted PPS signal to the clock station of the DCS system of the nuclear power plant, and the clock station of the DCS system of the nuclear power plant performs timing on the controller of the DCS system of the nuclear power plant according to the GPS standard protocol timing code stream signal and the phase-adjusted PPS signal output by the clock protocol conversion system, thereby realizing the BDS clock timing of the DCS system of the nuclear power plant.
[0247] In the clock protocol conversion system of this embodiment, the external input signal unit protects the internal circuit of the system, isolates and transforms the internal circuit of the system, and prevents internal and external signal interference of the system; the signal conditioning unit conditions the IRIG-B (AC) signal, filters out noise and interference in the IRIG-B (AC) signal, improves the quality of the IRIG-B (AC) signal, and provides system stability and reliability; the signal processing unit decodes and converts the IRIG-B (AC) signal and the BD signal; the satellite interface unit communicates with the BDS, obtains the BDS navigation data, and supports the positioning, navigation and time synchronization functions of the system; the electrical The level conversion unit realizes high-speed level conversion of PPS signal and GPS timing code stream, matches the level protocol of FPGA and timing equipment to meet the needs of different timing equipment; the carrier extraction unit and PPS signal extraction unit are used to convert code stream signals at high speed, extract carrier signals and PPS signals of specific frequencies, and resist signal interference and surges; the management interface unit realizes two-way communication between the system and the host computer or other management equipment, which is convenient for users to configure, monitor and manage the system; the display unit intuitively displays the system status and alarm signals, which is convenient for users to monitor the system status, promptly discover and handle system problems, and improve the reliability and maintainability of the system.
[0248] The clock protocol conversion system of this embodiment realizes BDS clock timing of the nuclear power plant DCS system through the collaborative work of hardware and software, effectively ensures the stable operation of the nuclear power unit, and greatly improves the system-level reliability of the nuclear power plant DCS.
[0249] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A clock protocol conversion method, characterized in that: The following steps are involved: Select IRIG-B (AC) signal or BD signal as the time source; decode the selected time source and extract the timing signal and PPS signal; Processing the timing signal to generate a processed timing signal; performing GPS standard protocol timing code stream encoding on the processed timing signal to generate a GPS standard protocol timing code stream signal; Performing phase adjustment on the PPS signal to generate a phase-adjusted PPS signal; The GPS standard protocol timing code stream signal and the phase-adjusted PPS signal are level-converted and then output to the timing device; When the IRIG-B (AC) signal is selected as the time source, the IRIG-B (AC) signal is decoded to extract the timing signal and PPS signal, including the following steps: Acquire an IRIG-B (AC) signal from a BDS; condition the IRIG-B (AC) signal to generate a conditioned IRIG-B (AC) signal; Carrier extraction is performed on the conditioned IRIG-B (AC) signal to generate a carrier-extracted IRIG-B (AC) signal; Decode the IRIG-B (AC) signal after carrier extraction to extract the timing signal and PPS signal; When the IRIG-B (AC) signal is selected as the time source, the phase of the PPS signal is adjusted to generate a phase-adjusted PPS signal, including the following steps: Extract the PPS signal from the IRIG-B (AC) signal after carrier extraction to obtain the original PPS signal; The PPS signal is adjusted to be synchronized with the original PPS signal to generate a phase-adjusted PPS signal; Processing the timing signal to generate a processed timing signal includes the following steps: Replace the timing signal in the GPS standard protocol timing message data with the timing signal to generate a processed timing signal; The processed timing signal is encoded with the GPS standard protocol timing code stream to generate the GPS standard protocol timing code stream signal, including the following steps: According to the GPS standard protocol timing code stream encoding rule, the processed timing signal is encoded to generate a GPS standard protocol timing code stream signal.
2. The clock protocol conversion method according to claim 1, characterized in that: Select BD signal as the time source; Decoding the BD signal and extracting the timing signal and PPS signal includes the following steps: Obtain BD signal from BDS; decode BD signal and extract timing signal and PPS signal; The phase of the PPS signal is adjusted to generate a phase-adjusted PPS signal, comprising the following steps: The PPS signal is extracted from the BD signal to obtain the original PPS signal; the PPS signal is adjusted to be synchronized with the original PPS signal to generate a phase-adjusted PPS signal.
3. The clock protocol conversion method according to claim 1, characterized in that: The GPS standard protocol obtains the time code stream encoding rules in the following ways: The GPS standard protocol timing code stream signal for communication between the timing device and the GPS, as well as the GPS standard protocol timing message data for communication between the timing device and the device being timed are collected and analyzed by a logic analyzer to find out the encoding rules of the GPS standard protocol timing code stream.
4. The clock protocol conversion method according to claim 3, characterized in that: According to the GPS standard protocol, the level of the time code stream signal is converted to the level of the GPS standard protocol time code stream signal; according to the PPS signal level, the level of the PPS signal is converted; The GPS standard protocol timing code stream signal level is the GPS standard protocol timing code stream signal level for communication between the timing device and the GPS, and the PPS signal level is the PPS signal level for communication between the timing device and the GPS. The GPS standard protocol timing code stream signal level and the PPS signal level for communication between the timing device and the device being timed are obtained through oscilloscope testing.
5. The clock protocol conversion method according to claim 1, characterized in that: The clock protocol conversion method further includes: Detect the IRIG-B (AC) signal state and generate the IRIG-B (AC) signal state signal; LED indicator light indicates the status of IRIG-B (AC) signal; The LED indicator indicates by its display state; the display state of the LED indicator includes color and flashing mode, which changes according to the IRIG-B (AC) signal status signal; The RIG-B (AC) signal status signal includes whether the IRIG-B (AC) signal has bit errors or frame loss; Detecting the IRIG-B (AC) signal state and generating the IRIG-B (AC) signal state signal includes the following steps: During the decoding process of the IRIG-B (AC) signal, it is detected whether the IRIG-B (AC) signal has bit errors or frame losses.
6. The clock protocol conversion method according to claim 1, characterized in that: The clock protocol conversion method further includes: Acquire a BDS navigation signal from the BDS; generate a BDS status signal according to the BDS navigation signal; The BDS status signal is indicated by an LED indicator; the LED indicator indicates by its display state; the display state of the LED indicator includes a color and a flashing mode, which changes according to the BDS status signal; Generating a BDS status signal according to the BDS navigation signal includes the following steps: Analyze the BDS navigation signal and obtain the BDS navigation message data; calculate the BDS position, speed and time information based on the BDS navigation message data; According to the position, speed and time information of BDS, the BDS status is judged and a BDS status signal is generated.
7. The clock protocol conversion method according to claim 1, characterized in that: The clock protocol conversion method further includes: Detect whether the timing signal jumps; when the timing signal jumps, generate a timing signal jump alarm signal; The timing signal jump alarm signal is displayed, the sound and light alarm is given, and the LED indicator light indicates; the LED indicator light indicates through its display state; the display state of the LED indicator light includes color and flashing mode, which changes according to the timing signal jump alarm signal; Detecting whether the timing signal jumps includes the following steps: Generate the next timing signal according to the timing signal obtained by the previous decoding; If the next timing signal obtained by decoding is inconsistent with the generated timing signal, it is determined that the timing signal jumps.
8. The clock protocol conversion method according to claim 1, characterized in that: Also includes: Detect the time output quality of the timing equipment; When the time output quality of the timing device is poor, a fault alarm signal of the timing device is generated; Display the fault alarm signal of the timing equipment and issue ALM alarm; Checking the time output quality of the timing device includes the following steps: Send a request to the device being timed to obtain the output time of the device being timed; Compare the output time of the timing device with the standard time of GPS or BDS, and calculate the deviation and stability index of the output time of the timing device; Evaluate the time output quality of the timing device based on the deviation and stability index of the output time of the timing device; If the deviation and stability index of the output time of the timing device exceeds the set value, it is determined that the time output quality of the timing device is poor, and a fault alarm signal of the timing device is generated.
9. The clock protocol conversion method according to claim 1, characterized in that: Also includes: Detect the accuracy of decoding; when the decoding is inaccurate, generate a decoding failure alarm signal; Display the decoded fault alarm signal and ALM alarm; Checking the accuracy of decoding includes the following steps: Compare the decoded timing signal and PPS signal with the standard timing signal and standard PPS signal of BDS or GPS respectively; If the decoded timing signal is consistent with the standard timing signal of BDS or GPS, the decoded timing signal is determined to be accurate; otherwise, the decoded timing signal is determined to be inaccurate. If the PPS signal obtained by decoding is consistent with the standard PPS signal of BDS or GPS, the PPS signal obtained by decoding is determined to be accurate, otherwise, the PPS signal obtained by decoding is determined to be inaccurate; If the timing signal or PPS signal obtained by decoding is inaccurate, it is determined that the decoding is inaccurate.
10. A clock protocol conversion system, characterized in that: include: The signal processing unit is used to select IRIG-B (AC) signal or BD signal as the time source; decode the selected time source and extract the timing signal and PPS signal; process the timing signal to generate a processed timing signal; encode the processed timing signal into a GPS standard protocol timing code stream to generate a GPS standard protocol timing code stream signal; A PPS signal extraction unit, used for performing phase adjustment on the PPS signal to generate a phase-adjusted PPS signal; A level conversion unit is used to convert the GPS standard protocol timing code stream signal and the phase-adjusted PPS signal respectively; The output signal interface unit is used to output the GPS standard protocol timing code stream signal after level conversion and the PPS signal after phase adjustment to the timing equipment; External input signal unit, used to obtain IRIG-B (AC) signal from BDS and send it to signal conditioning unit; A signal conditioning unit, used for receiving the IRIG-B (AC) signal sent by the external input signal unit and sending it to the carrier extraction unit after conditioning; A carrier extraction unit is used to receive the IRIG-B (AC) signal sent by the signal conditioning unit and extract the carrier before sending it to the signal processing unit and the PPS signal extraction unit; When the signal processing unit selects the IRIG-B (AC) signal as the time source, the signal processing unit decodes the IRIG-B (AC) signal and extracts the timing signal and the PPS signal, including the following steps: Receive the IRIG-B (AC) signal sent by the carrier extraction unit and decode it to extract the timing signal and PPS signal; When the signal processing unit selects the IRIG-B (AC) signal as the time source, the PPS signal extraction unit performs phase adjustment on the PPS signal to generate a phase-adjusted PPS signal, including the following steps: Receive the IRIG-B (AC) signal sent by the carrier extraction unit and extract the PPS signal to obtain the original PPS signal; The PPS signal is adjusted to be synchronized with the original PPS signal to generate a phase-adjusted PPS signal; The signal processing unit processes the timing signal to generate a processed timing signal, including the following steps: Replace the timing signal in the GPS standard protocol timing message data with the timing signal to generate a processed timing signal; The signal processing unit performs GPS standard protocol timing code stream encoding on the processed timing signal to generate a GPS standard protocol timing code stream signal, including the following steps: According to the GPS standard protocol timing code stream encoding rule, the processed timing signal is encoded to generate a GPS standard protocol timing code stream signal.
