CN114362140B - High-precision time keeping method and device suitable for power distribution network measuring device - Google Patents
High-precision time keeping method and device suitable for power distribution network measuring device Download PDFInfo
- Publication number
- CN114362140B CN114362140B CN202111458593.2A CN202111458593A CN114362140B CN 114362140 B CN114362140 B CN 114362140B CN 202111458593 A CN202111458593 A CN 202111458593A CN 114362140 B CN114362140 B CN 114362140B
- Authority
- CN
- China
- Prior art keywords
- time
- frequency
- crystal oscillator
- standard
- formula
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000009826 distribution Methods 0.000 title claims abstract description 22
- 239000013078 crystal Substances 0.000 claims abstract description 64
- 230000008859 change Effects 0.000 claims abstract description 22
- 238000001914 filtration Methods 0.000 claims abstract description 20
- 239000011159 matrix material Substances 0.000 claims abstract description 19
- 238000005259 measurement Methods 0.000 claims abstract description 19
- 230000001360 synchronised effect Effects 0.000 claims abstract description 18
- 230000009466 transformation Effects 0.000 claims abstract description 15
- 230000003044 adaptive effect Effects 0.000 claims abstract description 8
- 238000013178 mathematical model Methods 0.000 claims abstract description 5
- 238000011156 evaluation Methods 0.000 claims abstract description 4
- 238000003860 storage Methods 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 4
- 238000004422 calculation algorithm Methods 0.000 description 16
- 230000008901 benefit Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 230000007613 environmental effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000010355 oscillation Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- NAWXUBYGYWOOIX-SFHVURJKSA-N (2s)-2-[[4-[2-(2,4-diaminoquinazolin-6-yl)ethyl]benzoyl]amino]-4-methylidenepentanedioic acid Chemical compound C1=CC2=NC(N)=NC(N)=C2C=C1CCC1=CC=C(C(=O)N[C@@H](CC(=C)C(O)=O)C(O)=O)C=C1 NAWXUBYGYWOOIX-SFHVURJKSA-N 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 230000036962 time dependent Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 230000017105 transposition Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Oscillators With Electromechanical Resonators (AREA)
- Electric Clocks (AREA)
Abstract
The invention discloses a high-precision time keeping method and a device suitable for a power distribution network measuring device, wherein the method comprises the following steps: establishing a mathematical model of a time linear discrete system to realize mathematical modeling on crystal oscillator time data; determining a noise level by utilizing wavelet transformation, and estimating a noise variance of a discrete system; on-line evaluation of variance matrix of measurement noise based on adaptive Kalman filtering of wavelet transformation; establishing a temperature transformation and frequency change curve, and substituting the temperature change curve into a frequency change curve formula to obtain a formula of frequency change along with time; establishing the relation between the crystal oscillator time and the standard time and between the crystal oscillator frequency and the standard frequency, and calculating the frequency values of the local clock and the standard time generated by the crystal oscillator; and fitting a deviation curve of temperature and time to the local clock and the standard clock of the crystal oscillator by using a least square method, wherein the deviation curve is applied to improving the precision of the synchronous clock of the system. The device comprises: a processor and a memory. The device improves the precision of the synchronous clock.
Description
Technical Field
The invention relates to the field of power systems, in particular to a high-precision time keeping method and device suitable for a power distribution network measuring device.
Background
The new energy is mainly renewable energy sources such as water energy, solar energy, wind energy and tidal energy, so the new energy is more beneficial to environmental protection than the traditional energy sources, but the new energy is unstable in power generation, if a large amount of distributed new energy sources are connected into a power distribution network and a large amount of power electronic devices are interposed into the power distribution network, great uncertainty is brought to the operation of the power distribution network, more detection devices are needed in the system with huge and complex energy consumption, the time is used as a reference of all parameters, the standard degree of the system can directly influence the stability and the safety of the whole power distribution network system, and a high-precision clock synchronization device has important significance to the operation of the power distribution network at present.
The algorithms commonly used for error correction at present are: the three methods of the Kalman filtering algorithm, the finite impulse response method and the digital phase-locked loop principle are respectively and briefly described as follows:
the kernel idea of the Kalman filtering algorithm is to calculate curves of observation information and prediction data by using five Kalman equations, so as to realize optimal estimation and optimization of system variables. The Kalman filtering algorithm has the advantages that future states can be predicted without knowing an object model, and the filtering effect is achieved, so that satellite time signals can be predicted.
The finite impulse response filter algorithm corresponds to a digital filter whose output is only current and past, in that the response that the digital filter produces to an input pulse signal will eventually tend to be independent of the past output. Compared with infinite impulse response filter and finite impulse response filter, the feedback circuit is not adopted, so that the circuit structure is simpler and the linearity characteristic is better.
The algorithm of error correction is to correct the hardware circuit by a phase-locked loop circuit, the principle of the phase-locked loop circuit is to generate signals with various frequencies by frequency division or frequency multiplication, and then the clock waveform generated by the phase-locked loop circuit is compared with the waveform of an external clock to be detected, so that the effect of phase synchronization is realized. The phase-locked loop circuit aims to generate an output signal and a signal to be detected to realize the function of waveform automatic tracking, so that the circuit also has a filtering effect, and meanwhile, the circuit can also realize the filtering of jitter in a clock synchronous signal.
Problems of the prior art:
(1) When the Kalman filtering algorithm is used as the algorithm of clock deviation, because the curve drift of time deviation has large uncertainty and has small correlation with the previous data, the Kalman filtering algorithm has non-ideal prediction effect on the variables under the condition of large time deviation;
(2) The phase-locked loop circuit can generate a high-precision clock, and meanwhile, the second signal generated by frequency division of the phase-locked loop circuit is compared with the second signal of the satellite synchronous clock, and the frequency division coefficient in the phase-locked loop circuit is corrected, so that the effect of phase tracking is achieved. However, since the second pulse signal generated by the lock loop circuit is discontinuous, it cannot be determined whether to shift left or right, and thus the time accuracy of the clock in this method cannot be satisfied.
Disclosure of Invention
The invention provides a high-precision time keeping method and a device suitable for a power distribution network measuring device, which can solve the problem that when a satellite signal is out of lock, as a crystal oscillator is influenced by working time and environmental factors in complex and unknown environments, the crystal oscillator oscillates for a long time to generate offset, and a clock offset curve of the crystal oscillator in a time keeping mode is fitted by constructing an accuracy offset model of the crystal oscillator, wherein the curve is favorable for a processor to compensate offset oscillation signals, so that the accuracy of a synchronous clock is improved, and is described in detail below:
in a first aspect, a high precision time keeping method suitable for a power distribution network measurement device, the method comprising the steps of:
establishing a mathematical model of a time linear discrete system to realize mathematical modeling on crystal oscillator time data;
determining a noise level by utilizing wavelet transformation, and estimating a noise variance of a discrete system;
on-line evaluation of variance matrix of measurement noise based on adaptive Kalman filtering of wavelet transformation;
establishing a temperature transformation and frequency change curve, and substituting the temperature change curve into a frequency change curve formula to obtain a formula of frequency change along with time;
establishing the relation between the crystal oscillator time and the standard time and between the crystal oscillator frequency and the standard frequency, and calculating the frequency values of the local clock and the standard time generated by the crystal oscillator; and fitting a deviation curve of temperature and time to the local clock and the standard clock of the crystal oscillator by using a least square method, wherein the deviation curve is applied to improving the precision of the synchronous clock of the system.
The relation between the crystal oscillator time and the standard time, and the relation between the crystal oscillator frequency and the standard frequency are established, and the frequency values of the local clock and the standard time generated by the crystal oscillator are calculated specifically as follows:
the difference calculation formula of the crystal oscillator time and the standard time is set as follows:
wherein f 0 Is the reference frequency;
the influence of temperature offset on frequency is brought into a formula of frequency drift to obtain a formula of the relation of the three:
integrating the formula of the frequency drift yields the formula of the frequency offset as follows:
from this, it can be known that there is a relation between the offset and time, and the polynomial form of the compensation curve is set by using the least square method:
R=At 3 +Bt 2 +Ct
the values of A, B and C are obtained by solving the inverse matrix of the matrix, and then the solving result is brought into parameters to obtain:
wherein R is 1 、R 2 、R 3 For three different measured values, t 1 、t 2 、t 3 Three different measurement instants.
The values of A, B and C are calculated, and the calculated values are brought into the frequency values of the local clock and the standard time generated by the crystal oscillator.
In a second aspect, a high precision time keeping apparatus for a power distribution network measurement apparatus, the apparatus comprising: a processor and a memory having stored therein program instructions that invoke the program instructions stored in the memory to cause an apparatus to perform the method steps of any of the first aspects.
In a third aspect, a computer readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method steps of any of the first aspects.
The technical scheme provided by the invention has the beneficial effects that:
1. any factors such as different environments, terrains and weather can cause problems in satellite signal receiving, and under the condition that the satellite signal is out of lock, the high-precision crystal oscillator clock offset algorithm designed by the invention can fit a crystal oscillator oscillation offset curve through a machine learning algorithm, so that the clock precision is improved, and the requirements of scientific research, equipment, production and the like on high-precision synchronous clocks are met;
2. the invention solves the problems that the time deviation is accumulated continuously and the precision of the synchronous clock system is reduced due to the fact that the crystal oscillator is used for a long time and has aging problems along with the environmental change;
3. the invention has an effective promoting effect on the design of the high-precision synchronous clock of the power distribution network, lays a synchronous clock foundation for the realization of a high-precision measurement system of the power equipment in a complex environment, and provides technical support for the wide application of the satellite synchronous clock in the power distribution network.
Drawings
FIG. 1 is a flow chart of a high precision time keeping method suitable for use in a power distribution network measurement device;
FIG. 2 is a flow chart of adaptive Kalman filtering based on wavelet transform;
FIG. 3 is a flow chart of least squares fitting based on temperature change effects and crystal oscillator self-offset;
fig. 4 is a schematic structural diagram of a high-precision time keeping device suitable for a power distribution network measurement device.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in further detail below.
The embodiment of the invention is a dual-mode synchronous clock time keeping algorithm of the power distribution network measuring device based on a GPS satellite signal system and a Beidou satellite signal system, and the synchronous clock device is applied to a plurality of important projects and can improve the stability of the system. Most of the prior schemes adopt a method of combining a satellite clock and a crystal oscillator clock, and the method combines the advantages of the satellite clock and the crystal oscillator clock, thereby improving the clock precision and the accuracy of the system.
The satellite clock and the crystal oscillator clock double-clock method adopted in the embodiment of the invention have the advantages and disadvantages of the two methods, the random error of the crystal oscillator clock is small, but the crystal oscillator clock can cause larger deviation when being used for a long time, the satellite clock has large random difference, but the time deviation is not accumulated, the two methods are combined, and the advantages of the two methods are combined, and the least square crystal oscillator clock offset curve fitting based on wavelet analysis and self-adaptive Kalman filtering is applied to the method, so that the time precision of the satellite signal in the unlocking state can be further improved.
When the embodiment of the invention processes the received satellite signals, noise reduction processing is needed due to noise existing in the signals. In the embodiment of the invention, the details of the signals are statistically analyzed by adopting a wavelet transformation analysis algorithm, so that layering of the signals is realized, the signals are transformed into smooth signals and detail signals, and the layered signals are subjected to self-adaptive Kalman filtering processing, so that denoising of the received satellite signals is realized; the time signal after noise elimination has higher stability and accuracy, and is beneficial to better training the synchronous clock offset model.
The crystal oscillator suffers from time and environmental factors, and the accuracy of the crystal oscillator is reduced, and the crystal oscillator needs to be corrected through the denoised satellite time signals. The embodiment of the invention establishes the relation between the crystal oscillator time and the standard time, and between the crystal oscillator frequency and the standard frequency, establishes the model of the offset and the time, utilizes a least square method to fit the satellite signals after temperature and denoising, and utilizes the deviation curve of the local clock and the standard clock of the crystal oscillator to fit the crystal oscillator clock offset model.
The crystal oscillator clock offset model is applied to a time keeping algorithm of a power distribution network detection device, so that the problems of large randomness, error accumulation and the like of the synchronous clock precision in the traditional method can be solved, the time precision of the system can be improved, the running stability of the power system is further improved, and meanwhile, the algorithm can be widely applied to industries such as traffic, communication and energy sources and the like, and the time precision of the system is improved.
Example 1
The following describes a high-precision time keeping method suitable for a power distribution network measuring device according to the embodiments of the present invention with reference to the accompanying drawings and specific embodiments, and the detailed description is as follows:
referring to fig. 1 to 3, the embodiment of the invention is modeling based on dual-mode satellite signal data received by equipment, firstly, processing received time data by adopting adaptive kalman filtering based on wavelet analysis, increasing the utilization rate of the data, modeling the preprocessed data by adopting a least square method, and realizing the prediction of crystal oscillator clock offset, wherein the method comprises the following specific steps:
step 101: establishing a mathematical model of a time linear discrete system;
Y i =θ i,i-1 Y i-1 +L i V i-1 ,i≥1
X i =H i Y i +W i (1)
wherein Y is i ∈R n×1 Is a state vector, θ i,i-1 ∈R n×n Is a state transition matrix; x is X i ∈R p×1 Is a measurement vector; h i And L i A measurement matrix and a system noise matrix of corresponding dimensions respectively; v (V) i-1 And W is i For measuring the coefficient of noise. Mathematical modeling is performed on the time data of the crystal oscillator using the above equation (1).
Step 102: determining a noise level using wavelet transform;
the algorithm of wavelet analysis can realize the statistical analysis of the details of the data, realize the layering of the data, transform the signals into smooth signals and detail signals, and estimate the noise variance of a discrete system by using the following formula:
wherein,counting the real-time noise variance of the signal; />Then the variance of the detail signal at the different layers; beta represents the weight of the variance of the detail signal of different layers, where d i For the historical measurement data, a represents a forgetting factor, gradual forgetting of the historical measurement data can be realized by adjusting the value of a, and the method has the advantage of improving the real-time performance of noise statistics, k represents the corresponding layer number of signals, i represents the moment i, and T is the transposition of a mathematical symbol representing matrix.
Step 103: adaptive Kalman filtering based on wavelet transformation;
compared with the common Kalman filtering, the adaptive Kalman filtering has more layers formed by wavelet decomposition, so that the measuring noise variance matrix can be evaluated on line, thereby realizing higher precision, and the specific formula is as follows:
wherein,is a state vector, θ i+1,i For state transition matrix>For the last historical state vector, P k+1/k For P i,i For S i For interference, also called process noise, gamma i+1 A is the difference between the historical state data and the weighted measurement value k For forgetting factor coefficients of different layers, +.>For i+1 layer real-time noise variance statistics, < >>Smooth and detail signals representing a K-layer porous wavelet transform, I i+1 For P i+1/i The prior covariance of the moment i is the intermediate calculation result of filtering, H i+1 For dimension measuring matrix>K is the corresponding layer number, and N can be selected according to the requirement.
Step 104: establishing a temperature transformation and frequency change curve;
let the temperature change curve be:
T=T 0 +at (4)
wherein T is 0 The reference temperature is the standard room temperature, a is the temperature change rate, and t is the temperature difference.
The formula for the frequency variation is shown below:
f=bT 2 +cT+d (5)
wherein f is frequency, b, c and d are frequency fitting curves and unknown parameters are set.
Substituting the temperature profile into the formula of the time-dependent frequency change available in equation (5):
f=b(T 0 +at) 2 +c(T 0 +at)+d (6)
step 105: establishing the relation between the crystal oscillation time and standard time and between the crystal oscillation frequency and standard frequency;
the difference calculation formula of the crystal oscillator time and the standard time is set as follows:
wherein f 0 Is the reference frequency.
The influence of temperature offset on frequency is brought into a formula of frequency drift, and a formula of the relation of the three can be obtained:
integrating the formula of the frequency shift can result in the formula of the frequency shift, as shown in the following formula:
therefore, the offset and time have three-order relation, a deviation formula with the highest order item not lower than the third order item is established by fitting the deviation by using a least square method, the offset can be compensated with higher precision, and a polynomial form of a compensation curve is set by using the least square method:
R=At 3 +Bt 2 +Ct (10)
the values of A, B and C are obtained by solving the inverse matrix of the matrix, and then the solving result is brought into parameters to obtain:
wherein R is 1 、R 2 、R 3 For three different measured values, t 1 、t 2 、t 3 Three different measurement instants.
The values of A, B and C are calculated, and the calculated values are brought into the formula (10), so that the frequency values of the local clock and the standard time generated by the crystal oscillator can be calculated. According to the method, a deviation curve of temperature and time to a local clock and a standard clock of the crystal oscillator is fitted by using a least square method, and the curve is applied to actual engineering, so that the accuracy of the synchronous clock of the system can be improved.
Example 2
A high precision time keeping apparatus for use in a power distribution network measurement apparatus, see fig. 4, the apparatus comprising: a processor 1 and a memory 2, the memory 2 having stored therein program instructions, the processor 1 calling the program instructions stored in the memory 2 to cause the apparatus to perform the following method steps in embodiment 1:
establishing a mathematical model of a time linear discrete system to realize mathematical modeling on crystal oscillator time data;
determining a noise level by utilizing wavelet transformation, and estimating a noise variance of a discrete system;
on-line evaluation of variance matrix of measurement noise based on adaptive Kalman filtering of wavelet transformation;
establishing a temperature transformation and frequency change curve, and substituting the temperature change curve into a frequency change curve formula to obtain a formula of frequency change along with time;
establishing the relation between the crystal oscillator time and the standard time and between the crystal oscillator frequency and the standard frequency, and calculating the frequency values of the local clock and the standard time generated by the crystal oscillator; and fitting a deviation curve of temperature and time to the local clock and the standard clock of the crystal oscillator by using a least square method, wherein the deviation curve is applied to improving the precision of the synchronous clock of the system.
The relation between the crystal oscillator time and the standard time, and the relation between the crystal oscillator frequency and the standard frequency are established, and the frequency values of the local clock and the standard time generated by the crystal oscillator are calculated specifically as follows:
the difference calculation formula of the crystal oscillator time and the standard time is set as follows:
wherein f 0 Is the reference frequency;
the influence of temperature offset on frequency is brought into a formula of frequency drift to obtain a formula of the relation of the three:
integrating the formula of the frequency drift yields the formula of the frequency offset as follows:
from this, it can be known that there is a relation between the offset and time, and the polynomial form of the compensation curve is set by using the least square method:
R=At 3 +Bt 2 +Ct
the values of A, B and C are obtained by solving the inverse matrix of the matrix, and then the solving result is brought into parameters to obtain:
wherein R is 1 、R 2 、R 3 For three different measured values, t 1 、t 2 、t 3 Three different measurement instants.
The values of A, B and C are calculated, and the calculated values are brought into the frequency values of the local clock and the standard time generated by the crystal oscillator.
It should be noted that, the device descriptions in the above embodiments correspond to the method descriptions in the embodiments, and the embodiments of the present invention are not described herein in detail.
The execution main bodies of the processor 1 and the memory 2 may be devices with computing functions, such as a computer, a singlechip, a microcontroller, etc., and in particular implementation, the execution main bodies are not limited, and are selected according to the needs in practical application.
Data signals are transmitted between the memory 2 and the processor 1 via the bus 3, which is not described in detail in the embodiment of the present invention.
Example 3
Based on the same inventive concept, the embodiment of the present invention also provides a computer readable storage medium, where the storage medium includes a stored program, and when the program runs, the device where the storage medium is controlled to execute the method steps in the above embodiment.
The computer readable storage medium includes, but is not limited to, flash memory, hard disk, solid state disk, and the like.
It should be noted that the readable storage medium descriptions in the above embodiments correspond to the method descriptions in the embodiments, and the embodiments of the present invention are not described herein.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the invention, in whole or in part.
The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted across a computer-readable storage medium. Computer readable storage media can be any available media that can be accessed by a computer or data storage devices, such as servers, data centers, etc., that contain an integration of one or more available media. The usable medium may be a magnetic medium or a semiconductor medium, or the like.
The embodiment of the invention does not limit the types of other devices except the types of the devices, so long as the devices can complete the functions.
Those skilled in the art will appreciate that the drawings are schematic representations of only one preferred embodiment, and that the above-described embodiment numbers are merely for illustration purposes and do not represent advantages or disadvantages of the embodiments.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.
Claims (3)
1. A high precision time keeping method for a power distribution network measuring device, the method comprising the steps of:
establishing a mathematical model of a time linear discrete system to realize mathematical modeling on crystal oscillator time data;
determining a noise level by utilizing wavelet transformation, and estimating a noise variance of a discrete system;
on-line evaluation of variance matrix of measurement noise based on adaptive Kalman filtering of wavelet transformation;
establishing a temperature transformation and frequency change curve, and substituting the temperature change curve into a frequency change curve formula to obtain a formula of frequency change along with time;
establishing the relation between the crystal oscillator time and the standard time and between the crystal oscillator frequency and the standard frequency, and calculating the frequency values of the local clock and the standard time generated by the crystal oscillator; fitting a deviation curve of temperature and time to a local clock and a standard clock of the crystal oscillator by using a least square method, wherein the deviation curve is applied to improving the precision of a synchronous clock of a system;
the relation between the crystal oscillator time and the standard time, and between the crystal oscillator frequency and the standard frequency is established, and the frequency value of the local clock and the standard time generated by the crystal oscillator is calculated specifically as follows:
the difference calculation formula of the crystal oscillator time and the standard time is set as follows:
wherein f 0 Is the reference frequency;
the influence of temperature offset on frequency is brought into a formula of frequency drift to obtain a formula of the relation of the three:
integrating the formula of the frequency drift yields the formula of the frequency offset as follows:
from this, it can be known that there is a relation between the offset and time, and the polynomial form of the compensation curve is set by using the least square method:
R=At 3 +Bt 2 +Ct
the values of A, B and C are obtained by solving the inverse matrix of the matrix, and then the solving result is brought into parameters to obtain:
wherein R is 1 、R 2 、R 3 For three different measured values, t 1 、t 2 、t 3 Three different measurement moments;
the values of A, B and C are calculated, and the calculated values are brought into the frequency values of the local clock and the standard time generated by the crystal oscillator.
2. A high precision time keeping device suitable for a power distribution network measuring device, the device comprising: a processor and a memory, the memory having stored therein program instructions that cause the apparatus to perform the method of claim 1, the processor invoking the program instructions stored in the memory.
3. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111458593.2A CN114362140B (en) | 2021-12-01 | 2021-12-01 | High-precision time keeping method and device suitable for power distribution network measuring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111458593.2A CN114362140B (en) | 2021-12-01 | 2021-12-01 | High-precision time keeping method and device suitable for power distribution network measuring device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114362140A CN114362140A (en) | 2022-04-15 |
CN114362140B true CN114362140B (en) | 2023-11-21 |
Family
ID=81097274
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111458593.2A Active CN114362140B (en) | 2021-12-01 | 2021-12-01 | High-precision time keeping method and device suitable for power distribution network measuring device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114362140B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115047749B (en) * | 2022-05-13 | 2023-07-21 | 南京尤尼泰信息科技有限公司 | Satellite navigation signal-based time keeping device and method |
CN116388913B (en) * | 2022-12-30 | 2024-02-02 | 上海移柯通信技术股份有限公司 | RTC clock self-calibration method, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6081163A (en) * | 1999-01-22 | 2000-06-27 | Advantest Corp. | Standard frequency and timing generator and generation method thereof |
CN101090311A (en) * | 2006-06-16 | 2007-12-19 | 北京信威通信技术股份有限公司 | Method and system for generating clock output maintenance after GPS failure in radio communication system |
CN106026919A (en) * | 2016-05-16 | 2016-10-12 | 南京理工大学 | Time-keeping compensation method for high-precision crystal oscillator |
CN111711446A (en) * | 2020-06-10 | 2020-09-25 | 国网湖南省电力有限公司 | Method, system and medium for taming crystal oscillator frequency by using GPS signal |
-
2021
- 2021-12-01 CN CN202111458593.2A patent/CN114362140B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6081163A (en) * | 1999-01-22 | 2000-06-27 | Advantest Corp. | Standard frequency and timing generator and generation method thereof |
CN101090311A (en) * | 2006-06-16 | 2007-12-19 | 北京信威通信技术股份有限公司 | Method and system for generating clock output maintenance after GPS failure in radio communication system |
CN106026919A (en) * | 2016-05-16 | 2016-10-12 | 南京理工大学 | Time-keeping compensation method for high-precision crystal oscillator |
CN111711446A (en) * | 2020-06-10 | 2020-09-25 | 国网湖南省电力有限公司 | Method, system and medium for taming crystal oscillator frequency by using GPS signal |
Non-Patent Citations (2)
Title |
---|
GPS信号校准晶振信号频率源误差在线修正方法;宁玉磊;胡昌华;周志杰;李红增;张正新;;中国测试(第04期);全文 * |
晶振频率偏差补偿的无线传感器网络时间同步算法;王世军;徐朝农;安竹林;徐勇军;牛斗;;小型微型计算机***(第11期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114362140A (en) | 2022-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114362140B (en) | High-precision time keeping method and device suitable for power distribution network measuring device | |
Fangfang et al. | Distributed fusion estimation for multisensor multirate systems with stochastic observation multiplicative noises | |
CN104112079A (en) | Fuzzy adaptive variational Bayesian unscented Kalman filter method | |
Li et al. | Optimal residual generation for fault detection in linear discrete time-varying systems with uncertain observations | |
CN107607977B (en) | Self-adaptive UKF (unscented Kalman Filter) integrated navigation method based on minimum skewness simplex sampling | |
Lin et al. | Distributed fusion estimator for multi‐sensor asynchronous sampling systems with missing measurements | |
CN106646543A (en) | High-dynamic satellite navigation signal carrier tracking method based on master-slave AUKF algorithm | |
Wang et al. | An improved unscented Kalman filter for discrete nonlinear systems with random parameters | |
Porat | Second-order equivalence of rectangular and exponential windows in least-squares estimation of Gaussian autoregressive processes | |
CN110350996B (en) | Clock drift rate tracking method and system based on interactive multi-model filter | |
Feng et al. | Sequential fusion filtering for multi‐rate multi‐sensor time‐varying systems–a Krein‐space approach | |
Ma et al. | Distributed fusion filter for asynchronous multi-rate multi-sensor non-uniform sampling systems | |
Lin et al. | Optimal sequential estimation for asynchronous sampling discrete—Time systems | |
CN101577536B (en) | Method for realizing improved LMS algorithm | |
Tripathi et al. | Innovation-based fractional order adaptive Kalman filter | |
CN114139109A (en) | Target tracking method, system, equipment, medium and data processing terminal | |
CN114578679A (en) | Time synchronization method applied to tunnel based on time service pressure control technology | |
Fang et al. | Robust adaptive cubature Kalman filter for tracking manoeuvring target by wireless sensor network under noisy environment | |
Jiang et al. | Underwater tdoa/fdoa joint localisation method based on cross‐ambiguity function | |
CN115603845B (en) | Optimal distributed filter cooperative target tracking method based on consistency policy | |
CN111814101A (en) | Flight path prediction method and system and electronic equipment | |
CN114047684B (en) | Atomic clock joint time keeping method and device | |
CN109343013A (en) | A kind of spatial registration method and system based on Restart mechanisms | |
Yang et al. | A Review of The Research on Kalman Filtering in Power System Dynamic State Estimation | |
CN117578444B (en) | Power distribution network safety state estimation method and system based on event triggering mechanism |
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 |