Search

CN-121984482-A - Method for smooth output of second pulse after switching reference signals based on time fusion

CN121984482ACN 121984482 ACN121984482 ACN 121984482ACN-121984482-A

Abstract

The embodiment of the disclosure provides a method for smooth output of second pulse after switching of reference signals based on time fusion. In one embodiment, the method includes decoding the multiplexed time signal to obtain a standard signal and generating a local second pulse. The n-th path is taken as a reference tame local clock to output a first tame signal, and meanwhile, the phase difference between other paths and the first tame signal is calculated, and the average value is taken as first compensation data. When the reference is needed to be switched to the mth path, the system generates a second disciplined signal by the mth path disciplined service, and calculates the original second phase difference between other paths and the second disciplined signal at the moment. The second phase difference is compensated in real time by using the first compensation data stored before switching, thereby counteracting the phase jump introduced by the reference source change. This embodiment ultimately achieves a seamless smooth transition of the second pulse output.

Inventors

  • YANG HAOZHENG
  • CHEN ZHIGAO
  • WU DONGXUE
  • YANG TONGMIN
  • GUO HONGYU

Assignees

  • 北京无线电计量测试研究所

Dates

Publication Date
20260505
Application Date
20251205

Claims (10)

  1. 1. The method for smooth output of second pulse after switching of reference signals based on time fusion is characterized by comprising the following steps: respectively decoding the reference original time service signals input in multiple paths to obtain multiple paths of standard signals, and generating a local second pulse signal based on a local clock source; Responding to the initial setting of a time-frequency system, taking the nth channel of the multi-channel standard signals as a reference signal, configuring other standard signals as a first compensation signal, and carrying out taming processing on the local second pulse signal through the nth channel standard signal to obtain a first tamed signal; Respectively calculating phase differences between second pulse signals of the multipath first compensation signals and second pulse signals of the first tame signals to obtain a plurality of first phase difference data, and calculating average values of the plurality of first phase difference data to obtain first compensation data; Responding to the switching setting of the time-frequency system, switching reference signals of a plurality of paths of standard signals from an nth path to an mth path, configuring other standard signals as second compensation signals, and performing tame processing on local second pulse signals through the mth path of standard signals to obtain second tame signals; m and n are each integers greater than zero.
  2. 2. The method of claim 1, wherein the step of determining the position of the substrate comprises, The multiple standard signals are respectively second pulse signals with time messages.
  3. 3. The method of claim 1, wherein the step of determining the position of the substrate comprises, The performing the taming processing on the local second pulse signal through the nth standard signal to obtain a first taming signal includes: And calculating the phase difference between the second pulse signal of the nth standard signal and the local second pulse signal, taking the measured phase difference data as the input of the proportional-integral controller to obtain control data, and adjusting the frequency of the local clock source through the control data to obtain a first discipline signal.
  4. 4. The method of claim 3, wherein the step of, The obtaining control data by taking the measured phase difference data as input of the proportional-integral controller comprises the following steps: According to the formula Calculating to obtain proportional term output Wherein: is the damping coefficient of the system; Is the open loop gain of the time-frequency system; Is the time constant of the time-frequency system; A phase difference between a second pulse signal which is an nth standard signal and a local second pulse signal; According to the formula Calculating to obtain the output of the integral term ; Wherein: Outputting an integral term for the last time; And summing the output of the integral term and the output of the integral term to obtain control data.
  5. 5. The method of claim 1, wherein the step of determining the position of the substrate comprises, After calculating the phase differences between the second pulse signals of the multiple first compensation signals and the second pulse signals of the first tame signal respectively to obtain multiple first phase difference data, the method further comprises: and respectively performing filtering processing on the plurality of first phase difference data.
  6. 6. The method of claim 5, wherein the step of determining the position of the probe is performed, The method further comprises, before the calculating of the phase difference between the second pulse signal of the multipath first compensation signal and the second pulse signal of the first tame signal Measuring and counting the phase difference between the second pulse signals of the multipath first compensation signals and the first tame signals and obtaining the count times; and outputting a local second pulse signal and time information corresponding to the local second pulse signal if the counting times are greater than or equal to a first preset threshold value.
  7. 7. The method of claim 5, wherein the step of determining the position of the probe is performed, The filtering processing of the plurality of first phase difference data respectively comprises And respectively carrying out filtering processing on the plurality of first phase difference data based on a sliding self-adaptive median filtering algorithm.
  8. 8. The method of claim 1, wherein the step of determining the position of the substrate comprises, The compensation processing of the plurality of second phase difference data by the first compensation data comprises And respectively calculating the difference values of the plurality of second phase difference data and the first compensation data to obtain compensated second phase difference data.
  9. 9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-8 when the program is executed by the processor.
  10. 10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-8.

Description

Method for smooth output of second pulse after switching reference signals based on time fusion Technical Field The present disclosure relates to the field of fusion output control. And more particularly, to a method for smooth output of pulse per second after switching of reference signals based on time fusion. Background At present, the time fusion refers to a time-frequency system which can simultaneously receive and process various external reference time service information and maintain reliable output on the basis, so as to realize multi-source elastic time-frequency guarantee. Common sources of external reference timing information include a network, beidou or GPS satellites, a range instrument group B code (IRIG-B), hereinafter referred to as B code, a combination of Pulse Per Second (1 PPS) and Time of Day (TOD), and the like. The network time service is usually carried out by a network time protocol (Network Time Protocol, NTP) or an accurate time protocol (Precision Time Protocol, PTP), wherein the precision of PTP time service is higher and can reach tens of nanoseconds at most, the satellite time service is usually carried out by a Beidou or GPS receiver for receiving time information, the satellite signal coverage range is wide and the time service precision is higher and can reach tens of nanoseconds generally, the B code is a serial time code format and can be suitable for long-distance transmission, the time service precision is generally different from tens to tens of nanoseconds, the combination form of 1PPS and TOD is similar to the B code, the method belongs to serial time service, and the time service precision is different from tens of nanoseconds. According to the different external reference time service sources, the input time has a certain jitter in phase compared with the local time frequency system. For network time service, the jitter generally comes from processing delay or transmission path asymmetry of network equipment, the jitter of satellite time service is mainly used for multipath interference and environmental noise, and the jitter of 1PPS and TOD combined form and B code time service is more limited by time service equipment. For time sensitive devices, excessive time jitter can lead to system alarms, especially when the external reference is changed. Disclosure of Invention The disclosure aims to provide a method for smooth output of second pulse after switching of reference signals based on time fusion, which solves at least one of the problems existing in the prior art. In order to achieve the above purpose, the present disclosure adopts the following technical scheme: The first aspect of the present disclosure provides a method for smooth output of second pulse after switching of reference signals based on time fusion, the method being applied to a time-frequency system, comprising: respectively decoding the reference original time service signals input in multiple paths to obtain multiple paths of standard signals, and generating a local second pulse signal based on a local clock source; Responding to the initial setting of a time-frequency system, taking the nth channel of the multi-channel standard signals as a reference signal, configuring other standard signals as a first compensation signal, and carrying out taming processing on the local second pulse signal through the nth channel standard signal to obtain a first tamed signal; Respectively calculating phase differences between second pulse signals of the multipath first compensation signals and second pulse signals of the first tame signals to obtain a plurality of first phase difference data, and calculating average values of the plurality of first phase difference data to obtain first compensation data; Responding to the switching setting of the time-frequency system, switching reference signals of a plurality of paths of standard signals from an nth path to an mth path, configuring other standard signals as second compensation signals, and performing tame processing on local second pulse signals through the mth path of standard signals to obtain second tame signals; m and n are each integers greater than zero. Optionally, the multiple standard signals are each a second pulse signal with a time message. Optionally, performing the taming processing on the local second pulse signal by the nth standard signal to obtain a first taming signal includes: And calculating the phase difference between the second pulse signal of the nth standard signal and the local second pulse signal, taking the measured phase difference data as the input of the proportional-integral controller to obtain control data, and adjusting the frequency of the local clock source through the control data to obtain a first discipline signal. Optionally, the obtaining control data using the measured phase difference data as an input of the proportional-integral controller includes: According to the formula Calculating to obtain proportional