CN102647224B - 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 PDFInfo
- Publication number
- CN102647224B CN102647224B CN201210090874.1A CN201210090874A CN102647224B CN 102647224 B CN102647224 B CN 102647224B CN 201210090874 A CN201210090874 A CN 201210090874A CN 102647224 B CN102647224 B CN 102647224B
- Authority
- CN
- China
- Prior art keywords
- module
- time
- pulse
- chip microcomputer
- unit timing
- 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
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
Technical field
The present invention relates to the technology of network clocking, the network clocking particularly relating to a kind of satellite time service system is kept time the technology of module high-order method of adjustment.
Background technology
Gps satellite signal receiver module is all provided with in satellite time service system, system contains the gps satellite time service information of PPS (pulse per second (PPS)) signal by gps satellite signal receiver module receiving package, and realizes system time service and clock synchronization of ad according to PPS (pulse per second (PPS)) signal in the gps satellite time service information received.
During in order to normally cannot receive PPS (pulse per second (PPS)) signal in gps satellite time service information at gps satellite signal receiver module, the normal operation of safeguards system time service and clock synchronization of ad, is all provided with network clocking and keeps time module in satellite time service system.
Existing network clocking keeps time module primarily of quartz oscillator (OCXO) and single-chip microcomputer composition, quartz oscillator is for exporting CLK (clock) signal to single-chip microcomputer, gps satellite signal receiver module receives the time service information including PPS (pulse per second (PPS)) signal from satellite, and send to network clocking to keep time the single-chip microcomputer of module in real time, the keep time single-chip microcomputer of module of network clocking is followed the tracks of the PPS signal that satellite signal reception module exports, if the PPS signal that satellite reception module exports and satellite synchronization detected, then be operated in time service pattern, otherwise be then operated in punctual pattern, network clocking is kept time the PPS signal directly exported under the single-chip microcomputer of module is operated in time service pattern from satellite reception module, generate local PPS signal according to the CLK signal of quartz oscillator output under being operated in punctual pattern to export.
Existing network clocking keeps time module to ensure the precision of local PPS signal, all need to adopt high-precision quartz oscillator, very large to the index dependence of quartz oscillator, punctual precision is determined primarily of quartz oscillator, therefore the keep time quartz oscillator cost of module of existing network clock is all higher, even if adopt high-precision quartz oscillator, its punctual precision is also poor, every 24 hours often will with standard time clock difference about 20us.
Summary of the invention
For the defect existed in above-mentioned prior art, technical problem to be solved by this invention is to provide a kind of network clocking that can improve the satellite time service system of punctual precision and keeps time module high-order method of adjustment.
In order to solve the problems of the technologies described above, the network clocking of a kind of satellite time service system provided by the present invention is kept time module high-order method of adjustment, relates to the satellite signal reception module in satellite time service system, network clocking keeps time module; Described network clocking module of keeping time comprises quartz oscillator, single-chip microcomputer;
Satellite signal reception module receives from the time service information including PPS signal of satellite, and sends to network clocking to keep time the single-chip microcomputer of module in real time;
The keep time single-chip microcomputer of module of network clocking is followed the tracks of the PPS signal that satellite signal reception module exports, if the PPS signal that satellite reception module exports and satellite synchronization detected, is then operated in tracing mode, otherwise is then operated in punctual pattern;
Network clocking keeps time the single-chip microcomputer of module when being operated in tracing mode, directly exports the PPS signal from satellite reception module;
Network clocking keeps time the single-chip microcomputer of module when being operated in punctual pattern, and single-chip microcomputer receives the CLK signal that quartz oscillator exports, and generates local PPS signal according to the CLK signal received;
It is characterized in that:
A unit timing length is preset in single-chip microcomputer, and the calibration pulse amount of unit timing length;
Network clocking keeps time the single-chip microcomputer of module when being operated in tracing mode, after the duration of at least one unit timing length of CLK signal that single-chip microcomputer continuous reception quartz oscillator exports, the pulsed quantity of the CLK signal that continuous collecting quartz oscillator exports, until switch to punctual pattern;
Network clocking keeps time the single-chip microcomputer of module when being operated in tracing mode, from gather the CLK signal pulse that quartz oscillator exports and measure, at interval of the duration of a unit timing length, namely calculate a pulse deviation amount;
Network clocking keep time module single-chip microcomputer calculate pulse deviation amount time, if pulsed quantity gathers the duration that duration is less than 4 unit timing lengths, then calculate the difference between pulsed quantity and unit timing length calibration pulse amount gathered in last unit timing length, and the difference calculated is set as pulse deviation amount;
Network clocking keeps time the single-chip microcomputer of module when calculating pulse deviation amount, if pulsed quantity gathers duration be more than or equal to the duration of 4 unit timing lengths, then the pulse deviation amount calculated is:
F=α+βT
T=ln(n+1)
X
i=ln(i)
Y
i=A
i-B
In formula, F is pulse deviation amount, and n refers to that pulsed quantity gathers duration and continue for time of n unit timing length, i be from i-th unit timing length measuring of acquisition pulse, ln () for taking the logarithm, A
ibe from the pulsed quantity that collects of i-th unit timing length measuring of acquisition pulse, B is the calibration pulse amount of unit timing length;
Network clocking keeps time the single-chip microcomputer of module when being operated in punctual pattern, according to the pulse deviation amount obtained under tracing mode, from the local PPS signal of generation, the pulsed quantity of local PPS signal is revised, each correction continues the duration of a unit timing length, namely start after each correction terminates to revise next time, pulsed quantity in each correction time section, the calibration pulse amount sum of the pulse deviation amount obtained under being tracing mode and unit timing length.
The network clocking of satellite time service system provided by the invention is kept time module high-order method of adjustment, the pulsed quantity of the CLK signal that quartz oscillator exports is gathered when tracing mode, and the pulse deviation amount of the CLK signal that quartz oscillator exports is calculated according to the pulsed quantity gathered, revise according to the pulsed quantity of the pulse deviation amount obtained under tracing mode to local PPS signal when punctual pattern, therefore the precision of local PPS signal can be improved, and then improve punctual precision, the time offset of every 24 hours can be controlled differing within 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 service system that the embodiment of the present invention provides is kept time module high-order method of adjustment, relates to the satellite signal reception module in satellite time service system, network clocking keeps time module; Described network clocking module of keeping time comprises quartz oscillator (OCXO), single-chip microcomputer;
Satellite signal reception module receives from the time service information including PPS (pulse per second (PPS)) signal of satellite, and sends to network clocking to keep time the single-chip microcomputer of module in real time;
The keep time single-chip microcomputer of module of network clocking is followed the tracks of the PPS signal that satellite signal reception module exports, if the PPS signal that satellite reception module exports and satellite synchronization detected, is then operated in tracing mode, otherwise is then operated in punctual pattern;
Network clocking keeps time the single-chip microcomputer of module when being operated in tracing mode, directly exports the PPS signal from satellite reception module;
Network clocking keeps time the single-chip microcomputer of module when being operated in punctual pattern, and single-chip microcomputer receives CLK (clock) signal that quartz oscillator exports, and generates local PPS signal according to the CLK signal received;
It is characterized in that:
A unit timing length is preset in single-chip microcomputer, and the calibration pulse amount of unit timing length;
Network clocking keeps time the single-chip microcomputer of module when being operated in tracing mode, after the duration of at least one unit timing length of CLK signal that single-chip microcomputer continuous reception quartz oscillator exports, the pulsed quantity of the CLK signal that continuous collecting quartz oscillator exports, until switch to punctual pattern;
Network clocking keeps time the single-chip microcomputer of module when being operated in tracing mode, from gather the CLK signal pulse that quartz oscillator exports and measure, at interval of the duration of a unit timing length, namely calculate a pulse deviation amount;
Network clocking keep time module single-chip microcomputer calculate pulse deviation amount time, if pulsed quantity gathers the duration that duration is less than 4 unit timing lengths, then calculate the difference between pulsed quantity and unit timing length calibration pulse amount gathered in last unit timing length, and the difference calculated is set as pulse deviation amount;
Network clocking keeps time the single-chip microcomputer of module when calculating pulse deviation amount, if pulsed quantity gathers duration be more than or equal to the duration of 4 unit timing lengths, then the pulse deviation amount calculated is:
F=α+βT
T=ln(n+1)
X
i=ln(i)
Y
i=A
i-B
In formula, F is pulse deviation amount, and n refers to that pulsed quantity gathers duration and continue for time of n unit timing length, i be from i-th unit timing length measuring of acquisition pulse, ln () for taking the logarithm, A
ibe from the pulsed quantity that collects of i-th unit timing length measuring of acquisition pulse, B is the calibration pulse amount of unit timing length;
Network clocking keeps time the single-chip microcomputer of module when being operated in punctual pattern, according to the pulse deviation amount obtained under tracing mode, from the local PPS signal of generation, the pulsed quantity of local PPS signal is revised, each correction continues the duration of a unit timing length, namely start after each correction terminates to revise next time, pulsed quantity in each correction time section, the calibration pulse amount sum of the pulse deviation amount obtained under being tracing mode and unit timing length.
In the embodiment of the present invention, the unit timing length preset in single-chip microcomputer is 4096 seconds, and the calibration pulse amount of unit timing length is 4096 × 60,000,000 pulses.
Claims (1)
1. the network clocking of satellite time service system is kept time a module high-order method of adjustment, relates to the satellite signal reception module in satellite time service system, network clocking keeps time module; Described network clocking module of keeping time comprises quartz oscillator, single-chip microcomputer;
Satellite signal reception module receives from the time service information including PPS signal of satellite, and sends to network clocking to keep time the single-chip microcomputer of module in real time, and described PPS signal refers to pulse per second (PPS);
The keep time single-chip microcomputer of module of network clocking is followed the tracks of the PPS signal that satellite signal reception module exports, if the PPS signal that satellite reception module exports and satellite synchronization detected, is then operated in tracing mode, otherwise is then operated in punctual pattern;
Network clocking keeps time the single-chip microcomputer of module when being operated in tracing mode, directly exports the PPS signal from satellite reception module;
Network clocking keeps time the single-chip microcomputer of module when being operated in punctual pattern, and single-chip microcomputer receives the CLK signal that quartz oscillator exports, and generates local PPS signal according to the CLK signal received;
It is characterized in that:
A unit timing length is preset in single-chip microcomputer, and the calibration pulse amount of unit timing length;
Network clocking keeps time the single-chip microcomputer of module when being operated in tracing mode, after the duration of at least one unit timing length of CLK signal that single-chip microcomputer continuous reception quartz oscillator exports, the pulsed quantity of the CLK signal that continuous collecting quartz oscillator exports, until switch to punctual pattern;
Network clocking keeps time the single-chip microcomputer of module when being operated in tracing mode, from gather the CLK signal pulse that quartz oscillator exports and measure, at interval of the duration of a unit timing length, namely calculate a pulse deviation amount;
Network clocking keep time module single-chip microcomputer calculate pulse deviation amount time, if pulsed quantity gathers the duration that duration is less than 4 unit timing lengths, then calculate the difference between pulsed quantity and unit timing length calibration pulse amount gathered in last unit timing length, and the difference calculated is set as pulse deviation amount;
Network clocking keeps time the single-chip microcomputer of module when calculating pulse deviation amount, if pulsed quantity gathers duration be more than or equal to the duration of 4 unit timing lengths, then the pulse deviation amount calculated is:
In formula, F is pulse deviation amount, and n is the quantity of unit timing length, and the duration of n unit timing length is the lasting duration of pulsed quantity acquisition time, i be from i-th unit timing length measuring of acquisition pulse,
for taking the logarithm,
be from the pulsed quantity that collects of i-th unit timing length measuring of acquisition pulse, B is the calibration pulse amount of unit timing length;
Network clocking keeps time the single-chip microcomputer of module when being operated in punctual pattern, according to the pulse deviation amount obtained under tracing mode, from the local PPS signal of generation, the pulsed quantity of local PPS signal is revised, each correction continues the duration of a unit timing length, namely start after each correction terminates to revise next time, pulsed quantity in each correction time section, the calibration pulse amount sum of the pulse deviation amount obtained under being tracing mode and unit timing length.
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 CN102647224A (en) | 2012-08-22 |
CN102647224B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102830612B (en) * | 2012-09-10 | 2014-03-12 | 中央电视台 | System and method of high-precision time service and time keeping of broadcast controller |
Citations (4)
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 |
-
2012
- 2012-03-30 CN CN201210090874.1A patent/CN102647224B/en active Active
Patent Citations (4)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN102647224A (en) | 2012-08-22 |
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 | |
CN104238352B (en) | The local time standard generation system and method that a kind of National primary standard is controlled | |
CN102566410B (en) | Method and device for calibrating local clock based on satellite time service | |
CN101465686B (en) | Method and apparatus for implementing TD-SCDMA base station synchronization | |
CN100575965C (en) | A kind of method of measuring frequency of single-chip | |
CN109428598B (en) | Calibration method and system for data sampling | |
CN202102264U (en) | Rubidium clock taming system | |
CN103199949B (en) | Zero base line in fake satellite positioning system is from closed loop star ground method for synchronizing time | |
CN103995268A (en) | Satellite navigation receiver local time correction method and positioning method | |
CN105549379A (en) | Synchronous measurement apparatus based on high precision time reference triggering and method thereof | |
CN109462452B (en) | Method for improving sampling synchronization precision of transient recording type fault indicator | |
CN105158771B (en) | A kind of model parameter production method of tracing to the source in satellite navigation system | |
CN103516457A (en) | High-precision remote time synchronization method | |
CN109085616B (en) | Satellite time service method, device and storage medium | |
CN104297716B (en) | Intelligent electric meter RTC calibrating method | |
CN103970008A (en) | Timekeeping method based on crystal oscillator error compensation | |
CN105049040A (en) | Method for correcting output frequency of CPT (Coherent Population Trapping) atomic clock through GNSS(Global Navigation Satellite System) | |
CN102004441A (en) | Adaptive crystal oscillator frequency timekeeping method | |
CN204465552U (en) | Bimodulus time service master clock device | |
CN102647224B (en) | High-order regulation method for timekeeping module in network clock of satellite time service system | |
CN103765915B (en) | Method, flowmeter and the server related to the method for distance-reading flow measuring apparatus | |
CN101943885A (en) | Method for correcting timing precision of RTC inside SOC in intelligent electric meter | |
CN103901271B (en) | Frequency test method and frequency test system | |
CN202513909U (en) | Rubidium atom frequency standard apparatus |
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. |