CN111711446B - Method, system and medium for taming crystal oscillator frequency by using GPS signal - Google Patents

Method, system and medium for taming crystal oscillator frequency by using GPS signal Download PDF

Info

Publication number
CN111711446B
CN111711446B CN202010523171.8A CN202010523171A CN111711446B CN 111711446 B CN111711446 B CN 111711446B CN 202010523171 A CN202010523171 A CN 202010523171A CN 111711446 B CN111711446 B CN 111711446B
Authority
CN
China
Prior art keywords
time
frequency difference
vector
formula
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010523171.8A
Other languages
Chinese (zh)
Other versions
CN111711446A (en
Inventor
李辉
潘华
张孝军
毛文奇
黎刚
周挺
彭铖
韩忠晖
欧阳帆
朱维钧
余斌
梁文武
严亚兵
徐浩
李刚
臧欣
王善诺
尹超勇
吴晋波
洪权
刘志豪
许立强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hunan Electric Power Co Ltd
State Grid Hunan Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hunan Electric Power Co Ltd
State Grid Hunan Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Electric Power Research Institute of State Grid Hunan Electric Power Co Ltd, State Grid Hunan Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202010523171.8A priority Critical patent/CN111711446B/en
Publication of CN111711446A publication Critical patent/CN111711446A/en
Application granted granted Critical
Publication of CN111711446B publication Critical patent/CN111711446B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/16Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
    • H03L7/18Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Oscillators With Electromechanical Resonators (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention discloses a method, a system and a medium for taming crystal oscillator frequency by using GPS signals, which comprises the following steps: establishing a frequency difference mathematical model according to error characteristics of the GPS second signal and the crystal oscillator signal; performing conventional extended Kalman filtering processing on the frequency difference signal to eliminate random errors and errors caused by nonlinear drift of crystal oscillator frequency, and obtaining a filtering model greatly influenced by a jump wild value and system noise; introducing a differential evolution algorithm to dynamically adjust process noise in conventional extended Kalman filtering processing so as to reduce the influence of the process noise on a frequency difference signal filtering result; and integrating the weight of the innovation sequence into the extended Kalman filtering process after the dynamic noise adjustment in the process is completed so as to reduce the influence of the jump wild value on the filtering result. The invention can carry out filtering treatment on the jump wild value and random error in the GPS signal, the accumulated error in the crystal oscillator signal and nonlinear frequency drift, and can improve the final frequency correction precision of the GPS locking secondary frequency standard.

Description

一种利用GPS信号驯服晶振频率的方法、系统及介质A method, system and medium for taming crystal oscillator frequency by using GPS signal

技术领域technical field

本发明涉及GPS驯服晶振信号的频率源误差滤波技术,具体涉及一种利用GPS信号驯服晶振频率的方法、系统及介质,用于实现GPS信号对晶振频率的高精度驯服。The invention relates to a frequency source error filtering technology for GPS taming crystal oscillator signals, in particular to a method, system and medium for taming crystal oscillator frequencies using GPS signals, which are used to realize high-precision taming of crystal oscillator frequencies by GPS signals.

背景技术Background technique

随着网络技术的快速发展,系统对时间基准的要求也越来越高。电力系统中时间基准对事故分析、提高电能质量、电网调度操作以及电能分时计费有着重要的意义。With the rapid development of network technology, the system has higher and higher requirements for time reference. Time base in power system is of great significance to accident analysis, improvement of power quality, power grid dispatching operation and time-of-use billing of power energy.

目前时间(频率)基准按照应用领域和性能指标可划分为一级频率标准(铯原子频标)、二级频率标准(包括铷原子频标和高稳晶体振荡器)和其它频率标准(高稳晶体振荡器意外的其他晶体振荡器)。虽然一级频标长期稳定度和准确度较高,但是其价格十分昂贵,难以应用在对成本有严格要求的民用场合;二级频标的价格相对较低,其长期稳定度和准确度却大不如前者,故难以应用于高精度场合。Current time (frequency) references can be divided into primary frequency standards (cesium atomic frequency standards), secondary frequency standards (including rubidium atomic frequency standards and high-stability crystal oscillators) and other frequency standards (high-stability crystal oscillators) according to application fields and performance indicators. other crystal oscillators except crystal oscillators). Although the long-term stability and accuracy of the first-level frequency standard are relatively high, its price is very expensive, and it is difficult to apply it in civil occasions that have strict requirements on cost; the price of the second-level frequency standard is relatively low, but its long-term stability and accuracy are greater. Not as good as the former, so it is difficult to apply to high-precision occasions.

现有技术利用GPS锁定二级频标(高稳晶振)原理如附图1所示:首先测量GPS接收机输出的秒脉冲信号PPS与晶振分频后输出的脉冲信号之间的相对频差,然后对频差信号进行滤波处理,最后生成控制信号,不断调节晶振频率从而输出高准确度和高稳定度的频率输出。该技术在一定程度上解决了上述问题,即利用较低的成本实现高长期稳定度和平均准确度的频率标准。但是在实际应用中由于GPS的1PPS信号存在随机误差和跳变野值、晶振因老化和温度等特性产生的频率漂移为频率的校准造成了一定的困难。The principle of using GPS to lock the secondary frequency standard (high stability crystal oscillator) in the prior art is shown in Figure 1: First, measure the relative frequency difference between the second pulse signal PPS output by the GPS receiver and the pulse signal output by the crystal oscillator after frequency division, Then filter the frequency difference signal, and finally generate a control signal to continuously adjust the frequency of the crystal oscillator to output a high-accuracy and high-stability frequency output. This technology solves the above-mentioned problems to a certain extent, that is, realizes frequency standards with high long-term stability and average accuracy at a lower cost. However, in practical applications, due to the random error and jump outliers of the 1PPS signal of GPS, and the frequency drift of the crystal oscillator due to aging and temperature characteristics, it has caused certain difficulties in frequency calibration.

为了解决以上问题,有的学者提出采用多次采样取平均的方法,对测量的频差数据进行处理,计算简单但是校频时间较长。有学者通过建立晶振信号和GPS信号之间的频差数学模型,利用最小二乘法对其误差进行计算和补偿,但该方法计算较为复杂且没有考虑GPS信号的野值对校频精度的影响。还有学者提出利用卡尔曼滤波算法来消除频差信号中的噪声,但是现有利用卡尔曼滤波算法来消除频差信号中的噪声的方式没有考虑晶振频率漂移的影响,导致校频精度有限。In order to solve the above problems, some scholars proposed to use the method of taking the average of multiple samples to process the measured frequency difference data. The calculation is simple but the frequency calibration takes a long time. Some scholars have established a mathematical model of the frequency difference between the crystal oscillator signal and the GPS signal, and used the least square method to calculate and compensate its error. However, this method is more complicated to calculate and does not consider the influence of the outlier value of the GPS signal on the frequency calibration accuracy. Some scholars have proposed to use the Kalman filter algorithm to eliminate the noise in the frequency difference signal, but the existing method of using the Kalman filter algorithm to eliminate the noise in the frequency difference signal does not consider the influence of the crystal oscillator frequency drift, resulting in limited frequency calibration accuracy.

发明内容Contents of the invention

本发明要解决的技术问题:针对现有技术的上述问题,提供一种利用GPS信号驯服晶振频率的方法、系统及介质,本发明基于差分进化算法的新息序列加权扩展卡尔曼滤波算法,能够对GPS信号中的跳变野值和随机误差、晶振信号中累积误差和非线性频率漂移进行滤波处理,能够提高GPS锁定二级频标的最终校频精度。The technical problem to be solved by the present invention: Aiming at the above-mentioned problems of the prior art, a method, system and medium for taming the frequency of the crystal oscillator by using the GPS signal are provided. Filtering outliers and random errors in the GPS signal, cumulative errors and nonlinear frequency drift in the crystal oscillator signal can improve the final frequency calibration accuracy of the GPS locked secondary frequency standard.

为了解决上述技术问题,本发明采用的技术方案为:In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is:

一种利用GPS信号驯服晶振频率的方法,该方法的步骤包括:A kind of method utilizing GPS signal to tame crystal oscillator frequency, the step of this method comprises:

1)根据GPS秒信号、晶振信号的误差特性建立两者的频差数学模型;1) According to the error characteristics of the GPS second signal and the crystal signal, the mathematical model of the frequency difference between the two is established;

2)根据频差数学模型对频差信号进行常规的扩展卡尔曼滤波处理,从而消除随机误差和晶振频率非线性漂移引起的误差、得到受跳变野值和系统噪声影响较大的滤波模型;2) Perform conventional extended Kalman filter processing on the frequency difference signal according to the frequency difference mathematical model, thereby eliminating random errors and errors caused by non-linear drift of the crystal oscillator frequency, and obtaining a filtering model that is greatly affected by jump outliers and system noise;

3)引入差分进化算法对常规的扩展卡尔曼滤波处理中的过程噪声进行动态调整以减少其对于频差信号滤波结果的影响;3) Introduce the differential evolution algorithm to dynamically adjust the process noise in the conventional extended Kalman filtering process to reduce its influence on the filtering results of the frequency difference signal;

4)整合新息序列加权到完成过程噪声动态调整后的扩展卡尔曼滤波处理中,以减少跳变野值对于频差信号滤波结果的影响。4) Integrate the weighting of the innovation sequence into the extended Kalman filter processing after the process noise dynamic adjustment is completed, so as to reduce the influence of jump outliers on the filtering results of the frequency difference signal.

可选地,步骤1)的详细步骤包括:Optionally, the detailed steps of step 1) include:

1.1)获取GPS秒信号序列Y,GPS秒信号序列Y中的任意k时刻的GPS秒信号的世界统一时间UTC的函数表达式如式(1)所示;1.1) obtain the GPS second signal sequence Y, the functional expression of the universal time UTC of the GPS second signal at any k moment in the GPS second signal sequence Y as shown in formula (1);

Yk=k-εk (1)Y k = k-ε k (1)

上式中,Yk表示GPS秒信号序列Y中的k时刻的GPS秒信号的世界统一时间UTC,εk为k时刻的GPS秒信号的误差,且满足ε~N(0,σ2);In the above formula, Y k represents the universal time UTC of the GPS second signal at time k in the GPS second signal sequence Y, ε k is the error of the GPS second signal at k time, and satisfies ε~N(0,σ 2 );

获取晶振信号序列Y′,晶振信号序列Y′中的任意k时刻的晶振信号的世界统一时间UTC的函数表达式如式(2)所示;Obtain the crystal oscillator signal sequence Y ', the functional expression of the universal time UTC of the crystal oscillator signal at any k moment in the crystal oscillator signal sequence Y ' as shown in formula (2);

Y′k=k+a+bk+ck2 (2)Y′ k =k+a+bk+ck 2 (2)

上式中,Y′k表示晶振信号序列Y′中的k时刻的晶振信号的世界统一时间UTC,a为初始相位误差,b为考虑频率偏差的误差系数,c为考虑频率线性漂移的误差系数;In the above formula, Y' k represents the universal time UTC of the crystal oscillator signal at time k in the crystal oscillator signal sequence Y', a is the initial phase error, b is the error coefficient considering the frequency deviation, and c is the error coefficient considering the frequency linear drift ;

1.2)根据GPS秒信号序列Y、晶振信号序列Y′做差得到频差序列,且频差序列中任意k时刻的频差信号的函数表达式如下式所示;1.2) According to the GPS second signal sequence Y, the crystal oscillator signal sequence Y', the difference is obtained to obtain the frequency difference sequence, and the functional expression of the frequency difference signal at any k moment in the frequency difference sequence is shown in the following formula;

Xk=Y′k-Yk=a+bk+ck2k (3)X k =Y′ k -Y k =a+bk+ck 2k (3)

上式中,Xk表示频差序列中k时刻的频差信号。In the above formula, X k represents the frequency difference signal at time k in the frequency difference sequence.

可选地,步骤2)中根据频差数学模型对频差信号进行常规的扩展卡尔曼滤波处理的步骤包括:Optionally, the step of performing conventional extended Kalman filter processing on the frequency difference signal according to the frequency difference mathematical model in step 2) includes:

2.1)建立频差的状态方程和观测方程的函数表达式如式(4)所示;2.1) The functional expressions of the state equation and the observation equation of the frequency difference are established as shown in formula (4);

上式中,x(k+1)表示k+1时刻的频差状态向量,x(k)表示k时刻的频差状态向量,f和h分别表示状态函数和量测函数,z(k+1)表示k+1时刻的量测值;ω(k)表示k时刻的过程噪声向量,其协方差矩阵为Q;γ(k)表示k时刻的量测噪声向量,其协方差矩阵为R;In the above formula, x(k+1) represents the frequency difference state vector at time k+1, x(k) represents the frequency difference state vector at time k, f and h represent the state function and measurement function respectively, z(k+ 1) represents the measurement value at time k+1; ω(k) represents the process noise vector at time k, and its covariance matrix is Q; γ(k) represents the measurement noise vector at time k, and its covariance matrix is R ;

2.2)令k时刻到k+1时刻的状态转移矩阵F(k+1,k)、k时刻的观测矩阵H(k)的函数表达式如式(5)所示;2.2) Let the functional expressions of the state transition matrix F(k+1,k) from k time to k+1 time and the observation matrix H(k) at k time be shown in formula (5);

上式中,f表示状态函数,表示k时刻频差状态向量的估计,h表示量测函数,x(k)表示k时刻的频差状态向量;In the above formula, f represents the state function, Represents the estimation of the frequency difference state vector at time k, h represents the measurement function, and x(k) represents the frequency difference state vector at time k;

2.3)建立常规扩展卡尔曼滤波模型的预测方程如式(6)~(8)所示、更新方程如式(9)~(10)所示,其中过程噪声如式(11)所示,过程噪声方差如式(12)所示;2.3) The prediction equations for establishing the conventional extended Kalman filter model are shown in equations (6) to (8), the update equations are shown in equations (9) to (10), and the process noise is shown in equation (11). The noise variance is shown in formula (12);

式(6)中,表示基于k时刻预测值的k+1时刻频差状态向量预测值,f表示状态函数,/>表示k时刻频差状态向量的最优估计值;In formula (6), Represents the predicted value of the frequency difference state vector at time k+1 based on the predicted value at time k, f represents the state function, /> Represents the optimal estimated value of the frequency difference state vector at time k;

p(k+1,k)=F(k+1,k)p(k,k)FT(k+1,k)+Q(k) (7)p(k+1,k)=F(k+1,k)p(k,k)F T (k+1,k)+Q(k) (7)

式(7)中,p(k+1,k)表示k+1时刻的协方差向量预测值,F(k+1,k)表示k时刻到k+1时刻的状态转移矩阵,p(k,k)表示k时刻的协方差向量预测值,FT(k+1,k)表示k时刻到k+1时刻的状态转移矩阵的转置,Q(k)表示k时刻的过程噪声方差;In formula (7), p(k+1,k) represents the predicted value of the covariance vector at time k+1, F(k+1,k) represents the state transition matrix from time k to time k+1, p(k , k) represents the predicted value of the covariance vector at time k, F T (k+1,k) represents the transposition of the state transition matrix from time k to time k+1, Q(k) represents the process noise variance at time k;

K(k+1)=p(k+1,k)HT(k+1)[H(k+1)p(k+1,k)HT(k+1)+R(k+1)]-1 (8)K(k+1)=p(k+1,k)H T (k+1)[H(k+1)p(k+1,k)H T (k+1)+R(k+1 )] -1 (8)

式(8)中,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,p(k+1,k)表示k+1时刻的协方差向量预测值,HT(k+1)表示k+1时刻的观测矩阵H(k+1)的转置,p(k+1,k)表示k+1时刻的协方差向量预测值,R(k+1)表示k+1时刻的观测噪声方差向量;In formula (8), K(k+1) represents the Kalman filter gain matrix at time k+1, p(k+1,k) represents the predicted value of the covariance vector at time k+1, H T (k+1) Represents the transposition of the observation matrix H(k+1) at time k+1, p(k+1,k) represents the predicted value of the covariance vector at time k+1, R(k+1) represents the predicted value of the covariance vector at time k+1 Observation noise variance vector;

式(9)中,表示k+1时刻频差状态向量的最优估计值,/>表示k+1时刻频差状态向量的预测值,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,z(k+1)表示k+1时刻的量测值,/>表示由k+1时刻频差状态向量预测值/>得到的k+1时刻量测向量预测值;In formula (9), Indicates the optimal estimated value of the frequency difference state vector at time k+1, /> Represents the predicted value of the frequency difference state vector at time k+1, K(k+1) represents the Kalman filter gain matrix at time k+1, z(k+1) represents the measured value at time k+1, /> Indicates the predicted value of the frequency difference state vector at time k+1 /> The obtained k+1 time measurement vector prediction value;

p(k+1)=[I-K(k+1)H(k+1)]p(k+1,k) (10)p(k+1)=[I-K(k+1)H(k+1)]p(k+1,k) (10)

式(10)中,p(k+1)表示k+1时刻更新的协方差向量估计值,I表示维数与K(k+1)H(k+1)相同的单位矩阵,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,H(k+1)表示k+1时刻的观测矩阵,p(k+1,k)表示k+1时刻的协方差向量预测值;In formula (10), p(k+1) represents the covariance vector estimated value updated at time k+1, I represents the identity matrix with the same dimension as K(k+1)H(k+1), and K(k +1) represents the Kalman filter gain matrix at time k+1, H(k+1) represents the observation matrix at time k+1, and p(k+1,k) represents the predicted value of the covariance vector at time k+1;

式(11)中,ω(k+1)表示k+1时刻的过程噪声,表示k+1时刻频差状态向量的最优估计值,z(k+1)表示k+1时刻的量测值;In formula (11), ω(k+1) represents the process noise at time k+1, Represents the optimal estimated value of the frequency difference state vector at time k+1, and z(k+1) represents the measured value at time k+1;

Qk+1=var(ω(k+1))(12)Q k+1 = var(ω(k+1))(12)

式(12)中,Qk+1表示k+1时刻的过程噪声方差,ω(k+1)表示k+1时刻的过程噪声,var表示求过程噪声方差的操作。In formula (12), Q k+1 represents the variance of process noise at time k+1, ω(k+1) represents the process noise at time k+1, and var represents the operation of calculating the variance of process noise.

可选地,步骤3)中引入差分进化算法对常规的扩展卡尔曼滤波处理中的过程噪声进行动态调整时,通过差分进化算法生成任意k时刻的过程噪声方差的步骤包括:Optionally, when the differential evolution algorithm is introduced in step 3) to dynamically adjust the process noise in the conventional extended Kalman filtering process, the step of generating the variance of the process noise at any time k by the differential evolution algorithm includes:

3.1)进行种群初始化,且函数表达式如下式(13)所示:3.1) Initialize the population, and the function expression is shown in the following formula (13):

xi,k(0)=lk+rand(0,1)*(uk-lk) (13)x i,k (0)=l k +rand(0,1)*(u k -l k ) (13)

式(13)中,xi,k(0)表示种群中第0代的第i条“染色体”的第k个基因;rand(0,1)为0~1之间均匀分布的随机数;uk和lk为搜索的上界和下界,且uk和lk分别取过程噪声方差的最大值Qmax和最小值QminIn formula (13), x i,k (0) represents the kth gene of the i-th "chromosome" of the 0th generation in the population; rand(0,1) is a random number uniformly distributed between 0 and 1; u k and l k are the upper bound and lower bound of the search, and u k and l k respectively take the maximum value Q max and the minimum value Q min of the process noise variance;

3.2)针对种群进行变异操作,且变异操作的函数表达式如下式(14)所示:3.2) The mutation operation is performed on the population, and the function expression of the mutation operation is shown in the following formula (14):

Xi(g+1)=xr1(g)+F*[xr2(g)-xr3(g)] (14)X i (g+1)=x r1 (g)+F*[x r2 (g)-x r3 (g)] (14)

式(14)中,Xi(g+1)为得到的g+1代变异个体;F为压缩比例因子,取值范围0~1;xr1(g)、xr2(g)和xr3(g)为3个父代;In formula (14), Xi (g+1) is the obtained g+1 generation mutant individual; F is the compression scale factor, the value range is 0~1; x r1 (g), x r2 (g) and x r3 (g) being 3 parents;

3.3)针对种群进行交叉操作以保留较优良的变量,且交叉操作采用二项交叉方式,其函数表达式如下式(15)所示:3.3) Perform a crossover operation on the population to retain better variables, and the crossover operation adopts the binomial crossover method, and its function expression is shown in the following formula (15):

式(15)中,yi,j(g+1)表示当前个体对应的交叉操作结果,Xi,j(g+1)表示变异个体对应的分量,xi,j(g)表示当前个体对应的分量,r为每个变量生成的一个0~1之间均匀分布的随机数;cr为变量的交叉概率;rnd为1~d之间均匀分布的整数,如果r<cr则接受变异个体对应的分量Xi,j(g+1),否则保留当前个体对应的分量xi,j(g);In formula (15), y i,j (g+1) represents the crossover operation result corresponding to the current individual, Xi ,j (g+1) represents the component corresponding to the mutant individual, and xi ,j (g) represents the current individual The corresponding component, r is a random number uniformly distributed between 0 and 1 generated by each variable; cr is the crossover probability of the variable; rnd is an integer uniformly distributed between 1 and d, if r<cr, the mutant individual is accepted The corresponding component X i,j (g+1), otherwise keep the component x i,j (g) corresponding to the current individual;

3.4)针对交叉操作得到的结果,采用如下式(16)所示贪婪选择的方式选择最优解并作为k时刻的过程噪声方差;3.4) For the results obtained by the crossover operation, the optimal solution is selected as the process noise variance at time k by using the greedy selection method shown in the following formula (16);

式(16)中,xi(g+1)为选择结果,yi(g+1)表示交叉操作结果对应的个体,xi(g)表示当前个体,f[yi(g+1)]表示个体yi(g+1)对应的种群适应度值,f[xi(g)]表示个体xi(g)对应的种群适应度值。In formula (16), x i (g+1) is the selection result, y i (g+1) represents the individual corresponding to the crossover operation result, xi (g) represents the current individual, f[y i (g+1) ] represents the population fitness value corresponding to individual y i (g+1), and f[ xi (g)] represents the population fitness value corresponding to individual xi (g).

可选地,步骤4)整合新息序列加权到完成过程噪声进行动态调整后的扩展卡尔曼滤波处理中后,得到的扩展卡尔曼滤波处理的更新方程的函数表达式如下式(17)~(21)所示;Optionally, after step 4) integrating the weighting of the innovation sequence into the extended Kalman filter processing after the process noise is dynamically adjusted, the function expression of the update equation of the extended Kalman filter processing obtained is as follows: (17)~( 21) as shown;

Dk+1=P(k+1,k)+Rk+1(21)D k+1 =P(k+1,k)+R k+1 (21)

式(17)~(21)中,表示调整后的k+1时刻频差状态向量的最优估计值,/>表示k+1时刻频差状态向量预测值,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,φk+1表示修正函数,τk+1表示衡量k+1时刻量测误差大小的变量,ek+1表示k+1时刻的量测误差,z(k+1)表示k+1时刻频差向量的量测值,/>表示k+1时刻量测向量的预测值,τk+1服从χ2分布,当出现野值时τk+1增大、φk+1(·)减小;Ck+1为选取的门限值或常数序列,λk+1矩阵的最大特征值,Kk+1表示k+1时刻的卡尔曼滤波增益,Dk+1表示k+1时刻衡量量测误差大小的权矩阵,P(k+1,k)表示k+1时刻的协方差预测值,R(k+1)表示k+1时刻的量测噪声方差。In formula (17)~(21), Indicates the optimal estimated value of the frequency difference state vector at time k+1 after adjustment, /> Represents the predicted value of the frequency difference state vector at time k+1, K(k+1) represents the Kalman filter gain matrix at time k+1, φ k+1 represents the correction function, and τ k+1 represents the measurement error at time k+1 The variable of size, e k+1 represents the measurement error at k+1 time, z(k+1) represents the measured value of the frequency difference vector at k+1 time, /> Indicates the predicted value of the measurement vector at time k+1, τ k+1 obeys the χ 2 distribution, when an outlier occurs, τ k+1 increases and φ k+1 ( ) decreases; C k+1 is the selected Threshold value or constant sequence, λ k+1 is The largest eigenvalue of the matrix, K k+1 represents the Kalman filter gain at time k+1, D k+1 represents the weight matrix that measures the measurement error at time k+1, and P(k+1,k) represents k+ The covariance prediction value at time 1, R(k+1) represents the measurement noise variance at time k+1.

此外,本发明还提供一种利用GPS信号驯服晶振频率的系统,包括:In addition, the present invention also provides a system for using GPS signals to tame the frequency of the crystal oscillator, including:

频差模型生成程序单元,用于根据GPS秒信号、晶振信号的误差特性建立两者的频差数学模型;A frequency difference model generation program unit is used to set up both frequency difference mathematical models according to the error characteristics of the GPS second signal and the crystal oscillator signal;

常规滤波程序单元,用于根据频差数学模型对频差信号进行常规的扩展卡尔曼滤波处理,从而消除随机误差和晶振频率非线性漂移引起的误差、得到受跳变野值和系统噪声影响较大的滤波模型;The conventional filter program unit is used to perform conventional extended Kalman filter processing on the frequency difference signal according to the frequency difference mathematical model, thereby eliminating random errors and errors caused by non-linear drift of the crystal oscillator frequency, and obtaining a relatively low frequency value affected by jump outliers and system noise. Large filtering model;

噪声调整程序单元,用于引入差分进化算法对常规的扩展卡尔曼滤波处理中的过程噪声进行动态调整以减少其对于频差信号滤波结果的影响;The noise adjustment program unit is used to introduce a differential evolution algorithm to dynamically adjust the process noise in the conventional extended Kalman filtering process to reduce its influence on the frequency difference signal filtering result;

滤波整合程序单元,用于整合新息序列加权到完成过程噪声进行动态调整后的扩展卡尔曼滤波处理中。The filter integration program unit is used to integrate the weight of the innovation sequence into the extended Kalman filter processing after the process noise is dynamically adjusted.

此外,本发明还提供一种利用GPS信号驯服晶振频率的系统,包括计算机设备,该计算机设备被编程或配置以执行所述利用GPS信号驯服晶振频率的方法的步骤。In addition, the present invention also provides a system for taming the frequency of the crystal oscillator using GPS signals, including computer equipment, which is programmed or configured to execute the steps of the method for taming the frequency of the crystal oscillator using GPS signals.

此外,本发明还提供一种利用GPS信号驯服晶振频率的系统,包括计算机设备,该计算机设备的存储器上存储有被编程或配置以执行所述利用GPS信号驯服晶振频率的方法的计算机程序。In addition, the present invention also provides a system for taming the crystal oscillator frequency by using GPS signals, including a computer device, and a computer program programmed or configured to execute the method for taming the crystal oscillator frequency by using GPS signals is stored in the memory of the computer device.

此外,本发明还提供一种带有GPS的智能终端,包括GPS模块、微处理器和存储器,该微处理器被编程或配置以执行所述利用GPS信号驯服晶振频率的方法的步骤,或该存储器上存储有被编程或配置以执行所述利用GPS信号驯服晶振频率的方法的计算机程序。In addition, the present invention also provides an intelligent terminal with GPS, including a GPS module, a microprocessor and a memory, the microprocessor is programmed or configured to perform the steps of the method for using GPS signals to tame the frequency of the crystal oscillator, or the A computer program programmed or configured to perform the method of taming a frequency of a crystal oscillator using a GPS signal is stored on the memory.

此外,本发明还提供一种计算机可读存储介质,该计算机可读存储介质上存储有被编程或配置以执行所述利用GPS信号驯服晶振频率的方法的计算机程序。In addition, the present invention also provides a computer-readable storage medium, on which a computer program programmed or configured to execute the method for taming the crystal oscillator frequency by using GPS signals is stored.

和现有技术相比,本发明具有下述优点:本发明利用GPS信号驯服晶振频率的方法主要包括四个部分:一是根据GPS的1PPS信号和晶振信号的误差特性建立两者的频差数学模型。通过对频差信号的数学建模为下一步建立频差信号的状态方程和量测方程提供基础;二是根据频差信号数学模型,对频差信号进行常规的扩展卡尔曼滤波处理,从而消除随机误差和晶振频率非线性漂移引起的误差,得到受跳变野值和系统噪声影响较大的滤波模型;三是引入差分进化算法对常规扩展卡尔曼滤波中过程噪声进行动态调整,从而减少其对于频差信号滤波结果的影响;四是整合新息序列加权技术到上述扩展卡尔曼滤波算法中,通过在频差向量的最优估计方程中引入修正函数,来减少GPS输出PPS信号中包含的跳变野值对于滤波结果的影响。因此,本发明基于差分进化算法的新息序列加权扩展卡尔曼滤波算法,能够对GPS信号中的跳变野值和随机误差、晶振信号中累积误差和非线性频率漂移进行滤波处理,能够提高GPS锁定二级频标的最终校频精度。Compared with the prior art, the present invention has following advantages: the method that the present invention utilizes GPS signal to tame crystal oscillator frequency mainly comprises four parts: the one, establish the frequency difference mathematics of both according to the 1PPS signal of GPS and the error characteristic of crystal oscillator signal Model. The mathematical modeling of the frequency difference signal provides the basis for establishing the state equation and measurement equation of the frequency difference signal in the next step; the second is to perform conventional extended Kalman filter processing on the frequency difference signal according to the mathematical model of the frequency difference signal, thereby eliminating The random error and the error caused by the non-linear drift of the crystal frequency obtain a filtering model that is greatly affected by the jump outliers and system noise; the third is to introduce a differential evolution algorithm to dynamically adjust the process noise in the conventional extended Kalman filter, thereby reducing its The impact on the filtering results of the frequency difference signal; the fourth is to integrate the innovation sequence weighting technology into the above-mentioned extended Kalman filter algorithm, and to reduce the number contained in the GPS output PPS signal by introducing a correction function into the optimal estimation equation of the frequency difference vector. The impact of jumping outliers on filtering results. Therefore, the present invention is based on the innovation sequence weighted extended Kalman filter algorithm of the differential evolution algorithm, which can filter the jump outliers and random errors in the GPS signal, the cumulative error and the nonlinear frequency drift in the crystal oscillator signal, and can improve the accuracy of the GPS signal. Lock the final frequency calibration accuracy of the secondary frequency standard.

附图说明Description of drawings

图1为现有技术利用GPS锁定二级频标(高稳晶振)原理。Figure 1 shows the principle of using GPS to lock the secondary frequency standard (high stability crystal oscillator) in the prior art.

图2为本发明实施例方法的基本流程示意图。Fig. 2 is a schematic flow chart of the basic method of the embodiment of the present invention.

图3为本发明实施例中引入差分进化算法的基本流程示意图。Fig. 3 is a schematic flow chart of introducing a differential evolution algorithm in an embodiment of the present invention.

具体实施方式Detailed ways

下面通过借助实施例更加详细地说明本发明,但以下实施例仅是说明性的,本发明的保护范围并不受这些实施例的限制。The present invention is described in more detail below by means of examples, but the following examples are only illustrative, and the protection scope of the present invention is not limited by these examples.

如图2所示,本实施例利用GPS信号驯服晶振频率的方法的步骤包括:As shown in Figure 2, the steps of the method for using the GPS signal to tame the crystal oscillator frequency in this embodiment include:

1)根据GPS秒信号(1PPS信号)、晶振信号的误差特性建立两者的频差数学模型;1) According to the error characteristics of the GPS second signal (1PPS signal) and the crystal signal, the mathematical model of the frequency difference between the two is established;

2)根据频差数学模型对频差信号进行常规的扩展卡尔曼滤波处理,从而消除随机误差和晶振频率非线性漂移引起的误差、得到受跳变野值和系统噪声影响较大的滤波模型;2) Perform conventional extended Kalman filter processing on the frequency difference signal according to the frequency difference mathematical model, thereby eliminating random errors and errors caused by non-linear drift of the crystal oscillator frequency, and obtaining a filtering model that is greatly affected by jump outliers and system noise;

3)引入差分进化算法对常规的扩展卡尔曼滤波处理中的过程噪声进行动态调整以减少其对于频差信号滤波结果的影响;3) Introduce the differential evolution algorithm to dynamically adjust the process noise in the conventional extended Kalman filtering process to reduce its influence on the filtering results of the frequency difference signal;

4)整合新息序列加权到完成过程噪声动态调整后的扩展卡尔曼滤波处理中,以减少跳变野值对频差信号滤波结果的影响。4) Integrate the weighting of the innovation sequence into the extended Kalman filtering process after the dynamic adjustment of the process noise is completed, so as to reduce the influence of jump outliers on the filtering results of the frequency difference signal.

本实施例利用GPS信号驯服晶振频率的方法以滤除GPS锁定晶振频率技术中频差信号的噪声为为目标,提出了一种基于差分进化算法的新息序列加权扩展卡尔曼滤波方法,可以对GPS信号中的跳变野值和随机误差以及晶振信号中随机误差和非线性频率漂移进行处理,从而提高最终的校频精度。该方法主要包括四个部分:一是根据GPS的1PPS信号和晶振信号的误差特性建立两者的频差数学模型。通过对频差信号的数学建模为下一步建立频差信号的状态方程和量测方程提供基础;二是根据频差信号数学模型,对频差信号进行常规的扩展卡尔曼滤波处理,从而消除随机误差和晶振频率非线性漂移引起的误差,得到受跳变野值和系统噪声影响较大的滤波模型;三是引入差分进化算法对常规扩展卡尔曼滤波中过程噪声进行动态调整,从而减少其对于频差信号滤波结果的影响;四是整合新息序列加权技术到上述扩展卡尔曼滤波算法中。通过在频差向量的最优估计方程中引入修正函数,来减少GPS输出PPS信号中包含的跳变野值对于滤波结果的影响。This embodiment uses the method of GPS signal to tame the crystal oscillator frequency to filter out the noise of the frequency difference signal in the technology of GPS locked oscillator frequency as the goal, and proposes a weighted extended Kalman filter method based on the differential evolution algorithm, which can be used for GPS The jump outliers and random errors in the signal, as well as the random errors and nonlinear frequency drift in the crystal oscillator signal are processed, so as to improve the final frequency calibration accuracy. The method mainly includes four parts: first, according to the error characteristics of the GPS 1PPS signal and the crystal oscillator signal, the mathematical model of the frequency difference between the two is established. The mathematical modeling of the frequency difference signal provides the basis for establishing the state equation and measurement equation of the frequency difference signal in the next step; the second is to perform conventional extended Kalman filter processing on the frequency difference signal according to the mathematical model of the frequency difference signal, thereby eliminating The random error and the error caused by the non-linear drift of the crystal frequency obtain a filtering model that is greatly affected by the jump outliers and system noise; the third is to introduce a differential evolution algorithm to dynamically adjust the process noise in the conventional extended Kalman filter, thereby reducing its The impact on the filtering results of the frequency difference signal; the fourth is to integrate the innovation sequence weighting technology into the above-mentioned extended Kalman filtering algorithm. By introducing a correction function into the optimal estimation equation of the frequency difference vector, the influence of the jump wild value included in the GPS output PPS signal on the filtering result is reduced.

本实施例中,设定频差信号及滤波相关参数时,设置过程噪声向量ω(k),且其协方差矩阵为Q=0.0005。设置量测噪声向量γ(k),设其协方差矩阵为R=0.01;此外,频差初值设为x0=5×10-9s。In this embodiment, when setting the frequency difference signal and filtering related parameters, the process noise vector ω(k) is set, and its covariance matrix is Q=0.0005. Set the measurement noise vector γ(k), and set its covariance matrix as R=0.01; in addition, the initial value of the frequency difference is set to x 0 =5×10 -9 s.

获取GPS秒信号序列Y时,GPS秒信号序列Y(大小为n)中的GPS秒信号的世界统一时间UTC可分别表示为:When the GPS second signal sequence Y is obtained, the universal time UTC of the GPS second signal in the GPS second signal sequence Y (size is n) can be expressed as:

1-ε1,2-ε2,…,k-εk,…,n-εn 1-ε 1 , 2-ε 2 , ..., k-ε k , ..., n-ε n

获取晶振信号序列Y′时,晶振信号序列Y′(大小为n)中的晶振信号的世界统一时间UTC可分别表示为:When the crystal oscillator signal sequence Y' is obtained, the universal time UTC of the crystal oscillator signal in the crystal oscillator signal sequence Y' (size n) can be expressed as:

1+a+b+c,1+a+2b+4c,…,k+a+bk+ck2,…,n+a+bn+cn2 1+a+b+c, 1+a+2b+4c, ..., k+a+bk+ck 2 , ..., n+a+bn+cn 2

其中,a为初始相位误差,b为考虑频率偏差的误差系数,c为考虑频率线性漂移的误差系数;因此,本实施例中,步骤1)的详细步骤包括:Wherein, a is the initial phase error, b is an error coefficient considering frequency deviation, and c is an error coefficient considering frequency linear drift; therefore, in this embodiment, the detailed steps of step 1) include:

1.1)获取GPS秒信号序列Y,GPS秒信号序列Y中的任意k时刻的GPS秒信号的世界统一时间UTC的函数表达式如式(1)所示;1.1) obtain the GPS second signal sequence Y, the functional expression of the universal time UTC of the GPS second signal at any k moment in the GPS second signal sequence Y as shown in formula (1);

Yk=k-εk (1)Y k = k-ε k (1)

上式中,Yk表示GPS秒信号序列Y中的k时刻的GPS秒信号的世界统一时间UTC,εk为k时刻的GPS秒信号的误差,且满足ε~N(0,σ2);In the above formula, Y k represents the universal time UTC of the GPS second signal at time k in the GPS second signal sequence Y, ε k is the error of the GPS second signal at k time, and satisfies ε~N(0,σ 2 );

获取晶振信号序列Y′,晶振信号序列Y′中的任意k时刻的晶振信号的世界统一时间UTC的函数表达式如式(2)所示;Obtain the crystal oscillator signal sequence Y ', the functional expression of the universal time UTC of the crystal oscillator signal at any k moment in the crystal oscillator signal sequence Y ' as shown in formula (2);

Y′k=k+a+bk+ck2 (2)Y′ k =k+a+bk+ck 2 (2)

上式中,Y′k表示晶振信号序列Y′中的k时刻的晶振信号的世界统一时间UTC,a为初始相位误差,b为考虑频率偏差的误差系数,c为考虑频率线性漂移的误差系数;In the above formula, Y' k represents the universal time UTC of the crystal oscillator signal at time k in the crystal oscillator signal sequence Y', a is the initial phase error, b is the error coefficient considering the frequency deviation, and c is the error coefficient considering the frequency linear drift ;

1.2)根据GPS秒信号序列Y、晶振信号序列Y′做差得到频差序列,且频差序列中任意k时刻的频差信号的函数表达式如下式所示;1.2) According to the GPS second signal sequence Y, the crystal oscillator signal sequence Y', the difference is obtained to obtain the frequency difference sequence, and the functional expression of the frequency difference signal at any k moment in the frequency difference sequence is shown in the following formula;

Xk=Y′k-Yk=a+bk+ck2k (3)X k =Y′ k -Y k =a+bk+ck 2k (3)

上式中,Xk表示频差序列中k时刻的频差信号,频差序列为X1,X2,…,Xk,…,XnIn the above formula, X k represents the frequency difference signal at time k in the frequency difference sequence, and the frequency difference sequence is X 1 , X 2 , . . . , X k , . . . , X n .

本实施例中,步骤2)用于根据频差信号数学模型,对频差信号进行常规的扩展卡尔曼滤波处理,从而消除随机误差和晶振频率非线性漂移引起的误差,得到受跳变野值和系统噪声影响较大的滤波模型。步骤2)中根据频差数学模型对频差信号进行常规的扩展卡尔曼滤波处理的步骤包括:In this embodiment, step 2) is used to perform conventional extended Kalman filter processing on the frequency difference signal according to the mathematical model of the frequency difference signal, thereby eliminating random errors and errors caused by non-linear drift of the crystal oscillator frequency, and obtaining the outlier value affected by the jump and filtering models that have a greater influence on system noise. In step 2), the steps of carrying out conventional extended Kalman filter processing to the frequency difference signal according to the frequency difference mathematical model include:

2.1)建立频差的状态方程和观测方程的函数表达式如式(4)所示;2.1) The functional expressions of the state equation and the observation equation of the frequency difference are established as shown in formula (4);

上式中,x(k+1)表示k+1时刻的频差状态向量,x(k)表示k时刻的频差状态向量,f和h分别表示状态函数和量测函数,z(k+1)表示k+1时刻的量测值;ω(k)表示k时刻的过程噪声向量,其协方差矩阵为Q;γ(k)表示k时刻的量测噪声向量,其协方差矩阵为R;In the above formula, x(k+1) represents the frequency difference state vector at time k+1, x(k) represents the frequency difference state vector at time k, f and h represent the state function and measurement function respectively, z(k+ 1) represents the measurement value at time k+1; ω(k) represents the process noise vector at time k, and its covariance matrix is Q; γ(k) represents the measurement noise vector at time k, and its covariance matrix is R ;

2.2)令k时刻到k+1时刻的状态转移矩阵F(k+1,k)、k时刻的观测矩阵H(k)的函数表达式如式(5)所示;2.2) Let the functional expressions of the state transition matrix F(k+1,k) from k time to k+1 time and the observation matrix H(k) at k time be shown in formula (5);

上式中,f表示状态函数,表示k时刻频差状态向量的估计,H(k)表示k时刻的观测矩阵,h表示量测函数,x(k)表示k时刻的频差状态向量;In the above formula, f represents the state function, Represents the estimation of the frequency difference state vector at time k, H(k) represents the observation matrix at time k, h represents the measurement function, x(k) represents the frequency difference state vector at time k;

2.3)建立常规扩展卡尔曼滤波模型的预测方程如式(6)~(8)所示、更新方程如式(9)~(10)所示,其中过程噪声如式(11)所示,过程噪声方差如式(12)所示;2.3) The prediction equations for establishing the conventional extended Kalman filter model are shown in equations (6) to (8), the update equations are shown in equations (9) to (10), and the process noise is shown in equation (11). The noise variance is shown in formula (12);

式(6)中,表示基于k时刻预测值的k+1时刻频差状态向量预测值,f表示状态函数,/>表示k时刻频差状态向量的最优估计值;In formula (6), Represents the predicted value of the frequency difference state vector at time k+1 based on the predicted value at time k, f represents the state function, /> Represents the optimal estimated value of the frequency difference state vector at time k;

p(k+1,k)=F(k+1,k)p(k,k)FT(k+1,k)+Q(k) (7)p(k+1,k)=F(k+1,k)p(k,k)F T (k+1,k)+Q(k) (7)

式(7)中,p(k+1,k)表示k+1时刻的协方差向量预测值,F(k+1,k)表示k时刻到k+1时刻的状态转移矩阵,p(k,k)表示k时刻的协方差向量预测值,FT(k+1,k)表示k时刻到k+1时刻的状态转移矩阵的转置,Q(k)表示k时刻的过程噪声方差;In formula (7), p(k+1,k) represents the predicted value of the covariance vector at time k+1, F(k+1,k) represents the state transition matrix from time k to time k+1, p(k , k) represents the predicted value of the covariance vector at time k, F T (k+1,k) represents the transposition of the state transition matrix from time k to time k+1, Q(k) represents the process noise variance at time k;

K(k+1)=p(k+1,k)HT(k+1)[H(k+1)p(k+1,k)HT(k+1)+R(k+1)]-1 (8)K(k+1)=p(k+1,k)H T (k+1)[H(k+1)p(k+1,k)H T (k+1)+R(k+1 )] -1 (8)

式(8)中,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,p(k+1,k)表示k+1时刻的协方差向量预测值,HT(k+1)表示k+1时刻的观测矩阵H(k+1)的转置,p(k+1,k)表示k+1时刻的协方差向量预测值,R(k+1)表示k+1时刻的观测噪声方差向量;In formula (8), K(k+1) represents the Kalman filter gain matrix at time k+1, p(k+1,k) represents the predicted value of the covariance vector at time k+1, H T (k+1) Represents the transposition of the observation matrix H(k+1) at time k+1, p(k+1,k) represents the predicted value of the covariance vector at time k+1, R(k+1) represents the predicted value of the covariance vector at time k+1 Observation noise variance vector;

式(9)中,表示k+1时刻频差状态向量的最优估计值,/>表示k+1时刻频差状态向量的预测值,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,z(k+1)表示k+1时刻的量测值,/>表示由k+1时刻频差状态向量预测值/>得到的k+1时刻量测向量预测值;In formula (9), Indicates the optimal estimated value of the frequency difference state vector at time k+1, /> Represents the predicted value of the frequency difference state vector at time k+1, K(k+1) represents the Kalman filter gain matrix at time k+1, z(k+1) represents the measured value at time k+1, /> Indicates the predicted value of the frequency difference state vector at time k+1 /> The obtained k+1 time measurement vector prediction value;

p(k+1)=[I-K(k+1)H(k+1)]p(k+1,k) (10)p(k+1)=[I-K(k+1)H(k+1)]p(k+1,k) (10)

式(10)中,p(k+1)表示k+1时刻更新的协方差向量估计值,I表示维数与K(k+1)H(k+1)相同的单位矩阵,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,H(k+1)表示k+1时刻的观测矩阵,p(k+1,k)表示k+1时刻的协方差向量预测值;In formula (10), p(k+1) represents the covariance vector estimated value updated at time k+1, I represents the identity matrix with the same dimension as K(k+1)H(k+1), and K(k +1) represents the Kalman filter gain matrix at time k+1, H(k+1) represents the observation matrix at time k+1, and p(k+1,k) represents the predicted value of the covariance vector at time k+1;

式(11)中,ω(k+1)表示k+1时刻的过程噪声,表示k+1时刻频差状态向量的最优估计值,z(k+1)表示k+1时刻的量测值;In formula (11), ω(k+1) represents the process noise at time k+1, Represents the optimal estimated value of the frequency difference state vector at time k+1, and z(k+1) represents the measured value at time k+1;

Qk+1=var(ω(k+1)) (12)Q k+1 = var(ω(k+1)) (12)

式(12)中,Qk+1表示k+1时刻的过程噪声方差,ω(k+1)表示k+1时刻的过程噪声,var表示求过程噪声方差的操作。In formula (12), Q k+1 represents the variance of process noise at time k+1, ω(k+1) represents the process noise at time k+1, and var represents the operation of calculating the variance of process noise.

本实施例中,步骤3)引入差分进化算法用于对常规扩展卡尔曼滤波算法中过程噪声进行动态调整,从而减少其对于频差信号滤波结果的影响。常规扩展卡尔曼在滤波过程中一般假设过程噪声均值为零,方差为Q。由于系统模型存在不确定因素及异常扰动,因此过程噪声也是变化的;固定的过程噪声将会增大误差使滤波精度降低。为此引入差分进化算法对过程噪声的最优方差进行求解,然后将其应用在扩展卡尔曼滤波算法之中提高滤波精度,最终提高校频精度。如图3所示,步骤3)中引入差分进化算法对常规的扩展卡尔曼滤波处理中的过程噪声进行动态调整时,通过差分进化算法生成任意k时刻的过程噪声方差的步骤包括:In this embodiment, step 3) introduces a differential evolution algorithm to dynamically adjust the process noise in the conventional extended Kalman filter algorithm, thereby reducing its influence on the filtering result of the frequency difference signal. Conventional extended Kalman generally assumes that the mean value of the process noise is zero and the variance is Q in the filtering process. Due to the uncertain factors and abnormal disturbances in the system model, the process noise also changes; the fixed process noise will increase the error and reduce the filtering accuracy. To this end, the differential evolution algorithm is introduced to solve the optimal variance of the process noise, and then it is applied to the extended Kalman filter algorithm to improve the filtering accuracy and finally improve the frequency calibration accuracy. As shown in Figure 3, when the differential evolution algorithm is introduced in step 3) to dynamically adjust the process noise in the conventional extended Kalman filter processing, the steps of generating the variance of the process noise at any time k by the differential evolution algorithm include:

3.1)进行种群初始化,且函数表达式如下式(13)所示:3.1) Initialize the population, and the function expression is shown in the following formula (13):

xi,k(0)=lk+rand(0,1)*(uk-lk) (13)x i,k (0)=l k +rand(0,1)*(u k -l k ) (13)

式(13)中,xi,k(0)表示种群中第0代的第i条“染色体”的第k个基因;rand(0,1)为0~1之间均匀分布的随机数;uk和lk为搜索的上界和下界,且uk和lk分别取过程噪声方差的最大值Qmax和最小值Qmin;本实施例中设定差分进化算法初值时,变异率F=0.5,交叉概率cr=0.9,种群规模NP=10,迭代次数G=100,搜索边界uk=0.005,lk=-0.005;In formula (13), x i,k (0) represents the kth gene of the i-th "chromosome" of the 0th generation in the population; rand(0,1) is a random number uniformly distributed between 0 and 1; u k and l k are the upper bound and lower bound of the search, and u k and l k respectively take the maximum value Q max and the minimum value Q min of the process noise variance; when setting the initial value of the differential evolution algorithm in this embodiment, the mutation rate F=0.5, crossover probability cr=0.9, population size NP=10, iteration number G=100, search boundary u k =0.005, l k =-0.005;

3.2)针对种群进行变异操作,且变异操作的函数表达式如下式(14)所示:3.2) The mutation operation is performed on the population, and the function expression of the mutation operation is shown in the following formula (14):

Xi(g+1)=xr1(g)+F*[xr2(g)-xr3(g)] (14)X i (g+1)=x r1 (g)+F*[x r2 (g)-x r3 (g)] (14)

式(14)中,Xi(g+1)为得到的g+1代变异个体;F为压缩比例因子,取值范围0~1;xr1(g)、xr2(g)和xr3(g)为3个父代;In formula (14), Xi (g+1) is the obtained g+1 generation mutant individual; F is the compression scale factor, the value range is 0~1; x r1 (g), x r2 (g) and x r3 (g) being 3 parents;

3.3)针对种群进行交叉操作以保留较优良的变量,且交叉操作采用二项交叉方式,其函数表达式如下式(15)所示:3.3) Perform a crossover operation on the population to retain better variables, and the crossover operation adopts the binomial crossover method, and its function expression is shown in the following formula (15):

式(15)中,yi,j(g+1)表示当前个体对应的交叉操作结果,Xi,j(g+1)表示变异个体对应的分量,xi,j(g)表示当前个体对应的分量,r为每个变量生成的一个0~1之间均匀分布的随机数;cr为变量的交叉概率;rnd为1~d之间均匀分布的整数,如果r<cr则接受变异个体对应的分量Xi,j(g+1),否则保留当前个体对应的分量xi,j(g);In formula (15), y i,j (g+1) represents the crossover operation result corresponding to the current individual, Xi ,j (g+1) represents the component corresponding to the mutant individual, and xi ,j (g) represents the current individual The corresponding component, r is a random number uniformly distributed between 0 and 1 generated by each variable; cr is the crossover probability of the variable; rnd is an integer uniformly distributed between 1 and d, if r<cr, the mutant individual is accepted The corresponding component X i,j (g+1), otherwise keep the component x i,j (g) corresponding to the current individual;

3.4)针对交叉操作得到的结果,采用如下式(16)所示贪婪选择的方式选择最优解并作为k时刻的过程噪声方差;3.4) For the results obtained by the crossover operation, the optimal solution is selected as the process noise variance at time k by using the greedy selection method shown in the following formula (16);

式(16)中,xi(g+1)为选择结果,yi(g+1)表示交叉操作结果对应的个体,xi(g)表示当前个体,f[yi(g+1)]表示个体yi(g+1)对应的种群适应度值,f[xi(g)]表示个体xi(g)对应的种群适应度值。将最优解赋值给Qi,代入协方差预测方程,即可提高扩展卡尔曼的滤波精度。In formula (16), x i (g+1) is the selection result, y i (g+1) represents the individual corresponding to the crossover operation result, xi (g) represents the current individual, f[y i (g+1) ] represents the population fitness value corresponding to individual y i (g+1), and f[ xi (g)] represents the population fitness value corresponding to individual xi (g). By assigning the optimal solution to Q i and substituting it into the covariance prediction equation, the filtering accuracy of Extended Kalman can be improved.

本实施例中,步骤4)整合新息序列加权技术到上述扩展卡尔曼滤波算法中,以减少GPS输出PPS信号中包含的跳变野值对于滤波结果的影响。在实际应用中,由于GPS信号受噪声干扰还会产生较大的跳变野值,带有野值的频差信号将会使滤波结果发生偏移甚至发散。为了解决上述扩展卡尔曼算法的抗野值问题,有学者将新息序列加权的方法引入卡尔曼滤波来消除野值的影响。当观测数据不包含野值时,滤波算法能够正常运行,对观测噪声进行滤除;当观测数据包含野值时,能够克服或减少野值对于滤波结果的影响,使滤波结果更加准确。本实施例中,步骤4)整合新息序列加权到完成过程噪声进行动态调整后的扩展卡尔曼滤波处理中后,得到的扩展卡尔曼滤波处理的更新方程的函数表达式如下式(17)~(21)所示;In this embodiment, step 4) integrates the innovation sequence weighting technology into the above-mentioned extended Kalman filter algorithm, so as to reduce the impact of the jump outliers contained in the GPS output PPS signal on the filter result. In practical applications, because the GPS signal is interfered by noise, it will also produce large jump outliers, and the frequency difference signal with outliers will cause the filtering results to shift or even diverge. In order to solve the anti-outlier problem of the extended Kalman algorithm mentioned above, some scholars introduce the method of innovation sequence weighting into the Kalman filter to eliminate the influence of outliers. When the observation data does not contain outliers, the filtering algorithm can run normally and filter out the observation noise; when the observation data contains outliers, it can overcome or reduce the influence of the outliers on the filtering results, making the filtering results more accurate. In this embodiment, after step 4) integrates the weighting of the innovation sequence into the extended Kalman filter processing after the process noise is dynamically adjusted, the functional expression of the update equation of the extended Kalman filter processing obtained is as follows (17)~ (21);

Dk+1=P(k+1,k)+Rk+1 (21)D k+1 =P(k+1,k)+R k+1 (21)

式(17)~(21)中,表示调整后的k+1时刻频差状态向量的最优估计值,/>表示k+1时刻频差状态向量预测值,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,φk+1表示修正函数,τk+1表示衡量k+1时刻量测误差大小的变量,ek+1表示k+1时刻的量测误差,z(k+1)表示k+1时刻频差向量的量测值,/>表示k+1时刻量测向量的预测值,τk+1服从χ2分布,当出现野值时τk+1增大、φk+1(·)减小;Ck+1为选取的门限值或常数序列,λk+1矩阵的最大特征值,Kk+1表示k+1时刻的卡尔曼滤波增益,Dk+1表示k+1时刻衡量量测误差大小的权矩阵,P(k+1,k)表示k+1时刻的协方差预测值,R(k+1)表示k+1时刻的量测噪声方差。In formula (17)~(21), Indicates the optimal estimated value of the frequency difference state vector at time k+1 after adjustment, /> Represents the predicted value of the frequency difference state vector at time k+1, K(k+1) represents the Kalman filter gain matrix at time k+1, φ k+1 represents the correction function, and τ k+1 represents the measurement error at time k+1 The variable of size, e k+1 represents the measurement error at k+1 time, z(k+1) represents the measured value of the frequency difference vector at k+1 time, /> Indicates the predicted value of the measurement vector at time k+1, τ k+1 obeys the χ 2 distribution, when an outlier occurs, τ k+1 increases and φ k+1 ( ) decreases; C k+1 is the selected Threshold value or constant sequence, λ k+1 is The largest eigenvalue of the matrix, K k+1 represents the Kalman filter gain at time k+1, D k+1 represents the weight matrix that measures the measurement error at time k+1, and P(k+1,k) represents k+ The covariance prediction value at time 1, R(k+1) represents the measurement noise variance at time k+1.

综上所述,传统应用于低成本高精度频率标准的主要技术为GPS锁定二级频标(晶振)技术,为减少GPS锁定二级频标技术中GPS信号的随机误差和跳变野值以及晶振信号的非线性频率偏移对于频差信号的影响。本实施例提供了一种对GPS锁定晶振频率技术中的频差信号进行处理的基于差分进化算法的新息序列加权扩展卡尔曼滤波方法,本实施例方法主要包括四个部分:一是根据GPS的1PPS信号和晶振信号的误差特性建立两者的频差数学模型。通过对频差信号的数学建模为下一步建立频差信号的状态方程和量测方程提供基础;二是根据频差信号数学模型,对频差信号进行常规的扩展卡尔曼滤波处理,从而消除随机误差和晶振频率非线性漂移引起的误差,得到受跳变野值和系统噪声影响较大的滤波模型;三是引入差分进化算法对常规扩展卡尔曼滤波中过程噪声进行动态调整,从而减少其对于频差信号滤波结果的影响;四是整合新息序列加权技术到上述扩展卡尔曼滤波算法中。通过在频差向量的最优估计方程中引入修正函数,来减少GPS输出PPS信号中包含的跳变野值对于滤波结果的影响。而且,本实施例方法采用扩展卡尔曼滤波算法对GPS锁定晶振频率过程中的频差信号进行处理,在对GPS信号的随机误差进行处理的同时也考虑了晶振由于老化和温度影响而产生的非线性误差。本实施例方法将新息序列加权和差分进化算法引入扩展卡尔曼滤波过程,可以减少GPS信号中较大跳变野值以及系统噪声不断变化对于滤波结果的影响。To sum up, the main technology traditionally applied to low-cost and high-precision frequency standards is GPS locking secondary frequency standard (crystal oscillator) technology. The influence of the nonlinear frequency offset of the crystal oscillator signal on the frequency difference signal. This embodiment provides a method for processing the frequency difference signal in the GPS-locked crystal oscillator frequency technology based on the differential evolution algorithm based on the weighted extended Kalman filter of the innovation sequence. The method of this embodiment mainly includes four parts: one is based on GPS Based on the error characteristics of the 1PPS signal and the crystal oscillator signal, a mathematical model of the frequency difference between the two is established. The mathematical modeling of the frequency difference signal provides the basis for establishing the state equation and measurement equation of the frequency difference signal in the next step; the second is to perform conventional extended Kalman filter processing on the frequency difference signal according to the mathematical model of the frequency difference signal, thereby eliminating The random error and the error caused by the non-linear drift of the crystal frequency obtain a filtering model that is greatly affected by the jump outliers and system noise; the third is to introduce a differential evolution algorithm to dynamically adjust the process noise in the conventional extended Kalman filter, thereby reducing its The impact on the filtering results of the frequency difference signal; the fourth is to integrate the innovation sequence weighting technology into the above-mentioned extended Kalman filtering algorithm. By introducing a correction function into the optimal estimation equation of the frequency difference vector, the influence of the jump wild value included in the GPS output PPS signal on the filtering result is reduced. Moreover, the method of this embodiment adopts the extended Kalman filter algorithm to process the frequency difference signal in the process of GPS locking the frequency of the crystal oscillator. While processing the random error of the GPS signal, it also takes into account the abnormality caused by the aging and temperature of the crystal oscillator. linearity error. The method of this embodiment introduces the innovation sequence weighting and the differential evolution algorithm into the extended Kalman filtering process, which can reduce the influence of large jump outliers in the GPS signal and continuous changes of system noise on the filtering results.

此外,本实施例还提供一种利用GPS信号驯服晶振频率的系统,包括:In addition, this embodiment also provides a system for using GPS signals to tame the frequency of the crystal oscillator, including:

频差模型生成程序单元,用于根据GPS秒信号、晶振信号的误差特性建立两者的频差数学模型;A frequency difference model generation program unit is used to set up both frequency difference mathematical models according to the error characteristics of the GPS second signal and the crystal oscillator signal;

常规滤波程序单元,用于根据频差数学模型对频差信号进行常规的扩展卡尔曼滤波处理,从而消除随机误差和晶振频率非线性漂移引起的误差、得到受跳变野值和系统噪声影响较大的滤波模型;The conventional filter program unit is used to perform conventional extended Kalman filter processing on the frequency difference signal according to the frequency difference mathematical model, thereby eliminating random errors and errors caused by non-linear drift of the crystal oscillator frequency, and obtaining a relatively low frequency value affected by jump outliers and system noise. Large filtering model;

噪声调整程序单元,用于引入差分进化算法对常规的扩展卡尔曼滤波处理中的过程噪声进行动态调整以减少其对于频差信号滤波结果的影响;The noise adjustment program unit is used to introduce a differential evolution algorithm to dynamically adjust the process noise in the conventional extended Kalman filtering process to reduce its influence on the frequency difference signal filtering result;

滤波整合程序单元,用于整合新息序列加权到完成过程噪声进行动态调整后的扩展卡尔曼滤波处理中。The filter integration program unit is used to integrate the weight of the innovation sequence into the extended Kalman filter processing after the process noise is dynamically adjusted.

此外,本实施例还提供一种利用GPS信号驯服晶振频率的系统,包括计算机设备,该计算机设备被编程或配置以执行前述利用GPS信号驯服晶振频率的方法的步骤。In addition, this embodiment also provides a system for taming the frequency of the crystal oscillator by using GPS signals, including a computer device programmed or configured to execute the steps of the method for taming the frequency of the crystal oscillator by using GPS signals.

此外,本实施例还提供一种利用GPS信号驯服晶振频率的系统,包括计算机设备,该计算机设备的存储器上存储有被编程或配置以执行前述利用GPS信号驯服晶振频率的方法的计算机程序。In addition, this embodiment also provides a system for taming the frequency of the crystal oscillator using GPS signals, including a computer device, and a computer program programmed or configured to execute the aforementioned method for taming the frequency of the crystal oscillator using GPS signals is stored in the memory of the computer device.

此外,本实施例还提供一种带有GPS的智能终端,包括GPS模块、微处理器和存储器,该微处理器被编程或配置以执行前述利用GPS信号驯服晶振频率的方法的步骤,或该存储器上存储有被编程或配置以执行前述利用GPS信号驯服晶振频率的方法的计算机程序。该智能终端可以为智能手机、平板电脑或者其他类型的终端设备。In addition, this embodiment also provides an intelligent terminal with GPS, including a GPS module, a microprocessor and a memory, the microprocessor is programmed or configured to perform the steps of the aforementioned method of using GPS signals to tame the frequency of the crystal oscillator, or the A computer program programmed or configured to execute the aforementioned method of taming the frequency of the crystal oscillator using GPS signals is stored on the memory. The smart terminal may be a smart phone, a tablet computer or other types of terminal devices.

此外,本实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有被编程或配置以执行前述利用GPS信号驯服晶振频率的方法的计算机程序。In addition, this embodiment also provides a computer-readable storage medium, on which a computer program programmed or configured to execute the aforementioned method for taming the frequency of the crystal oscillator by using a GPS signal is stored.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. The present application refers to the flowcharts of the methods, devices (systems), and computer program products according to the embodiments of the present application and/or the instructions executed by the processor are used to implement one or more procedures in the flowchart and/or one of the block diagrams means for the function specified in the box or boxes. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram. These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

以上所述仅是本发明的优选实施方式,本发明的保护范围并不仅局限于上述实施例,凡属于本发明思路下的技术方案均属于本发明的保护范围。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理前提下的若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above descriptions are only preferred implementations of the present invention, and the scope of protection of the present invention is not limited to the above examples, and all technical solutions that fall under the idea of the present invention belong to the scope of protection of the present invention. It should be pointed out that for those skilled in the art, some improvements and modifications without departing from the principles of the present invention should also be regarded as the protection scope of the present invention.

Claims (8)

1.一种利用GPS信号驯服晶振频率的方法,其特征在于,该方法的步骤包括:1. a method utilizing GPS signal to tame crystal oscillator frequency, is characterized in that, the step of this method comprises: 1)根据GPS秒信号、晶振信号的误差特性建立两者的频差数学模型;1) According to the error characteristics of the GPS second signal and the crystal signal, the mathematical model of the frequency difference between the two is established; 2)根据频差数学模型对频差信号进行常规的扩展卡尔曼滤波处理,从而消除随机误差和晶振频率非线性漂移引起的误差;所述根据频差数学模型对频差信号进行常规的扩展卡尔曼滤波处理的步骤包括:2) Carry out conventional extended Kalman filter processing to the frequency difference signal according to the frequency difference mathematical model, thereby eliminating the error caused by the random error and the non-linear drift of the crystal oscillator frequency; The steps of Mann filter processing include: 2.1)建立频差的状态方程和观测方程的函数表达式如式(4)所示;2.1) The functional expressions of the state equation and the observation equation of the frequency difference are established as shown in formula (4); 上式中,x(k+1)表示k+1时刻的频差状态向量,x(k)表示k时刻的频差状态向量,f和h分别表示状态函数和量测函数,z(k+1)表示k+1时刻的量测值;ω(k)表示k时刻的过程噪声向量,其协方差矩阵为Q;γ(k)表示k时刻的量测噪声向量,其协方差矩阵为R;In the above formula, x(k+1) represents the frequency difference state vector at time k+1, x(k) represents the frequency difference state vector at time k, f and h represent the state function and measurement function respectively, z(k+ 1) represents the measurement value at time k+1; ω(k) represents the process noise vector at time k, and its covariance matrix is Q; γ(k) represents the measurement noise vector at time k, and its covariance matrix is R ; 2.2)令k时刻到k+1时刻的状态转移矩阵F(k+1,k)、k时刻的观测矩阵H(k)的函数表达式如式(5)所示;2.2) Let the functional expressions of the state transition matrix F(k+1,k) from k time to k+1 time and the observation matrix H(k) at k time be shown in formula (5); 上式中,f表示状态函数,表示k时刻频差状态向量的估计,h表示量测函数,x(k)表示k时刻的频差状态向量;In the above formula, f represents the state function, Represents the estimation of the frequency difference state vector at time k, h represents the measurement function, and x(k) represents the frequency difference state vector at time k; 2.3)建立常规扩展卡尔曼滤波模型的预测方程如式(6)~(8)所示、更新方程如式(9)~(10)所示,其中过程噪声如式(11)所示,过程噪声方差如式(12)所示;2.3) The prediction equations for establishing the conventional extended Kalman filter model are shown in equations (6) to (8), the update equations are shown in equations (9) to (10), and the process noise is shown in equation (11). The noise variance is shown in formula (12); 式(6)中,表示基于k时刻预测值的k+1时刻频差状态向量预测值,f表示状态函数,/>表示k时刻频差状态向量的最优估计值;In formula (6), Represents the predicted value of the frequency difference state vector at time k+1 based on the predicted value at time k, f represents the state function, /> Represents the optimal estimated value of the frequency difference state vector at time k; p(k+1,k)=F(k+1,k)p(k,k)FT(k+1,k)+Q(k) (7)p(k+1,k)=F(k+1,k)p(k,k)F T (k+1,k)+Q(k) (7) 式(7)中,p(k+1,k)表示k+1时刻的协方差向量预测值,F(k+1,k)表示k时刻到k+1时刻的状态转移矩阵,p(k,k)表示k时刻的协方差向量预测值,FT(k+1,k)表示k时刻到k+1时刻的状态转移矩阵的转置,Q(k)表示k时刻的过程噪声方差;In formula (7), p(k+1,k) represents the predicted value of the covariance vector at time k+1, F(k+1,k) represents the state transition matrix from time k to time k+1, p(k , k) represents the predicted value of the covariance vector at time k, F T (k+1,k) represents the transposition of the state transition matrix from time k to time k+1, Q(k) represents the process noise variance at time k; K(k+1)=p(k+1,k)HT(k+1)[H(k+1)p(k+1,k)HT(k+1)+R(k+1)]-1 (8)K(k+1)=p(k+1,k)H T (k+1)[H(k+1)p(k+1,k)H T (k+1)+R(k+1 )] -1 (8) 式(8)中,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,p(k+1,k)表示k+1时刻的协方差向量预测值,HT(k+1)表示k+1时刻的观测矩阵H(k+1)的转置,p(k+1,k)表示k+1时刻的协方差向量预测值,R(k+1)表示k+1时刻的观测噪声方差向量;In formula (8), K(k+1) represents the Kalman filter gain matrix at time k+1, p(k+1,k) represents the predicted value of the covariance vector at time k+1, H T (k+1) Represents the transposition of the observation matrix H(k+1) at time k+1, p(k+1,k) represents the predicted value of the covariance vector at time k+1, R(k+1) represents the predicted value of the covariance vector at time k+1 Observation noise variance vector; 式(9)中,表示k+1时刻频差状态向量的最优估计值,/>表示k+1时刻频差状态向量的预测值,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,z(k+1)表示k+1时刻的量测值,/>表示由k+1时刻频差状态向量预测值/>得到的k+1时刻量测向量预测值;In formula (9), Indicates the optimal estimated value of the frequency difference state vector at time k+1, /> Represents the predicted value of the frequency difference state vector at time k+1, K(k+1) represents the Kalman filter gain matrix at time k+1, z(k+1) represents the measured value at time k+1, /> Indicates the predicted value of the frequency difference state vector at time k+1 /> The obtained k+1 time measurement vector prediction value; p(k+1)=[I-K(k+1)H(k+1)]p(k+1,k) (10)p(k+1)=[I-K(k+1)H(k+1)]p(k+1,k) (10) 式(10)中,p(k+1)表示k+1时刻更新的协方差向量估计值,I表示维数与K(k+1)H(k+1)相同的单位矩阵,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,H(k+1)表示k+1时刻的观测矩阵,p(k+1,k)表示k+1时刻的协方差向量预测值;In formula (10), p(k+1) represents the covariance vector estimated value updated at time k+1, I represents the identity matrix with the same dimension as K(k+1)H(k+1), and K(k +1) represents the Kalman filter gain matrix at time k+1, H(k+1) represents the observation matrix at time k+1, and p(k+1,k) represents the predicted value of the covariance vector at time k+1; 式(11)中,ω(k+1)表示k+1时刻的过程噪声,表示k+1时刻频差状态向量的最优估计值,z(k+1)表示k+1时刻的量测值;In formula (11), ω(k+1) represents the process noise at time k+1, Represents the optimal estimated value of the frequency difference state vector at time k+1, and z(k+1) represents the measured value at time k+1; Qk+1=var(ω(k+1)) (12)Q k+1 = var(ω(k+1)) (12) 式(12)中,Qk+1表示k+1时刻的过程噪声方差,ω(k+1)表示k+1时刻的过程噪声,var表示求过程噪声方差的操作;In formula (12), Q k+1 represents the variance of process noise at time k+1, ω(k+1) represents the process noise at time k+1, and var represents the operation of calculating the variance of process noise; 3)引入差分进化算法对常规的扩展卡尔曼滤波处理中的过程噪声进行动态调整以减少其对于频差信号滤波结果的影响;3) Introduce the differential evolution algorithm to dynamically adjust the process noise in the conventional extended Kalman filtering process to reduce its influence on the filtering results of the frequency difference signal; 4)整合新息序列加权到完成过程噪声动态调整后的扩展卡尔曼滤波处理中以减少跳变野值对于频差信号滤波结果的影响;且整合新息序列加权到完成过程噪声进行动态调整后的扩展卡尔曼滤波处理中后,得到的扩展卡尔曼滤波处理的更新方程的函数表达式如下式(17)~(21)所示;4) Integrate the weighting of the innovation sequence into the extended Kalman filter processing after the dynamic adjustment of the process noise to reduce the influence of jump outliers on the filtering results of the frequency difference signal; and integrate the weighting of the innovation sequence into the dynamic adjustment of the process noise After the extended Kalman filter processing, the functional expression of the update equation of the extended Kalman filter processing obtained is as shown in formula (17)~(21); Dk+1=P(k+1,k)+Rk+1 (21)D k+1 =P(k+1,k)+R k+1 (21) 式(17)~(21)中,表示调整后的k+1时刻频差状态向量的最优估计值,表示k+1时刻频差状态向量预测值,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,φk+1表示修正函数,τk+1表示衡量k+1时刻量测误差大小的变量,ek+1表示k+1时刻的量测误差,z(k+1)表示k+1时刻频差向量的量测值,/>表示k+1时刻量测向量的预测值,τk+1服从χ2分布,当出现野值时τk+1增大、φk+1(·)减小;Ck+1为选取的门限值或常数序列,λk+1矩阵的最大特征值,Kk+1表示k+1时刻的卡尔曼滤波增益,Dk+1表示k+1时刻衡量量测误差大小的权矩阵,P(k+1,k)表示k+1时刻的协方差预测值,Rk+1表示k+1时刻的量测噪声方差。In formula (17)~(21), Represents the optimal estimated value of the frequency difference state vector at time k+1 after adjustment, Represents the predicted value of the frequency difference state vector at time k+1, K(k+1) represents the Kalman filter gain matrix at time k+1, φ k+1 represents the correction function, and τ k+1 represents the measurement error at time k+1 The variable of size, e k+1 represents the measurement error at k+1 time, z(k+1) represents the measured value of the frequency difference vector at k+1 time, /> Indicates the predicted value of the measurement vector at time k+1, τ k+1 obeys the χ 2 distribution, when an outlier occurs, τ k+1 increases and φ k+1 ( ) decreases; C k+1 is the selected Threshold value or constant sequence, λ k+1 is The largest eigenvalue of the matrix, K k+1 represents the Kalman filter gain at time k+1, D k+1 represents the weight matrix that measures the measurement error at time k+1, and P(k+1,k) represents k+ The covariance prediction value at time 1, R k+1 represents the measurement noise variance at time k+1. 2.根据权利要求1所述的利用GPS信号驯服晶振频率的方法,其特征在于,步骤1)的详细步骤包括:2. the method utilizing GPS signal to tame crystal frequency according to claim 1, is characterized in that, the detailed steps of step 1) comprise: 1.1)获取GPS秒信号序列Y,GPS秒信号序列Y中的任意k时刻的GPS秒信号的世界统一时间UTC的函数表达式如式(1)所示;1.1) obtain the GPS second signal sequence Y, the functional expression of the universal time UTC of the GPS second signal at any k moment in the GPS second signal sequence Y as shown in formula (1); Yk=k-εk (1)Y k = k-ε k (1) 上式中,Yk表示GPS秒信号序列Y中的k时刻的GPS秒信号的世界统一时间UTC,εk为k时刻的GPS秒信号的误差,且满足ε~N(0,σ2);In the above formula, Y k represents the universal time UTC of the GPS second signal at time k in the GPS second signal sequence Y, ε k is the error of the GPS second signal at k time, and satisfies ε~N(0,σ 2 ); 获取晶振信号序列Y′,晶振信号序列Y′中的任意k时刻的晶振信号的世界统一时间UTC的函数表达式如式(2)所示;Obtain the crystal oscillator signal sequence Y ', the functional expression of the universal time UTC of the crystal oscillator signal at any k moment in the crystal oscillator signal sequence Y ' as shown in formula (2); Y′k=k+a+bk+ck2 (2)Y′ k =k+a+bk+ck 2 (2) 上式中,Y′k表示晶振信号序列Y′中的k时刻的晶振信号的世界统一时间UTC,a为初始相位误差,b为考虑频率偏差的误差系数,c为考虑频率线性漂移的误差系数;In the above formula, Y' k represents the universal time UTC of the crystal oscillator signal at time k in the crystal oscillator signal sequence Y', a is the initial phase error, b is the error coefficient considering the frequency deviation, and c is the error coefficient considering the frequency linear drift ; 1.2)根据GPS秒信号序列Y、晶振信号序列Y′做差得到频差序列,且频差序列中任意k时刻的频差信号的函数表达式如下式所示;1.2) According to the GPS second signal sequence Y, the crystal oscillator signal sequence Y', the difference is obtained to obtain the frequency difference sequence, and the functional expression of the frequency difference signal at any k moment in the frequency difference sequence is shown in the following formula; Xk=Y′k-Yk=a+bk+ck2k (3)X k =Y′ k -Y k =a+bk+ck 2k (3) 上式中,Xk表示频差序列中k时刻的频差信号。In the above formula, X k represents the frequency difference signal at time k in the frequency difference sequence. 3.根据权利要求1所述的利用GPS信号驯服晶振频率的方法,其特征在于,步骤3)中引入差分进化算法对常规的扩展卡尔曼滤波处理中的过程噪声进行动态调整时,通过差分进化算法生成任意k时刻的过程噪声方差的步骤包括:3. the method utilizing GPS signal to tame the crystal oscillator frequency according to claim 1, is characterized in that, in step 3) introduces differential evolution algorithm when the process noise in conventional Extended Kalman filter process is dynamically adjusted, by differential evolution The steps of the algorithm to generate the process noise variance at any time k include: 3.1)进行种群初始化,且函数表达式如下式(13)所示:3.1) Initialize the population, and the function expression is shown in the following formula (13): xi,k(0)=lk+rand(0,1)*(uk-lk) (13)x i,k (0)=l k +rand(0,1)*(u k -l k ) (13) 式(13)中,xi,k(0)表示种群中第0代的第i条“染色体”的第k个基因;rand(0,1)为0~1之间均匀分布的随机数;uk和lk为搜索的上界和下界,且uk和lk分别取过程噪声方差的最大值Qmax和最小值QminIn formula (13), x i,k (0) represents the kth gene of the i-th "chromosome" of the 0th generation in the population; rand(0,1) is a random number uniformly distributed between 0 and 1; u k and l k are the upper bound and lower bound of the search, and u k and l k respectively take the maximum value Q max and the minimum value Q min of the process noise variance; 3.2)针对种群进行变异操作,且变异操作的函数表达式如下式(14)所示:3.2) The mutation operation is performed on the population, and the function expression of the mutation operation is shown in the following formula (14): Xi(g+1)=xr1(g)+F*[xr2(g)-xr3(g)] (14)X i (g+1)=x r1 (g)+F*[x r2 (g)-x r3 (g)] (14) 式(14)中,Xi(g+1)为得到的g+1代变异个体;F为压缩比例因子,取值范围0~1;xr1(g)、xr2(g)和xr3(g)为3个父代;In formula (14), Xi (g+1) is the obtained g+1 generation mutant individual; F is the compression scale factor, the value range is 0~1; x r1 (g), x r2 (g) and x r3 (g) being 3 parents; 3.3)针对种群进行交叉操作以保留较优良的变量,且交叉操作采用二项交叉方式,其函数表达式如下式(15)所示:3.3) Perform a crossover operation on the population to retain better variables, and the crossover operation adopts the binomial crossover method, and its function expression is shown in the following formula (15): 式(15)中,yi,j(g+1)表示当前个体对应的交叉操作结果,Xi,j(g+1)表示变异个体对应的分量,xi,j(g)表示当前个体对应的分量,r为每个变量生成的一个0~1之间均匀分布的随机数;cr为变量的交叉概率;rnd为1~d之间均匀分布的整数,如果r<cr则接受变异个体对应的分量Xi,j(g+1),否则保留当前个体对应的分量xi,j(g);In formula (15), y i,j (g+1) represents the crossover operation result corresponding to the current individual, Xi ,j (g+1) represents the component corresponding to the mutant individual, and xi ,j (g) represents the current individual The corresponding component, r is a random number uniformly distributed between 0 and 1 generated by each variable; cr is the crossover probability of the variable; rnd is an integer uniformly distributed between 1 and d, if r<cr, the mutant individual is accepted The corresponding component X i,j (g+1), otherwise keep the component x i,j (g) corresponding to the current individual; 3.4)针对交叉操作得到的结果,采用如下式(16)所示贪婪选择的方式选择最优解并作为k时刻的过程噪声方差;3.4) For the results obtained by the crossover operation, the optimal solution is selected as the process noise variance at time k by using the greedy selection method shown in the following formula (16); 式(16)中,xi(g+1)为选择结果,yi(g+1)表示交叉操作结果对应的个体,xi(g)表示当前个体,f[yi(g+1)]表示个体yi(g+1)对应的种群适应度值,f[xi(g)]表示个体xi(g)对应的种群适应度值。In formula (16), x i (g+1) is the selection result, y i (g+1) represents the individual corresponding to the crossover operation result, xi (g) represents the current individual, f[y i (g+1) ] represents the population fitness value corresponding to individual y i (g+1), and f[ xi (g)] represents the population fitness value corresponding to individual xi (g). 4.一种利用GPS信号驯服晶振频率的系统,其特征在于包括:4. A system utilizing GPS signals to tame the crystal oscillator frequency, characterized in that it comprises: 频差模型生成程序单元,用于根据GPS秒信号、晶振信号的误差特性建立两者的频差数学模型;A frequency difference model generation program unit is used to set up both frequency difference mathematical models according to the error characteristics of the GPS second signal and the crystal oscillator signal; 常规滤波程序单元,用于根据频差数学模型对频差信号进行常规的扩展卡尔曼滤波处理,从而消除随机误差和晶振频率非线性漂移引起的误差;所述根据频差数学模型对频差信号进行常规的扩展卡尔曼滤波处理的步骤包括:The conventional filter program unit is used to perform conventional extended Kalman filter processing on the frequency difference signal according to the frequency difference mathematical model, thereby eliminating random errors and errors caused by the non-linear drift of the crystal oscillator frequency; the frequency difference signal is processed according to the frequency difference mathematical model The steps for conventional extended Kalman filter processing include: 2.1)建立频差的状态方程和观测方程的函数表达式如式(4)所示;2.1) The functional expressions of the state equation and the observation equation of the frequency difference are established as shown in formula (4); 上式中,x(k+1)表示k+1时刻的频差状态向量,x(k)表示k时刻的频差状态向量,f和h分别表示状态函数和量测函数,z(k+1)表示k+1时刻的量测值;ω(k)表示k时刻的过程噪声向量,其协方差矩阵为Q;γ(k)表示k时刻的量测噪声向量,其协方差矩阵为R;In the above formula, x(k+1) represents the frequency difference state vector at time k+1, x(k) represents the frequency difference state vector at time k, f and h represent the state function and measurement function respectively, z(k+ 1) represents the measurement value at time k+1; ω(k) represents the process noise vector at time k, and its covariance matrix is Q; γ(k) represents the measurement noise vector at time k, and its covariance matrix is R ; 2.2)令k时刻到k+1时刻的状态转移矩阵F(k+1,k)、k时刻的观测矩阵H(k)的函数表达式如式(5)所示;2.2) Let the functional expressions of the state transition matrix F(k+1,k) from k time to k+1 time and the observation matrix H(k) at k time be shown in formula (5); 上式中,f表示状态函数,表示k时刻频差状态向量的估计,h表示量测函数,x(k)表示k时刻的频差状态向量;In the above formula, f represents the state function, Represents the estimation of the frequency difference state vector at time k, h represents the measurement function, and x(k) represents the frequency difference state vector at time k; 2.3)建立常规扩展卡尔曼滤波模型的预测方程如式(6)~(8)所示、更新方程如式(9)~(10)所示,其中过程噪声如式(11)所示,过程噪声方差如式(12)所示;2.3) The prediction equations for establishing the conventional extended Kalman filter model are shown in equations (6) to (8), the update equations are shown in equations (9) to (10), and the process noise is shown in equation (11). The noise variance is shown in formula (12); 式(6)中,表示基于k时刻预测值的k+1时刻频差状态向量预测值,f表示状态函数,/>表示k时刻频差状态向量的最优估计值;In formula (6), Represents the predicted value of the frequency difference state vector at time k+1 based on the predicted value at time k, f represents the state function, /> Represents the optimal estimated value of the frequency difference state vector at time k; p(k+1,k)=F(k+1,k)p(k,k)FT(k+1,k)+Q(k) (7)p(k+1,k)=F(k+1,k)p(k,k)F T (k+1,k)+Q(k) (7) 式(7)中,p(k+1,k)表示k+1时刻的协方差向量预测值,F(k+1,k)表示k时刻到k+1时刻的状态转移矩阵,p(k,k)表示k时刻的协方差向量预测值,FT(k+1,k)表示k时刻到k+1时刻的状态转移矩阵的转置,Q(k)表示k时刻的过程噪声方差;In formula (7), p(k+1,k) represents the predicted value of the covariance vector at time k+1, F(k+1,k) represents the state transition matrix from time k to time k+1, p(k , k) represents the predicted value of the covariance vector at time k, F T (k+1,k) represents the transposition of the state transition matrix from time k to time k+1, Q(k) represents the process noise variance at time k; K(k+1)=p(k+1,k)HT(k+1)[H(k+1)p(k+1,k)HT(k+1)+R(k+1)]-1 (8)K(k+1)=p(k+1,k)H T (k+1)[H(k+1)p(k+1,k)H T (k+1)+R(k+1 )] -1 (8) 式(8)中,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,p(k+1,k)表示k+1时刻的协方差向量预测值,HT(k+1)表示k+1时刻的观测矩阵H(k+1)的转置,p(k+1,k)表示k+1时刻的协方差向量预测值,R(k+1)表示k+1时刻的观测噪声方差向量;In formula (8), K(k+1) represents the Kalman filter gain matrix at time k+1, p(k+1,k) represents the predicted value of the covariance vector at time k+1, H T (k+1) Represents the transposition of the observation matrix H(k+1) at time k+1, p(k+1,k) represents the predicted value of the covariance vector at time k+1, R(k+1) represents the predicted value of the covariance vector at time k+1 Observation noise variance vector; 式(9)中,表示k+1时刻频差状态向量的最优估计值,/>表示k+1时刻频差状态向量的预测值,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,z(k+1)表示k+1时刻的量测值,/>表示由k+1时刻频差状态向量预测值/>得到的k+1时刻量测向量预测值;In formula (9), Indicates the optimal estimated value of the frequency difference state vector at time k+1, /> Represents the predicted value of the frequency difference state vector at time k+1, K(k+1) represents the Kalman filter gain matrix at time k+1, z(k+1) represents the measured value at time k+1, /> Indicates the predicted value of the frequency difference state vector at time k+1 /> The obtained k+1 time measurement vector prediction value; p(k+1)=[I-K(k+1)H(k+1)]p(k+1,k) (10)p(k+1)=[I-K(k+1)H(k+1)]p(k+1,k) (10) 式(10)中,p(k+1)表示k+1时刻更新的协方差向量估计值,I表示维数与K(k+1)H(k+1)相同的单位矩阵,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,H(k+1)表示k+1时刻的观测矩阵,p(k+1,k)表示k+1时刻的协方差向量预测值;In formula (10), p(k+1) represents the covariance vector estimated value updated at time k+1, I represents the identity matrix with the same dimension as K(k+1)H(k+1), and K(k +1) represents the Kalman filter gain matrix at time k+1, H(k+1) represents the observation matrix at time k+1, and p(k+1,k) represents the predicted value of the covariance vector at time k+1; 式(11)中,ω(k+1)表示k+1时刻的过程噪声,表示k+1时刻频差状态向量的最优估计值,z(k+1)表示k+1时刻的量测值;In formula (11), ω(k+1) represents the process noise at time k+1, Represents the optimal estimated value of the frequency difference state vector at time k+1, and z(k+1) represents the measured value at time k+1; Qk+1=var(ω(k+1)) (12)Q k+1 = var(ω(k+1)) (12) 式(12)中,Qk+1表示k+1时刻的过程噪声方差,ω(k+1)表示k+1时刻的过程噪声,var表示求过程噪声方差的操作;In formula (12), Q k+1 represents the variance of process noise at time k+1, ω(k+1) represents the process noise at time k+1, and var represents the operation of calculating the variance of process noise; 噪声调整程序单元,用于引入差分进化算法对常规的扩展卡尔曼滤波处理中的过程噪声进行动态调整以减少其对于频差信号滤波结果的影响;The noise adjustment program unit is used to introduce a differential evolution algorithm to dynamically adjust the process noise in the conventional extended Kalman filtering process to reduce its influence on the frequency difference signal filtering result; 滤波整合程序单元,用于整合新息序列加权到完成过程噪声动态调整后的扩展卡尔曼滤波处理中,以减少跳变野值对于频差信号滤波结果的影响;且整合新息序列加权到完成过程噪声进行动态调整后的扩展卡尔曼滤波处理中后,得到的扩展卡尔曼滤波处理的更新方程的函数表达式如下式(17)~(21)所示;The filter integration program unit is used to integrate the weighting of the innovation sequence into the extended Kalman filter processing after the dynamic adjustment of the process noise, so as to reduce the influence of the jump wild value on the filtering result of the frequency difference signal; and integrate the weighting of the innovation sequence into the completion After the process noise is dynamically adjusted in the extended Kalman filtering process, the functional expression of the update equation of the extended Kalman filtering process obtained is shown in the following formulas (17)-(21); Dk+1=P(k+1,k)+Rk+1 (21)D k+1 =P(k+1,k)+R k+1 (21) 式(17)~(21)中,表示调整后的k+1时刻频差状态向量的最优估计值,表示k+1时刻频差状态向量预测值,K(k+1)表示k+1时刻卡尔曼滤波增益矩阵,φk+1表示修正函数,τk+1表示衡量k+1时刻量测误差大小的变量,ek+1表示k+1时刻的量测误差,z(k+1)表示k+1时刻频差向量的量测值,/>表示k+1时刻量测向量的预测值,τk+1服从χ2分布,当出现野值时τk+1增大、φk+1(·)减小;Ck+1为选取的门限值或常数序列,λk+1矩阵的最大特征值,Kk+1表示k+1时刻的卡尔曼滤波增益,Dk+1表示k+1时刻衡量量测误差大小的权矩阵,P(k+1,k)表示k+1时刻的协方差预测值,Rk+1表示k+1时刻的量测噪声方差。In formula (17)~(21), Represents the optimal estimated value of the frequency difference state vector at time k+1 after adjustment, Represents the predicted value of the frequency difference state vector at time k+1, K(k+1) represents the Kalman filter gain matrix at time k+1, φ k+1 represents the correction function, and τ k+1 represents the measurement error at time k+1 The variable of size, e k+1 represents the measurement error at k+1 time, z(k+1) represents the measured value of the frequency difference vector at k+1 time, /> Indicates the predicted value of the measurement vector at time k+1, τ k+1 obeys the χ 2 distribution, when an outlier occurs, τ k+1 increases and φ k+1 ( ) decreases; C k+1 is the selected Threshold value or constant sequence, λ k+1 is The largest eigenvalue of the matrix, K k+1 represents the Kalman filter gain at time k+1, D k+1 represents the weight matrix that measures the measurement error at time k+1, and P(k+1,k) represents k+ The covariance prediction value at time 1, R k+1 represents the measurement noise variance at time k+1. 5.一种利用GPS信号驯服晶振频率的系统,包括计算机设备,其特征在于,该计算机设备被编程或配置以执行权利要求1~3中任意一项所述利用GPS信号驯服晶振频率的方法的步骤。5. A system utilizing GPS signals to tame the frequency of crystal oscillators, comprising computer equipment, characterized in that the computer equipment is programmed or configured to perform the method for taming crystal oscillator frequencies using GPS signals according to any one of claims 1 to 3 step. 6.一种利用GPS信号驯服晶振频率的系统,包括计算机设备,其特征在于,该计算机设备的存储器上存储有被编程或配置以执行权利要求1~3中任意一项所述利用GPS信号驯服晶振频率的方法的计算机程序。6. A system for using GPS signals to tame the frequency of the crystal oscillator, comprising computer equipment, characterized in that the memory of the computer equipment is programmed or configured to perform taming using GPS signals according to any one of claims 1 to 3. A computer program for methods of crystal oscillator frequencies. 7.一种带有GPS的智能终端,包括GPS模块、微处理器和存储器,其特征在于,该微处理器被编程或配置以执行权利要求1~3中任意一项所述利用GPS信号驯服晶振频率的方法的步骤,或该存储器上存储有被编程或配置以执行权利要求1~3中任意一项所述利用GPS信号驯服晶振频率的方法的计算机程序。7. An intelligent terminal with GPS, comprising a GPS module, a microprocessor and a memory, characterized in that the microprocessor is programmed or configured to perform any one of claims 1 to 3 using GPS signals to tame The steps of the method for crystal oscillator frequency, or the computer program programmed or configured to execute the method for taming the crystal oscillator frequency by using GPS signals in any one of claims 1-3 is stored on the memory. 8.一种计算机可读存储介质,其特征在于,该计算机可读存储介质上存储有被编程或配置以执行权利要求1~3中任意一项所述利用GPS信号驯服晶振频率的方法的计算机程序。8. A computer-readable storage medium, characterized in that, the computer-readable storage medium is stored with a computer programmed or configured to perform the method for using GPS signals to tame the frequency of the crystal oscillator according to any one of claims 1 to 3 program.
CN202010523171.8A 2020-06-10 2020-06-10 Method, system and medium for taming crystal oscillator frequency by using GPS signal Active CN111711446B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010523171.8A CN111711446B (en) 2020-06-10 2020-06-10 Method, system and medium for taming crystal oscillator frequency by using GPS signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010523171.8A CN111711446B (en) 2020-06-10 2020-06-10 Method, system and medium for taming crystal oscillator frequency by using GPS signal

Publications (2)

Publication Number Publication Date
CN111711446A CN111711446A (en) 2020-09-25
CN111711446B true CN111711446B (en) 2023-08-15

Family

ID=72539968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010523171.8A Active CN111711446B (en) 2020-06-10 2020-06-10 Method, system and medium for taming crystal oscillator frequency by using GPS signal

Country Status (1)

Country Link
CN (1) CN111711446B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114362140B (en) * 2021-12-01 2023-11-21 国网内蒙古东部电力有限公司通辽供电公司 High-precision time keeping method and device suitable for power distribution network measuring device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106026919A (en) * 2016-05-16 2016-10-12 南京理工大学 Time-keeping compensation method for high-precision crystal oscillator

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7317361B2 (en) * 2003-07-23 2008-01-08 The Johns Hopkins University Ensemble oscillator and related methods

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106026919A (en) * 2016-05-16 2016-10-12 南京理工大学 Time-keeping compensation method for high-precision crystal oscillator

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宁玉磊.GPS信号校准晶振信号频率源误差在线修正方法.《中国测试》.2016,第15-19页. *

Also Published As

Publication number Publication date
CN111711446A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN111650617B (en) Crystal oscillator frequency taming method, system and medium based on innovation weighted adaptive insensitive Kalman filter
Hou et al. Gray-box parsimonious subspace identification of Hammerstein-type systems
Judd et al. Asymptotic methods for aggregate growth models
Boyle et al. Extrapolating gravitational-wave data from numerical simulations
Weiss et al. AT2, a new time scale algorithm: AT1 plus frequency variance
CN104485948B (en) The control method and time standard device of a kind of time standard equipment
CN109508510B (en) A Parameter Estimation Algorithm for Rubidium Atomic Clock Based on Improved Kalman Filter
EP4257990A1 (en) Method and device for calibrating frequency of superconducting qubit, and readable storage medium
CN110554597B (en) Hydrogen cesium time scale fusion method based on Vondark-Cepek filtering
CN111711446B (en) Method, system and medium for taming crystal oscillator frequency by using GPS signal
Hesthaven et al. Adaptive symplectic model order reduction of parametric particle-based Vlasov–Poisson equation
CN110309593B (en) Device and method for predicting aging rate of constant-temperature crystal oscillator
Islam Interplay between numerical relativity and black hole perturbation theory in the intermediate-mass-ratio regime
CN112511056A (en) Robust generator dynamic state estimation method based on phasor measurement
US11035902B2 (en) Advanced fuel gauge
Todling et al. The relationship between two methods for estimating uncertainties in data assimilation
CN112505386A (en) Method and system for detecting current value of direct current charging pile
JP2566000B2 (en) G-value determination method using manganese marker
Ahlborn et al. Improved asteroseismic inversions for red-giant surface rotation rates
AU2023237108A1 (en) Method and apparatus for adjusting qubit frequency, electronic device and readable storage medium
Paciello et al. A universal metadata model for metrological complex quantities
Arinushkina et al. Improvement of the frequency standard on cesium atoms used in spacecraft for remote sensing of the Earth
CN111950123B (en) Gyroscope error coefficient curve fitting prediction method and system
CN114548417A (en) Machine learning model training method and system based on data correction
CN118939911B (en) Calibration method and system for batching precision of batching equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant