[go: up one dir, main page]

CN105589328B - Time synchronization test method, measuring accuracy determine method and device - Google Patents

Time synchronization test method, measuring accuracy determine method and device Download PDF

Info

Publication number
CN105589328B
CN105589328B CN201410569576.XA CN201410569576A CN105589328B CN 105589328 B CN105589328 B CN 105589328B CN 201410569576 A CN201410569576 A CN 201410569576A CN 105589328 B CN105589328 B CN 105589328B
Authority
CN
China
Prior art keywords
signal
test
accuracy
local clock
satellite 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
Application number
CN201410569576.XA
Other languages
Chinese (zh)
Other versions
CN105589328A (en
Inventor
韩柳燕
李晗
王慧莹
王磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201410569576.XA priority Critical patent/CN105589328B/en
Publication of CN105589328A publication Critical patent/CN105589328A/en
Application granted granted Critical
Publication of CN105589328B publication Critical patent/CN105589328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)
  • Measuring Phase Differences (AREA)

Abstract

The invention discloses a kind of time synchronization test methods, including:Before the unlocked satellite time transfer module of local clock, using satellite time transfer signal as reference signal;According to the satellite time transfer signal and measured signal, the time precision of presently described measured signal is determined.The present invention also discloses a kind of time synchronization test precision to determine method, time synchronization test device and time synchronization test precision determining device.

Description

时间同步测试方法、测试精度确定方法及装置Time synchronization test method, test accuracy determination method and device

技术领域technical field

本发明涉及测试技术,尤其涉及一种时间同步测试方法、测试精度确定方法及装置。The invention relates to testing technology, in particular to a time synchronization testing method, a testing precision determination method and a device.

背景技术Background technique

统一、精确的时间在移动通信、电力、金融、传感等领域均有需求和应用。要保证时间信息的准确度,必须通过高精度的测试系统对时间信息进行测试。Unified and precise time has demands and applications in fields such as mobile communications, electric power, finance, and sensing. To ensure the accuracy of time information, the time information must be tested by a high-precision test system.

传统的时间同步测试设备种类较多,测试精度和性能也各不相同。通常采用全球定位系统(GPS,Global Positioning System)卫星时钟源或北斗卫星导航系统(BD)同步本地时钟(比如晶振、铷钟等)的技术,通过接收卫星信号,用卫星时钟驯服本地时钟之后输出脉冲信号,通过被测信号与输出脉冲信号的比对得出时间测试精度。There are many types of traditional time synchronization test equipment, and the test accuracy and performance are also different. Usually adopt the technology of GPS (Global Positioning System) satellite clock source or Beidou satellite navigation system (BD) to synchronize the local clock (such as crystal oscillator, rubidium clock, etc.), by receiving satellite signals, use the satellite clock to tame the local clock and then output Pulse signal, the time test accuracy is obtained by comparing the measured signal with the output pulse signal.

但是这种方法存在一定缺陷:在测量时,卫星授时模块首先完成启动搜星再完成自身3D定位后进入精密授时模式,而本地时钟如铷钟等需要完成预热待自身频率达到稳定后才能锁定到卫星授时模块输出的1PPS信号上,这个锁定过程需要约40分钟到1小时的时间,锁定时间太长。造成仪表在使用过程中,工程人员需要在测试地点一直等待,直到仪表锁定才能开始测量。However, this method has certain defects: when measuring, the satellite timing module first completes the start-up satellite search and then completes its own 3D positioning and then enters the precise timing mode, while the local clocks such as rubidium clocks need to complete preheating and wait for their own frequency to stabilize before locking To the 1PPS signal output by the satellite timing module, the locking process takes about 40 minutes to 1 hour, and the locking time is too long. As a result, during the use of the meter, engineers need to wait at the test site until the meter is locked before starting measurement.

发明内容Contents of the invention

为解决现有存在的技术问题,本发明实施例提供一种时间同步测试方法、测试精度确定方法及装置。In order to solve the existing technical problems, the embodiment of the present invention provides a time synchronization test method, a test accuracy determination method and a device.

本发明实施例提供了一种时间同步测试方法,包括:An embodiment of the present invention provides a time synchronization testing method, including:

本地时钟未锁定卫星授时模块之前,将卫星授时信号作为基准信号;Before the local clock is locked to the satellite timing module, the satellite timing signal is used as the reference signal;

根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度。According to the satellite timing signal and the measured signal, the time accuracy of the currently measured signal is determined.

上述方案中,所述根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度时,所述方法还包括:In the above scheme, when determining the time accuracy of the current measured signal according to the satellite timing signal and the measured signal, the method further includes:

实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;Comparing the phase of the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence;

根据所述相位偏差序列,确定当前系统的测试精度。According to the phase deviation sequence, the test accuracy of the current system is determined.

上述方案中,所述根据所述相位偏差序列,确定当前系统的测试精度,为:In the above solution, the determination of the test accuracy of the current system according to the phase deviation sequence is:

采用统计方法,利用所述相位偏差序列确定所述本地时钟的频率漂移率;Using a statistical method to determine the frequency drift rate of the local clock by using the phase deviation sequence;

利用所述相位偏差序列及所述频率漂移率,确定所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值。Using the phase deviation sequence and the frequency drift rate, determine the mean square error of the error between the satellite timing signal and the standard time and the peak value of the error peak.

上述方案中,所述方法还包括:In the above scheme, the method also includes:

保存所述频率漂移率。Save the frequency drift rate.

上述方案中,所述方法还包括:In the above scheme, the method also includes:

输出确定的测试精度。Output the determined test accuracy.

上述方案中,所述方法还包括:In the above scheme, the method also includes:

所述本地时钟锁定所述卫星授时模块后,将所述本地时钟锁定且优化处理后的信号作为基准信号;After the local clock locks the satellite timing module, use the local clock locked and optimized signal as a reference signal;

相应地,根据优化后的所述本地时钟锁定的信号及所述被测信号,确定当前所述被测信号的时间精度。Correspondingly, according to the optimized signal locked by the local clock and the signal under test, the current time accuracy of the signal under test is determined.

本发明实施例还提供了一种时间同步测试精度确定方法,包括:The embodiment of the present invention also provides a time synchronization test accuracy determination method, including:

实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;Comparing the phase of the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence;

根据所述相位偏差序列,确定当前系统的测试精度。According to the phase deviation sequence, the test accuracy of the current system is determined.

上述方案中,所述根据所述相位偏差序列,确定当前系统的测试精度,为:In the above solution, the determination of the test accuracy of the current system according to the phase deviation sequence is:

采用统计方法,利用所述相位偏差序列确定所述本地时钟的频率漂移率;Using a statistical method to determine the frequency drift rate of the local clock by using the phase deviation sequence;

利用所述相位偏差序列及所述频率漂移率,确定所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值。Using the phase deviation sequence and the frequency drift rate, determine the mean square error of the error between the satellite timing signal and the standard time and the peak value of the error peak.

上述方案中,所述方法还包括:In the above scheme, the method also includes:

保存所述频率漂移率。Save the frequency drift rate.

上述方案中,所述方法还包括:In the above scheme, the method also includes:

输出确定的测试精度。Output the determined test accuracy.

本发明实施例又提供了一种时间同步测试装置,包括:选择单元及测试单元;其中,The embodiment of the present invention further provides a time synchronization test device, including: a selection unit and a test unit; wherein,

所述选择单元,用于本地时钟未锁定卫星授时模块之前,将卫星授时信号作为基准信号;The selection unit is used to use the satellite timing signal as a reference signal before the local clock is not locked to the satellite timing module;

所述测试单元,用于根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度。The testing unit is configured to determine the current time accuracy of the signal under test according to the satellite timing signal and the signal under test.

上述方案中,所述装置还包括:比较单元及测试精度确定单元;其中,In the above solution, the device further includes: a comparison unit and a test accuracy determination unit; wherein,

所述比较单元,用于实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;The comparison unit is used to compare the phase of the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence;

所述测试精度确定单元,用于根据所述相位偏差序列,确定当前系统的测试精度。The test accuracy determining unit is configured to determine the test accuracy of the current system according to the phase deviation sequence.

上述方案中,所述测试精度确定单元还包括:第一确定模块及第二确定模块;其中,In the above solution, the test accuracy determination unit further includes: a first determination module and a second determination module; wherein,

所述第一确定模块,用于采用统计方法,利用所述相位偏差序列确定所述本地时钟的频率漂移率;The first determining module is configured to use a statistical method to determine the frequency drift rate of the local clock by using the phase deviation sequence;

所述第二确定模块,用于利用所述相位偏差序列及所述频率漂移率,确定所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值。The second determination module is configured to determine the mean square error and the peak value of the error peak between the satellite timing signal and standard time by using the phase deviation sequence and the frequency drift rate.

上述方案中,所述装置还包括:存储单元,用于存储所述频率漂移率。In the solution above, the device further includes: a storage unit configured to store the frequency drift rate.

上述方案中,所述装置还包括:输出单元,用于确定当前系统的测试精度后,输出确定的测试精度。In the solution above, the device further includes: an output unit configured to output the determined test accuracy after determining the test accuracy of the current system.

上述方案中,所述选择单元,还用于所述本地时钟锁定所述卫星授时模块后,将所述本地时钟锁定且优化处理后的信号作为基准信号;In the above scheme, the selection unit is further configured to use the signal locked by the local clock and optimized after the local clock is locked to the satellite timing module as a reference signal;

相应地,所述测试单元,还用于根据优化后的所述本地时钟锁定的信号及所述被测信号,确定当前所述被测信号的时间精度。Correspondingly, the testing unit is further configured to determine the current time accuracy of the signal under test according to the optimized signal locked by the local clock and the signal under test.

本发明实施例还提供了一种时间同步测试精度确定装置,包括:比较单元及测试精度确定单元;其中,The embodiment of the present invention also provides a time synchronization test accuracy determination device, including: a comparison unit and a test accuracy determination unit; wherein,

所述比较单元,用于实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;The comparison unit is used to compare the phase of the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence;

所述测试精度确定单元,用于根据所述相位偏差序列,确定当前系统的测试精度。The test accuracy determining unit is configured to determine the test accuracy of the current system according to the phase deviation sequence.

上述方案中,所述测试精度确定单元还包括:第一确定模块及第二确定模块;其中,In the above solution, the test accuracy determination unit further includes: a first determination module and a second determination module; wherein,

所述第一确定模块,用于采用统计方法,利用所述相位偏差序列确定所述本地时钟的频率漂移率;The first determining module is configured to use a statistical method to determine the frequency drift rate of the local clock by using the phase deviation sequence;

所述第二确定模块,用于利用所述相位偏差序列及所述频率漂移率,确定所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值。The second determination module is configured to determine the mean square error and the peak value of the error peak between the satellite timing signal and standard time by using the phase deviation sequence and the frequency drift rate.

上述方案中,所述装置还包括:存储单元,用于存储所述频率漂移率。In the solution above, the device further includes: a storage unit configured to store the frequency drift rate.

上述方案中,所述装置还包括:输出单元,用于确定当前系统的测试精度后,输出确定的测试精度。In the solution above, the device further includes: an output unit configured to output the determined test accuracy after determining the test accuracy of the current system.

本发明实施例提供的时间同步测试方法、测试精度确定方法及装置,本地时钟未锁定卫星授时模块之前,将卫星授时信号作为基准信号;根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度,如此,测试设备无需等待本地时钟的锁定即可开始进行测试,大大缩短了测试的启动时间,可快速为测试人员提供时间精度测试结果。In the time synchronization test method, test accuracy determination method and device provided by the embodiments of the present invention, before the local clock is locked to the satellite timing module, the satellite timing signal is used as a reference signal; according to the satellite timing signal and the measured signal, the current The time accuracy of the signal under test, so that the test equipment can start the test without waiting for the local clock to be locked, which greatly shortens the start-up time of the test and can quickly provide testers with time accuracy test results.

另外,利用所述相位偏差序列,确定所述本地时钟的频率漂移率后,保存所述频率漂移率,下次测试时,可直接调取存储的所述频率漂移率,直接来确定当前系统的测试精度,这样,能有效地降低了下次估计测试精度所需的取样相位偏差的数量,进一步降低了测试时间,可快速为测试人员提供仪表精度信息。In addition, after the frequency drift rate of the local clock is determined by using the phase deviation sequence, the frequency drift rate is saved. In the next test, the stored frequency drift rate can be directly called to directly determine the frequency drift rate of the current system. The test accuracy, in this way, can effectively reduce the number of sampling phase deviations required to estimate the test accuracy next time, further reduce the test time, and can quickly provide testers with instrument accuracy information.

附图说明Description of drawings

在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。In the drawings (which are not necessarily drawn to scale), like reference numerals may describe like parts in different views. Similar reference numbers with different letter suffixes may indicate different instances of similar components. The drawings generally illustrate the various embodiments discussed herein, by way of example and not limitation.

图1为本发明实施例一时间同步测试方法流程示意图;1 is a schematic flow chart of a time synchronization testing method according to an embodiment of the present invention;

图2为本发明实施例二时间同步测试装置结构示意图;FIG. 2 is a schematic structural diagram of a time synchronization testing device according to Embodiment 2 of the present invention;

图3为本发明实施例三时间同步测试装置结构示意图;FIG. 3 is a schematic structural diagram of a time synchronization testing device according to Embodiment 3 of the present invention;

图4为本发明实施例四时间同步测试精度确定方法流程示意图;FIG. 4 is a schematic flow chart of a method for determining the accuracy of a time synchronization test in Embodiment 4 of the present invention;

图5为本发明实施例五时间同步测试精度确定装置结构示意图。FIG. 5 is a schematic structural diagram of a time synchronization test accuracy determination device according to Embodiment 5 of the present invention.

具体实施方式Detailed ways

下面结合附图及具体实施例对本发明再作进一步详细地描述。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

从背景技术的描述中可以看出,现有的时间同步测试系统中,在本地时钟未锁定卫星授时模块之前,工程人员需要在测试地点一直等待,直到仪表锁定才能开始测量。It can be seen from the description of the background technology that in the existing time synchronization test system, before the local clock is not locked to the satellite timing module, engineers need to wait at the test site until the instrument is locked before starting measurement.

另外,传统的时间同步测试设备不能在测试的同时给出测试精度范围,给测试人员带来了不便;In addition, the traditional time synchronization test equipment cannot give the test accuracy range while testing, which brings inconvenience to the testers;

除此以外,测试设备的中央处理器(CPU,Central Processing Unit)并不存储各误差值,每次都要重新计算调整各误差值,增加了测试时间。In addition, the central processing unit (CPU, Central Processing Unit) of the test equipment does not store each error value, and each error value must be recalculated and adjusted every time, which increases the test time.

基于此,在本发明的各种实施例中:在本地时钟未锁定卫星授时模块之前,将卫星授时信号作为基准信号;根据所述卫星授时信号与被测信号,确定当前所述被测信号的时间精度。Based on this, in various embodiments of the present invention: before the local clock is not locked to the satellite timing module, the satellite timing signal is used as a reference signal; according to the satellite timing signal and the measured signal, determine the current measured signal time precision.

下面结合附图及实施例对本发明再作进一步详细地描述。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

实施例一Embodiment one

本实施例时间同步测试方法,如图1所示,包括以下步骤:The time synchronization testing method of this embodiment, as shown in Figure 1, comprises the following steps:

步骤101:本地时钟未锁定卫星授时模块之前,将卫星授时信号作为基准信号;Step 101: Before the local clock is locked to the satellite timing module, the satellite timing signal is used as a reference signal;

这里,所述卫星授时信号是指卫星授时模块输出的信号,所述卫星授时信号包括:1PPS信号及当前时刻(TOD)信号。Here, the satellite timing signal refers to a signal output by a satellite timing module, and the satellite timing signal includes: a 1PPS signal and a current time (TOD) signal.

实际应用时,一般会将所述卫星授时信号先进行滤波处理,将滤波处理后的卫星授时信号作为基准信号。In practical applications, the satellite timing signal is generally filtered first, and the filtered satellite timing signal is used as a reference signal.

所述本地时钟可以是晶振、或铷钟等。The local clock may be a crystal oscillator, or a rubidium clock or the like.

步骤102:根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度。Step 102: Determine the current time accuracy of the signal under test according to the satellite timing signal and the signal under test.

这里,所述根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度时,该方法还可以包括:实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;根据所述相位偏差序列,确定当前系统的测试精度。Here, when determining the time accuracy of the current measured signal according to the satellite timing signal and the measured signal, the method may also include: comparing the phase of the local clock signal with the satellite timing signal in real time to obtain the phase A deviation sequence; according to the phase deviation sequence, determine the test accuracy of the current system.

其中,所述根据所述相位偏差序列,确定当前系统的测试精度,具体为:Wherein, the test accuracy of the current system is determined according to the phase deviation sequence, specifically:

采用统计方法,利用所述相位偏差序列确定所述本地时钟的频率漂移率;Using a statistical method to determine the frequency drift rate of the local clock by using the phase deviation sequence;

利用所述相位偏差序列及所述频率漂移率,确定所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值。Using the phase deviation sequence and the frequency drift rate, determine the mean square error of the error between the satellite timing signal and the standard time and the peak value of the error peak.

这里,还可以保存所述频率漂移率,下次测试时,可直接调取存储的所述频率漂移率,直接来确定当前系统的测试精度,这样,降低了下次估计测试精度所需的取样相位偏差的数量。Here, the frequency drift rate can also be saved, and the stored frequency drift rate can be directly recalled during the next test to directly determine the test accuracy of the current system. In this way, the sampling required for the next estimation test accuracy is reduced. The amount of phase deviation.

确定当前系统的测试精度后,该方法还可以包括:输出确定的测试精度;这样,显示的测试精度供测试人员参考;测试人员根据显示的测试精度确定测试精度无法满足当前测试要求时,可以选择等待一段时间,等测试精度满足当前测试要求后,再开始进行测试。After determining the test accuracy of the current system, the method may also include: outputting the determined test accuracy; in this way, the displayed test accuracy is for the tester's reference; when the tester determines that the test accuracy cannot meet the current test requirements according to the displayed test accuracy, he can select Wait for a period of time until the test accuracy meets the current test requirements before starting the test.

该方法还可以包括:The method can also include:

所述本地时钟锁定所述卫星授时模块后,将所述本地时钟锁定且优化处理后的信号作为基准信号;After the local clock locks the satellite timing module, use the local clock locked and optimized signal as a reference signal;

相应地,根据优化后的所述本地时钟锁定的信号及所述被测信号,确定当前所述被测信号的时间精度,这样,能提高测试精度,且在丢失卫星授时信号时,能提供稳定性及守时性能。Correspondingly, according to the signal locked by the local clock after optimization and the signal under test, determine the time accuracy of the current signal under test, so that the test accuracy can be improved, and when the satellite timing signal is lost, stable performance and punctuality.

这里,实际应用时,所述优化处理包括对所述本地时钟信号进行频率偏差纠正处理等。Here, in practical application, the optimization processing includes performing frequency deviation correction processing on the local clock signal and the like.

本发明实施例提供的时间同步测试方法,本地时钟未锁定卫星授时模块之前,将卫星授时信号作为基准信号;根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度,如此,测试设备无需等待本地时钟的锁定即可开始进行测试,大大缩短了测试的启动时间,可快速为测试人员提供时间精度测试结果。In the time synchronization test method provided by the embodiment of the present invention, before the local clock is locked to the satellite timing module, the satellite timing signal is used as a reference signal; according to the satellite timing signal and the measured signal, the time accuracy of the current measured signal is determined, In this way, the test equipment can start the test without waiting for the local clock to be locked, which greatly shortens the start-up time of the test, and can quickly provide the tester with the time accuracy test result.

根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度时,实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;根据所述相位偏差序列,确定当前系统的测试精度,并输出确定的测试精度;这样,当测试人员根据显示的测试精度确定测试精度无法满足当前测试要求时,可以选择等待一段时间,等测试精度满足当前测试要求后,再开始进行测试。According to the satellite timing signal and the measured signal, when determining the time accuracy of the current measured signal, the local clock signal is compared with the satellite timing signal in real time to obtain a phase deviation sequence; according to the phase deviation sequence, Determine the test accuracy of the current system and output the determined test accuracy; in this way, when the tester determines that the test accuracy cannot meet the current test requirements according to the displayed test accuracy, he can choose to wait for a period of time until the test accuracy meets the current test requirements. Start testing.

利用所述相位偏差序列,确定所述本地时钟的频率漂移率后,保存所述频率漂移率,下次测试时,可直接调取存储的所述频率漂移率,直接来确定当前系统的测试精度,而频率漂移率是基于一定时间内的取样数据确定的,这样,能有效地降低下次估计测试精度所需的取样相位偏差的数量,进一步降低了测试时间,可快速为测试人员提供仪表精度信息。After the frequency drift rate of the local clock is determined by using the phase deviation sequence, the frequency drift rate is saved. In the next test, the stored frequency drift rate can be directly called to directly determine the test accuracy of the current system. , and the frequency drift rate is determined based on the sampling data within a certain period of time, which can effectively reduce the number of sampling phase deviations required to estimate the test accuracy next time, further reduce the test time, and quickly provide testers with instrument accuracy information.

实施例二Embodiment two

为实现实施例一的方法,本实施例提供一种时间同步测试装置,如图2所示,该装置包括:选择单元21及测试单元22;其中,In order to implement the method of Embodiment 1, this embodiment provides a time synchronization testing device, as shown in FIG. 2 , the device includes: a selection unit 21 and a testing unit 22; wherein,

所述选择单元21,用于本地时钟未锁定卫星授时模块之前,将卫星授时信号作为基准信号;The selection unit 21 is used to use the satellite timing signal as a reference signal before the local clock is not locked to the satellite timing module;

所述测试单元22,用于根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度。The testing unit 22 is configured to determine the current time accuracy of the signal under test according to the satellite timing signal and the signal under test.

其中,所述卫星授时信号是指卫星授时模块输出的信号,所述卫星授时信号包括:1PPS信号及TOD信号。Wherein, the satellite timing signal refers to the signal output by the satellite timing module, and the satellite timing signal includes: 1PPS signal and TOD signal.

实际应用时,一般会将所述卫星授时信号先进行滤波处理,将滤波处理后的卫星授时信号作为基准信号。In practical applications, the satellite timing signal is generally filtered first, and the filtered satellite timing signal is used as a reference signal.

所述本地时钟可以是晶振、或铷钟等。The local clock may be a crystal oscillator, or a rubidium clock or the like.

该装置还可以包括:比较单元及测试精度确定单元;其中,The device may also include: a comparison unit and a test accuracy determination unit; wherein,

所述比较单元,用于实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;The comparison unit is used to compare the phase of the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence;

所述测试精度确定单元,用于根据所述相位偏差序列,确定当前系统的测试精度。The test accuracy determining unit is configured to determine the test accuracy of the current system according to the phase deviation sequence.

这里,所述测试精度确定单元还可以包括:第一确定模块及第二确定模块;其中,Here, the test accuracy determination unit may also include: a first determination module and a second determination module; wherein,

所述第一确定模块,用于采用统计方法,利用所述相位偏差序列确定所述本地时钟的频率漂移率;The first determining module is configured to use a statistical method to determine the frequency drift rate of the local clock by using the phase deviation sequence;

所述第二确定模块,用于利用所述相位偏差序列及所述频率漂移率,确定所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值。The second determination module is configured to determine the mean square error and the peak value of the error peak between the satellite timing signal and standard time by using the phase deviation sequence and the frequency drift rate.

其中,该装置还可以包括:存储单元,用于存储所述频率漂移率,下次测试时,可直接调取存储的所述频率漂移率,直接来确定当前系统的测试精度,这样,降低了下次估计测试精度所需的取样相位偏差的数量。Wherein, the device may also include: a storage unit, which is used to store the frequency drift rate. In the next test, the stored frequency drift rate can be directly retrieved to directly determine the test accuracy of the current system. In this way, the The amount of sample phase offset required for the next estimate of test accuracy.

该装置还可以包括:输出单元,用于确定当前系统的测试精度后,输出确定的测试精度;这样,显示的测试精度供测试人员参考;测试人员根据显示的测试精度确定测试精度无法满足当前测试要求时,可以选择等待一段时间,等测试精度满足当前测试要求后,再开始进行测试。The device may also include: an output unit, which is used to output the determined test accuracy after determining the test accuracy of the current system; in this way, the displayed test accuracy is for the tester's reference; the tester determines that the test accuracy cannot meet the current test requirements according to the displayed test accuracy. When required, you can choose to wait for a period of time, and start the test after the test accuracy meets the current test requirements.

所述选择单元21,还用于所述本地时钟锁定所述卫星授时模块后,将所述本地时钟锁定且优化处理后的信号作为基准信号;The selection unit 21 is further configured to use the local clock locked and optimized signal as a reference signal after the local clock locks the satellite timing module;

相应地,所述测试单元22,还用于根据优化后的所述本地时钟锁定的信号及所述被测信号,确定当前所述被测信号的时间精度,这样,能提高测试精度,且在丢失卫星授时信号时,能提供稳定性及守时性能。Correspondingly, the test unit 22 is also used to determine the time accuracy of the current signal under test according to the optimized signal locked by the local clock and the signal under test, so that the test accuracy can be improved, and in When the satellite timing signal is lost, it can provide stability and punctuality.

这里,实际应用时,所述优化处理包括对所述本地时钟信号进行频率偏差纠正处理等。Here, in practical application, the optimization processing includes performing frequency deviation correction processing on the local clock signal and the like.

实际应用时,所述选择单元21、所述测试单元22、所述比较单元、所述测试精度确定单元、所述第一确定模块、以及所述第二确定模块可由时间同步测试装置中的中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现;所述存储单元可由时间同步测试装置中的存储器实现;所述输出单元可由同步测试装置中的显示器实现。In actual application, the selection unit 21, the test unit 22, the comparison unit, the test accuracy determination unit, the first determination module, and the second determination module can be controlled by the central Processor (CPU, Central Processing Unit), digital signal processor (DSP, Digital Signal Processor) or programmable logic array (FPGA, Field-Programmable Gate Array) realize; Described storage unit can be realized by the memory in the time synchronization testing device ; The output unit can be realized by a display in the synchronous testing device.

本发明实施例提供的时间同步测试装置,本地时钟未锁定卫星授时模块之前,所述选择单元21将卫星授时信号作为基准信号;所述测试单元22根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度,如此,测试设备无需等待本地时钟的锁定即可开始进行测试,大大缩短了测试的启动时间,可快速为测试人员提供时间精度测试结果。In the time synchronization test device provided by the embodiment of the present invention, before the local clock is not locked to the satellite timing module, the selection unit 21 uses the satellite timing signal as a reference signal; the test unit 22 determines according to the satellite timing signal and the measured signal The time accuracy of the signal under test is currently described. In this way, the test equipment can start the test without waiting for the local clock to be locked, which greatly shortens the start-up time of the test and can quickly provide testers with time accuracy test results.

根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度时,所述比较单元实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;所述测试精度确定单元根据所述相位偏差序列,确定当前系统的测试精度,所述输出单元输出确定的测试精度;这样,当测试人员根据显示的测试精度确定测试精度无法满足当前测试要求时,可以选择等待一段时间,等测试精度满足当前测试要求后,再开始进行测试。According to the satellite timing signal and the signal under test, when determining the time accuracy of the current signal under test, the comparison unit compares the phase of the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence; the test The accuracy determination unit determines the test accuracy of the current system according to the phase deviation sequence, and the output unit outputs the determined test accuracy; in this way, when the tester determines that the test accuracy cannot meet the current test requirements according to the displayed test accuracy, he can choose to wait After a period of time, wait for the test accuracy to meet the current test requirements before starting the test.

利用所述相位偏差序列,确定所述本地时钟的频率漂移率后,存储单元保存所述频率漂移率,下次测试时,可直接调取存储的所述频率漂移率,直接来确定当前系统的测试精度,而频率漂移率是基于一定时间内的取样数据确定的,这样,能有效地降低下次估计测试精度所需的取样相位偏差的数量,进一步降低了测试时间,可快速为测试人员提供仪表精度信息。After the frequency drift rate of the local clock is determined by using the phase deviation sequence, the storage unit stores the frequency drift rate. In the next test, the stored frequency drift rate can be directly called to directly determine the current system frequency drift rate. test accuracy, and the frequency drift rate is determined based on the sampling data within a certain period of time, so that it can effectively reduce the number of sampling phase deviations required to estimate the test accuracy next time, further reduce the test time, and quickly provide testers with Instrument accuracy information.

实施例三Embodiment three

本实施例为实际应用时,时间同步测试装置组成如图3所示,包括:数据处理单元、选择单元、测试单元、显示单元、比较单元、中央处理单元、倍频单元以及计数单元。When this embodiment is used in practice, the composition of the time synchronization test device is shown in Figure 3, including: a data processing unit, a selection unit, a test unit, a display unit, a comparison unit, a central processing unit, a frequency multiplication unit and a counting unit.

下面结合图3,详细描述时间同步测试装置的处理过程。The processing procedure of the time synchronization testing device will be described in detail below in conjunction with FIG. 3 .

测试时,卫星授时模块首先进行启动搜星,并在完成自身3D定位后进入精密授时模式(约1min),数据处理单元对卫星授时模块输出的信号进行滤波处理,输出1PPS信号和TOD信号;此时,该信号分为两路输出,一路信号通过选择单元进入测试单元,另一路信号进入比较模块;这两路输出的信号完全相同,及均包含1PPS信号和TOD信号;During the test, the satellite timing module first starts to search for satellites, and enters the precise timing mode (about 1 minute) after completing its own 3D positioning. The data processing unit performs filtering processing on the signal output by the satellite timing module, and outputs 1PPS signal and TOD signal; , the signal is divided into two outputs, one signal enters the test unit through the selection unit, and the other signal enters the comparison module; the signals of the two outputs are exactly the same, and both include 1PPS signal and TOD signal;

选择单元用于选择测试系统测试使用的基准信号;具体地,在本地时钟未锁定之前,授时卫星模块输出的1PPS信号和TOD信号首先被选择,作为测试使用的基准信号,即选择单元将卫星授时信号作为基准信号,并输出至测试单元,测试单元将卫星授时信号与被测信号进行比较,确定当前所述被测信号的时间精度,并在显示单元(相当于实施例二中的输出单元)给出当前所述被测信号的时间精度;这样的话,设备无需等待本地时钟的锁定和中央处理单元的计算即可开始进行测试,大大缩短了测试的启动时间并可快速为测试人员提供被测信号与卫星授时信号的时间精度信息;The selection unit is used to select the reference signal used in the test system test; specifically, before the local clock is not locked, the 1PPS signal and the TOD signal output by the timing satellite module are first selected as the reference signal used in the test, that is, the selection unit will satellite timing The signal is used as a reference signal, and is output to the test unit, and the test unit compares the satellite timing signal with the measured signal, determines the time accuracy of the currently described measured signal, and displays it on the display unit (equivalent to the output unit in the second embodiment) The time accuracy of the signal under test is given; in this way, the device can start the test without waiting for the lock of the local clock and the calculation of the central processing unit, which greatly shortens the start-up time of the test and can quickly provide the tester with the test Time accuracy information of signals and satellite timing signals;

当本地时钟(比如晶振、铷钟等)完成预热待达到自身频率稳定,且锁定到卫星授时模块时,选择单元自动转换到使用本地时钟锁定和中央处理单元优化处理后的信号作为基准信号;实际应用时,可以选择单元在当本地时钟完成预热待达到自身频率稳定,且锁定到卫星授时模块所对应的切换条件(比如测试仪表开机时间达到预设值等)下自动从接收处理单元输出的卫星授时信号切换为接收中央处理单元所输出的信号;相应地,测试单元将中央处理单元处理后的信号与被测信号进行比较,确定当前所述被测信号的时间精度,并在显示单元(相当于实施例二中的输出单元)给出当前所述被测信号的时间精度;这样,可以提高测试精度,且在丢失卫星授时信号时,能提供稳定性及守时性能。When the local clock (such as crystal oscillator, rubidium clock, etc.) completes the preheating to achieve its own frequency stability, and locks to the satellite timing module, the selection unit automatically switches to using the signal after local clock locking and central processing unit optimization processing as the reference signal; In practical applications, the unit can be selected to automatically output from the receiving processing unit when the local clock completes the warm-up and waits to achieve its own frequency stability and locks to the switching conditions corresponding to the satellite timing module (such as the power-on time of the test instrument reaches the preset value, etc.) The satellite timing signal is switched to receive the signal output by the central processing unit; correspondingly, the test unit compares the signal processed by the central processing unit with the measured signal, determines the time accuracy of the currently measured signal, and displays it on the display unit (equivalent to the output unit in the second embodiment) provides the time accuracy of the currently measured signal; in this way, the test accuracy can be improved, and stability and punctuality can be provided when the satellite timing signal is lost.

其中,将所述卫星授时信号与被测信号进行比较,以确定当前所述被测信号的时间精度时,比较单元实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;中央处理处理单元(相当于实施例二中的测试精度确定单元)根据所述相位偏差序列,确定当前系统的测试精度。Wherein, when comparing the satellite timing signal with the measured signal to determine the time accuracy of the current measured signal, the comparison unit compares the phase of the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence; The central processing unit (equivalent to the test precision determination unit in the second embodiment) determines the test precision of the current system according to the phase deviation sequence.

这里,正常工作条件下,卫星授时模块时钟的误差服从正态分布;而本地时钟由于频率输出元器件本身的作用以及环境因素会造成频率的漂移,这种由频率源内部器件的老化效应造成的平均频率的单方向变化,具有系统误差的特性。因此,中央处理单元可以估计出二者的误差,从而给出基准信号波形波动峰的峰值(即下面公式(3)中的峰值),同时根据误差估计修正或校准本地时钟产生的基准信号的准确度。Here, under normal working conditions, the error of the satellite timing module clock obeys the normal distribution; while the local clock will cause frequency drift due to the function of the frequency output components and environmental factors, which is caused by the aging effect of the internal components of the frequency source A unidirectional change in the average frequency, characteristic of a systematic error. Therefore, the central processing unit can estimate the error of the two, thereby giving the peak value of the waveform fluctuation peak of the reference signal (that is, the peak value in the following formula (3)), and at the same time correct or calibrate the accuracy of the reference signal generated by the local clock according to the error estimate. Spend.

中央处理单元采用统计方法,利用所述相位偏差序列确定所述本地时钟的频率漂移率;并利用所述相位偏差序列及所述频率漂移率,确定所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值。The central processing unit uses a statistical method to determine the frequency drift rate of the local clock by using the phase deviation sequence; and uses the phase deviation sequence and the frequency drift rate to determine the error rate between the satellite timing signal and standard time The mean square error and the peak value of the error peak.

这里,利用公式来表达确定所述频率漂移率以及确定所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值,则有:Here, using a formula to express the mean square error of determining the frequency drift rate and determining the error between the satellite timing signal and the standard time and the peak value of the error peak, then there are:

假设k为本地时钟的频率漂移率;pi为ti时刻所测量的频率的相对相位;ti为测量相对相位的时刻,即取样时序;则有:Suppose k is the frequency drift rate of the local clock; p i is the relative phase of the frequency measured at time t i ; t i is the time when the relative phase is measured, that is, the sampling timing; then:

则本地时钟的频率漂移率由公式(1)估计得出:Then the frequency drift rate of the local clock is estimated by formula (1):

估计出本地时钟的频率漂移率后,采用公式(2)估计所述卫星授时信号与标准时间之间误差的均方差:After estimating the frequency drift rate of the local clock, formula (2) is used to estimate the mean square error of the error between the satellite timing signal and the standard time:

其中,x为第个取样对应的计数时间;in, x is the counting time corresponding to the first sample;

相应地,采用公式(3)估计所述卫星授时信号与标准时间之间误差峰的峰值:Correspondingly, adopt formula (3) to estimate the peak value of error peak between described satellite timing signal and standard time:

Vpp=max(pi-kx-b)-min(pi-kx-b) (3)V pp =max(p i -kx-b)-min(p i -kx-b) (3)

i=1,2,...,ni=1,2,...,n

其中,max()表示取样序列中的最大值,min()表示取样序列中的最小值。Among them, max() represents the maximum value in the sampling sequence, and min() represents the minimum value in the sampling sequence.

中央处理单元将估算出的所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值Vpp送入显示单元(相当于实施例二中的输出单元)进行显示,以供测试人员参考。随着取样相位偏差随时间的增加,均方差及误差峰的峰值Vpp可实时更新,如果测试精度估计值(即及Vpp)无法满足当前测试要求,测试人员可以选择等待一段时间,等测试精度估计值满足当前测试要求后,再开始进行测试。The central processing unit will estimate the mean square error of the error between the satellite timing signal and the standard time and the peak value V pp of the error peak are sent to the display unit (equivalent to the output unit in Embodiment 2) for display, for the reference of test personnel. As the sampling phase deviation increases with time, the mean square error and the peak value V pp of the error peak can be updated in real time, if the test accuracy estimate (ie and V pp ) cannot meet the current test requirements, the tester can choose to wait for a period of time, and start the test after the estimated test accuracy value meets the current test requirements.

同时,本次测试计算得到的本地时钟的频率漂移率k可以在中央处理单元存储,这样,下次测试时,可直接调取存储的所述频率漂移率k,直接来计算及Vpp,而频率漂移率是基于一定时间内的取样数据确定的,这样,降低了下次估计测试精度所需的取样相位偏差的数量,进一步缩短了测试时间。At the same time, the frequency drift rate k of the local clock calculated in this test can be stored in the central processing unit, so that in the next test, the stored frequency drift rate k can be directly retrieved and directly calculated and V pp , and the frequency drift rate is determined based on the sampling data within a certain period of time, thus reducing the number of sampling phase deviations needed to estimate the test accuracy next time, and further shortening the test time.

其中,倍频单元,主要用于确定本地时钟和比较单元需要的频率是否不同;技术单元,主要用于基于本地时钟的频率信息,计数得到时间信息,在丢失卫星源时可以用于仪表继续获取时间授时。Among them, the frequency multiplication unit is mainly used to determine whether the frequency required by the local clock and the comparison unit are different; the technical unit is mainly used to count the frequency information based on the local clock to obtain time information, which can be used for the instrument to continue to obtain when the satellite source is lost Time service.

实施例四Embodiment four

本实施例时间同步测试精度确定的方法,如图4所示,包括以下步骤:The method for determining the accuracy of the time synchronization test in this embodiment, as shown in Figure 4, includes the following steps:

步骤401:实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;Step 401: comparing the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence;

步骤402:根据所述相位偏差序列,确定当前系统的测试精度。Step 402: Determine the test accuracy of the current system according to the phase deviation sequence.

具体地,采用统计方法,利用所述相位偏差序列确定所述本地时钟的频率漂移率;Specifically, using a statistical method to determine the frequency drift rate of the local clock by using the phase deviation sequence;

利用所述相位偏差序列及所述频率漂移率,确定所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值。Using the phase deviation sequence and the frequency drift rate, determine the mean square error of the error between the satellite timing signal and the standard time and the peak value of the error peak.

这里,还可以保存所述频率漂移率,下次测试时,可直接调取存储的所述频率漂移率,直接来确定当前系统的测试精度,这样,降低了下次估计测试精度所需的取样相位偏差的数量。Here, the frequency drift rate can also be saved, and the stored frequency drift rate can be directly recalled during the next test to directly determine the test accuracy of the current system. In this way, the sampling required for the next estimation test accuracy is reduced. The amount of phase deviation.

确定当前系统的测试精度后,该方法还可以包括:输出确定的测试精度;这样,显示的测试精度供测试人员参考;测试人员根据显示的测试精度确定测试精度无法满足当前测试要求时,可以选择等待一段时间,等测试精度满足当前测试要求后,再开始进行测试。After determining the test accuracy of the current system, the method may also include: outputting the determined test accuracy; in this way, the displayed test accuracy is for the tester's reference; when the tester determines that the test accuracy cannot meet the current test requirements according to the displayed test accuracy, he can select Wait for a period of time until the test accuracy meets the current test requirements before starting the test.

本发明实施例提供的时间同步测试精度确定方法,实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;根据所述相位偏差序列,确定当前系统的测试精度,这样,当测试人员根据显示的测试精度确定测试精度无法满足当前测试要求时,可以选择等待一段时间,等测试精度满足当前测试要求后,再开始进行测试。The time synchronization test accuracy determination method provided by the embodiment of the present invention compares the phase of the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence; according to the phase deviation sequence, the test accuracy of the current system is determined. In this way, when When the tester determines that the test accuracy cannot meet the current test requirements according to the displayed test accuracy, he can choose to wait for a period of time and start the test after the test accuracy meets the current test requirements.

另外,利用所述相位偏差序列,确定所述本地时钟的频率漂移率后,保存所述频率漂移率,下次测试时,可直接调取存储的所述频率漂移率,直接来确定当前系统的测试精度,而频率漂移率是基于一定时间内的取样数据确定的,这样,能有效地降低下次估计测试精度所需的取样相位偏差的数量,进一步降低了测试时间,可快速为测试人员提供仪表精度信息。In addition, after the frequency drift rate of the local clock is determined by using the phase deviation sequence, the frequency drift rate is saved. In the next test, the stored frequency drift rate can be directly called to directly determine the frequency drift rate of the current system. test accuracy, and the frequency drift rate is determined based on the sampling data within a certain period of time, so that it can effectively reduce the number of sampling phase deviations required to estimate the test accuracy next time, further reduce the test time, and quickly provide testers with Instrument accuracy information.

实施例五Embodiment five

为实现实施例四的方法,本实施例提供一种时间同步测试精度确定装置,如图5所示,该装置包括:比较单元51及测试精度确定单元52;其中,In order to implement the method of Embodiment 4, this embodiment provides a time synchronization test accuracy determination device, as shown in Figure 5, the device includes: a comparison unit 51 and a test accuracy determination unit 52; wherein,

所述比较单元51,用于实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;The comparison unit 51 is used to compare the phase of the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence;

所述测试精度确定单元52,用于根据所述相位偏差序列,确定当前系统的测试精度。The test accuracy determining unit 52 is configured to determine the test accuracy of the current system according to the phase deviation sequence.

这里,所述测试精度确定单元还可以包括:第一确定模块及第二确定模块;其中,Here, the test accuracy determination unit may also include: a first determination module and a second determination module; wherein,

所述第一确定模块,用于采用统计方法,利用所述相位偏差序列确定所述本地时钟的频率漂移率;The first determining module is configured to use a statistical method to determine the frequency drift rate of the local clock by using the phase deviation sequence;

所述第二确定模块,用于利用所述相位偏差序列及所述频率漂移率,确定所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值。The second determination module is configured to determine the mean square error and the peak value of the error peak between the satellite timing signal and standard time by using the phase deviation sequence and the frequency drift rate.

其中,该装置还可以包括:存储单元,用于存储所述频率漂移率,下次测试时,可直接调取存储的所述频率漂移率,直接来确定当前系统的测试精度,这样,降低了下次估计测试精度所需的取样相位偏差的数量。Wherein, the device may also include: a storage unit, which is used to store the frequency drift rate. In the next test, the stored frequency drift rate can be directly retrieved to directly determine the test accuracy of the current system. In this way, the The amount of sample phase offset required for the next estimate of test accuracy.

该装置还可以包括:输出单元,用于确定当前系统的测试精度后,输出确定的测试精度;这样,显示的测试精度供测试人员参考;测试人员根据显示的测试精度确定测试精度无法满足当前测试要求时,可以选择等待一段时间,等测试精度满足当前测试要求后,再开始进行测试。The device may also include: an output unit, which is used to output the determined test accuracy after determining the test accuracy of the current system; in this way, the displayed test accuracy is for the tester's reference; the tester determines that the test accuracy cannot meet the current test requirements according to the displayed test accuracy. When required, you can choose to wait for a period of time, and start the test after the test accuracy meets the current test requirements.

实际应用时,所述比较单元、所述测试精度确定单元、所述第一确定模块、以及所述第二确定模块可由时间同步测试精度确定装置中的CPU、DSP或FPGA实现;所述存储单元可由时间同步测试精度确定装置中的存储器实现;所述输出单元可由同步测试精度确定装置中的显示器实现。During actual application, the comparison unit, the test accuracy determination unit, the first determination module, and the second determination module can be realized by CPU, DSP or FPGA in the time synchronization test accuracy determination device; the storage unit It can be realized by a memory in the device for determining the accuracy of the time synchronization test; the output unit can be realized by a display in the device for determining the accuracy of the synchronization test.

本实施例提供的时间同步测试精度确定装置,比较单元51实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;测试精度确定单元52根据所述相位偏差序列,确定当前系统的测试精度,这样,当测试人员根据显示的测试精度确定测试精度无法满足当前测试要求时,可以选择等待一段时间,等测试精度满足当前测试要求后,再开始进行测试。In the time synchronization test accuracy determination device provided in this embodiment, the comparison unit 51 compares the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence; the test accuracy determination unit 52 determines the current system according to the phase deviation sequence. In this way, when the tester determines that the test accuracy cannot meet the current test requirements according to the displayed test accuracy, he can choose to wait for a period of time and start the test after the test accuracy meets the current test requirements.

另外,利用所述相位偏差序列,确定所述本地时钟的频率漂移率后,存储单元保存所述频率漂移率,下次测试时,可直接调取存储的所述频率漂移率,直接来确定当前系统的测试精度,而频率漂移率是基于一定时间内的取样数据确定的,这样,能有效地降低下次估计测试精度所需的取样相位偏差的数量,进一步降低了测试时间,可快速为测试人员提供仪表精度信息。In addition, after the frequency drift rate of the local clock is determined by using the phase deviation sequence, the storage unit stores the frequency drift rate. In the next test, the stored frequency drift rate can be directly recalled to directly determine the current frequency drift rate. The test accuracy of the system, and the frequency drift rate is determined based on the sampling data within a certain period of time, so that the number of sampling phase deviations required for the next estimation of the test accuracy can be effectively reduced, the test time is further reduced, and the test can be quickly Personnel provide instrument accuracy information.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (12)

1.一种时间同步测试方法,其特征在于,所述方法包括:1. A time synchronization testing method, characterized in that the method comprises: 本地时钟未锁定卫星授时模块之前,将卫星授时信号作为基准信号;Before the local clock is locked to the satellite timing module, the satellite timing signal is used as the reference signal; 根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度;Determining the time accuracy of the current measured signal according to the satellite timing signal and the measured signal; 其中,所述方法还包括:Wherein, the method also includes: 当本地时钟完成预热待达到自身频率稳定,且锁定到卫星授时模块所对应的切换条件下,从卫星授时信号切换为测试精度确定单元所输出的信号;When the local clock completes the preheating to achieve its own frequency stability and is locked to the switching conditions corresponding to the satellite timing module, switch from the satellite timing signal to the signal output by the test accuracy determination unit; 根据测试精度确定单元所输出的信号及被测信号,确定当前所述被测信号的时间精度。According to the signal output by the test precision determining unit and the signal under test, the time precision of the current signal under test is determined. 2.根据权利要求1所述的方法,其特征在于,所述根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度时,所述方法还包括:2. method according to claim 1, is characterized in that, described according to described satellite timing signal and measured signal, when determining the time accuracy of current described measured signal, described method also comprises: 实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;Comparing the phase of the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence; 根据所述相位偏差序列,确定当前系统的测试精度。According to the phase deviation sequence, the test accuracy of the current system is determined. 3.根据权利要求2所述的方法,其特征在于,所述根据所述相位偏差序列,确定当前系统的测试精度,为:3. The method according to claim 2, wherein the determination of the test accuracy of the current system according to the phase deviation sequence is: 采用统计方法,利用所述相位偏差序列确定所述本地时钟的频率漂移率;Using a statistical method to determine the frequency drift rate of the local clock by using the phase deviation sequence; 利用所述相位偏差序列及所述频率漂移率,确定所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值。Using the phase deviation sequence and the frequency drift rate, determine the mean square error of the error between the satellite timing signal and the standard time and the peak value of the error peak. 4.根据权利要求3所述的方法,其特征在于,所述方法还包括:4. method according to claim 3, is characterized in that, described method also comprises: 保存所述频率漂移率。Save the frequency drift rate. 5.根据权利要求2所述的方法,其特征在于,所述方法还包括:5. The method according to claim 2, characterized in that the method further comprises: 输出确定的测试精度。Output the determined test accuracy. 6.根据权利要求1所述的方法,其特征在于,所述方法还包括:6. The method according to claim 1, further comprising: 所述本地时钟锁定所述卫星授时模块后,将所述本地时钟锁定且优化处理后的信号作为基准信号;After the local clock locks the satellite timing module, use the local clock locked and optimized signal as a reference signal; 相应地,根据优化后的所述本地时钟锁定的信号及所述被测信号,确定当前所述被测信号的时间精度。Correspondingly, according to the optimized signal locked by the local clock and the signal under test, the current time accuracy of the signal under test is determined. 7.一种时间同步测试装置,其特征在于,所述装置包括:选择单元及测试单元;其中,7. A time synchronization test device, characterized in that the device comprises: a selection unit and a test unit; wherein, 所述选择单元,用于本地时钟未锁定卫星授时模块之前,将卫星授时信号作为基准信号;还用于当本地时钟完成预热待达到自身频率稳定,且锁定到卫星授时模块所对应的切换条件下,从卫星授时信号切换为测试精度确定单元所输出的信号;The selection unit is used for using the satellite timing signal as a reference signal before the local clock is not locked to the satellite timing module; it is also used for when the local clock completes preheating to achieve its own frequency stability, and locks to the switching condition corresponding to the satellite timing module Next, switch from the satellite timing signal to the signal output by the test accuracy determination unit; 所述测试单元,用于根据所述卫星授时信号及被测信号,确定当前所述被测信号的时间精度;还用于根据测试精度确定单元所输出的信号及被测信号,确定当前所述被测信号的时间精度。The test unit is used to determine the time accuracy of the current signal under test according to the satellite timing signal and the signal under test; it is also used to determine the current time accuracy of the signal under test according to the signal output by the test accuracy determination unit and the signal under test. The time accuracy of the signal being measured. 8.根据权利要求7所述的装置,其特征在于,所述装置还包括:比较单元及测试精度确定单元;其中,8. The device according to claim 7, further comprising: a comparison unit and a test accuracy determination unit; wherein, 所述比较单元,用于实时将本地时钟信号与所述卫星授时信号进行相位比较,得到相位偏差序列;The comparison unit is used to compare the phase of the local clock signal with the satellite timing signal in real time to obtain a phase deviation sequence; 所述测试精度确定单元,用于根据所述相位偏差序列,确定当前系统的测试精度。The test accuracy determining unit is configured to determine the test accuracy of the current system according to the phase deviation sequence. 9.根据权利要求8所述的装置,其特征在于,所述测试精度确定单元还包括:第一确定模块及第二确定模块;其中,9. The device according to claim 8, wherein the test accuracy determination unit further comprises: a first determination module and a second determination module; wherein, 所述第一确定模块,用于采用统计方法,利用所述相位偏差序列确定所述本地时钟的频率漂移率;The first determining module is configured to use a statistical method to determine the frequency drift rate of the local clock by using the phase deviation sequence; 所述第二确定模块,用于利用所述相位偏差序列及所述频率漂移率,确定所述卫星授时信号与标准时间之间误差的均方差及误差峰的峰值。The second determination module is configured to determine the mean square error and the peak value of the error peak between the satellite timing signal and standard time by using the phase deviation sequence and the frequency drift rate. 10.根据权利要求9所述的装置,其特征在于,所述装置还包括:存储单元,用于存储所述频率漂移率。10. The device according to claim 9, further comprising: a storage unit, configured to store the frequency drift rate. 11.根据权利要求8所述的装置,其特征在于,所述装置还包括:输出单元,用于确定当前系统的测试精度后,输出确定的测试精度。11. The device according to claim 8, further comprising: an output unit, configured to output the determined test accuracy after determining the test accuracy of the current system. 12.根据权利要求7所述的装置,其特征在于,12. The apparatus of claim 7, wherein: 所述选择单元,还用于所述本地时钟锁定所述卫星授时模块后,将所述本地时钟锁定且优化处理后的信号作为基准信号;The selection unit is further configured to use the local clock locked and optimized signal as a reference signal after the local clock locks the satellite timing module; 相应地,所述测试单元,还用于根据优化后的所述本地时钟锁定的信号及所述被测信号,确定当前所述被测信号的时间精度。Correspondingly, the testing unit is further configured to determine the current time accuracy of the signal under test according to the optimized signal locked by the local clock and the signal under test.
CN201410569576.XA 2014-10-22 2014-10-22 Time synchronization test method, measuring accuracy determine method and device Active CN105589328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410569576.XA CN105589328B (en) 2014-10-22 2014-10-22 Time synchronization test method, measuring accuracy determine method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410569576.XA CN105589328B (en) 2014-10-22 2014-10-22 Time synchronization test method, measuring accuracy determine method and device

Publications (2)

Publication Number Publication Date
CN105589328A CN105589328A (en) 2016-05-18
CN105589328B true CN105589328B (en) 2018-07-24

Family

ID=55929000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410569576.XA Active CN105589328B (en) 2014-10-22 2014-10-22 Time synchronization test method, measuring accuracy determine method and device

Country Status (1)

Country Link
CN (1) CN105589328B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114114892B (en) * 2021-11-29 2023-07-25 成都天奥电子股份有限公司 Method for generating trusted time
CN116184802B (en) * 2023-04-26 2023-07-28 成都量子时频科技有限公司 Automatic debugging and testing device and method for atomic clock electrical parameters based on FPGA

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960009539B1 (en) * 1993-12-27 1996-07-20 Hyundai Electronics Ind Apparatus for synchronizing time using satellite
JP2008032637A (en) * 2006-07-31 2008-02-14 Seiko Epson Corp Time correction device, time measuring device with time correction device, and time correction method
EP3196661B1 (en) * 2009-02-27 2021-04-21 Furuno Electric Co., Ltd. Frequency measuring device
CN101834599B (en) * 2009-03-13 2012-05-23 华东电网有限公司 Synchronizing unit and method for synchronizing distributed wave recording devices
CN101692163B (en) * 2009-09-24 2011-01-05 中国计量科学研究院 Method and system for remotely calibrating frequency standards
CN201654495U (en) * 2010-04-19 2010-11-24 普天信息技术研究院有限公司 Satellite timing machine
CN202533743U (en) * 2012-02-16 2012-11-14 深圳市夏光通信测量技术有限公司 Measuring basis system for time analyzer

Also Published As

Publication number Publication date
CN105589328A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
CN109085616B (en) Satellite time service method, device and storage medium
CN109525351A (en) A kind of equipment for realizing time synchronization with time reference station
CN202008583U (en) Clock source of synchronous phasor measuring device
CN104410413B (en) Atomic frequency standard frequency Correction Method, device and atomic frequency standard
CN104702214B (en) A kind of method of crystal oscillator frequency compensation
CN102253638A (en) A Frequency Stability Control and Compensation Method for Autonomous Timing in Complex Environment
CN111130510B (en) Method and device for outputting second pulse signal
CN103269262A (en) Time-keeping method of time synchronization device
CN104407510A (en) Method and device for time service
CN103346852A (en) Apparatus capable of providing reference clock signal
CN105589328B (en) Time synchronization test method, measuring accuracy determine method and device
CN114201001A (en) A real-time clock compensation method, device, terminal device and medium
CN103699001A (en) Method and system for realizing low-cost and high-precision timing through oven controlled crystal oscillator
CN101995816B (en) Automatic clock calibration method and automatic clock calibration device
CN104460313A (en) GPS time service device for providing high-precision large-step time synchronizing signals
CN103901271B (en) Frequency testing method and system
CN106383438B (en) One kind taming and dociling clock method based on sliding window time extension high-precision
WO2014155706A1 (en) Signal processing device
CN206618849U (en) A kind of optical pumped magnetometer magnetic gradient measurements device
CN110968148A (en) Timing calibration method and device and timer
CN104698272A (en) Method and system for measuring frequencies of multiple channels on basis of time difference of second signals
CN105137751A (en) Calibration system for measuring production scheduling platform time value and calibration method thereof
CN107300688B (en) A kind of clock frequency Calibration Method in multipoint location system
CN102928662B (en) Method and device for measuring signal frequency stability
CN209821607U (en) Time code measuring analyzer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant