Search

CN-122027018-A - Automatic test calibration method and system for high-precision optical fiber time synchronization equipment

CN122027018ACN 122027018 ACN122027018 ACN 122027018ACN-122027018-A

Abstract

The embodiment of the application provides an automatic test calibration method and system for high-precision optical fiber time synchronization equipment, wherein the method comprises the steps of obtaining a test task of target test equipment, generating a test instruction set based on the test task, enabling an optical switch to be controlled to be switched on or off according to corresponding rules through the test instruction set, collecting to-be-measured in an execution stage of the test instruction set, and determining the completion degree of the target test equipment on the test task according to the to-be-measured, wherein the to-be-measured and the execution stage of the test instruction set have an association relation. According to the scheme, the personalized instruction set can be generated according to different test tasks, so that full-flow automatic test is realized, rapid test of batch equipment can be supported, measurement errors caused by manual intervention links are omitted, and test efficiency and test precision are improved.

Inventors

  • GUO XINXING
  • LIU TAO
  • DONG RUIFANG
  • ZHANG SHOUGANG
  • REN XIAOQIAN
  • WEN JIAHAO
  • LIU BO
  • CHEN JIANG
  • WU LIN

Assignees

  • 中国科学院国家授时中心

Dates

Publication Date
20260512
Application Date
20260302

Claims (10)

  1. 1. The automatic test calibration method for the high-precision optical fiber time synchronization equipment is characterized by comprising the following steps of: Acquiring a test task of target test equipment; generating a test instruction set based on the test task, controlling the optical switch to be switched on or off according to a corresponding rule through the test instruction set, and collecting to-be-measured in a test instruction set execution stage to determine the completion degree of the target test equipment on the test task according to the to-be-measured, wherein the to-be-measured and the test instruction set execution stage have an association relation, and the completion degree is used for representing the deviation degree of the to-be-measured and the reference data.
  2. 2. The automatic test calibration method of a high-precision optical fiber time synchronization device according to claim 1, wherein generating a test instruction set based on the test task such that an optical switch is controlled to be turned on or off according to a corresponding rule by the test instruction set, and collecting to-be-measured to determine the completion degree of the target test device to the test task according to the to-be-measured in the test instruction set execution phase, comprises: Determining the number of test links based on the test task to configure a link interruption sequence according to the number of test links; Generating a test instruction set corresponding to each link interruption sequence, wherein each instruction in the test instruction set corresponds to a switching strategy of the optical switch, so as to control the optical switch to be switched on or switched off according to a corresponding rule based on the switching strategy; responding to the execution of each instruction, and collecting to-be-measured output by the target test equipment in the instruction execution process, wherein the to-be-measured comprises one or more of a to-be-measured frequency signal, a to-be-measured time signal and to-be-measured time code information; And comparing the reference data to be measured with the reference data generated by the signal source to determine the completion degree of the target test equipment on the test task.
  3. 3. The automatic test calibration method of high-precision optical fiber time synchronization equipment according to claim 2, wherein the test instruction set is combined execution logic with a plurality of interrupt modes, so as to determine interrupt parameters of a next interrupt mode according to an execution result after each interrupt mode is executed based on the combined execution logic, wherein the interrupt parameters are determined according to interrupt duration and interrupt frequency; Correspondingly, comparing the standard data to be measured with the standard data generated by the signal source to determine the completion degree of the target test equipment on the test task, including: Comparing the reference data to be measured with the reference data generated by the signal source, if the difference between the reference data and the reference data does not meet a preset threshold, adjusting the interrupt parameter of the current interrupt mode, and then re-executing the test instruction, and if the difference between the reference data and the reference data meets the preset threshold, sequentially executing each test instruction in the test instruction set; and after each test instruction is executed, determining the completion degree of the test task according to the interrupt parameter.
  4. 4. The automatic test calibration method of high-precision optical fiber time synchronization equipment according to claim 3, wherein if the test instruction still does not meet the preset threshold after the interrupt parameter of the current interrupt mode is adjusted to reach the preset maximum number of times, determining that the completion of the test task corresponding to the interrupt mode is zero.
  5. 5. The automatic test calibration method of the high-precision optical fiber time synchronization device according to claim 2, wherein when the number of the test links is 2, the test links include a main link and a standby link.
  6. 6. The utility model provides a high accuracy optic fibre time synchronization equipment automatic test calibration system which characterized in that includes: the task acquisition module is used for acquiring a test task of the target test equipment; The testing module is used for generating a testing instruction set based on the testing task, controlling the optical switch to be switched on or switched off according to corresponding rules through the testing instruction set, and collecting to-be-measured to determine the completion degree of the target testing equipment on the testing task according to the to-be-measured in the testing instruction set execution stage, wherein the to-be-measured and the testing instruction set execution stage have an association relation, and the completion degree is used for representing the deviation degree of the to-be-measured and the reference data.
  7. 7. The automatic test calibration system of a high-precision fiber optic time synchronization device of claim 6, wherein the test module comprises: An interruption sequence configuration unit, configured to determine the number of test links based on the test task, so as to configure a link interruption sequence according to the number of test links; A switching strategy switching unit, which generates a test instruction set corresponding to each link interruption sequence, wherein each instruction in the test instruction set corresponds to one switching strategy of the optical switch, so as to control the optical switch to be switched on or switched off according to a corresponding rule based on the switching strategy; the data acquisition unit is used for responding to the execution of each instruction and acquiring to-be-measured output by the target test equipment in the instruction execution process, wherein the to-be-measured comprises one or more of to-be-measured frequency signals, to-be-measured time signals and to-be-measured time code information; And the test result processing unit is used for comparing the reference data to be measured with the reference data generated by the signal source to determine the completion degree of the target test equipment on the test task.
  8. 8. The automatic test calibration system of a high-precision optical fiber time synchronization device according to claim 7, wherein the test instruction set is a combined execution logic with a plurality of interrupt modes, so as to determine an interrupt parameter of a next interrupt mode according to an execution result after each interrupt mode is executed based on the combined execution logic, wherein the interrupt parameter is determined according to an interrupt duration and an interrupt frequency; Correspondingly, the test result processing unit comprises: The test instruction adjusting subunit is used for comparing the reference data generated by the signal source with the to-be-measured reference data, if the difference between the to-be-measured reference data and the reference data does not meet a preset threshold value, re-executing the test instruction after adjusting the interrupt parameter of the current interrupt mode, and if the difference between the to-be-measured reference data and the reference data meets the preset threshold value, sequentially executing each test instruction in the test instruction set; and the test result processing subunit is used for determining the completion degree of the test task according to the interrupt parameter after each test instruction is executed.
  9. 9. The automatic test calibration system of the high-precision optical fiber time synchronization device according to claim 8, wherein if the test instruction still does not meet the preset threshold after the interrupt parameter of the current interrupt mode is adjusted to reach the preset maximum number of times, determining that the completion of the test task corresponding to the interrupt mode is zero.
  10. 10. An automatic test calibration device for a high-precision optical fiber time synchronization device, for performing the automatic test calibration method for the high-precision optical fiber time synchronization device according to claims 1 to 5, the test device being connected as a relay device between two synchronization sites, the test device comprising: A high-stability signal source for generating a frequency reference signal and a time reference signal; A time code generating unit for generating an IRIG-B time code signal; the signal distribution unit is used for distributing the frequency reference signal and the time reference signal to the corresponding synchronous stations and the measuring unit, wherein the measuring unit is used for comparing the frequency reference signal and the time reference signal sent by the signal distribution unit with the to-be-measured optical fiber time synchronization equipment to be measured; the signal distribution unit includes: the frequency distribution unit is used for distributing the frequency reference signals to the synchronous stations and the phase difference measurement unit, wherein the phase difference measurement unit is used for comparing the frequency reference signals sent by the frequency distribution unit with the frequency signals to be measured returned by the optical fiber time synchronization equipment to be measured; The pulse distribution unit is used for distributing the time reference signal to the synchronous station and the time difference measurement unit, wherein the time difference measurement unit is used for comparing the time reference signal sent by the pulse distribution unit with the time signal to be measured returned by the optical fiber time synchronization device to be measured; The measuring unit also comprises an error rate measuring unit which is used for comparing the IRIG-B time code signal generated by the time code generating unit with the time code signal transmitted by the optical fiber time synchronization device to be measured; the optical switch module is used for controlling the receiving link and the transmitting link of the optical fiber time synchronization device to be tested to be switched on or off according to corresponding rules, wherein one end of the receiving link is connected with one synchronization site, and one end of the transmitting link is connected with the other synchronization site, so that the optical fiber time synchronization device to be tested stops transmitting frequency signals and time signals with the synchronization site after the optical fiber is disconnected.

Description

Automatic test calibration method and system for high-precision optical fiber time synchronization equipment Technical Field The application relates to the field of automatic test calibration method and system for high-precision optical fiber time synchronization equipment. Background With the wide application of the optical fiber time synchronization technology in the key field, the requirements for testing performance indexes such as time transfer accuracy, frequency stability, link interruption recovery capability, main-standby link redundancy and the like of equipment are more severe. However, in the prior art, the test method of the optical fiber time synchronization device is simple single on-off measurement, only records the recovery time and the static performance index of the device after recovery, and needs a large number of spliced various devices to pile up for testing, which is difficult to imitate the actual scene, so the test method of the prior art is complex, has complex flow, needs more accompanying devices and needs a large amount of manual intervention. Disclosure of Invention The embodiment of the application provides a method and a system for automatically testing and calibrating high-precision optical fiber time synchronization equipment. The technical scheme of the application is realized as follows: In a first aspect, an embodiment of the present application provides a method for automatic test calibration of a high-precision optical fiber time synchronization device, including: Acquiring a test task of target test equipment; generating a test instruction set based on the test task, controlling the optical switch to be switched on or off according to a corresponding rule through the test instruction set, and collecting to-be-measured in a test instruction set execution stage to determine the completion degree of the target test equipment on the test task according to the to-be-measured, wherein the to-be-measured and the test instruction set execution stage have an association relation, and the completion degree is used for representing the deviation degree of the to-be-measured and the reference data. In a specific embodiment, generating a test instruction set based on the test task, so that the optical switch is controlled to be switched on or off according to a corresponding rule by the test instruction set, and collecting to-be-measured to determine the completion degree of the target test equipment on the test task according to the to-be-measured in the execution stage of the test instruction set, wherein the method comprises the following steps: Determining the number of test links based on the test task to configure a link interruption sequence according to the number of test links; Generating a test instruction set corresponding to each link interruption sequence, wherein each instruction in the test instruction set corresponds to a switching strategy of the optical switch, so as to control the optical switch to be switched on or switched off according to a corresponding rule based on the switching strategy; responding to the execution of each instruction, and collecting to-be-measured output by the target test equipment in the instruction execution process, wherein the to-be-measured comprises one or more of a to-be-measured frequency signal, a to-be-measured time signal and to-be-measured time code information; And comparing the reference data to be measured with the reference data generated by the signal source to determine the completion degree of the target test equipment on the test task. In a specific embodiment, the test instruction set is combined execution logic with a plurality of interrupt modes, so that after each interrupt mode is executed, an interrupt parameter of the next interrupt mode is determined according to an execution result based on the combined execution logic, wherein the interrupt parameter is determined according to interrupt duration and interrupt frequency; Correspondingly, comparing the standard data to be measured with the standard data generated by the signal source to determine the completion degree of the target test equipment on the test task, including: Comparing the reference data to be measured with the reference data generated by the signal source, if the difference between the reference data and the reference data does not meet a preset threshold, adjusting the interrupt parameter of the current interrupt mode, and then re-executing the test instruction, and if the difference between the reference data and the reference data meets the preset threshold, sequentially executing each test instruction in the test instruction set; and after each test instruction is executed, determining the completion degree of the test task according to the interrupt parameter. In one embodiment, if the execution of the test instruction does not meet the preset threshold after the interrupt parameter of the current interrupt mode is adjusted to reach the