CN102647224A - High-order regulation method for timekeeping module in network clock of satellite time service system - Google Patents

High-order regulation method for timekeeping module in network clock of satellite time service system Download PDF

Info

Publication number
CN102647224A
CN102647224A CN2012100908741A CN201210090874A CN102647224A CN 102647224 A CN102647224 A CN 102647224A CN 2012100908741 A CN2012100908741 A CN 2012100908741A CN 201210090874 A CN201210090874 A CN 201210090874A CN 102647224 A CN102647224 A CN 102647224A
Authority
CN
China
Prior art keywords
chip microcomputer
module
pulse
unit timing
punctual
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.)
Granted
Application number
CN2012100908741A
Other languages
Chinese (zh)
Other versions
CN102647224B (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.)
Justiming Electronic Technology (Shanghai) Co., Ltd.
Original Assignee
JUST MING ELECTRONIC TECHNOLOGY (SHANGHAI) 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 JUST MING ELECTRONIC TECHNOLOGY (SHANGHAI) Co Ltd filed Critical JUST MING ELECTRONIC TECHNOLOGY (SHANGHAI) Co Ltd
Priority to CN201210090874.1A priority Critical patent/CN102647224B/en
Publication of CN102647224A publication Critical patent/CN102647224A/en
Application granted granted Critical
Publication of CN102647224B publication Critical patent/CN102647224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Electric Clocks (AREA)

Abstract

The invention provides a high-order regulation method for a timekeeping module in a network clock of a satellite time service system and relates to the technical field of network clocks, and the method is used for improving the timekeeping precision. The method relates to the timekeeping module in the network clock of the satellite time service system, wherein the timekeeping module of the network clock comprises a quartz oscillator and a singlechip. The method is characterized in that when in a tracking mode, the singlechip of the timekeeping module in the network clock continuously collects pulse amount of CLK (Clock) signals output by the quartz oscillator and calculates the pulse deviation relative to the standard pulse amount according to the collected pulse amount; and when in a timekeeping mode, the singlechip of the timekeeping module in the network clock corrects the pulse amount of a local PPS (Polynomial Phase signal) according to the pulse deviation obtained in the tracking mode. The method provided by the invention can be used for realizing that the difference between the time offset of per 24 hours and the standard time clock is controlled within 5mu s.

Description

The network clocking of the satellite time dissemination system module high-order method of adjustment of keeping time
Technical field
The present invention relates to the technology of network clocking, particularly relate to a kind of technology of the punctual module high-order method of adjustment of network clocking of satellite time dissemination system.
Background technology
In the satellite time dissemination system, all be provided with the gps satellite signal receiver module; System receives the gps satellite time service information that includes PPS (pulse per second (PPS)) signal through the gps satellite signal receiver module, and synchronous according to realization system's time service of PPS (pulse per second (PPS)) signal in the gps satellite time service information that receives and network clocking.
In order normally to receive PPS (pulse per second (PPS)) signal in the gps satellite time service information at the gps satellite signal receiver module time, the normal operation that safeguards system time service and network clocking are synchronous all is provided with the punctual module of network clocking in the satellite time dissemination system.
The punctual module of existing network clocking mainly is made up of quartz oscillator (OCXO) and single-chip microcomputer; Quartz oscillator is used to export CLK (clock) signal and gives single-chip microcomputer; The gps satellite signal receiver module receives the time service information that includes PPS (pulse per second (PPS)) signal from satellite; And sending to the single-chip microcomputer of the punctual module of network clocking in real time, the single-chip microcomputer of the punctual module of network clocking is followed the tracks of the PPS signal of satellite-signal receiver module output, if it is synchronous to detect the PPS signal and the satellite of the output of satellite receiver module; Then be operated in the time service pattern; Otherwise then be operated in punctual pattern, the single-chip microcomputer of the punctual module of network clocking is operated under the time service pattern directly output from the PPS signal of satellite receiver module, is operated in that the CLK signal according to quartz oscillator output generates local PPS signal output under the punctual pattern.
The punctual module of existing network clocking is in order to guarantee the precision of local PPS signal; All need adopt high-precision quartz oscillator, very big to the index dependence of quartz oscillator, punctual precision is mainly confirmed by quartz oscillator; Therefore the quartz oscillator cost of the punctual module of existing network clock is all higher; Even if adopt high-precision quartz oscillator, its punctual precision is also relatively poor, per 24 hours often will with the about 20us of standard time clock difference.
Summary of the invention
To the defective that exists in the above-mentioned prior art, technical problem to be solved by this invention provides a kind of punctual module high-order method of adjustment of network clocking that can improve the satellite time dissemination system of punctual precision.
In order to solve the problems of the technologies described above, the network clocking of a kind of satellite time dissemination system provided by the present invention module high-order method of adjustment of keeping time relates to the punctual module of satellite-signal receiver module, network clocking in the satellite time dissemination system; The punctual module of said network clocking comprises quartz oscillator, single-chip microcomputer;
The satellite-signal receiver module receives the time service information that includes the PPS signal from satellite, and sends to the single-chip microcomputer of the punctual module of network clocking in real time;
The single-chip microcomputer of the punctual module of network clocking is followed the tracks of the PPS signal of satellite-signal receiver module output, if it is synchronous to detect the PPS signal and the satellite of the output of satellite receiver module, then is operated in tracing mode, otherwise then is operated in punctual pattern;
When the single-chip microcomputer of the punctual module of network clocking was operated in tracing mode, directly output was from the PPS signal of satellite receiver module;
When the single-chip microcomputer of the punctual module of network clocking was operated in the pattern of keeping time, single-chip microcomputer received the CLK signal of quartz oscillator output, and generated local PPS signal according to the CLK signal that receives;
It is characterized in that:
In single-chip microcomputer, preestablish a unit timing length, and the calibration pulse amount of unit timing length;
When the single-chip microcomputer of the punctual module of network clocking is operated in tracing mode; Behind the duration of at least one unit timing length of CLK signal of the lasting reception of single-chip microcomputer quartz oscillator output; The pulsed quantity of the CLK signal of continuous collecting quartz oscillator output is until switching to punctual pattern;
When the single-chip microcomputer of the punctual module of network clocking is operated in tracing mode, measure from the CLK signal pulse that begins to gather quartz oscillator output, the duration of the unit timing length in every interval promptly calculates a pulse deviation amount;
When the single-chip microcomputer of the punctual module of network clocking calculates the pulse deviation amount; If pulsed quantity is gathered the duration of duration less than 4 unit timing lengths; Then calculate interior pulsed quantity of being gathered of last unit timing length and the difference between the unit timing length calibration pulse amount, and the difference that calculates is set at the pulse deviation amount;
When the single-chip microcomputer of the punctual module of network clocking calculated the pulse deviation amount, if pulsed quantity is gathered the duration of duration more than or equal to 4 unit timing lengths, the pulse deviation amount that then calculates was:
F=α+βT
T=ln(n+1)
β = n Σ i = 1 n X i Y i - Σ i = 1 n X i Σ i = 1 n Y i n Σ i = 1 n X i 2 - ( Σ i = 1 n X i ) 2
α = Σ i = 1 n Y i n - β Σ i = 1 n X i n
X i=ln(i)
Y i=A i-B
In the formula, F is the pulse deviation amount, and n is meant that pulsed quantity collection duration has continued the time of n unit timing length, and i is i the unit timing length that measures from the beginning acquisition pulse, and ln () is for taking the logarithm A iBe i the pulsed quantity that the unit timing length is collected that measures from the beginning acquisition pulse, B is the calibration pulse amount of unit timing length;
When the single-chip microcomputer of the punctual module of network clocking is operated in the pattern of keeping time; According to the pulse deviation amount that obtains under the tracing mode; From generating local PPS signal the pulsed quantity of local PPS signal is revised, each duration that continues a unit timing length of revising promptly begins to revise after each correction finishes next time; Pulsed quantity in each correction time section is the pulse deviation amount that obtains under the tracing mode and the calibration pulse amount sum of unit timing length.
The network clocking of the satellite time dissemination system provided by the invention module high-order method of adjustment of keeping time; When tracing mode, gather the pulsed quantity of the CLK signal of quartz oscillator output; And calculate the pulse deviation amount of the CLK signal of quartz oscillator output according to the pulsed quantity of gathering; When the pattern of keeping time, the pulsed quantity of local PPS signal is revised according to the pulse deviation amount that obtains under the tracing mode; Therefore can improve the precision of local PPS signal, and then the raising precision of keeping time, can per 24 hours time offset be controlled at and differ in about 5us with standard time clock.
Embodiment
Below in conjunction with specific embodiment technical scheme of the present invention is described in further detail.
The network clocking of a kind of satellite time dissemination system that the embodiment of the invention the provided module high-order method of adjustment of keeping time relates to the punctual module of satellite-signal receiver module, network clocking in the satellite time dissemination system; The punctual module of said network clocking comprises quartz oscillator (OCXO), single-chip microcomputer;
The satellite-signal receiver module receives the time service information that includes PPS (pulse per second (PPS)) signal from satellite, and sends to the single-chip microcomputer of the punctual module of network clocking in real time;
The single-chip microcomputer of the punctual module of network clocking is followed the tracks of the PPS signal of satellite-signal receiver module output, if it is synchronous to detect the PPS signal and the satellite of the output of satellite receiver module, then is operated in tracing mode, otherwise then is operated in punctual pattern;
When the single-chip microcomputer of the punctual module of network clocking was operated in tracing mode, directly output was from the PPS signal of satellite receiver module;
When the single-chip microcomputer of the punctual module of network clocking was operated in the pattern of keeping time, single-chip microcomputer received CLK (clock) signal of quartz oscillator output, and generated local PPS signal according to the CLK signal that receives;
It is characterized in that:
In single-chip microcomputer, preestablish a unit timing length, and the calibration pulse amount of unit timing length;
When the single-chip microcomputer of the punctual module of network clocking is operated in tracing mode; Behind the duration of at least one unit timing length of CLK signal of the lasting reception of single-chip microcomputer quartz oscillator output; The pulsed quantity of the CLK signal of continuous collecting quartz oscillator output is until switching to punctual pattern;
When the single-chip microcomputer of the punctual module of network clocking is operated in tracing mode, measure from the CLK signal pulse that begins to gather quartz oscillator output, the duration of the unit timing length in every interval promptly calculates a pulse deviation amount;
When the single-chip microcomputer of the punctual module of network clocking calculates the pulse deviation amount; If pulsed quantity is gathered the duration of duration less than 4 unit timing lengths; Then calculate interior pulsed quantity of being gathered of last unit timing length and the difference between the unit timing length calibration pulse amount, and the difference that calculates is set at the pulse deviation amount;
When the single-chip microcomputer of the punctual module of network clocking calculated the pulse deviation amount, if pulsed quantity is gathered the duration of duration more than or equal to 4 unit timing lengths, the pulse deviation amount that then calculates was:
F=α+βT
T=ln(n+1)
β = n Σ i = 1 n X i Y i - Σ i = 1 n X i Σ i = 1 n Y i n Σ i = 1 n X i 2 - ( Σ i = 1 n X i ) 2
α = Σ i = 1 n Y i n - β Σ i = 1 n X i n
X i=ln(i)
Y i=A i-B
In the formula, F is the pulse deviation amount, and n is meant that pulsed quantity collection duration has continued the time of n unit timing length, and i is i the unit timing length that measures from the beginning acquisition pulse, and ln () is for taking the logarithm A iBe i the pulsed quantity that the unit timing length is collected that measures from the beginning acquisition pulse, B is the calibration pulse amount of unit timing length;
When the single-chip microcomputer of the punctual module of network clocking is operated in the pattern of keeping time; According to the pulse deviation amount that obtains under the tracing mode; From generating local PPS signal the pulsed quantity of local PPS signal is revised, each duration that continues a unit timing length of revising promptly begins to revise after each correction finishes next time; Pulsed quantity in each correction time section is the pulse deviation amount that obtains under the tracing mode and the calibration pulse amount sum of unit timing length.
In the embodiment of the invention, predefined unit timing length is 4096 seconds in single-chip microcomputer, and the calibration pulse amount of unit timing length is 4096 * 60,000,000 pulses.

Claims (1)

1. the punctual module high-order method of adjustment of the network clocking of a satellite time dissemination system relates to the punctual module of satellite-signal receiver module, network clocking in the satellite time dissemination system; The punctual module of said network clocking comprises quartz oscillator, single-chip microcomputer;
The satellite-signal receiver module receives the time service information that includes the PPS signal from satellite, and sends to the single-chip microcomputer of the punctual module of network clocking in real time;
The single-chip microcomputer of the punctual module of network clocking is followed the tracks of the PPS signal of satellite-signal receiver module output, if it is synchronous to detect the PPS signal and the satellite of the output of satellite receiver module, then is operated in tracing mode, otherwise then is operated in punctual pattern;
When the single-chip microcomputer of the punctual module of network clocking was operated in tracing mode, directly output was from the PPS signal of satellite receiver module;
When the single-chip microcomputer of the punctual module of network clocking was operated in the pattern of keeping time, single-chip microcomputer received the CLK signal of quartz oscillator output, and generated local PPS signal according to the CLK signal that receives;
It is characterized in that:
In single-chip microcomputer, preestablish a unit timing length, and the calibration pulse amount of unit timing length;
When the single-chip microcomputer of the punctual module of network clocking is operated in tracing mode; Behind the duration of at least one unit timing length of CLK signal of the lasting reception of single-chip microcomputer quartz oscillator output; The pulsed quantity of the CLK signal of continuous collecting quartz oscillator output is until switching to punctual pattern;
When the single-chip microcomputer of the punctual module of network clocking is operated in tracing mode, measure from the CLK signal pulse that begins to gather quartz oscillator output, the duration of the unit timing length in every interval promptly calculates a pulse deviation amount;
When the single-chip microcomputer of the punctual module of network clocking calculates the pulse deviation amount; If pulsed quantity is gathered the duration of duration less than 4 unit timing lengths; Then calculate interior pulsed quantity of being gathered of last unit timing length and the difference between the unit timing length calibration pulse amount, and the difference that calculates is set at the pulse deviation amount;
When the single-chip microcomputer of the punctual module of network clocking calculated the pulse deviation amount, if pulsed quantity is gathered the duration of duration more than or equal to 4 unit timing lengths, the pulse deviation amount that then calculates was:
F=α+βT
T=ln(n+1)
β = n Σ i = 1 n X i Y i - Σ i = 1 n X i Σ i = 1 n Y i n Σ i = 1 n X i 2 - ( Σ i = 1 n X i ) 2
α = Σ i = 1 n Y i n - β Σ i = 1 n X i n
X i=ln(i)
Y i=A i-B
In the formula, F is the pulse deviation amount, and n is meant that pulsed quantity collection duration has continued the time of n unit timing length, and i is i the unit timing length that measures from the beginning acquisition pulse, and ln () is for taking the logarithm A iBe i the pulsed quantity that the unit timing length is collected that measures from the beginning acquisition pulse, B is the calibration pulse amount of unit timing length;
When the single-chip microcomputer of the punctual module of network clocking is operated in the pattern of keeping time; According to the pulse deviation amount that obtains under the tracing mode; From generating local PPS signal the pulsed quantity of local PPS signal is revised, each duration that continues a unit timing length of revising promptly begins to revise after each correction finishes next time; Pulsed quantity in each correction time section is the pulse deviation amount that obtains under the tracing mode and the calibration pulse amount sum of unit timing length.
CN201210090874.1A 2012-03-30 2012-03-30 High-order regulation method for timekeeping module in network clock of satellite time service system Active CN102647224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210090874.1A CN102647224B (en) 2012-03-30 2012-03-30 High-order regulation method for timekeeping module in network clock of satellite time service system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210090874.1A CN102647224B (en) 2012-03-30 2012-03-30 High-order regulation method for timekeeping module in network clock of satellite time service system

Publications (2)

Publication Number Publication Date
CN102647224A true CN102647224A (en) 2012-08-22
CN102647224B CN102647224B (en) 2015-06-10

Family

ID=46659822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210090874.1A Active CN102647224B (en) 2012-03-30 2012-03-30 High-order regulation method for timekeeping module in network clock of satellite time service system

Country Status (1)

Country Link
CN (1) CN102647224B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830612A (en) * 2012-09-10 2012-12-19 中央电视台 System and method of high-precision time service and time keeping of broadcast controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5896427A (en) * 1995-12-15 1999-04-20 Cisco Technology, Inc. System and method for maintaining network synchronization utilizing digital phase comparison techniques with synchronous residual time stamps
CN101442375A (en) * 2008-12-29 2009-05-27 山东大学 Time distribution service apparatus compatible with multiple networks and working method thereof
CN101646232A (en) * 2008-07-18 2010-02-10 俊茂微电子(上海)有限公司 Method, device and communication equipment for estimating frequency deviations
EP2352250A1 (en) * 2008-11-29 2011-08-03 ZTE Corporation Time synchronization method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5896427A (en) * 1995-12-15 1999-04-20 Cisco Technology, Inc. System and method for maintaining network synchronization utilizing digital phase comparison techniques with synchronous residual time stamps
CN101646232A (en) * 2008-07-18 2010-02-10 俊茂微电子(上海)有限公司 Method, device and communication equipment for estimating frequency deviations
EP2352250A1 (en) * 2008-11-29 2011-08-03 ZTE Corporation Time synchronization method and apparatus
CN101442375A (en) * 2008-12-29 2009-05-27 山东大学 Time distribution service apparatus compatible with multiple networks and working method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830612A (en) * 2012-09-10 2012-12-19 中央电视台 System and method of high-precision time service and time keeping of broadcast controller
CN102830612B (en) * 2012-09-10 2014-03-12 中央电视台 System and method of high-precision time service and time keeping of broadcast controller

Also Published As

Publication number Publication date
CN102647224B (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN1904642B (en) Apparatus and method for compensating the drift of a local clock used as sampling frequency
CN103117742B (en) System tamed by GPS/ Big Dipper dual mode satellite clock crystal oscillator
CN102291169B (en) Onboard high-accuracy time synchronization method for satellite
CN202102264U (en) Rubidium clock taming system
CN106656451B (en) Time keeping and time service precision testing device and method based on satellite time service system
CN101420225B (en) High precision time difference calibrating method based on FPGA
CN109462452B (en) Method for improving sampling synchronization precision of transient recording type fault indicator
CN103913987B (en) GPS time dissemination systems and its method for obtaining accurate time reference
CN102004441B (en) Adaptive crystal oscillator frequency timekeeping method
CN103995268A (en) Satellite navigation receiver local time correction method and positioning method
CN105049040A (en) Method for correcting output frequency of CPT (Coherent Population Trapping) atomic clock through GNSS(Global Navigation Satellite System)
CN103368137B (en) Multi-terminal self-repairing data synchronization differential protection method based on network self-repairing
CN105829917B (en) Synchronous method and system for earthquake and barisal guns measurement network (the especially mining site network of essential safety)
CN103516457A (en) High-precision remote time synchronization method
CN104460311A (en) Time calibration method and device
CN108535772B (en) Compensation method and device for time synchronization of underground multi-node acquisition system
CN109283864A (en) A kind of time synchronization of data sampling, calibration method and system
CN103795522A (en) Punctuality compensating circuit and method for pulse per second
CN108803300A (en) The punctual method of time synchronism apparatus based on constant-temperature crystal oscillator and time synchronism apparatus
CN105680855A (en) Automatic frequency control method for smart grid sensing device
CN204465552U (en) Bimodulus time service master clock device
CN114488203A (en) High-precision time keeping and network time service system and method based on Beidou signals
CN105759600A (en) Beidou Satellite-based power grid system time-service system
CN102647224A (en) High-order regulation method for timekeeping module in network clock of satellite time service system
CN101860348B (en) Synchronous and in-time self-tracking self-compensation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: SHANGHAI JUSTIMING ELECTRONIC TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: JUSTIMING ELECTRONICS TECHNOLOGY (SHANGHAI) CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 201108, room 4, building 4299, 201 Jin Du Road, Shanghai, Minhang District

Patentee after: Justiming Electronic Technology (Shanghai) Co., Ltd.

Address before: 201108, room 4, building 4299, 201 Jin Du Road, Shanghai, Minhang District

Patentee before: Just Ming Electronic Technology (Shanghai) Co., Ltd.