A signal compensation method, device, apparatus and storage medium
By acquiring time and frequency information from multiple moments to calculate relative clock error and frequency difference, and using a linear fitting algorithm to calculate compensation clock error and time difference, signal compensation is performed on the atomic clock. This solves the problem of reduced accuracy of the atomic clock after long-term operation and achieves higher stability and accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINESE PEOPLES LIBERATION ARMY UNIT 92228
- Filing Date
- 2023-12-28
- Publication Date
- 2026-04-24
AI Technical Summary
After long-term operation, atomic clocks lose accuracy due to component aging and other reasons, so it is necessary to improve the accuracy of atomic clocks to maintain the accuracy of local time.
By acquiring the tamed time-frequency information, the tamed time-frequency information, and the reference time-frequency information at multiple times, the relative clock difference and the relative frequency difference are calculated. Then, a linear fitting algorithm is used to calculate the compensation clock difference and the compensation time difference to perform signal compensation on the tamed end.
This improves the accuracy and reliability of time and frequency information processing in atomic clocks, ensures the reliability of signal compensation, counteracts drift, and enhances the stability and accuracy of output performance.
Smart Images

Figure CN117914312B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of atomic clock signal compensation technology, specifically to a signal compensation method, apparatus, device, and storage medium. Background Technology
[0002] Atomic clocks are used to maintain local time and are typically composed of multiple small cesium clocks. Various navigation systems also use time-keeping clock arrays. The more small cesium clocks in a laboratory, the better the stability of the time scale. However, atomic clocks exhibit long-term drift rates due to factors such as component aging. After long-term operation, the accuracy of atomic clocks, whether cesium, hydrogen, or other types, will decrease.
[0003] Therefore, improving the accuracy of atomic clocks in maintaining local time is a technical problem that needs to be solved. Summary of the Invention
[0004] In view of this, embodiments of this application provide a signal compensation method, apparatus, device, and storage medium to provide an automated signal compensation method, thereby saving identification time and effort and reducing the probability of identification errors.
[0005] To address the above problems, the technical solutions provided in this application are as follows:
[0006] A signal compensation method, the method comprising:
[0007] The first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information are acquired, and the first relative clock difference is calculated based on the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information. The first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information are all acquired at a first preset time.
[0008] The system acquires second tamed time-frequency information, second tamed time-frequency information, and second reference time-frequency information, and calculates a second relative clock difference based on these information. The second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information are all acquired at a second preset time; the second preset time is later than the first preset time; the first tamed time-frequency information and the second tamed time-frequency information are output from the same taming terminal; the first tamed time-frequency information and the second tamed time-frequency information are output from the same tamed terminal; and the first reference time-frequency information and the second reference time-frequency information are output from the same common time-frequency reference terminal.
[0009] The relative frequency difference is calculated based on the first relative clock difference, the second relative clock difference, the first preset time, and the second preset time.
[0010] Based on the relative frequency difference, a linear fitting algorithm is used to calculate the compensation clock error and compensation time difference;
[0011] The signal compensation of the tamed terminal is performed using the compensation clock difference and the compensation time difference.
[0012] In one possible implementation, calculating the first relative clock difference based on the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information includes:
[0013] The relative clock difference between the first tamed time-frequency information and the first reference time-frequency information is calculated as the first clock difference, and the relative clock difference between the first tamed time-frequency information and the first reference time-frequency information is calculated as the second clock difference;
[0014] The relative clock difference between the first clock difference and the second clock difference is calculated as the first relative clock difference;
[0015] The step of calculating the second relative clock difference based on the second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information includes:
[0016] The relative clock difference between the second tamed time-frequency information and the second reference time-frequency information is calculated as the third clock difference, and the relative clock difference between the second tamed time-frequency information and the second reference time-frequency information is calculated as the fourth clock difference;
[0017] The relative clock difference between the third clock difference and the fourth clock difference is calculated as the second relative clock difference.
[0018] In one possible implementation, the formula for calculating the first clock difference, the second clock difference, the third clock difference, or the fourth clock difference is:
[0019]
[0020] Where TD represents the first clock bias, the second clock bias, the third clock bias, or the fourth clock bias; N represents the number of satellites simultaneously viewed by the taming terminal and the tamed terminal, and N is a positive integer; REFGPS i (A) is the clock difference between the tamed terminal and the i-th satellite it tracks; REFGPS i (B) is the clock difference between the tamed terminal and the i-th satellite it is tracking.
[0021] In one possible implementation, the relative frequency difference The calculation formula is:
[0022]
[0023] Among them, f 原子钟 f is the output frequency value of the tamed end; UTC Δt2 is the output frequency value of the taming terminal; Δt2 is the second relative clock difference; Δt1 is the first relative clock difference; τ is the time difference between the second preset time and the first preset time; Δf is the frequency difference; f is the nominal frequency.
[0024] In one possible implementation, the step of using the compensated clock difference and the compensated time difference to perform signal compensation on the tamed terminal includes:
[0025] The tamed end is compensated for signal by using the compensation clock difference and the compensation time difference through a micro-jump device.
[0026] In one possible implementation, signal compensation is performed on the tamed terminal using the compensated clock difference, including:
[0027] The number of frequency offsets is determined by the compensated clock bias.
[0028] The compensation frequency for frequency difference compensation is calculated based on the number of frequency offsets and the frequency difference compensation formula of the micro-jump device. The tamed end is then compensated for frequency difference using this compensation frequency. The frequency difference compensation formula is as follows:
[0029]
[0030] Among them, f out The compensation frequency for frequency difference compensation; ΔN s f is the number of frequency offsets. ref This indicates the input frequency of the micro-jump device.
[0031] In one possible implementation, signal compensation is performed on the tamed terminal using the compensation time difference, including:
[0032] Determine the relative frequency difference corresponding to the compensated time difference;
[0033] The compensation frequency for time difference compensation is calculated based on the relative frequency difference and the time difference compensation formula of the micro-jump device, wherein the time difference compensation formula is:
[0034]
[0035] in, f1 is the compensation frequency for time difference compensation; f1 is the output frequency of the micro-jump device before adjustment. The relative frequency difference;
[0036] The time difference compensation frequency is used to perform time difference compensation on the tamed end.
[0037] A signal compensation device, the device comprising:
[0038] The first relative clock difference acquisition unit is used to acquire first tamed time-frequency information, first tamed time-frequency information, and first reference time-frequency information, and calculate the first relative clock difference based on the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information; wherein the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information are all acquired at a first preset time.
[0039] The second relative clock difference acquisition unit is used to acquire second tamed time-frequency information, second tamed time-frequency information, and second reference time-frequency information, and calculate the second relative clock difference based on the second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information. The second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information are all acquired at a second preset time; the second preset time is later than the first preset time; the first tamed time-frequency information and the second tamed time-frequency information are output from the same tamed terminal; the first tamed time-frequency information and the second tamed time-frequency information are output from the same tamed terminal; and the first reference time-frequency information and the second reference time-frequency information are output from the same common time-frequency reference terminal.
[0040] The first calculation unit is used to calculate the relative frequency difference based on the first relative clock difference, the second relative clock difference, the first preset time, and the second preset time.
[0041] A linear fitting unit is used to calculate the compensation clock error and compensation time difference based on the relative frequency difference using a linear fitting algorithm.
[0042] A signal compensation unit is used to perform signal compensation on the tamed end using the compensation clock difference and the compensation time difference.
[0043] A signal compensation device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the signal compensation method described above.
[0044] A computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to perform the signal compensation method described above.
[0045] Therefore, the embodiments of this application have the following beneficial effects:
[0046] This application obtains first docile time-frequency information, first docile time-frequency information, and first reference time-frequency information within a first preset time period, and second docile time-frequency information, second docile time-frequency information, and second reference time-frequency information within a second preset time period. First, a first relative clock difference is calculated based on the first docile time-frequency information, the first docile time-frequency information, and the first reference time-frequency information. Then, a second relative clock difference is calculated based on the second docile time-frequency information, the second docile time-frequency information, and the second reference time-frequency information. Finally, a relative frequency difference is calculated based on the first relative clock difference, the second relative clock difference, the first preset time period, and the second preset time period. Then, a linear fitting algorithm is used to calculate a compensation clock difference and a compensation time difference based on the relative frequency difference. The compensation clock difference and the compensation time difference are used to compensate the signal of the docile end that outputs the docile time-frequency information. By obtaining the first docile time-frequency information, the first docile time-frequency information, and the first reference time-frequency information, and calculating the first relative clock difference based on this information, this application can accurately understand the time-frequency difference between the docile end and the docile end. Similarly, acquiring the second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information, and calculating the second relative clock difference, further improves accuracy. By utilizing multiple time-frequency information sources and combining data acquisition within a preset time period, the reliability of calculating the relative clock difference and relative frequency difference can be improved. If a time-frequency information source experiences an anomaly or interference, compensation can be made using other information sources, thereby ensuring the reliability of signal compensation. Simultaneously, employing a linear fitting algorithm to calculate the compensation clock difference and compensation time difference based on the relative frequency difference enables precise signal compensation, thereby offsetting drift. This precise compensation improves the output performance of the tamed time-frequency information, including stability and accuracy. Attached Figure Description
[0047] Figure 1a A flowchart illustrating a signal compensation method provided in this application embodiment;
[0048] Figure 1b A schematic diagram of an RFile file provided in an embodiment of this application;
[0049] Figure 1c A schematic diagram illustrating signal compensation provided in an embodiment of this application;
[0050] Figure 1d A flowchart illustrating the implementation method of signal compensation for the tamed end using compensated clock bias provided in an embodiment of this application;
[0051] Figure 1e A flowchart illustrating the implementation method of signal compensation for the tamed terminal using time difference compensation provided in this application embodiment;
[0052] Figure 2 This is a schematic diagram of a signal compensation device provided in an embodiment of this application. Detailed Implementation
[0053] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present application.
[0054] To facilitate understanding of the technical solutions provided in the embodiments of this application, the background technology involved in the embodiments of this application will be described below.
[0055] Atomic clocks play a crucial role in timekeeping. They use specific transition frequencies of atoms as a time reference, typically employing elements such as cesium or hydrogen. These clock arrays consist of multiple small cesium clocks or other types of atomic clocks to enhance the stability and accuracy of time scales.
[0056] However, even with atomic clocks, accuracy will decrease over long periods of operation. This is mainly due to long-term drift caused by factors such as component aging, temperature changes, and magnetic field interference.
[0057] To address this issue, this application provides a signal compensation method, apparatus, device, and storage medium. The method acquires first docile time-frequency information, first docile time-frequency information, and first reference time-frequency information within a first preset time period; and second docile time-frequency information, second docile time-frequency information, and second reference time-frequency information within a second preset time period. First, it obtains first change data of a first version based on a first code change log, and calculates a relative frequency difference based on a first relative clock difference, a second relative clock difference, the first preset time period, and the second preset time period. Then, it calculates a compensation clock difference and a compensation time difference using a linear fitting algorithm based on the relative frequency difference. The compensation clock difference and compensation time difference are then used to perform signal compensation on the docile end outputting the docile time-frequency information. This application improves the accuracy, reliability, and precision of time-frequency information processing and signal compensation, thereby improving the output quality of the docile time-frequency information.
[0058] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0059] See Figure 1a The figure is a flowchart of a signal compensation method provided in an embodiment of this application, as shown below. Figure 1aAs shown, the signal compensation method may include steps S101-S105:
[0060] S101: Obtain the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information, and calculate the first relative clock difference based on the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information.
[0061] Among them, the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information are all obtained from the taming end, the tamed end, and the common time-frequency reference end respectively within the first preset time.
[0062] The first preset time is earlier than the second preset time. The time interval between the first preset time and the second preset time can be 1 second or 10 minutes. Users can change the time interval between the first preset time and the second preset time in this application according to actual needs. This application does not impose specific restrictions on the time interval between the first preset time and the second preset time.
[0063] A disciplinary unit is a device used for the precise control and calibration of atomic clocks.
[0064] A disciplined oscillator is a clock device that can control and calibrate the frequency of an atomic clock using external signals or reference signals. By controlling and calibrating the frequency of the disciplined oscillator, the atomic clock can be controlled and calibrated.
[0065] The tamed end and the tamed end are two concepts in time and frequency standard applications, and their main difference lies in their functions and applications.
[0066] A tamed clock is a clock device whose frequency can be controlled and calibrated by an external signal or reference signal. Its main function is to provide a high-precision time reference and frequency standard. A tamed clock typically includes components such as a high-precision oscillator, a phase-locked loop (PLL), or other feedback control circuits. It compares its output frequency with an external reference clock signal and makes feedback adjustments to maintain synchronization with the reference signal and reduce frequency deviation and drift rate. Tamed clocks are widely used in precision measurement, communication, navigation, satellite positioning, and other fields.
[0067] A disciplined clock receiver is a device that receives external time and frequency reference signals and converts them into signal processing signals that can be used to synchronize and calibrate a local clock. A disciplined clock receiver typically includes a receiving antenna, a clock extractor, a digital signal processor, and a computer. It can acquire high-precision time and frequency signals from satellite systems such as GPS (Global Positioning System), GLONASS (Global Navigation Satellite System), and BeiDou (BeiDou Navigation Satellite System), or other time and frequency reference sources, and convert them into output signals for local applications. Disciplined clock receivers are mainly used in network synchronization, precision measurement, and frequency calibration.
[0068] Therefore, the tamed end and the tamed end differ in function and application, but they are both indispensable and important components in the application of time and frequency standards.
[0069] The common time and frequency reference end is the common satellite between the taming end and the tamed end. The taming end and the tamed end can have a common view of multiple satellites, which may mean that the system has multiple receiving channels or antennas and can receive signals from multiple satellites.
[0070] The specific process of the first relative clock difference includes the following steps:
[0071] (1) Obtain first disciplined time and frequency information: At the first preset time, obtain time and frequency information from the disciplined end. This time and frequency information may include parameters such as the local clock frequency and oscillator stability of the end.
[0072] (2) Obtain the first tamed time-frequency information: At the first preset time, obtain the time-frequency information from the tamed end. This time-frequency information may include parameters such as the local clock frequency and oscillator stability of the end.
[0073] (3) Obtaining the first reference time-frequency information: At the first preset time, time-frequency information is obtained from a common time-frequency reference terminal. This time-frequency information is used as a reference between the tamed and tamed terminals in order to calculate their relative differences. The common time-frequency reference terminal is usually a reference source shared by multiple satellites or devices.
[0074] (4) Calculate the first relative clock difference: Calculate the relative clock difference between the first tamed time-frequency information and the first reference time-frequency information as the first clock difference, and calculate the relative clock difference between the first tamed time-frequency information and the first reference time-frequency information as the second clock difference. Then, subtract the first clock difference from the second clock difference to obtain the first relative clock difference. The first relative clock difference represents the time difference between the tamed end and the tamed end at the first preset time, and their time error relative to the common reference source.
[0075] S102: Obtain the second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information, and calculate the second relative clock difference based on the second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information.
[0076] Specifically, the second docile time-frequency information, the second docile time-frequency information, and the second reference time-frequency information are all obtained from the docile end, the docile end, and the common time-frequency reference end, respectively, within a second preset time. The first docile time-frequency information and the second docile time-frequency information are obtained from the same docile end. The first docile time-frequency information and the second docile time-frequency information are obtained from the same docile end. The first reference time-frequency information and the second reference time-frequency information are obtained from the same common time-frequency reference end. The common time-frequency reference end is a shared satellite between the docile end and the docile end.
[0077] The second preset time is later than the first preset time. The time interval between the first preset time and the second preset time can be 1 second or 10 minutes. Users can change the time interval between the first preset time and the second preset time in this application according to actual needs. This application does not impose specific restrictions on the time interval between the first preset time and the second preset time.
[0078] Obtaining only the time-frequency information at a single moment, namely the first preset moment, is insufficient to calculate the frequency difference, thus preventing signal compensation for the tamed device and consequently, the atomic clock. To calculate the frequency difference, it is necessary to obtain the time-frequency information at another moment, namely the second preset moment. The relative frequency difference can then be calculated based on the time-frequency information at both moments, allowing for signal compensation for the tamed device.
[0079] Similarly, the specific process for the second relative clock difference includes the following steps:
[0080] (1) Obtain the second discipline time-frequency information: At the second preset time, obtain the time-frequency information from the discipline end. This time-frequency information may include parameters such as the local clock frequency and oscillator stability of the end.
[0081] (2) Obtain the second tamed time-frequency information: Obtain the time-frequency information from the tamed end within the second preset time. This time-frequency information may include parameters such as the local clock frequency and oscillator stability of the end.
[0082] (3) Obtaining the second reference time-frequency information: At the second preset time, time-frequency information is obtained from the common time-frequency reference terminal. This time-frequency information is used as a reference between the tamed end and the tamed end in order to calculate their relative differences. The common time-frequency reference terminal is usually a reference source shared by multiple satellites or devices.
[0083] (4) Calculate the second relative clock difference: Calculate the relative clock difference between the second tamed time-frequency information and the second reference time-frequency information as the third clock difference, and calculate the relative clock difference between the first tamed time-frequency information and the first reference time-frequency information as the fourth clock difference. Then, subtract the third clock difference from the fourth clock difference to obtain the second relative clock difference. The second relative clock difference represents the time difference between the tamed end and the tamed end at the second preset time, as well as their time error relative to the common reference source.
[0084] The first, second, third, and fourth clock errors mentioned above can all be calculated using the following formula:
[0085]
[0086] Where TD represents the first, second, third, or fourth clock bias; N represents the number of satellites simultaneously viewed by the taming and tamed terminals, and N is a positive integer; REFGPS i (A) is the clock difference between the trained terminal and the i-th satellite it is tracking; REFGPS i (B) is the clock difference between the tamed end and the i-th satellite it is tracking.
[0087] The clock difference between the tamer and the i-th satellite it tracks refers to the difference between the tamer's local clock and the satellite's time. This difference can be used to correct the tamer's local clock to keep it synchronized with the satellite's time.
[0088] Specifically, the training unit measures the arrival time of the satellite signal and compares it to its local clock. Because signal propagation takes time, the training unit's local clock may have a slight difference from the satellite's actual time. This difference is called clock bias.
[0089] Similarly, the clock difference between the tamed device and the i-th satellite it tracks refers to the difference between the tamed device's local clock and the satellite's time. This difference can be used to correct the tamed device's local clock to keep it synchronized with the satellite's time.
[0090] Similar to the taming end, the tamed end calculates the clock difference by measuring the arrival time of the satellite signal and comparing it with its local clock. Since signal propagation takes time, the local clock of the tamed end may have a slight difference from the actual time on the satellite.
[0091] In addition, the first, second, third, and fourth clock cycles are all transmitted and stored in the form of RFile (Resource File).
[0092] The RFile file format is specifically designed for NIMDO, and its format draws inspiration from the standard data file CGGTTS (Combined GPS / GLONASS Geodetic Time Series). Those skilled in the art will understand that other methods can also be used for file storage and transmission. In one embodiment of the invention, an RFile file contains clock difference information comparing one or more satellites with a local clock.
[0093] See Figure 1b , Figure 1b This is a schematic diagram of an RFile file provided in an embodiment of this application. The first part of the RFile file is the RFile header, which records all information that will not change during the measurement process (e.g., data file title, receiver model, product number, version number, number of channels, laboratory identifier, antenna coordinates, antenna coordinate reference, antenna coordinate evaluation, receiver internal delay value, cable delay value, reference delay value, time reference, etc.). The second part is the RFile data, which records data that may change during the measurement process (e.g., satellite pseudo-random code number (SAT CL), satellite tracking start date Julian Day (MJD), satellite tracking start time (STTIME), the difference between local clock and GPS time at the midpoint of the actual tracking length (REFGPS), etc.).
[0094] See Figure 1c , Figure 1c This is a schematic diagram of signal compensation provided in an embodiment of this application. The uploading and downloading of RFile files comply with the FTP protocol (File Transfer Protocol).
[0095] The tamed receiver is the BeiDou common-view receiver at the tamed end. The tamed BeiDou common-view receiver is part of the tamed end and is responsible for receiving BeiDou satellite signals and providing data. The tamed host computer is the computer or control system that controls and monitors the tamed end. In industrial control systems, the tamed host computer is responsible for monitoring and managing the entire production process, while the tamed end is a controlled part that executes instructions from the host computer.
[0096] Similarly, the disciplined receiver is the BeiDou common-view receiver of the disciplined end. The BeiDou common-view receiver of the disciplined end is part of the disciplined end, responsible for receiving BeiDou satellite signals and providing data. The disciplined end host computer is the computer or control system that controls and monitors the disciplined end. In industrial control systems, the disciplined end host computer is responsible for monitoring and managing the entire production process, while the disciplined end is a controlled part that executes instructions from the host computer.
[0097] A micro-stepping device (MPD) is the most precise instrument for achieving micro-stepping of phase and precise correction of frequency. MPDs can be used to transmit the nominal frequency (e.g., 5 MHz or 10 MHz) and phase (i.e., time, e.g., 5 PPS) of an atomic clock. PPS stands for Pulses Per Second.
[0098] This embodiment uses a rubidium clock (rubidium's chemical symbol is Rb) as an example. After receiving the frequency and phase data transmitted by the UTC (NIM), the host computer at the training end generates an RFile (B) file and uploads it to the FTP server. The RFile (B) contains clock difference results comparing multiple GPS satellites with the UTC (NIM). In the RFile file Saved as REFGPS (Reference GPS, Reference GPS Receiver) data type, thus obtaining REFGPS. i (B).
[0099] After receiving the nominal frequency and phase of the rubidium clock transmitted by the micro-jump device, the tamed host computer will generate an RFile(A) file, which also needs to be uploaded to the FTP. The RFile(A) contains the clock difference results of multiple GPS satellites compared with the rubidium clock. In the RFile file It is still saved in REFGPS data type, thus obtaining REFGPS. i (A).
[0100] The tamed host computer simultaneously downloads RFile(B) from the FTP server. The tamed host computer has software installed to process files and tame the controllable atomic clock. This software processes files RFile(A) and RFile(B) generated at the same time, removes REFGPS data that are not shared between the two files, collects the shared REFGPS data, and averages it to obtain the clock difference TD between the rubidium clock and UTC (NIM).
[0101]
[0102] Where N is the number of satellites simultaneously viewed by the taming and tamed ends, and N is a positive integer; REFGPS i (A) is the clock difference between the trained terminal and the i-th satellite it is tracking; REFGPS i (B) is the clock difference between the tamed end and the i-th satellite it is tracking.
[0103] The aforementioned multiple GPS satellites can also be replaced with multiple BeiDou system times. The clock difference result obtained by comparing the BeiDou system time with UTC (NIM) is then... The clock difference result between the BeiDou system time and the rubidium clock is... .
[0104] UTC stands for Coordinated Universal Time, a globally used time standard. NIM is an abbreviation for the National Institute of Metrology.
[0105] S103: Calculate the relative frequency difference based on the first relative clock difference, the second relative clock difference, the first preset time, and the second preset time.
[0106] The relative frequency difference can be calculated using the first relative clock difference, the second relative clock difference, the first preset time, and the second preset time.
[0107] Relative frequency difference The calculation formula is:
[0108]
[0109] Among them, f 原子钟 f is the output frequency value of the tamed end; UTC Δt2 is the output frequency value of the disciplined end; Δt2 is the second relative clock difference; Δt1 is the first relative clock difference; τ is the time difference between the second preset time and the first preset time; Δf is the frequency difference; f is the nominal frequency. Frequency difference refers to the difference in frequencies between two clocks. Nominal frequency refers to the theoretical frequency specified in the design and manufacturing process of a component, device, or equipment. If the nominal frequency of a device is 5 MHz, then the device is designed to operate normally at a 5 MHz operating frequency. The nominal frequency can be a theoretical frequency such as 5 MHz or 10 MHz. Users can adjust the nominal frequency according to the actual theoretical frequency. This application does not impose specific limitations on the magnitude of the nominal frequency.
[0110] S104: Calculate the compensation clock difference and compensation time difference using a linear fitting algorithm based on the relative frequency difference.
[0111] Relative frequency difference refers to the frequency difference between two different clocks. By employing a linear fitting algorithm, relative frequency difference data can be processed and analyzed to understand the trend of frequency difference over time.
[0112] The goal of a linear fitting algorithm is to find an optimal straight line that matches the actual relative frequency difference data. This line is described by its slope and intercept; the slope represents the rate of change of the frequency difference over time, and the intercept represents the initial frequency difference value. Based on the slope and intercept obtained from the linear fitting, the values for clock bias compensation and time difference compensation can be calculated. Clock bias compensation refers to adjusting the frequency difference for different clocks based on the linear fitting results to achieve better synchronization performance. Time difference compensation refers to adjusting the phase difference (i.e., time difference) at different time points based on the linear fitting results to achieve better clock synchronization.
[0113] Specifically, linear fitting algorithms are used to process relative frequency difference data, typically employing the least squares method for linear fitting. This process yields an optimal straight line that minimizes the deviation from the actual data. The slope and intercept of this optimal line can then be calculated. The slope represents the rate of change of the frequency difference, while the intercept represents the initial frequency difference value. Using the slope and intercept, combined with the time interval, the values of the compensated clock bias and compensated time difference can be calculated. The slope corresponds to the rate of change of the compensated clock bias, while the intercept corresponds to the initial compensated clock bias value. Furthermore, since both the slope and intercept are time-dependent, the change in compensated time difference can be calculated based on changes in time.
[0114] S105: Use the compensated clock difference and the compensated time difference to perform signal compensation on the tamed end that outputs the tamed time-frequency information.
[0115] The micro-jump device is the most precise instrument for achieving micro-phase jumps and precise frequency corrections. In this invention, it serves as the main device for calibrating the atomic clock. The micro-jump device calibrates the atomic clock's output signal before outputting it.
[0116] Therefore, the signal compensation of the tamed end can be performed by using a micro-jump device to compensate for clock difference and time difference.
[0117] For a rubidium clock, the relative frequency difference between the rubidium clock and the UTC (NIM) can be calculated. During calibration, the rubidium clock is not directly adjusted; instead, the required signal is indirectly obtained by compensating its output signal using a micro-jump device. Assuming the rubidium clock output frequency signal is 5 MHz and 10 MHz, and the rubidium clock output clock signal is 1 PPS, the micro-jump device is set during calibration using clock difference compensation and time difference compensation. The micro-jump device modulates the phase and frequency of the input frequency and second signals to output 5 MHz and 1 PPS.
[0118] See Figure 1d , Figure 1dThis is a flowchart illustrating the implementation of signal compensation for the tamed device using compensated clock difference, as provided in the embodiments of this application. Specific implementations of signal compensation for the tamed device using compensated clock difference may include A1-A2:
[0119] A1: Determine the number of frequency offsets by compensating for clock bias.
[0120] A2: The compensation frequency for frequency difference compensation is calculated based on the number of frequency offsets and the frequency difference compensation formula of the micro-jump device. The compensation frequency for frequency difference compensation is then used to perform frequency difference compensation on the tamed end.
[0121] Frequency difference compensation is performed on the tamed end based on the number of frequency offsets and the frequency difference compensation formula of the micro-jump device, which is to say, frequency difference compensation is performed on the atomic clock.
[0122] The frequency difference compensation formula is as follows:
[0123]
[0124] Among them, f out The compensation frequency for frequency difference compensation; ΔN s f is the number of frequency offsets. ref This indicates the input frequency of the micro-jump device.
[0125] See Figure 1e , Figure 1e This is a flowchart illustrating the implementation of signal compensation for the tamed device using time difference compensation, as provided in the embodiments of this application. Specific implementations of signal compensation for the tamed device using time difference compensation may include B1-B3:
[0126] B1: Determine the relative frequency difference corresponding to the compensation time difference.
[0127] The compensation time difference is obtained by linear fitting of the relative frequency difference, so knowing the compensation time difference allows us to determine its relative frequency difference.
[0128] B2: Calculate the compensation frequency for time difference compensation based on the relative frequency difference and the time difference compensation formula of the micro-jump device.
[0129] The time difference compensation formula is as follows:
[0130]
[0131] in, f1 is the compensation frequency for time difference compensation; f1 is the output frequency of the micro-jump device before adjustment. This represents the relative frequency difference.
[0132] B3: Time difference compensation is performed using the compensation frequency of time difference compensation.
[0133] The compensation frequency of time difference compensation is used to compensate the time difference of the tamed end, that is, to compensate the time difference of the atomic clock.
[0134] Based on the content of S101-S105, this application acquires first docile time-frequency information, first docile time-frequency information, and first reference time-frequency information within a first preset time period; and second docile time-frequency information, second docile time-frequency information, and second reference time-frequency information within a second preset time period. First, a first relative clock difference is calculated based on the first docile time-frequency information, the first docile time-frequency information, and the first reference time-frequency information. Then, a second relative clock difference is calculated based on the second docile time-frequency information, the second docile time-frequency information, and the second reference time-frequency information. Next, a relative frequency difference is calculated based on the first relative clock difference, the second relative clock difference, the first preset time period, and the second preset time period. A linear fitting algorithm is then used to calculate the compensation clock difference and the compensation time difference based on the relative frequency difference. Finally, the compensation clock difference and the compensation time difference are used to perform signal compensation on the docile end that outputs the docile time-frequency information. By acquiring the first docile time-frequency information, the first docile time-frequency information, and the first reference time-frequency information, and calculating the first relative clock difference based on this information, this application can accurately understand the time-frequency difference between the docile end and the docile end. Similarly, acquiring the second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information, and calculating the second relative clock difference, further improves accuracy. By utilizing multiple time-frequency information sources and combining data acquisition within a preset time period, the reliability of calculating the relative clock difference and relative frequency difference can be improved. If a time-frequency information source experiences an anomaly or interference, compensation can be made using other information sources, thereby ensuring the reliability of signal compensation. Simultaneously, employing a linear fitting algorithm to calculate the compensation clock difference and compensation time difference based on the relative frequency difference enables precise signal compensation, thereby offsetting drift. This precise compensation improves the output performance of the tamed time-frequency information, including stability and accuracy.
[0135] See Figure 2 , Figure 2 This is a schematic diagram of a signal compensation device provided in an embodiment of this application. Figure 2 As shown, the signal compensation device includes:
[0136] The first relative clock difference acquisition unit 201 is used to acquire first tamed time-frequency information, first tamed time-frequency information, and first reference time-frequency information, and calculate the first relative clock difference based on the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information; wherein the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information are all acquired at a first preset time.
[0137] The second relative clock difference acquisition unit 202 is used to acquire second tamed time-frequency information, second tamed time-frequency information, and second reference time-frequency information, and calculate the second relative clock difference based on the second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information. The second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information are all acquired at a second preset time; the second preset time is later than the first preset time; the first tamed time-frequency information and the second tamed time-frequency information are output from the same taming terminal; the first tamed time-frequency information and the second tamed time-frequency information are output from the same tamed terminal; and the first reference time-frequency information and the second reference time-frequency information are output from the same common time-frequency reference terminal.
[0138] The first calculation unit 203 is used to calculate the relative frequency difference based on the first relative clock difference, the second relative clock difference, the first preset time, and the second preset time.
[0139] The linear fitting unit 204 is used to calculate the compensation clock difference and the compensation time difference based on the relative frequency difference using a linear fitting algorithm.
[0140] The signal compensation unit 205 is used to perform signal compensation on the tamed end using the compensation clock difference and the compensation time difference.
[0141] In one possible implementation, the first relative clock difference acquisition unit 201 includes:
[0142] The second calculation unit is used to calculate the relative clock difference between the first tamed time-frequency information and the first reference time-frequency information as a first clock difference, and to calculate the relative clock difference between the first tamed time-frequency information and the first reference time-frequency information as a second clock difference;
[0143] The third calculation unit is used to calculate the relative clock difference between the first clock difference and the second clock difference as the first relative clock difference.
[0144] In one possible implementation, the second relative clock difference acquisition unit 202 includes:
[0145] The fourth calculation unit is used to calculate the relative clock difference between the second docile time-frequency information and the second reference time-frequency information as the third clock difference, and to calculate the relative clock difference between the second docile time-frequency information and the second reference time-frequency information as the fourth clock difference;
[0146] The fifth calculation unit is used to calculate the relative clock difference between the third clock difference and the fourth clock difference as the second relative clock difference.
[0147] In one possible implementation, the formula for calculating the first clock difference, the second clock difference, the third clock difference, or the fourth clock difference is:
[0148]
[0149] Where TD represents the first clock bias, the second clock bias, the third clock bias, or the fourth clock bias; N represents the number of satellites simultaneously viewed by the taming terminal and the tamed terminal, and N is a positive integer; REFGPS i (A) is the clock difference between the tamed terminal and the i-th satellite it tracks; REFGPS i (B) is the clock difference between the tamed terminal and the i-th satellite it is tracking.
[0150] In one possible implementation, the relative frequency difference The calculation formula is:
[0151]
[0152] Among them, f 原子钟 f is the output frequency value of the tamed end; UTC Δt2 is the output frequency value of the taming terminal; Δt2 is the second relative clock difference; Δt1 is the first relative clock difference; τ is the time difference between the second preset time and the first preset time; Δf is the frequency difference; f is the nominal frequency.
[0153] In one possible implementation, the signal compensation unit 205 specifically includes:
[0154] The micro-jump signal compensation unit is used to perform signal compensation on the tamed end by using the compensation clock difference and the compensation time difference through the micro-jump.
[0155] In one possible implementation, the signal compensation unit 205 further includes:
[0156] The first determining unit is used to determine the number of frequency offsets through the compensated clock difference;
[0157] The frequency difference compensation unit is used to calculate the compensation frequency for frequency difference compensation based on the number of frequency offsets and the frequency difference compensation formula of the micro-jump, and to perform frequency difference compensation on the tamed end using the compensation frequency for frequency difference compensation, wherein the frequency difference compensation formula is:
[0158]
[0159] Among them, f out The compensation frequency for frequency difference compensation; ΔN s f is the number of frequency offsets. ref This indicates the input frequency of the micro-jump device.
[0160] In one possible implementation, the signal compensation unit 205 further includes:
[0161] The second determining unit is used to determine the relative frequency difference corresponding to the compensated time difference;
[0162] The sixth calculation unit is used to calculate the compensation frequency for time difference compensation based on the relative frequency difference and the time difference compensation formula of the micro-jump device, wherein the time difference compensation formula is:
[0163]
[0164] in, f1 is the compensation frequency for time difference compensation; f1 is the output frequency of the micro-jump device before adjustment. The relative frequency difference;
[0165] A time difference compensation unit is used to perform time difference compensation on the tamed end using the compensation frequency of the time difference compensation.
[0166] In addition, this application embodiment also provides a signal compensation device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the signal compensation method as described above.
[0167] In addition, this application embodiment also provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to perform the signal compensation method described above.
[0168] This application provides an attack behavior detection device. First, a first relative clock difference acquisition unit 201 acquires first tamed time-frequency information, first tamed time-frequency information, and first reference time-frequency information, and calculates a first relative clock difference based on these information. Then, a second relative clock difference acquisition unit 202 acquires second tamed time-frequency information, second tamed time-frequency information, and second reference time-frequency information, and calculates a second relative clock difference based on these information. A first calculation unit 203 calculates a relative frequency difference based on the first relative clock difference, the second relative clock difference, a first preset time, and a second preset time. Finally, a linear fitting unit 204 uses a linear fitting algorithm to calculate a compensation clock difference and a compensation time difference based on the relative frequency difference, so that a signal compensation unit 205 can use the compensation clock difference and compensation time difference to perform signal compensation on the tamed end. This application acquires first tamed time-frequency information, first tamed time-frequency information, and first reference time-frequency information, and calculates a first relative clock difference based on this information, thus accurately understanding the time-frequency difference between the tamed and tamed ends. Similarly, acquiring second tamed time-frequency information, second tamed time-frequency information, and second reference time-frequency information, and calculating a second relative clock difference, further improves accuracy. By utilizing multiple time-frequency information sources and combining data acquisition within a preset time period, the reliability of calculating relative clock difference and relative frequency difference can be improved. If a time-frequency information source experiences an anomaly or interference, compensation can be made using other information sources, thereby ensuring the reliability of signal compensation. Simultaneously, employing a linear fitting algorithm to calculate the compensation clock difference and compensation time difference based on the relative frequency difference enables precise signal compensation, thereby offsetting drift. This precise compensation improves the output performance of the tamed time-frequency information, including stability and accuracy.
[0169] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems or apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and relevant parts can be referred to the method section.
[0170] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0171] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0172] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0173] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A signal compensation method, characterized in that, The method includes: The first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information are acquired, and the first relative clock difference is calculated based on the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information. The first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information are all acquired at a first preset time. The system acquires second tamed time-frequency information, second tamed time-frequency information, and second reference time-frequency information, and calculates a second relative clock difference based on these information. The second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information are all acquired at a second preset time; the second preset time is later than the first preset time; the first tamed time-frequency information and the second tamed time-frequency information are output from the same taming terminal; the first tamed time-frequency information and the second tamed time-frequency information are output from the same tamed terminal; and the first reference time-frequency information and the second reference time-frequency information are output from the same common time-frequency reference terminal. The relative frequency difference is calculated based on the first relative clock difference, the second relative clock difference, the first preset time, and the second preset time. Based on the relative frequency difference, a linear fitting algorithm is used to calculate the compensation clock error and compensation time difference; The signal compensation of the tamed terminal is performed using the compensation clock difference and the compensation time difference; Using the compensated clock difference to perform signal compensation on the tamed terminal includes: The number of frequency offsets is determined by the compensated clock bias. The compensation frequency for frequency difference compensation is calculated based on the number of frequency offsets and the frequency difference compensation formula of the micro-jump device. The tamed end is then compensated for frequency difference using this compensation frequency. The frequency difference compensation formula is as follows: ; Among them, f out The compensation frequency for frequency difference compensation; ΔN s f is the number of frequency offsets. ref Indicates the input frequency of the micro-jump; Using the compensation time difference to perform signal compensation on the tamed terminal includes: Determine the relative frequency difference corresponding to the compensated time difference; The compensation frequency for time difference compensation is calculated based on the relative frequency difference and the time difference compensation formula of the micro-jump device, wherein the time difference compensation formula is: ; in, f1 is the compensation frequency for time difference compensation; f1 is the output frequency of the micro-jump device before adjustment. The relative frequency difference; The time difference compensation frequency is used to perform time difference compensation on the tamed end.
2. The method according to claim 1, characterized in that, The step of calculating the first relative clock difference based on the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information includes: The relative clock difference between the first tamed time-frequency information and the first reference time-frequency information is calculated as the first clock difference, and the relative clock difference between the first tamed time-frequency information and the first reference time-frequency information is calculated as the second clock difference; The relative clock difference between the first clock difference and the second clock difference is calculated as the first relative clock difference; The step of calculating the second relative clock difference based on the second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information includes: The relative clock difference between the second tamed time-frequency information and the second reference time-frequency information is calculated as the third clock difference, and the relative clock difference between the second tamed time-frequency information and the second reference time-frequency information is calculated as the fourth clock difference; The relative clock difference between the third clock difference and the fourth clock difference is calculated as the second relative clock difference.
3. The method according to claim 2, characterized in that, The calculation formulas for the first clock difference, the second clock difference, the third clock difference, or the fourth clock difference are as follows: ; Where TD represents the first clock bias, the second clock bias, the third clock bias, or the fourth clock bias; N represents the number of satellites simultaneously viewed by the taming terminal and the tamed terminal, and N is a positive integer; REFGPS i (A) is the clock difference between the tamed terminal and the i-th satellite it tracks; REFGPS i (B) is the clock difference between the tamed terminal and the i-th satellite it is tracking.
4. The method according to claim 1, characterized in that, The relative frequency difference The calculation formula is: ; Among them, f 原子钟 f is the output frequency value of the tamed end; UTC Δt2 is the output frequency value of the taming terminal; Δt2 is the second relative clock difference; Δt1 is the first relative clock difference; τ is the time difference between the second preset time and the first preset time; Δf is the frequency difference; f is the nominal frequency.
5. The method according to claim 1, characterized in that, The step of using the compensated clock difference and the compensated time difference to perform signal compensation on the tamed terminal includes: The tamed end is compensated for signal by using the compensation clock difference and the compensation time difference through a micro-jump device.
6. A signal compensation device, characterized in that, The device includes: The first relative clock difference acquisition unit is used to acquire first tamed time-frequency information, first tamed time-frequency information, and first reference time-frequency information, and calculate the first relative clock difference based on the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information; wherein the first tamed time-frequency information, the first tamed time-frequency information, and the first reference time-frequency information are all acquired at a first preset time. The second relative clock difference acquisition unit is used to acquire second tamed time-frequency information, second tamed time-frequency information, and second reference time-frequency information, and calculate the second relative clock difference based on the second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information. The second tamed time-frequency information, the second tamed time-frequency information, and the second reference time-frequency information are all acquired at a second preset time; the second preset time is later than the first preset time; the first tamed time-frequency information and the second tamed time-frequency information are output from the same tamed terminal; the first tamed time-frequency information and the second tamed time-frequency information are output from the same tamed terminal; and the first reference time-frequency information and the second reference time-frequency information are output from the same common time-frequency reference terminal. The first calculation unit is used to calculate the relative frequency difference based on the first relative clock difference, the second relative clock difference, the first preset time, and the second preset time. A linear fitting unit is used to calculate the compensation clock error and compensation time difference based on the relative frequency difference using a linear fitting algorithm. The signal compensation unit is used to perform signal compensation on the tamed end using the compensation clock difference and the compensation time difference; The signal compensation unit 205 specifically includes: The first determining unit is used to determine the number of frequency offsets through the compensated clock difference; The frequency difference compensation unit is used to calculate the compensation frequency for frequency difference compensation based on the number of frequency offsets and the frequency difference compensation formula of the micro-jump, and to perform frequency difference compensation on the tamed end using the compensation frequency for frequency difference compensation, wherein the frequency difference compensation formula is: ; Where fout is the compensation frequency for frequency difference compensation; △Ns is the number of frequency offsets; and fref represents the input frequency of the micro-jump device. The signal compensation unit 205 specifically includes: The second determining unit is used to determine the relative frequency difference corresponding to the compensated time difference; The sixth calculation unit is used to calculate the compensation frequency for time difference compensation based on the relative frequency difference and the time difference compensation formula of the micro-jump device, wherein the time difference compensation formula is: ; in, f1 is the compensation frequency for time difference compensation; f1 is the output frequency of the micro-jump device before adjustment. The relative frequency difference; A time difference compensation unit is used to perform time difference compensation on the tamed end using the compensation frequency of the time difference compensation.
7. A signal compensation device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the signal compensation method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a terminal device, cause the terminal device to perform the signal compensation method as described in any one of claims 1-5.
Citation Information
Patent Citations
High-precision time-frequency source capable of being tamed to time-frequency standard in real time
CN103226324A
Time correction system and method
CN113848568A