A comprehensive processing method combining quartile and ARIMA for atomic clock series
By combining the quartile method and the ARIMA model, extreme outliers and phase jump values in the atomic clock time series are identified and processed, solving the problem that existing technology cannot effectively handle a variety of abnormal data, and improving the accuracy and stability of the data. , suitable for fields such as high-precision positioning and time synchronization.
Patent Information
- Application Number
- CN202410817997.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-24
AI Technical Summary
Existing abnormal data monitoring and processing methods cannot comprehensively and effectively solve the problem of multiple types of abnormal data that exist simultaneously in atomic clock time series data. Especially when maximum values and phase skip values exist at the same time, the processing effect is not good.
A comprehensive method using the quartile method to handle extreme outliers and the ARIMA model to handle abnormal phase jump values. By obtaining atomic clock time series data, the quartile method is first used to identify and repair extreme outliers, and then the ARIMA model is used to identify and adjust phase jumps. value to achieve efficient identification and processing of maximum values and phase jump values.
It improves the accuracy and availability of atomic clock time series data, enhances data robustness and application reliability, and significantly improves processing efficiency and accuracy. It is especially important in high-tech application fields such as navigation systems and time synchronization. .
Smart Images

Figure CN118377210B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of atomic clock metrology, and in particular relates to a comprehensive processing method for quartile combined with ARIMA of an atomic clock sequence. Background Art
[0002] With the development of the times, people have higher and higher requirements for the accuracy and stability of time. Atomic clocks, with their excellent time and frequency stability, play a core role in many fields such as global positioning systems, deep space exploration, network synchronization and scientific research. These applications rely on the high-precision time signals provided by atomic clocks to ensure the accuracy and reliability of operations.
[0003] Abnormal data of atomic clocks mainly come from two aspects: one is the tiny defects of the mechanical or electronic components of the atomic clock itself, such as the slight change of atomic transition frequency; the other is the interference in the external measurement process, such as ambient temperature fluctuations, electromagnetic interference, etc. These factors may cause jumps or erroneous readings in the data records.
[0004] Data anomalies of atomic clocks not only affect the accuracy of time and frequency, but also interfere with subsequent calculations and applications that rely on this data, such as the positioning accuracy of navigation systems. It is crucial to handle these anomalies because the repaired data can better reflect the random walk characteristics of atomic clocks, thereby improving the robustness of the data and the reliability of applications.
[0005] At present, the monitoring and processing of abnormal data mainly rely on statistical methods and time series analysis methods, such as the 3sigma principle, the quartile method and the ARIMA (Autoregressive Integrated Moving Average) model. The 3sigma principle uses statistical methods to filter out extreme data points that are beyond the normal range, but it is based on the assumption that the data is normally distributed, and is not effective when processing atomic clock time series data with non-normal or biased distributions. Although the quartile method can handle extreme outliers well, it cannot effectively deal with moderate anomalies such as phase jump values. The ARIMA model focuses on the trend and periodicity of the data, and has limited ability to identify sudden extreme values and nonlinear anomalies. When there are both maximum values and phase jump values in the atomic clock time series data, the limitations of these methods make it impossible to effectively process all types of abnormal data.
[0006] Therefore, the existing abnormal data monitoring and processing methods cannot comprehensively and effectively solve the problem of multiple types of abnormal data existing simultaneously in atomic clock time series data. New technical means are urgently needed to improve the efficiency and accuracy of abnormal data processing. Summary of the invention
[0007] In order to solve the above problems existing in the prior art, the present invention provides a comprehensive processing method for the quartile combined with ARIMA of the atomic clock sequence. The technical problem to be solved by the present invention is achieved by the following technical solutions:
[0008] The present invention provides a comprehensive processing method for quartile combined with ARIMA for atomic clock sequences, comprising:
[0009] S100, obtaining atomic clock time series data;
[0010] S200, using the quartile method to process extreme abnormal values in the atomic clock time series data to obtain atomic clock preliminary processed data;
[0011] S300, using an ARIMA model to process abnormal phase jump values in the preliminary processed data of the atomic clock to obtain final atomic clock time series data.
[0012] Beneficial effects:
[0013] The present invention provides a comprehensive processing method for quartile combined with ARIMA for atomic clock sequences, by acquiring atomic clock time series data; using the quartile method to process extreme abnormal values in the atomic clock time series data to obtain atomic clock preliminary processing data; using the ARIMA model to process abnormal phase jump values in the atomic clock preliminary processing data to obtain final atomic clock time series data. Since the quartile method can effectively process extreme abnormal values in atomic clock time series data, and the ARIMA model is superior to the trend and seasonal changes of processing data, it is particularly suitable for identifying and adjusting those non-extreme but significant phase jump values that have a significant impact on analysis. The present invention realizes efficient identification and processing of maximum values and phase jump values through the complementary advantages of the two methods, which not only improves the accuracy of processing atomic clock time series data, but also enhances the availability and stability of the final atomic clock time series data, bringing significant technological progress to high-tech application fields that rely on accurate time and frequency measurement.
[0014] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a flow chart of the comprehensive processing method for quartile combined with ARIMA for atomic clock sequences provided by the present invention;
[0016] Figure 2 It is a schematic diagram of processing details of the comprehensive processing method for quartile combined with ARIMA for the atomic clock sequence provided by the present invention. DETAILED DESCRIPTION
[0017] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.
[0018] Combination Figure 1 and Figure 2 The present invention provides a comprehensive processing method for quartile combined with ARIMA for atomic clock sequences, including:
[0019] S100, obtaining atomic clock time series data;
[0020] After acquiring the atomic clock time series data, the present invention can first perform a preliminary check on the atomic clock time series data, such as missing value processing, format conversion, etc.
[0021] S200, using the quartile method to process extreme abnormal values in the atomic clock time series data to obtain atomic clock preliminary processed data;
[0022] Among them, extreme outliers include maximum values and minimum values.
[0023] In a specific embodiment of the present invention, reference Figure 2 , S200 includes:
[0024] S210, using the quartiles and interquartile moments specified by the quartile method to determine the outlier limits;
[0025] It is worth mentioning that the quartile method is a method used in statistics to describe data distribution, mainly used to determine the distribution characteristics and central tendency of a set of data. It divides the data into four equal parts in order from small to large, and each part contains 25% of the data points. Quartiles can provide a more detailed view of data distribution than the mean and median.
[0026] The quartiles are mainly divided into the following three: the first quartile (Q1), also known as the lower quartile, at least 25% of the data points are less than or equal to this value; the second quartile (Q2), also known as the median, at least 50% of the data points are less than or equal to this value; the third quartile (Q3), also known as the upper quartile, at least 75% of the data points are less than or equal to this value.
[0027] The quartile and interquartile moment of the present invention are respectively expressed as:
[0028] ;
[0029] in, is the first quartile, It means the 25% data value after sorting the data from small to large. is the third quartile, It means the 75% data value after sorting the data from small to large. is the interquartile range;
[0030] The outlier bounds are expressed as:
[0031] ;
[0032] ;
[0033] in, is the data in the atomic clock time series data, indicating the time point The actual value of .
[0034] S220, identifying the atomic clock time series data one by one to confirm the extreme outliers that exceed the outlier limit, and repairing the extreme outliers to obtain atomic clock preliminary processing data.
[0035] It is worth noting that the initial processing data of the atomic clock is a time series data.
[0036] In a specific embodiment of the present invention, S220 includes:
[0037] S221, identifying the atomic clock time series data one by one to confirm a maximum value that is higher than an upper limit of the abnormal value limit and a minimum value that is lower than a lower limit of the abnormal value limit;
[0038] As can be seen from the outlier boundaries, the quartile method is based on the median and quartiles, which is very effective in symmetric distributions. However, if the data is skewed, especially in long-tail distributions, the quartile method may not accurately reflect the actual situation of the outliers. The judgment of outliers may be too loose or too strict. Secondly, for increasing or decreasing data, the quartile method may misjudge normal high or low values as abnormal. This is because the quartile method ignores the seriality of the data or the trend changes in the time series, and simply analyzes it from the perspective of distribution. In addition, the quartile method is very sensitive to existing outliers. If there are already multiple extreme values in the data set, this may distort the calculation of the quartiles, which in turn affects Calculation.
[0039] S222, replacing the maximum value with the mean of the adjacent time points of the maximum value, and replacing the minimum value with the mean of the adjacent time points of the minimum value, to obtain preliminary processed data of the atomic clock.
[0040] For atomic clock time series data, in the data preprocessing stage, the quartile method is first used to preliminarily screen the original data, identify and remove extreme outliers (maximum and minimum values). After the quartile method is used to determine that a certain point value is an outlier, the outlier is replaced by the mean of the adjacent time points.
[0041] S300, using an ARIMA model to process abnormal phase jump values in the preliminary processed data of the atomic clock to obtain final atomic clock time series data.
[0042] In a specific embodiment of the present invention, reference Figure 2 , S300 includes:
[0043] S310, performing a stability test on the atomic clock preliminary processed data to obtain a test result of whether the atomic clock preliminary processed data is stable;
[0044] The present invention can use a unit root test (such as an ADF test) to check the stability of the atomic clock's preliminary processed data. If the atomic clock's preliminary processed data is not stable, it is differentiated until the data becomes stable, and the number of differences is recorded. , as parameters in the ARIMA model.
[0045] S320, performing differential processing on the atomic clock preliminary processing data whose detection result in S310 is unstable, to obtain differential processing data;
[0046] S330, performing a stationarity test on the differentially processed data to obtain a test result of whether the differentially processed data is stationary;
[0047] It is worth mentioning that differential processing data is also a time series data.
[0048] S340, replacing the unstable atomic clock preliminary processing data in S320 with the differential processing data detected as unstable in S330, and repeating S320-S330;
[0049] S350, inputting the historical data of the differentially processed data detected as stable in S330 into the ARIMA model of the selected parameters to obtain the predicted value of the differentially processed data;
[0050] The ARIMA model is suitable for stable time series, or data that can be converted into stable series by methods such as differencing. Its characteristic is that it is suitable for situations where the current value in the series is related to the previous values. However, for non-stationary series with strong trends, although differencing can help stabilize, it may sometimes not be enough to completely solve the non-stationary problem. Moreover, ARIMA is a linear model and cannot capture nonlinear relationships in time series. Due to these limitations, ARIMA needs to be combined with other models.
[0051] refer to Figure 2 The parameters of the ARIMA model of the present invention can use the autocorrelation diagram and the partial autocorrelation diagram to assist in determining the order of the autoregressive model of the ARIMA model. and the order of the moving average model . Fit the ARIMA model according to the selected parameters, use the fitted ARIMA model to predict the values at future time points, identify possible local phase jump values based on the difference between the predicted values and the actual values, and replace the identified phase jump values with the values predicted by the ARIMA model. Here, we will also check whether the residuals of the ARIMA model are close to white noise to ensure the appropriateness of the ARIMA model fitting.
[0052] The ARIMA model is expressed as , the ARIMA model is a widely used time series forecasting method. It combines the three basic ideas of autoregression, difference and moving average, and is used to analyze and predict series whose statistical properties change over time. Therefore, the ARIMA model includes the autoregression model, the difference model and the moving average model;
[0053] The autoregressive model is based on feedback from previous values: expressed as:
[0054] ;
[0055] in, It's time point The actual value of is a constant term, It's time point The error term represents the deviation between the actual observation value and the model prediction value; is the autoregressive coefficient, yes The actual value of the moment, is the order of the autoregressive model;
[0056] The difference model is used to make non-stationary data stationary, which is expressed as:
[0057] ;
[0058] in, is the difference operator, is the fallback operator, is the number of differences, Indicates Sub-difference is used to transform a non-stationary time series into a stationary series.
[0059] The mean moving model is a regression based on the previous error term, expressed as:
[0060] ;
[0061] in, is the mean of the time series, is the moving average coefficient, It's time point The error term, is the order of the moving average model;
[0062] The ARIMA model is expressed as:
[0063] ;
[0064] in, represents the components of the autoregressive model, Indicated that Back off operation, represents the components of the moving average model, is the moving average coefficient, which indicates the impact of past error terms on the current value. Indicated that Back off operation.
[0065] The output of ARIMA model predictions is usually time points For the non-seasonal ARIMA model, the predicted value is It is calculated by the model using historical data (observations and error terms). In practice, the model first needs to estimate the parameters and , and then use these parameters along with historical data to generate forecasts.
[0066] The autoregressive part and the differential part Merge and apply it to At the same time, the moving average part Applied to the error term . Through the difference and autoregression parameters, we get The polynomial expression of , and then find the inverse to express The predicted value of . Then the time point The predicted value of It is expressed as:
[0067] ;
[0068] in, express of Second difference, yes The error term at time, It is The coefficient of the subdifference, By Expand and then inverse transform to calculate.
[0069] S360, obtaining a difference between an actual value and a predicted value of each differentially processed data, and determining an abnormal phase jump value using the difference;
[0070] S370, replacing the abnormal phase jump value with the predicted value corresponding to the abnormal phase jump value to obtain final atomic clock time series data.
[0071] For atomic clock time series data, in the data preprocessing stage, the quartile method is first used for preliminary screening to identify and eliminate extreme outliers. Then, the ARIMA model is applied to the processed data to analyze and smooth the data trend, further identify abnormal phase jump values, and repair them. The present invention proposes a processing scheme combining the quartile method and the ARIMA model, which can comprehensively and effectively handle various abnormal situations in atomic clock time series data, and can utilize a real-time data monitoring system, combined with the present invention to dynamically identify and process newly generated abnormal data, greatly improving the response speed and accuracy of atomic clock data processing. The present invention significantly improves the reliability of data and the stability of application systems, especially in key technical fields such as high-precision positioning and time synchronization, and has important practical value.
[0072] exist Figure 2 After the abnormal phase jump value is repaired in the present invention, model verification and adjustment are also required. The specific process is as follows:
[0073] S410, calculating a prediction accuracy index using the prediction value; the prediction accuracy index includes MAE and RMSE indicators;
[0074] S420, determining the accuracy of the ARIMA model using the prediction accuracy index;
[0075] S430, if the accuracy does not reach the accuracy threshold, adjusting the parameters of the ARIMA model;
[0076] The present invention can also evaluate the accuracy of the prediction by calculating the prediction accuracy index, such as MAE (Mean Absolute Error), RMSE (Root Mean Square Error), etc. If the prediction effect is not good, adjust the parameters of the ARIMA model and then make a prediction. The present invention can use the scheme of determining the accuracy of the ARIMA model using the prediction accuracy index recorded in the prior art to complete the accuracy calculation.
[0077] S440, using the ARIMA model with adjusted parameters, re-predicting the predicted value of the differentially processed data.
[0078] It is worth mentioning that if the ARIMA model is not accurate enough, the parameters need to be adjusted before prediction in order to improve the accuracy of the final atomic clock time series.
[0079] The present invention provides a comprehensive processing method for quartile combined with ARIMA for atomic clock sequences, by acquiring atomic clock time series data; using the quartile method to process extreme abnormal values in the atomic clock time series data to obtain atomic clock preliminary processing data; using the ARIMA model to process abnormal phase jump values in the atomic clock preliminary processing data to obtain final atomic clock time series data. Since the quartile method can effectively process extreme abnormal values in atomic clock time series data, and the ARIMA model is superior to the trend and seasonal changes of processing data, it is particularly suitable for identifying and adjusting those non-extreme but significant phase jump values that have a significant impact on analysis. The present invention realizes efficient identification and processing of maximum values and phase jump values through the complementary advantages of the two methods, which not only improves the accuracy of processing atomic clock time series data, but also enhances the availability and stability of the final atomic clock time series data, bringing significant technological progress to high-tech application fields that rely on accurate time and frequency measurement.
[0080] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0081] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by reviewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality of components or steps.
[0082] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A comprehensive processing method for quartile combined with ARIMA for atomic clock series, characterized in that: include: S100, obtaining atomic clock time series data; S200, using the quartile method to process extreme abnormal values in the atomic clock time series data to obtain atomic clock preliminary processed data; S300, using an ARIMA model to process abnormal phase jump values in the preliminary processed data of the atomic clock to obtain final atomic clock time series data; S200 includes: S210, using the quartiles and interquartile moments specified by the quartile method to determine the outlier limits; S220, identifying the atomic clock time series data one by one to confirm the extreme outliers that exceed the outlier limit, and repairing the extreme outliers to obtain atomic clock preliminary processing data.
2. The comprehensive processing method for quartile combined with ARIMA for atomic clock sequence according to claim 1, characterized in that: The quartiles and interquartile moments in S210 are expressed as: Q1=P25, Q3=P75, IQR=Q3-Q1; Among them, Q1 is the first quartile, P25 represents the 25% data value after the data is sorted from small to large, Q3 is the third quartile, P75 represents the 75% data value after the data is sorted from small to large, and IQR is the interquartile range; The outlier limit is expressed as: Xt <Q1-1.5×IQR; Xt>Q3+1.5×IQR; Wherein, Xt is the data in the atomic clock time series data, representing the actual value at time point t.
3. The comprehensive processing method for quartile combined with ARIMA for atomic clock sequence according to claim 1 is characterized in that: S220 includes: S221, identifying the atomic clock time series data one by one to confirm a maximum value that is higher than an upper limit of the abnormal value limit and a minimum value that is lower than a lower limit of the abnormal value limit; S222, replacing the maximum value with the mean of the adjacent time points of the maximum value, and replacing the minimum value with the mean of the adjacent time points of the minimum value, to obtain preliminary processed data of the atomic clock.
4. The comprehensive processing method for quartile combined with ARIMA for atomic clock sequence according to claim 1 is characterized in that: S300 includes: S310, performing a stability test on the atomic clock preliminary processed data to obtain a test result of whether the atomic clock preliminary processed data is stable; S320, performing differential processing on the atomic clock preliminary processing data whose detection result in S310 is unstable, to obtain differential processing data; S330, performing a stationarity test on the differentially processed data to obtain a test result of whether the differentially processed data is stationary; S340, replacing the unstable atomic clock preliminary processing data in S320 with the differential processing data detected as unstable in S330, and repeating S320-S330; S350, inputting the historical data of the differentially processed data detected as stable in S330 into the ARIMA model of the selected parameters to obtain the predicted value of the differentially processed data; S360, obtaining a difference between an actual value and a predicted value of each differentially processed data, and determining an abnormal phase jump value using the difference; S370, replacing the abnormal phase jump value with the predicted value corresponding to the abnormal phase jump value to obtain final atomic clock time series data.
5. The comprehensive processing method for quartile combined with ARIMA for atomic clock sequence according to claim 4 is characterized in that: The ARIMA model includes an autoregressive model, a difference model and a mean moving model; The autoregressive model is expressed as: Among them, Xt is the actual value at time point t, c is the constant term, εt is the error term at time point t, φi is the autoregressive coefficient, Xt-i is the actual value at time ti, and p is the order of the autoregressive model; The difference model is expressed as: ΔdXt=(1-B)dXt; Among them, Δ is the difference operator, B is the backoff operator, d is the number of differences, and (1-B)d means d differences are performed; The average moving model is expressed as: Among them, μ is the mean of the time series, θk is the moving average coefficient, εt-k is the error term at time point tk, and q is the order of the moving average model; The ARIMA model is expressed as: in, represents the components of the autoregressive model, Bi means that i backoff operations have been performed, represents the components of the moving average model, θk is the moving average coefficient, Bk means that k back-off operations are performed, and εt is the error term at time point t.
6. The comprehensive processing method for quartile combined with ARIMA for atomic clock sequence according to claim 5, characterized in that: The predicted value predicted by the ARIMA model in S350 is expressed as: Among them, ΔjXt-j represents the j-th difference of Xt-j, εt-k is the error term at time tk, and μj is the coefficient of the j-th difference.
7. The comprehensive processing method for quartile combined with ARIMA for atomic clock sequence according to claim 6 is characterized in that: After S350, the comprehensive processing method for the quartile combined with ARIMA of the atomic clock sequence further includes: S410, calculating a prediction accuracy index using the prediction value; the prediction accuracy index includes MAE and RMSE indicators; S420, determining the accuracy of the ARIMA model using the prediction accuracy index; S430, if the accuracy does not reach the accuracy threshold, adjusting the parameters of the ARIMA model; S440, using the ARIMA model with adjusted parameters, re-predicting the predicted value of the differentially processed data.
Citation Information
Patent Citations
Satellite clock error prediction method based on empirical mode decomposition (EMD) model and generalized autoregressive conditional heteroskedasticity (GARCH) model
CN102306302A
Filter method and system of Beidou high-frequency deformation monitoring data
CN108801131A
Data processing method and system for Zhang Heng No.1 satellite induction type magnetometer
CN113568057A
Beidou positioning long-term monitoring data processing method
CN115291260A
Clock calibration method and device, terminal equipment and storage medium
CN116980065A
