CN102098121A - Method and device for monitoring time synchronization - Google Patents
Method and device for monitoring time synchronization Download PDFInfo
- Publication number
- CN102098121A CN102098121A CN2010106125144A CN201010612514A CN102098121A CN 102098121 A CN102098121 A CN 102098121A CN 2010106125144 A CN2010106125144 A CN 2010106125144A CN 201010612514 A CN201010612514 A CN 201010612514A CN 102098121 A CN102098121 A CN 102098121A
- Authority
- CN
- China
- Prior art keywords
- time
- interval clock
- precision interval
- satellite
- clock agreement
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0667—Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0644—External master-clock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/14—Monitoring arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Electric Clocks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method and device for monitoring time synchronization, relating to a communication technology and being invented for solving the problem that the prior art can not be used for monitoring the time synchronization in real time. The technical scheme provided by the embodiment of the invention comprises the steps of: receiving a precision interval clock protocol 1588v2 time signal, and obtaining a precision interval clock protocol 1588v2 time stamp of the precision interval clock protocol 1588v2 time signal; carrying out frequency locking and phase locking on the precision interval clock protocol 1588v2 time stamp to obtain a precision interval clock protocol 1588v2 pulse per second (PPS) of the precision interval clock protocol 1588v2 time signal; carrying out phase discrimination on the precision interval clock protocol 1588v2 PPS and a satellite PPS of a satellite signal to obtain a decimal part of a precision interval clock protocol 1588v2 time deviation of a base station; and reporting the decimal part of the precision interval clock protocol 1588v2 time deviation. The embodiment of the invention can be applied to the industrial automation, measurement and communication processes.
Description
Technical field
The present invention relates to the communication technology, relate in particular to a kind of monitoring method and device of time synchronized.
Background technology
Along with communication network is more and more higher to the requirement of time synchronized, the satellite simultaneous techniques is replaced by precision interval clock agreement 1588v2 Time synchronization technique gradually.Precision interval clock agreement 1588v2 is a kind of simultaneous techniques standard that transmits based on packet, it adopts time stamp mechanism and principal and subordinate's clock scheme, to the time transmission of encoding, utilize the symmetry and the latency measurement technology of network link simultaneously, realize principal and subordinate's clock frequency and time synchronously.Precision interval clock agreement 1588v2 is the regularly standard of synchronizing capacity of general lifting network system, makes distributed communication network have strict time synchronized, can be applied in fields such as communication, industrial automation.
In order to guarantee the time synchronized of communication network, need monitor precision interval clock agreement 1588v2 time synchronized.The method of prior art monitoring precision interval clock agreement 1588v2 time synchronized is: in beginning and examination, and wireless traffic is when going wrong (as call drop, service exception etc.), staff's deviation service time survey tool (as the time series analysis instrument) is measured the time deviation of each base station, judges by time deviation whether the time synchronized of base station goes wrong.
State in realization in the process of monitoring of time synchronized, the inventor finds that there are the following problems at least in the prior art: when beginning and examination, the time synchronized that needs each base station of monitoring, this moment, staff's deviation service time survey tool was measured the time deviation of each base station, expend lot of manpower and material resources, cost is higher, and measuring period is longer, is difficult to guarantee that engineering pays on time; In the network operation process, only when going wrong, wireless traffic just will consider the quality of time synchronized, need the staff that the time deviation of each base station is measured this moment, and then find out the problem base station and debug, cost is higher, and the positioning difficulty of problem base station is big, locating periodically is longer, the critical sales index of wireless traffic (Key PerformanceIndicators during the measurement, KPI) may seriously descend, serious problems may appear in wireless traffic.
Summary of the invention
Embodiments of the invention provide a kind of monitoring method and device of time synchronized, monitoring precision interval clock agreement 1588v2 time synchronized that can be real-time, thus guarantee the stability of wireless traffic.
On the one hand, provide a kind of monitoring method of time synchronized, having comprised: receive precision interval clock agreement 1588v2 time signal, described precision interval clock agreement 1588v2 time signal is to carry out time signal after the Synchronous Processing according to the precision interval clock agreement; And obtain the precision interval clock agreement 1588v2 time stamp of described precision interval clock agreement 1588v2 time signal; It is phase-locked that described precision interval clock agreement 1588v2 time stamp is carried out frequency locking, obtains the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of described precision interval clock agreement 1588v2 time signal; Satellite PPS to described precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite-signal carries out phase demodulation, obtains the fractional part of the precision interval clock agreement 1588v2 time deviation of described base station; Report the fractional part of described precision interval clock agreement 1588v2 time deviation.
On the other hand, provide a kind of monitoring device of time synchronized, having comprised:
The time stamp acquisition module is used to receive precision interval clock agreement 1588v2 time signal, and described precision interval clock agreement 1588v2 time signal is to carry out time signal after the Synchronous Processing according to the precision interval clock agreement; And obtain the precision interval clock agreement 1588v2 time stamp of described precision interval clock agreement 1588v2 time signal;
Precision interval clock agreement 1588v2PPS acquisition module, it is phase-locked that the precision interval clock agreement 1588v2 time stamp that is used for that described time stamp acquisition module is obtained carries out frequency locking, obtains the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of described precision interval clock agreement 1588v2 time signal;
Nanosecond the deviation acquisition module, be used for the precision interval clock agreement 1588v2 pulse per second (PPS) PPS that described precision interval clock agreement 1588v2PPS acquisition module is obtained and the satellite PPS of satellite-signal and carry out phase demodulation, obtain the fractional part of the precision interval clock agreement 1588v2 time deviation of described base station;
Nanosecond the deviation reporting module, be used to report the fractional part of described nanosecond precision interval clock agreement 1588v2 time deviation of obtaining of deviation acquisition module.
The monitoring method of the time synchronized that the embodiment of the invention provides and device, by real-time obtain and the precision interval clock agreement 1588v2 time deviation of reporting base station to monitoring system, can be real-time obtain precision interval clock agreement 1588v2 time signal, and precision interval clock agreement 1588v2 time signal handled, obtain precision interval clock agreement 1588v2 pulse per second (PPS) PPS, this precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite PPS are carried out phase demodulation, can obtain precision interval clock agreement 1588v2 time deviation, and then realize real-time monitoring precision interval clock agreement 1588v2 time synchronized.Problems such as the embodiment of the invention has solved in the prior art, needs staff's deviation service time survey tool that the time deviation of each base station is measured, and measuring period is long, cost is high, the positioning difficulty of problem base station is big.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The flow chart of the monitoring method of the time synchronized that Fig. 1 provides for the embodiment of the invention;
The flow chart of the monitoring method of the time synchronized that Fig. 2 provides for another embodiment of the present invention;
The flow chart of the monitoring method of the time synchronized that Fig. 3 provides for further embodiment of this invention;
The structural representation one of the monitoring device of the time synchronized that Fig. 4 provides for yet another embodiment of the invention;
The structural representation two of the monitoring device of the time synchronized that Fig. 5 provides for yet another embodiment of the invention;
The structural representation three of the monitoring device of the time synchronized that Fig. 6 provides for yet another embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
In order to solve in the prior art the synchronous problem of monitoring time in real time, the embodiment of the invention provides a kind of monitoring method and device of time synchronized.
As shown in Figure 1, the monitoring method of the time synchronized that the embodiment of the invention provides comprises:
In the present embodiment, step 101 can directly use precision interval clock agreement 1588v2 port to receive precision interval clock agreement 1588v2 time signal.Step 101 pair precision interval clock agreement 1588v2 time signal process is beaten timestamp, (Best Master Clock, BMC) algorithm selects source and decision-making port status etc. to best master clock, obtains precision interval clock agreement 1588v2 time stamp.
In the present embodiment, step 102 is according to precision interval clock agreement 1588v2 time stamp is carried out filtering to precision interval clock agreement 1588v2 time signal, the processing of the phase-locked grade of frequency locking, obtain Direct Digital Synthesizer (Direct Digital Synthesis, DDS) frequency control word and precision interval clock agreement 1588v2 time deviation, described frequency control word can be controlled the clock frequency that DDS exports and precision interval clock agreement 1588v2 time signal is synchronous and frequency control word be handled through DDS again, obtain clock frequency, system's real-time clock (RTC) (Real Time Clock, RTC), can obtain the precision interval clock agreement 1588v2 pulse per second (PPS) PPS synchronous with precision interval clock agreement 1588v2 time signal according to clock frequency and precision interval clock agreement 1588v2 time deviation.
In the present embodiment, step 103 can be by obtaining satellite-signal, and this satellite-signal is carried out processing such as filtering, obtains satellite PPS.Step 103 couple satellite PPS and precision interval clock agreement 1588v2 pulse per second (PPS) PPS carry out phase demodulation, obtain the phase deviation of two PPS, and this phase deviation is the fractional part of precision interval clock agreement 1588v2 time deviation.
In the present embodiment, report the method for precision interval clock agreement 1588v2 time deviation in the step 104, can have a variety of, for example: use main frame to encapsulate this precision interval clock agreement 1588v2 time deviation, monitoring system uses webmastering software to call the QX interface, make monitoring system obtain this precision interval clock agreement 1588v2 time deviation, thereby on the webmaster terminal of monitoring system, show.Show the method for precision interval clock agreement 1588v2 time deviation, except said method, additive method can also be arranged, give unnecessary details no longer one by one at this.
In the present embodiment, step 104 can report monitoring systems such as maintenance terminal or webmaster terminal with precision interval clock agreement 1588v2 time deviation.When the absolute value of the precision interval clock agreement 1588v2 of the base station that shows on monitoring system time deviation during greater than 1.5 microseconds, this base station promptly is the problem base station, and the staff compensates this problem base station, can guarantee the stability of wireless traffic.
The monitoring method of the time synchronized that present embodiment provides can be used in communication and field such as industrial automation, and then it is synchronous to control the temporal frequency from clock and master clock of this base station, field.Precision interval clock agreement 1588v2 Time synchronization technique realizes the synchronous of principal and subordinate's clock frequency and time by the 1588v2 time signal of master clock detection and correction base station, and this master clock can be the satellite clock of former base station, also can be other precision clocks.This Time synchronization technique is more stable more and accurate than the Time synchronization technique of satellite time service.
The monitoring method of the time synchronized that the embodiment of the invention provides, by real-time obtain and the precision interval clock agreement 1588v2 time deviation of reporting base station to monitoring system, can be real-time obtain precision interval clock agreement 1588v2 time signal, and precision interval clock agreement 1588v2 time signal handled, obtain precision interval clock agreement 1588v2 pulse per second (PPS) PPS, this precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite PPS are carried out phase demodulation, can obtain the fractional part of precision interval clock agreement 1588v2 time deviation, and then realize real-time monitoring precision interval clock agreement 1588v2 time synchronized.Problems such as the embodiment of the invention has solved in the prior art, needs staff's deviation service time survey tool that the time deviation of each base station is measured, and measuring period is long, cost is high, the positioning difficulty of problem base station is big.
As shown in Figure 2, the monitoring method of the time synchronized that another embodiment of the present invention provides comprises:
Step 201 and step 202 are obtained precision interval clock agreement 1588v2 pulse per second (PPS) PPS.Step 101 is identical with step 102 among concrete acquisition process and Fig. 1, repeats no more here.
Step 203 is obtained satellite-signal.
In the present embodiment, step 203 can be used device receiving satellite signals such as receiver, feeder line, amplifier and lightning arrester.
Step 204 is carried out analog-to-digital conversion to satellite-signal, obtains initial satellite PPS.
In the present embodiment, step 204 can use the star card that satellite-signal is carried out analog-to-digital conversion, is digital signal with satellite-signal by analog signal conversion, obtains containing the initial p PS of noise.
Step 205 to initial satellite PPS filtering shake, obtains the satellite PPS of satellite-signal.
In the present embodiment, the process of in the step 205 initial p PS being handled can comprise: according to satellite-signal initial p PS is carried out phase demodulation, obtain PPS and differ; This PPS is differed through filtering, the phase-locked scheduling algorithm of frequency locking, obtain satellite frequency control word and satellite time deviation; Described satellite frequency control word can be controlled DDS output and the synchronous clock frequency of satellite-signal, according to this clock frequency and satellite time deviation, obtain the filtering shake and with the long-term synchronous satellite PPS of satellite-signal.
The fractional part of precision interval clock agreement 1588v2 time deviation is obtained and reported to step 206 and step 207.The concrete process that reports can be with reference to step 103 and step 104 among the figure 1.
In the present embodiment, described satellite-signal can be a gps satellite signal, also can be Big Dipper satellite signal, can also be the satellite-signal that other can time service, gives unnecessary details no longer one by one at this.
The monitoring method of the time synchronized that present embodiment provides can be used in communication and field such as industrial automation, and then it is synchronous to control the temporal frequency from clock and master clock of this base station, field.Precision interval clock agreement 1588v2 Time synchronization technique realizes the synchronous of principal and subordinate's clock frequency and time by the 1588v2 time signal of master clock detection and correction base station, and this master clock can be the satellite clock of former base station, also can be other precision clocks.This Time synchronization technique is more stable more and accurate than the Time synchronization technique of satellite time service.
The monitoring method of the time synchronized that the embodiment of the invention provides, by real-time obtain and the precision interval clock agreement 1588v2 time deviation of reporting base station to monitoring system, can be real-time obtain precision interval clock agreement 1588v2 time signal, and precision interval clock agreement 1588v2 time signal handled, obtain precision interval clock agreement 1588v2 pulse per second (PPS) PPS, this precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite PPS are carried out phase demodulation, can obtain the fractional part of precision interval clock agreement 1588v2 time deviation, and then realize real-time monitoring precision interval clock agreement 1588v2 time synchronized.Problems such as the embodiment of the invention has solved in the prior art, needs staff's deviation service time survey tool that the time deviation of each base station is measured, and measuring period is long, cost is high, the positioning difficulty of problem base station is big.
As shown in Figure 3, the monitoring method of the time synchronized that further embodiment of this invention provides comprises:
The fractional part of precision interval clock agreement 1588v2 time deviation is obtained and reported to step 301 to step 304.The concrete process that reports can be given unnecessary details at this to step 104 no longer one by one with reference to step 101 among the figure 1.
In the present embodiment, step 305 is obtained the detailed process of precision interval clock agreement 1588v2 Precision Time Protocol PTP time and can be comprised:
At first, obtain the precision interval clock agreement 1588v2 time stamp of precision interval clock agreement 1588v2 time signal.
In the present embodiment, (Best Master Clock, BMC) algorithm selects the source and the port status etc. of making a strategic decision, and obtains precision interval clock agreement 1588v2 time stamp through beating timestamp, best master clock to precision interval clock agreement 1588v2 time signal.
Secondly, it is phase-locked that precision interval clock agreement 1588v2 time stamp is carried out frequency locking, obtains the precision interval clock agreement 1588v2 Precision Time Protocol PTP time.
In the present embodiment, precision interval clock agreement 1588v2 time stamp is carried out filtering, the processing of the phase-locked grade of frequency locking, obtain Direct Digital Synthesizer (Direct Digital Synthesis, DDS) frequency control word and precision interval clock agreement 1588v2 time deviation, described frequency control word can be controlled DDS output and the synchronous clock frequency of precision interval clock agreement 1588v2 time signal, system's real-time clock (RTC) (Real Time Clock, RTC) according to this clock frequency and precision interval clock agreement 1588v2 time deviation, can obtain the precision interval clock agreement 1588v2 Precision Time Protocol PTP time.
In the present embodiment, step 306 is obtained the detailed process of satellite PTP time and can be comprised:
One, satellite-signal is carried out analog-to-digital conversion, obtain Time of Day TOD.
In the present embodiment, can use the star card that satellite-signal is carried out analog-to-digital conversion, be digital signal with satellite-signal by analog signal conversion, obtains containing the initial p PS of noise.
Two, the Time of Day TOD time of carrying out is transformed, obtain the satellite PTP time.
In the present embodiment, the gps time elapsed time among this TOD is transformed, can be converted into the satellite PTP time.
Step 307 compares calculating to precision interval clock agreement 1588v2 Precision Time Protocol PTP time and satellite PTP time, obtains the integer part of the precision interval clock agreement 1588v2 time deviation of base station.
In the present embodiment, the precision interval clock agreement 1588v2 Precision Time Protocol PTP time that satellite PTP time that step 307 can obtain step 306 and step 305 obtain compares calculating, obtains a second value deviation.
Step 308 reports the integer part of this precision interval clock agreement 1588v2 time deviation.
In the present embodiment, step 308 reports the integer part of precision interval clock agreement 1588v2 time deviation, reports the similar process of the fractional part of precision interval clock agreement 1588v2 time deviation with step 104 among Fig. 1, gives unnecessary details no longer one by one at this.
The detection method of the time synchronized that present embodiment provides, the fractional part of precision interval clock agreement 1588v2 time deviation that can not only monitoring base station, when the precision interval clock agreement 1588v2 of base station time deviation is big, can also measure the integer part of the precision interval clock agreement 1588v2 time deviation of base station, thereby avoid the monitoring mistake of base station.
In the present embodiment, described satellite-signal can be a gps satellite signal, also can be Big Dipper satellite signal, can also be the satellite-signal that other can time service, gives unnecessary details no longer one by one at this.
The monitoring method of the time synchronized that present embodiment provides can be used in communication and field such as industrial automation, and then it is synchronous to control the temporal frequency from clock and master clock of this base station, field.Precision interval clock agreement 1588v2 Time synchronization technique realizes the synchronous of principal and subordinate's clock frequency and time by the 1588v2 time signal of master clock detection and correction base station, and this master clock can be the satellite clock of former base station, also can be other precision clocks.This Time synchronization technique is more stable more and accurate than the Time synchronization technique of satellite time service.
The monitoring method of the time synchronized that the embodiment of the invention provides, by real-time obtain and the precision interval clock agreement 1588v2 time deviation of reporting base station to monitoring system, can be real-time obtain precision interval clock agreement 1588v2 time signal, and precision interval clock agreement 1588v2 time signal handled, obtain precision interval clock agreement 1588v2 pulse per second (PPS) PPS, this precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite PPS are carried out phase demodulation, relatively calculate precision interval clock agreement 1588v2 PTP time and satellite PTP time simultaneously, can obtain precision interval clock agreement 1588v2 time deviation, and then realize real-time monitoring precision interval clock agreement 1588v2 time synchronized.Problems such as the embodiment of the invention has solved in the prior art, needs staff's deviation service time survey tool that the time deviation of each base station is measured, and measuring period is long, cost is high, the positioning difficulty of problem base station is big.
As shown in Figure 4, the monitoring device of the time synchronized that yet another embodiment of the invention provides comprises:
Time stamp acquisition module 401 is used to receive precision interval clock agreement 1588v2 time signal, and described precision interval clock agreement 1588v2 time signal is to carry out time signal after the Synchronous Processing according to the precision interval clock agreement; And obtain the precision interval clock agreement 1588v2 time stamp of precision interval clock agreement 1588v2 time signal.
In the present embodiment, time stamp acquisition module 401 can directly use precision interval clock agreement 1588v2 port to receive precision interval clock agreement 1588v2 time signal.401 pairs of precision interval clock agreements of time stamp acquisition module 1588v2 time signal process is beaten timestamp, (BestMaster Clock, BMC) algorithm selects source and decision-making port status etc. to best master clock, obtains precision interval clock agreement 1588v2 time stamp.
Precision interval clock agreement 1588v2 PPS acquisition module 402, it is phase-locked that the precision interval clock agreement 1588v2 time stamp that is used for that the time stamp acquisition module is obtained carries out frequency locking, obtains the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of precision interval clock agreement 1588v2 time signal.
In the present embodiment, 402 pairs of precision interval clock agreements of precision interval clock agreement 1588v2 PPS acquisition module 1588v2 time stamp carries out filtering, the processing of the phase-locked grade of frequency locking, obtain Direct Digital Synthesizer (Direct Digital Synthesis, DDS) frequency control word and precision interval clock agreement 1588v2 time deviation, described frequency control word can be controlled DDS output and the synchronous clock frequency of precision interval clock agreement 1588v2 time signal, system's real-time clock (RTC) (Real Time Clock, RTC), can obtain the precision interval clock agreement 1588v2 pulse per second (PPS) PPS synchronous with precision interval clock agreement 1588v2 time signal according to this clock frequency and precision interval clock agreement 1588v2 time deviation.
Nanosecond deviation acquisition module 403, be used for the precision interval clock agreement 1588v2 pulse per second (PPS) PPS that precision interval clock agreement 1588v2 PPS acquisition module is obtained and the satellite PPS of satellite-signal and carry out phase demodulation, obtain the fractional part of the precision interval clock agreement 1588v2 time deviation of base station.
In the present embodiment, nanosecond deviation acquisition module 403 can be by obtaining satellite-signal, and this satellite-signal is carried out processing such as filtering, obtain satellite PPS.403 couples of satellite PPS of nanosecond deviation acquisition module and precision interval clock agreement 1588v2 pulse per second (PPS) PPS carry out phase demodulation, obtain the phase deviation of two PPS, and this phase deviation is the fractional part of precision interval clock agreement 1588v2 time deviation.
Nanosecond deviation reporting module 404, be used to report the fractional part of the nanosecond precision interval clock agreement 1588v2 time deviation obtained of deviation acquisition module.
In the present embodiment, report the method for precision interval clock agreement 1588v2 time deviation in the nanosecond deviation reporting module 404, can have a variety of, for example: use main frame to encapsulate this precision interval clock agreement 1588v2 time deviation, monitoring system uses webmastering software to call the QX interface, make monitoring system obtain this precision interval clock agreement 1588v2 time deviation, thereby on the webmaster terminal of monitoring system, show.Show the method for precision interval clock agreement 1588v2 time deviation, except said method, additive method can also be arranged, give unnecessary details no longer one by one at this.
In the present embodiment, the deviation reporting module 404 can report monitoring systems such as maintenance terminal or webmaster terminal with precision interval clock agreement 1588v2 time deviation nanosecond.When the absolute value of the precision interval clock agreement 1588v2 of the base station that shows on monitoring system time deviation during greater than 1.5 microseconds, this base station promptly is the problem base station, and the staff compensates this problem base station, can guarantee the stability of wireless traffic.
Further, as shown in Figure 5, the monitoring device of time synchronized in the present embodiment can also comprise:
Satellite-signal acquisition module 405 is used to obtain satellite-signal.
In the present embodiment, satellite-signal acquisition module 405 can use device receiving satellite signals such as receiver, feeder line, amplifier and lightning arrester.
Initial satellite PPS acquisition module 406, the satellite-signal that is used for the satellite-signal acquisition module is obtained carries out analog-to-digital conversion, obtains initial satellite PPS.
In the present embodiment, initial satellite PPS acquisition module 406 can use the star card that satellite-signal is carried out analog-to-digital conversion, is digital signal with satellite-signal by analog signal conversion, obtains containing the initial p PS of noise.
Satellite PPS acquisition module 407 is used for the initial satellite PPS filtering that initial satellite PPS acquisition module obtains is shaken, and obtains the satellite PPS of satellite-signal.
In the present embodiment, the process of in the satellite PPS acquisition module 407 initial p PS being handled can comprise: according to satellite-signal initial p PS is carried out phase demodulation, obtain PPS and differ; This PPS is differed through filtering, the phase-locked scheduling algorithm of frequency locking, obtain satellite frequency control word and satellite time deviation; Described satellite frequency control word can be controlled DDS output and the synchronous clock frequency of satellite-signal, according to this clock frequency and satellite time deviation, obtain the filtering shake and with the long-term synchronous satellite PPS of satellite-signal.
Further, as shown in Figure 6, the monitoring device of time synchronized in the present embodiment can also comprise:
Precision interval clock agreement 1588v2PTP acquisition module 408, be used to obtain the precision interval clock agreement 1588v2 Precision Time Protocol PTP time of precision interval clock agreement 1588v2 time signal, wherein said precision interval clock agreement 1588v2 time signal is to carry out time signal after the Synchronous Processing according to the precision interval clock agreement.
In the present embodiment, precision interval clock agreement 1588v2PTP acquisition module 408 can also comprise: time stamp obtains submodule and precision interval clock agreement 1588v2 obtains submodule.Wherein: time stamp obtains submodule, is used to obtain the precision interval clock agreement 1588v2 time stamp of precision interval clock agreement 1588v2 time signal; Precision interval clock agreement 1588v2 obtains submodule, and being used for that time stamp is obtained precision interval clock agreement 1588v2 time stamp that submodule obtains, to carry out frequency locking phase-locked, obtains the precision interval clock agreement 1588v2 Precision Time Protocol PTP time.
In the present embodiment, time stamp obtains submodule can be to precision interval clock agreement 1588v2 time signal through beating timestamp, best master clock (Best Master Clock, BMC) algorithm selects source and decision-making port status etc., obtains precision interval clock agreement 1588v2 time stamp.Precision interval clock agreement 1588v2 obtains submodule precision interval clock agreement 1588v2 time stamp is carried out filtering, the processing of the phase-locked grade of frequency locking, obtain Direct Digital Synthesizer (Direct Digital Synthesis, DDS) frequency control word and precision interval clock agreement 1588v2 time deviation, described frequency control word can be controlled DDS output and the synchronous clock frequency of precision interval clock agreement 1588v2 time signal, system's real-time clock (RTC) (Real Time Clock, RTC) according to this clock frequency and precision interval clock agreement 1588v2 time deviation, can obtain the precision interval clock agreement 1588v2 Precision Time Protocol PTP time.
Satellite PTP acquisition module 409, the satellite PTP time that is used to obtain satellite-signal.
In the present embodiment, satellite PTP acquisition module 409 can also comprise: TOD obtains submodule and satellite obtains submodule.Wherein: TOD obtains submodule, is used for satellite-signal is carried out analog-to-digital conversion, obtains Time of Day TOD; Satellite obtains submodule, is used for that TOD is obtained the Time of Day TOD time of carrying out that submodule obtains and transforms, and obtains the satellite PTP time.
In the present embodiment, TOD obtains submodule and can use the star card that satellite-signal is carried out analog-to-digital conversion, is digital signal with satellite-signal by analog signal conversion, obtains containing the initial p PS of noise.Satellite obtains submodule the gps time elapsed time among this TOD is transformed, and can be converted into the satellite PTP time.
Second, the deviation acquisition module 410, being used for the satellite PTP time that precision interval clock agreement 1588v2 Precision Time Protocol PTP time that precision interval clock agreement 1588v2PTP acquisition module is obtained and satellite PTP acquisition module obtain compares calculating, obtains the integer part of the precision interval clock agreement 1588v2 time deviation of base station.
Second deviation reporting module 411 is used to report the integer part of the precision interval clock agreement 1588v2 time deviation that second deviation acquisition module obtains.
In the present embodiment, second deviation reporting module 411 reports the integer part of precision interval clock agreement 1588v2 time deviation, can with reference to nanosecond deviation reporting module 404 report the process of the fractional part of precision interval clock agreement 1588v2 time deviation, give unnecessary details no longer one by one at this.
In the present embodiment, described satellite-signal can be a gps satellite signal, also can be Big Dipper satellite signal, can also be the satellite-signal that other can time service, gives unnecessary details no longer one by one at this.
The monitoring device of the time synchronized that present embodiment provides can use in communication and field such as industrial automation, and then it is synchronous to control the temporal frequency from clock and master clock of this base station, field.Precision interval clock agreement 1588v2 Time synchronization technique realizes the synchronous of principal and subordinate's clock frequency and time by the 1588v2 time signal of master clock detection and correction base station, and this master clock can be the satellite clock of former base station, also can be other precision clocks.This Time synchronization technique is more stable more and accurate than the Time synchronization technique of satellite time service.
The monitoring device of the time synchronized that the embodiment of the invention provides, by real-time obtain and the precision interval clock agreement 1588v2 time deviation of reporting base station to monitoring system, can be real-time obtain precision interval clock agreement 1588v2 time signal, and precision interval clock agreement 1588v2 time signal handled, obtain precision interval clock agreement 1588v2 pulse per second (PPS) PPS, this precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite PPS are carried out phase demodulation, can obtain precision interval clock agreement 1588v2 time deviation, and then realize real-time monitoring precision interval clock agreement 1588v2 time synchronized.Problems such as the embodiment of the invention has solved in the prior art, needs staff's deviation service time survey tool that the time deviation of each base station is measured, and measuring period is long, cost is high, the positioning difficulty of problem base station is big.
The method for supervising and the device of the precision interval clock agreement 1588v2 time synchronized performance that the embodiment of the invention provides, can be applied in industrial automation, measurement and the communication process, having solved needs repeatedly the problem of station measurement down in the beginning and the course of receiving, improve the maintainability of precision interval clock agreement 1588v2 time synchronized performance, reduced the implementation cost and the maintenance cost of engineering.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use the software module of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection range with claim.
Claims (10)
1. the monitoring method of a time synchronized is characterized in that, comprising:
Receive precision interval clock agreement 1588v2 time signal, described precision interval clock agreement 1588v2 time signal is to carry out time signal after the Synchronous Processing according to the precision interval clock agreement; And obtain the precision interval clock agreement 1588v2 time stamp of described precision interval clock agreement 1588v2 time signal;
It is phase-locked that described precision interval clock agreement 1588v2 time stamp is carried out frequency locking, obtains the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of described precision interval clock agreement 1588v2 time signal;
Satellite PPS to described precision interval clock agreement 1588v2 pulse per second (PPS) PPS and satellite-signal carries out phase demodulation, obtains the fractional part of the precision interval clock agreement 1588v2 time deviation of described base station;
Report the fractional part of described precision interval clock agreement 1588v2 time deviation.
2. the monitoring method of time synchronized according to claim 1 is characterized in that, also comprises:
Obtain described satellite-signal;
Described satellite-signal is carried out analog-to-digital conversion, obtain initial satellite PPS;
To described initial satellite PPS filtering shake, obtain the satellite PPS of described satellite-signal.
3. the monitoring method of time synchronized according to claim 1 is characterized in that, also comprises:
Obtain the precision interval clock agreement 1588v2 Precision Time Protocol PTP time of described precision interval clock agreement 1588v2 time signal;
Obtain the satellite PTP time of described satellite-signal;
Described precision interval clock agreement 1588v2 Precision Time Protocol PTP time and described satellite PTP time are compared calculating, obtain the integer part of the precision interval clock agreement 1588v2 time deviation of described base station;
Report the integer part of described precision interval clock agreement 1588v2 time deviation.
4. the monitoring method of time synchronized according to claim 3 is characterized in that, the described precision interval clock agreement 1588v2 Precision Time Protocol PTP time of obtaining described precision interval clock agreement 1588v2 time signal, comprising:
Obtain the precision interval clock agreement 1588v2 time stamp of described precision interval clock agreement 1588v2 time signal;
It is phase-locked that described precision interval clock agreement 1588v2 time stamp is carried out frequency locking, obtains the described precision interval clock agreement 1588v2 Precision Time Protocol PTP time.
5. the monitoring method of time synchronized according to claim 3 is characterized in that, the described satellite PTP time of obtaining described satellite-signal, comprising:
Described satellite-signal is carried out analog-to-digital conversion, obtain Time of Day TOD;
Described Time of Day TOD is carried out the time conversion, obtain the described satellite PTP time.
6. the monitoring device of a time synchronized is characterized in that, comprising:
The time stamp acquisition module is used to receive precision interval clock agreement 1588v2 time signal, and described precision interval clock agreement 1588v2 time signal is to carry out time signal after the Synchronous Processing according to the precision interval clock agreement; And obtain the precision interval clock agreement 1588v2 time stamp of described precision interval clock agreement 1588v2 time signal;
Precision interval clock agreement 1588v2 PPS acquisition module, it is phase-locked that the precision interval clock agreement 1588v2 time stamp that is used for that described time stamp acquisition module is obtained carries out frequency locking, obtains the precision interval clock agreement 1588v2 pulse per second (PPS) PPS of described precision interval clock agreement 1588v2 time signal;
Nanosecond the deviation acquisition module, be used for the precision interval clock agreement 1588v2 pulse per second (PPS) PPS that described precision interval clock agreement 1588v2 PPS acquisition module is obtained and the satellite PPS of satellite-signal and carry out phase demodulation, obtain the fractional part of the precision interval clock agreement 1588v2 time deviation of described base station;
Nanosecond the deviation reporting module, be used to report the fractional part of described nanosecond precision interval clock agreement 1588v2 time deviation of obtaining of deviation acquisition module.
7. the monitoring device of time synchronized according to claim 6 is characterized in that, also comprises:
The satellite-signal acquisition module is used to obtain described satellite-signal;
Initial satellite PPS acquisition module is used for the satellite-signal that described satellite-signal acquisition module obtains is carried out analog-to-digital conversion, obtains initial satellite PPS;
Satellite PPS acquisition module is used for the initial satellite PPS filtering that described initial satellite PPS acquisition module obtains is shaken, and obtains the satellite PPS of described satellite-signal.
8. the monitoring device of time synchronized according to claim 6 is characterized in that, also comprises:
Precision interval clock agreement 1588v2 PTP acquisition module, the precision interval clock agreement 1588v2 Precision Time Protocol PTP time that is used to obtain described precision interval clock agreement 1588v2 time signal;
Satellite PTP acquisition module, the satellite PTP time that is used to obtain described satellite-signal;
Second deviation acquisition module, being used for the satellite PTP time that precision interval clock agreement 1588v2 Precision Time Protocol PTP time that described precision interval clock agreement 1588v2 PTP acquisition module is obtained and described satellite PTP acquisition module obtain compares calculating, obtains the integer part of the precision interval clock agreement 1588v2 time deviation of described base station;
Second deviation reporting module is used to report the integer part of the precision interval clock agreement 1588v2 time deviation that described second deviation acquisition module obtain.
9. the monitoring device of time synchronized according to claim 8 is characterized in that, described precision interval clock agreement 1588v2 PTP acquisition module comprises:
Time stamp obtains submodule, is used to obtain the precision interval clock agreement 1588v2 time stamp of described precision interval clock agreement 1588v2 time signal;
Precision interval clock agreement 1588v2 obtains submodule, and being used for that described time stamp is obtained precision interval clock agreement 1588v2 time stamp that submodule obtains, to carry out frequency locking phase-locked, obtains the described precision interval clock agreement 1588v2 Precision Time Protocol PTP time.
10. the monitoring device of time synchronized according to claim 8 is characterized in that, described satellite PTP acquisition module comprises:
TOD obtains submodule, is used for described satellite-signal is carried out analog-to-digital conversion, obtains Time of Day TOD;
Satellite obtains submodule, is used for that described TOD is obtained the Time of Day TOD time of carrying out that submodule obtains and transforms, and obtains the described satellite PTP time.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010612514.4A CN102098121B (en) | 2010-12-29 | 2010-12-29 | Method and device for monitoring time synchronization |
PCT/CN2011/080086 WO2012088931A1 (en) | 2010-12-29 | 2011-09-23 | Method and device for monitoring time synchronization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010612514.4A CN102098121B (en) | 2010-12-29 | 2010-12-29 | Method and device for monitoring time synchronization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102098121A true CN102098121A (en) | 2011-06-15 |
CN102098121B CN102098121B (en) | 2014-09-03 |
Family
ID=44131005
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010612514.4A Active CN102098121B (en) | 2010-12-29 | 2010-12-29 | Method and device for monitoring time synchronization |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102098121B (en) |
WO (1) | WO2012088931A1 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012088931A1 (en) * | 2010-12-29 | 2012-07-05 | 华为技术有限公司 | Method and device for monitoring time synchronization |
CN102710359A (en) * | 2012-06-27 | 2012-10-03 | 北京东土科技股份有限公司 | Accurate clock frequency synchronizing method and device based on IEEE1588 (institute of electrical and electronics engineers) |
WO2012149736A1 (en) * | 2011-09-09 | 2012-11-08 | 华为技术有限公司 | Time synchronization method and system, and node device |
CN103036857A (en) * | 2011-09-29 | 2013-04-10 | 中兴通讯股份有限公司 | Remote simulation method and device for checking and accepting broadband access |
CN106330375A (en) * | 2016-08-24 | 2017-01-11 | 郑州威科姆科技股份有限公司 | Power cyclic wave time synchronization system and time synchronization method thereof |
CN104486017B (en) * | 2014-11-07 | 2017-02-15 | 中国电子科技集团公司第二十八研究所 | Satellite time service multi-node synchronization monitoring method based on IP light transmission |
CN107947848A (en) * | 2017-11-16 | 2018-04-20 | 北京卫星信息工程研究所 | Satellite communication ground synchronous analogue system and application process based on IEEE 1588v2 |
CN108075826A (en) * | 2016-11-14 | 2018-05-25 | 上海微小卫星工程中心 | A kind of method and system of with realizing Satellite Semi-physical l-G simulation test star time synchronization |
CN109765583A (en) * | 2019-03-04 | 2019-05-17 | 华通信安(北京)科技发展有限公司 | A kind of clock synchronizing method based on GNSS receiver pulse per second (PPS) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113541846B (en) * | 2021-09-17 | 2021-11-26 | 电信科学技术第五研究所有限公司 | Method and system for monitoring network time synchronization performance |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447861A (en) * | 2008-12-29 | 2009-06-03 | 中兴通讯股份有限公司 | IEEE 1588 time synchronization system and implementation method thereof |
CN101771487A (en) * | 2008-12-31 | 2010-07-07 | 郑州威科姆科技股份有限公司 | Equipment for network time service precision detection and detection method using the detection equipment |
CN101841736A (en) * | 2009-03-20 | 2010-09-22 | 中兴通讯股份有限公司 | Method and system for transferring time in passive optical network (PON) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098121B (en) * | 2010-12-29 | 2014-09-03 | 华为技术有限公司 | Method and device for monitoring time synchronization |
-
2010
- 2010-12-29 CN CN201010612514.4A patent/CN102098121B/en active Active
-
2011
- 2011-09-23 WO PCT/CN2011/080086 patent/WO2012088931A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447861A (en) * | 2008-12-29 | 2009-06-03 | 中兴通讯股份有限公司 | IEEE 1588 time synchronization system and implementation method thereof |
CN101771487A (en) * | 2008-12-31 | 2010-07-07 | 郑州威科姆科技股份有限公司 | Equipment for network time service precision detection and detection method using the detection equipment |
CN101841736A (en) * | 2009-03-20 | 2010-09-22 | 中兴通讯股份有限公司 | Method and system for transferring time in passive optical network (PON) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012088931A1 (en) * | 2010-12-29 | 2012-07-05 | 华为技术有限公司 | Method and device for monitoring time synchronization |
WO2012149736A1 (en) * | 2011-09-09 | 2012-11-08 | 华为技术有限公司 | Time synchronization method and system, and node device |
US9184860B2 (en) | 2011-09-09 | 2015-11-10 | Huawei Technologies Co., Ltd. | Time synchronization method and system, and node device |
CN103036857A (en) * | 2011-09-29 | 2013-04-10 | 中兴通讯股份有限公司 | Remote simulation method and device for checking and accepting broadband access |
CN102710359A (en) * | 2012-06-27 | 2012-10-03 | 北京东土科技股份有限公司 | Accurate clock frequency synchronizing method and device based on IEEE1588 (institute of electrical and electronics engineers) |
CN102710359B (en) * | 2012-06-27 | 2014-12-24 | 北京东土科技股份有限公司 | Accurate clock frequency synchronizing method and device based on IEEE1588 (institute of electrical and electronics engineers) |
CN104486017B (en) * | 2014-11-07 | 2017-02-15 | 中国电子科技集团公司第二十八研究所 | Satellite time service multi-node synchronization monitoring method based on IP light transmission |
CN106330375A (en) * | 2016-08-24 | 2017-01-11 | 郑州威科姆科技股份有限公司 | Power cyclic wave time synchronization system and time synchronization method thereof |
CN106330375B (en) * | 2016-08-24 | 2018-04-06 | 郑州威科姆科技股份有限公司 | Electric power cyclic waves clock synchronization system and its method for synchronizing time |
CN108075826A (en) * | 2016-11-14 | 2018-05-25 | 上海微小卫星工程中心 | A kind of method and system of with realizing Satellite Semi-physical l-G simulation test star time synchronization |
CN108075826B (en) * | 2016-11-14 | 2020-10-27 | 上海微小卫星工程中心 | Method and system for realizing satellite-ground time synchronization of satellite semi-physical simulation test |
CN107947848A (en) * | 2017-11-16 | 2018-04-20 | 北京卫星信息工程研究所 | Satellite communication ground synchronous analogue system and application process based on IEEE 1588v2 |
CN107947848B (en) * | 2017-11-16 | 2020-10-23 | 北京卫星信息工程研究所 | Satellite communication ground synchronous simulation system based on IEEE1588v2 and application method |
CN109765583A (en) * | 2019-03-04 | 2019-05-17 | 华通信安(北京)科技发展有限公司 | A kind of clock synchronizing method based on GNSS receiver pulse per second (PPS) |
Also Published As
Publication number | Publication date |
---|---|
CN102098121B (en) | 2014-09-03 |
WO2012088931A1 (en) | 2012-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102098121B (en) | Method and device for monitoring time synchronization | |
EP3009897B1 (en) | Distribution device, distribution system, and distribution method | |
CN103563287B (en) | Synchronization device and synchronization method | |
KR101340752B1 (en) | High-precision synchronisation method and system | |
CN102006159B (en) | Multi-slave clock sampling value multi-interface synchronizing system based on IEEE1588 | |
CN101895385B (en) | Time-setting clock system of merging unit for realizing clock switching | |
CN101043315B (en) | Network clock synchronous device, system and method | |
CN100461721C (en) | System, method and apparatus for testing long-distance frame time delay | |
CN101860952B (en) | Clock correcting method and system based on IP network for wireless base station | |
CN101068128B (en) | Method for time synchronization in distributed control system | |
CN106603183B (en) | A kind of timestamp filter method and device | |
CN105577348B (en) | Frequency deviation monitoring method and device based on time synchronization network | |
US10862602B2 (en) | Time synchronization method, sensor data acquisition terminal, and sensor network system | |
CN109495203A (en) | A kind of recovery system of PTP from clock | |
CN111431650B (en) | Satellite signal real-time service method and system based on FPGA | |
CN202475769U (en) | High-precision network clock server of LTE (Long Term Evolution) system | |
CN201425705Y (en) | Electric power system time synchronizer | |
CN111711948B (en) | Method and system for acquiring high-precision time from 5G base station through air interface | |
CN205880528U (en) | High -precision synchronization sampling device based on FPGA | |
CN104579623A (en) | Network time-setting system and method for secondary equipment of electric power system | |
CN113014345A (en) | Clock synchronization early warning method, device and system | |
CN106254182B (en) | A kind of time synchronism apparatus of IP network tester | |
CN107300849A (en) | The measuring method and on-line monitoring system of a kind of precision clock | |
CN110297208A (en) | Digitize live various dimensions test method and test macro across interval metering system | |
CN207884639U (en) | A kind of network node, temporal noise transmission characteristic measuring device and synchronous communication network |
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 |