Background technology
An important application of GNSS system is to provide the temporal information of accurate stable, generally cries this time service that is applied as.Time service is one of them basic function of satellite navigation receiver, and its concrete manifestation form is generally output 1pps(pulse per second (PPS)) signal.The time service of satellite navigation receiver is multiplex in fields such as communication, electric power, finance, for these large systems provide accurate and stable temporal information.And these systems generally run without interruption, so the long stability of time service is extremely important, but due to the stability of satellite system in the sky, the variation of earth ionospheric convection layer, the factor such as signal reception & disposal ability, the time service algorithm of receiver of receiver itself, the time service output that is difficult to guarantee receiver can enough be stablized.Therefore the long-time time service degree of stability that, how to improve satellite navigation receiver is an important topic.
The method that improves time service precision and degree of stability is varied, and the starting point is had nothing in common with each other, have from primal algorithm, have from improving signal quality, have from improving and resolve algorithm, has from improving hardware performance.
Summary of the invention
Based on above-mentioned situation, the present invention proposes a kind of time service method based on satellite-signal, receiving satellite signal also obtains stable time service information; To local oscillator clock multiplier to upper frequency of receiver; Use the described time service information in Preset Time section to record the frequency of frequency multiplication local oscillator and obtain average frequency multiplication local frequency; Calculate the time span of real-time time service information by average frequency multiplication local frequency; Judge that described time span whether in predetermined threshold value, if so, exports time service information.Can on the basis that does not increase hardware, improve like this time service precision of system.
The invention provides a kind of time service method based on satellite-signal, comprise step: receiving satellite signal also obtains stable time service information; To local oscillator clock multiplier to upper frequency of receiver; Use the described time service information in Preset Time section to record the frequency of frequency multiplication local oscillator and obtain average frequency multiplication local frequency; Calculate the time span of real-time time service information by average frequency multiplication local frequency; Judge that described time span whether in predetermined threshold value, if so, exports time service information.
If described time span not in predetermined threshold value, switches to local oscillator output.
Average local frequency is first receiver work clock to be carried out to frequency multiplication; Re-using frequency that described time service information in Preset Time section records frequency multiplication local oscillator averages and obtains.
Frequency multiplication be the frequency values of local frequency is increased to original more than 5 times.
The present invention also provides a kind of bus station prompt system of position-based service, comprising: satellite information acquisition module, time service information acquisition module and time service information are selected module, and modules information connects; Described satellite information acquisition module is for receiving satellite signal and obtain stable time service information; Described time service information acquisition module is for using the described time service information in Preset Time section to record the frequency of local oscillator and obtain average local frequency; Calculate the time span of real-time time service information by average frequency multiplication local frequency; Described time service information selects module to be used for judging that described time span whether in predetermined threshold value, if so, selects output time service information; If not, switch to local oscillator output.
Compared to prior art, the present invention adopts receiving satellite signal and obtains stable time service information; Use the described time service information in Preset Time section to record the frequency of local oscillator and obtain average local frequency, and judge calculate after in real time the time span of time service information whether in predetermined threshold value, select more efficiently time service information, improve the reliability of time service, the technology of recycling frequency multiplication is greatly reduced the error of time service, has improved the accuracy of time service.
Embodiment
Below in conjunction with preferred embodiments wherein, the present invention program is described in detail.
As shown in Figure 1, the method in the present embodiment comprises step:
S101: receiving satellite signal also obtains stable time service information.
Receiver receiving satellite signal, stable output time service information (1PPS).If Fig. 2 is 1PPS signal form output form.
S102: use the described time service information in Preset Time section to record the frequency of local oscillator and obtain average local frequency; Calculate the time span of real-time time service information by average frequency multiplication local frequency.
As shown in Figure 3, measure and obtain local frequency with the time service information in (N 1PPS cycle) in a period of time, obtain the local frequency mean value F in Preset Time section.Local oscillator spectrometer numerical value m/N in F=N 1PPS cycle length.For example N=5 is the local oscillator average frequency of measuring in 5 1PPS cycle lengths.
In order to obtain better implementation result, can carry out frequency multiplication to receiver work clock, make work clock carry out work with higher frequency.The frequency of operation of existing satellite navigation receiver is generally 16-17MHz, the present invention by its frequency multiplication to more than 100MHz.Due to lower in general frequency of operation, a wavelength of its correspondence is relatively long, and in statistics local frequency, incomplete waveform is not added up into, thereby can have error.Work clock after frequency multiplication, because wavelength is less, the error of existence is can be little a lot, and frequency multiplication is local frequency to be increased to original when more than 5 times, and error can reduce to almost and can ignore, and such operation can make the frequency values that obtains more accurate.
As shown in Figure 4, because the local oscillator of receiver is generally used TCXO crystal oscillator, and the vibration regularity of TCXO crystal oscillator is divided into shake, short steady, drift and aging by time length.The TCXO frequency stability of second level determines by short steady characteristic, and generally can accomplish in 0.01ppm, taking the TCXO of 100MHz frequency after frequency multiplication as example, the frequency stability of second level can arrive in 1Hz.Go up the TCXO frequency of a second with the frequency ratio of next second, it changes in 1Hz.
On the other hand, if when time service is normal, the time service precision of receiver generally can be accomplished about 20ns, gets off like this and measures the TCXO frequency accuracy obtaining in 2Hz with 1PPS, and the accuracy of F is in 2Hz.
As shown in Figure 5, the average local frequency F that uses mensuration to obtain removes to measure real-time time service information, obtains the time span of real-time time service information: T '.Its method is, within the time period of in real time time service pulse per second (PPS), local oscillator is counted to (M), obtains T '=M × (1/F).
S103: judge that described time span whether within the scope of predetermined threshold value, if so, exports time service information;
Supposing that receiver time service precision requires in 100ns, is s by the predetermined threshold value scope of saying here, and the time span T ' obtaining compares with predetermined threshold value, if in scope, and output time service information; If outside scope, switch to local oscillator output.
In Fig. 6, express the structural representation of a kind of time dissemination system embodiment based on satellite-signal of the present invention.
Based on a time dissemination system for satellite-signal, comprising: satellite information acquisition module, time service information acquisition module and time service information are selected module, modules information connects; Satellite information acquisition module is for receiving satellite signal and obtain stable time service information; Time service information acquisition module is for using the described time service information in Preset Time section to record the frequency of local oscillator and obtain average local frequency; Calculate the time span of real-time time service information by average frequency multiplication local frequency; Time service information selects module to be used for judging that time span whether in predetermined threshold value, if so, selects output time service information; If not, switch to local oscillator output.
The average local frequency is here first receiver work clock to be carried out to frequency multiplication; Re-using frequency that described time service information in Preset Time section records frequency multiplication local oscillator averages and obtains.
Frequency multiplication be the frequency values of local frequency is increased to original more than 5 times.
Native system has been applied the method for the embodiment of the present invention, and the benefit of bringing is identical with the content in embodiment of the method, no longer launches to describe herein.
The above embodiment has only expressed embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.