CN116567797A - Wireless dynamic dual-node frequency synchronization method and device and electronic equipment - Google Patents

Wireless dynamic dual-node frequency synchronization method and device and electronic equipment Download PDF

Info

Publication number
CN116567797A
CN116567797A CN202310492273.1A CN202310492273A CN116567797A CN 116567797 A CN116567797 A CN 116567797A CN 202310492273 A CN202310492273 A CN 202310492273A CN 116567797 A CN116567797 A CN 116567797A
Authority
CN
China
Prior art keywords
node
clock signal
dynamic node
period
target
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.)
Pending
Application number
CN202310492273.1A
Other languages
Chinese (zh)
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.)
Qilu Aerospace Information Research Institute
Aerospace Information Research Institute of CAS
Original Assignee
Qilu Aerospace Information Research Institute
Aerospace Information Research Institute of CAS
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 Qilu Aerospace Information Research Institute, Aerospace Information Research Institute of CAS filed Critical Qilu Aerospace Information Research Institute
Priority to CN202310492273.1A priority Critical patent/CN116567797A/en
Publication of CN116567797A publication Critical patent/CN116567797A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0602Systems characterised by the synchronising information used
    • H04J3/0617Systems characterised by the synchronising information used the synchronising signal being characterised by the frequency or phase
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/0035Synchronisation arrangements detecting errors in frequency or phase
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention provides a wireless dynamic double-node frequency synchronization method, a device and electronic equipment, wherein the method comprises the following steps: receiving a clock signal sent by a target dynamic node, and determining the period of the clock signal of the target dynamic node; determining a deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node; and carrying out PID algorithm calculation based on the deviation, and synchronizing the crystal oscillator frequency of the local dynamic node according to a calculation result. The invention can be separated from the constraint of GPS, and the actual distance between two dynamic nodes is not needed to be considered, so that the frequency synchronization between the two nodes can be dynamically realized in real time, and the time scale synchronization precision of sub-nanosecond magnitude can be realized in millimeter wave band.

Description

Wireless dynamic dual-node frequency synchronization method and device and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for wireless dynamic dual-node frequency synchronization, and an electronic device.
Background
The transceiver adopts different local oscillation signals, so that the transmitting node and the receiving node are mutually independent of each other, and meanwhile, the frequency difference exists between the transmitting node and the receiving node due to the natural frequency drift of the crystal oscillator, so that unacceptable errors exist in the demodulated signals.
In order to solve the above problem, the local oscillation signals of the receiving node and the transmitting node need to be frequency synchronized. In the prior art, a local synchronization method is generally adopted, and is represented by a GPS system disciplined high-precision crystal oscillator, and the method can enable the local node crystal oscillator to obtain good short stability. However, the method is highly dependent on the GPS system, and the GPS system fails when satellite signals are refused due to the influence of environmental factors such as weather and the like, so that real-time frequency synchronization cannot be realized. Therefore, in the prior art, a clock synchronization method is generally adopted, represented by a time-frequency synchronization technology based on optical fiber transmission, so that the defects of the GPS system are overcome, however, synchronization nodes based on optical fiber transmission do not support movement, the flexibility is poor, the optical fiber network layout needs to be performed by considering the actual distance between a receiving node and a transmitting node, and meanwhile, the defects of complex and tedious network layout and the like exist.
Therefore, how to dynamically achieve frequency synchronization between a receiving node and a transmitting node in real time has become an important issue of interest to the industry.
Disclosure of Invention
The invention provides a wireless dynamic double-node frequency synchronization method, a wireless dynamic double-node frequency synchronization device and electronic equipment, which are used for dynamically realizing frequency synchronization between a receiving node and a transmitting node in real time.
The invention provides a wireless dynamic double-node frequency synchronization method, which comprises the following steps:
receiving a clock signal sent by a target dynamic node, and determining the period of the clock signal of the target dynamic node;
determining a deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node;
and carrying out PID algorithm calculation based on the deviation, and synchronizing the crystal oscillator frequency of the local dynamic node according to a calculation result.
According to the wireless dynamic dual-node frequency synchronization method provided by the invention, the method for determining the deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node comprises the following steps:
and calculating the deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node under the condition that the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node are determined to be effective.
According to the wireless dynamic double-node frequency synchronization method provided by the invention, the PID algorithm adopts an incremental PID algorithm; and performing PID algorithm calculation based on the deviation, and synchronizing the crystal oscillator frequency of the local dynamic node according to a calculation result, wherein the PID algorithm calculation comprises the following steps:
calculating the deviation as the input of the incremental PID algorithm to obtain a target reference quantity;
and synchronizing the crystal oscillator frequency of the local dynamic node based on the target reference quantity.
According to the wireless dynamic double-node frequency synchronization method provided by the invention, the target reference quantity is calculated by the following formula:
Δu=K P (e(k)-e(k-1))+K I *e(k)+K D (e(k)-2e(k-1)+e(k-2));
wherein Δu represents a target reference amount; e (k) represents the period of the clock signal of the local dynamic node at time k and the clock signal of the target dynamic nodeDeviation between periods; k (K) P Representing a scaling factor; k (K) I Representing the integral amplification factor; k (K) D Representing the differential amplification factor.
According to the wireless dynamic dual-node frequency synchronization method provided by the invention, the crystal oscillator frequency of the local dynamic node is synchronized based on the target reference quantity, and the method comprises the following steps:
calculating a target correction voltage based on the target reference quantity;
converting the target correction voltage into an analog voltage through digital-to-analog conversion;
and inputting the analog voltage to the voltage-controlled crystal oscillator of the local dynamic node, and adjusting the crystal oscillator frequency output by the voltage-controlled crystal oscillator so as to synchronize the frequencies of the local dynamic node and the target dynamic node.
According to the wireless dynamic double-node frequency synchronization method provided by the invention, the local dynamic node is provided with the time-to-digital converter, and the time-to-digital converter is used for measuring the period of clock signals of the local dynamic node and the target dynamic node.
The invention also provides a wireless dynamic double-node frequency synchronization device, which comprises:
the receiving module is used for receiving the clock signal sent by the target dynamic node and determining the period of the clock signal of the target dynamic node;
a processing module for determining a deviation between a period of a clock signal of a local dynamic node and a period of a clock signal of the target dynamic node;
and the synchronization module is used for carrying out PID algorithm calculation based on the deviation and synchronizing the crystal oscillator frequency of the local dynamic node according to a calculation result.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the wireless dynamic dual node frequency synchronization method as described in any one of the above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a wireless dynamic dual node frequency synchronization method as described in any of the above.
The invention also provides a computer program product comprising a computer program which when executed by a processor implements a wireless dynamic dual node frequency synchronization method as described in any one of the above.
According to the wireless dynamic dual-node frequency synchronization method, the wireless dynamic dual-node frequency synchronization device and the electronic equipment, continuous clock signals are transmitted on a wireless channel, a local dynamic node can receive clock signals transmitted by a target dynamic node, the deviation between the clock signals of the target dynamic node and the clock signals of the local dynamic node is calculated by measuring the period of the clock signals of the target dynamic node and the period of the clock signals of the local dynamic node, PID control operation is carried out, the output of the local dynamic node crystal oscillator frequency is regulated, the GPS constraint can be removed, the actual distance between the two dynamic nodes is not needed to be considered, the frequency synchronization between the dual nodes is dynamically realized in real time, and the time scale synchronization precision of sub-nanosecond magnitude can be realized in millimeter wave bands.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a wireless dynamic dual-node frequency synchronization method provided by the invention;
fig. 2 is a schematic diagram of a data processing flow of a wireless dynamic dual-node frequency synchronization method provided by the invention;
fig. 3 is a schematic diagram of a hardware structure of a dual node in the wireless dynamic dual node frequency synchronization method provided by the invention;
fig. 4 is a schematic diagram of a single-node hardware structure in the wireless dynamic dual-node frequency synchronization method provided by the invention;
fig. 5 is a software flow diagram of a wireless dynamic dual-node frequency synchronization method provided by the invention;
fig. 6 is a schematic structural diagram of a wireless dynamic dual-node frequency synchronization device provided by the invention;
fig. 7 is a schematic diagram of the physical structure of the electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the invention, it should be noted that, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
The following describes a wireless dynamic dual-node frequency synchronization method, a device and an electronic device according to the present invention with reference to fig. 1 to 7.
Fig. 1 is a flow chart of a wireless dynamic dual-node frequency synchronization method provided by the invention, as shown in fig. 1, the method includes:
step 110, receiving a clock signal sent by a target dynamic node, and determining a period of the clock signal of the target dynamic node;
step 120, determining a deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node;
and 130, calculating a PID algorithm based on the deviation, and synchronizing the crystal oscillator frequency of the local dynamic node according to the calculation result.
In particular, the dynamic node described in the embodiments of the present invention refers to a node device supporting wireless network transmission, and may include a receiving node or a transmitting node.
In an embodiment of the present invention, the target dynamic node may be a transmitting node, and the local dynamic node may be a receiving node.
Based on the above embodiments, as an alternative embodiment, the local dynamic node is provided with a Time-to-Digital Converter (TDC) for measuring the period of the clock signals of the local dynamic node and the target dynamic node.
In the prior art, the TDC is generally used in the fields of laser ranging and ultrasonic speed measurement, and in the embodiment of the invention, the TDC is used in the field of node frequency synchronization based on the clock period measurement of the TDC so as to accurately measure the periods of clock signals of a local dynamic node and a target dynamic node.
In the embodiment of the invention, the TDC is arranged on the local dynamic node, so that the clock period of the local node, namely the local dynamic node, and the clock period of the remote node, namely the target dynamic node, can be measured on a single node through the same TDC, the measurement difference of the same clock signal between different TDCs is avoided, and the frequency synchronization precision between the receiving node and the transmitting node is improved.
Further, in the embodiment of the present invention, a continuous clock signal is transmitted on the wireless channel, and the local dynamic node may receive the clock signal sent by the target dynamic node, and measure the period of the clock signal of the target dynamic node and the period of the clock signal of the local dynamic node through the TDC, so as to calculate the deviation between the periods of the clock signals of the local dynamic node and the target dynamic node.
Further, PID calculation is performed according to the deviation, and a compensation value is determined, so that a control voltage for synchronously adjusting the local voltage-controlled crystal oscillator (Voltage Controlled Crystal Oscillator, VCXO) can be calculated, and the output frequency of the VCXO of the local dynamic node is adjusted, so that frequency synchronization between wireless dynamic double nodes is realized.
The time precision index of the dual node after the frequency synchronization is relative to the two nodes, and is not synchronized with UTC in world coordination.
In the embodiment of the invention, the clock signal of a certain frequency point is sent on the double-node wireless channel, and the double-node decentralization is carried out by setting up the bidirectional channel, so that the high-precision dynamic node frequency synchronization is realized.
According to the wireless dynamic dual-node frequency synchronization method, continuous clock signals are transmitted on a wireless channel, a local dynamic node can receive clock signals sent by a target dynamic node, the deviation between the period of the clock signals of the target dynamic node and the period of the clock signals of the local dynamic node is calculated by measuring the period of the two periods, PID control operation is carried out, the output of the local dynamic node crystal oscillator frequency is regulated, the GPS constraint can be removed, the actual distance between the two dynamic nodes is not needed to be considered, the frequency synchronization between the dual nodes can be dynamically realized in real time, and the time scale synchronization precision of subnanoseconds can be realized in millimeter wave bands.
Based on the foregoing embodiment, as an alternative embodiment, determining a deviation between a period of a clock signal of the local dynamic node and a period of a clock signal of the target dynamic node includes:
in the case that the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node are determined to be valid, a deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node is calculated.
Specifically, in an embodiment of the present invention, the period of the clock signal is preset with an effective value range, and the specific range may be 100ms-500ns to 100ms+500ns. That is, the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node are measured by the TDC, and if the measured period value is within the valid value range, the measured period is determined to be valid, otherwise, the measured period is determined to be invalid.
According to the method provided by the embodiment of the invention, the accuracy and the effectiveness of the TDC measurement result are further ensured by introducing a period value effective judging mechanism, and reliable calculation data is provided for the subsequent inter-node frequency synchronization adjustment.
Based on the foregoing embodiment, as an alternative embodiment, the PID algorithm employs an incremental PID algorithm; PID algorithm calculation is carried out based on the deviation, and the crystal oscillator frequency of the local dynamic node is synchronized according to the calculation result, which comprises the following steps:
calculating the deviation as the input of an incremental PID algorithm to obtain a target reference quantity;
and synchronizing the crystal oscillator frequency of the local dynamic node based on the target reference quantity.
Specifically, the target reference quantity described in the embodiment of the invention refers to an output value obtained by performing PID operation based on the deviation of the signal period between the local dynamic node and the target dynamic node, and is used for adjusting the signal period between the local dynamic node and the target dynamic node to be consistent so as to achieve the purpose of frequency synchronization.
It should be noted that the PID algorithm is composed of three parts of proportional control, integral control and differential control, and the PID algorithm includes a position type PID algorithm and an incremental type PID algorithm.
The input and output of the position type PID algorithm have the following relation:
wherein e (t) represents an input; u (t) represents an output; k (K) P ' represents a scale-up factor; k (K) I ' represents an integral amplification factor; k (K) D ' represents the differential amplification factor. These three parameters are constants determined by debugging.
Because the position type PID algorithm needs a deviation signal of past times, the increment type PID algorithm only needs one increment signal, and the calculation of the position type PID algorithm is complicated; meanwhile, the output of the position type PID control is related to the whole past state, the accumulated value of the error is used, and the output of the incremental type PID algorithm is related only to the errors of the current beat and the first two beats, compared with the accumulated error of the position type PID control which is relatively larger.
Therefore, in the embodiment of the invention, the PID algorithm is adopted, the incremental PID algorithm is adopted, the deviation of the clock signal period of the local dynamic node and the target dynamic node is used as the input of the incremental PID algorithm to calculate the target reference quantity.
Based on the above embodiment, as an alternative embodiment, the target reference amount is calculated by the following formula:
Δu=K P (e(k)-e(k-1))+K I *e(k)+K D (e(k)-2e(k-1)+e(k-2));
wherein Δu represents a target reference amount; e (k) represents a deviation between the period of the clock signal of the local dynamic node at the time k and the period of the clock signal of the target dynamic node; k (K) P Representing a scaling factor; k (K) I Representing the integral amplification factor; k (K) D Representing the differential amplification factor.
The formula is a specific relation between the input and the output of the incremental PID algorithm, wherein the target reference quantity delta u is output, and e (k) is input.
According to the method provided by the embodiment of the invention, the accuracy of the target reference quantity for adjusting the local dynamic node crystal oscillator frequency is ensured by taking the clock signal period deviation between the dynamic double nodes measured by the TDC as the input of the PID algorithm to carry out PID operation.
Further, in an embodiment of the present invention, the crystal oscillator frequency of the local dynamic node is synchronized based on the target reference quantity. The input of the PID algorithm is the period deviation of the local dynamic node clock signal and the target dynamic node clock signal, so that the PID algorithm automatically calculates a target reference quantity only when the period deviation of the local dynamic node clock signal and the target dynamic node clock signal is equal to the period deviation of the local dynamic node clock signal and the target dynamic node clock signal, and the output of the PID algorithm is 0 only when the period deviation of the local dynamic node clock signal and the target dynamic node clock signal is equal to the period deviation of the local dynamic node clock signal, and the output of the PID algorithm is 0 only when the period deviation of the local dynamic node clock signal and the target dynamic node clock signal is equal to the period deviation of the target dynamic node clock signal.
According to the method provided by the embodiment of the invention, the target reference quantity is calculated by adopting the incremental PID algorithm, so that the calculated quantity is small, and the crystal oscillator frequency of the local dynamic node can be quickly adjusted, thereby effectively improving the frequency synchronization efficiency between the dynamic double nodes.
Based on the foregoing embodiment, as an alternative embodiment, synchronizing the crystal oscillator frequency of the local dynamic node based on the target reference amount includes:
calculating a target correction voltage based on the target reference quantity;
converting the target correction voltage into an analog voltage through digital-to-analog conversion;
and inputting the analog voltage to the voltage-controlled crystal oscillator of the local dynamic node, and adjusting the crystal oscillator frequency output by the voltage-controlled crystal oscillator so as to synchronize the frequencies of the local dynamic node and the target dynamic node.
Specifically, the target correction voltage described in the embodiments of the present invention refers to a voltage amount for adjusting the crystal oscillator frequency of the local dynamic node, which can synchronize the crystal oscillator frequency of the local dynamic node with the crystal oscillator frequency of the target dynamic node.
In the embodiment of the invention, after the target reference quantity is obtained based on PID operation, the running voltage of the local dynamic node VCXO and the target reference quantity can be summed, and the target correction voltage is obtained through calculation, and is a digital voltage. Further, the target correction voltage is digital-to-analog converted by a digital-to-analog converter (DAC) to obtain a corresponding analog voltage.
Further, the analog voltage can be input to the VCXO of the local dynamic node, and the crystal oscillator frequency output by the VCXO of the local dynamic node is adjusted so that the frequencies of the local dynamic node and the target dynamic node are synchronized.
In a specific embodiment, when the crystal oscillator to be regulated is a voltage-controlled crystal oscillator, based on the deviation between the clock signal period of the local dynamic node and the clock signal period of the target dynamic node, the deviation between the clock signal periods of the local dynamic node and the target dynamic node is used as the input of the incremental PID algorithm to calculate the target reference quantity, and then the target reference quantity is determined to be 2V, so that the target correction voltage is calculated to be 5V according to the operation voltage of the VCXO of the current local dynamic node being 3V and the target reference quantity being 2V, the 5V digital quantity is converted into the corresponding analog voltage through digital-to-analog conversion, and then the analog voltage can be directly applied to the VCXO of the local dynamic node, the output frequency of the VCXO is regulated, and the rapid crystal oscillator frequency regulation can be realized.
According to the method provided by the embodiment of the invention, the target correction voltage calculated based on the PID operation result is subjected to digital-to-analog conversion to obtain the corresponding analog voltage, so that the frequency of the voltage-controlled crystal oscillator of the local dynamic node can be regulated, and the high-precision frequency synchronization between the local dynamic node and the target dynamic node is realized rapidly and conveniently.
Fig. 2 is a schematic diagram of a data processing flow of a wireless dynamic dual-node frequency synchronization method provided by the present invention, as shown in fig. 2, in an embodiment of the present invention, a node a may be a target dynamic node, a node B may be a local dynamic node, and when a VCXO clock signal period t1 of the node a and a VCXO clock signal period t2 of the node B are obtained, a deviation Δt between the two may be calculated, and then an incremental PID algorithm is adopted, and the deviation Δt between the clock signal periods of the node a and the node B is used as an input of the incremental PID algorithm to calculate and obtain a target reference quantity.
Then, a target correction voltage, which is a digital quantity, can be calculated from the operating voltage of the current local dynamic node VCXO and the target reference quantity. Further, the target correction voltage is input to a digital-to-analog converter DAC through an SPI interface, and the DAC converts the target correction voltage into a corresponding analog voltage V 0 And outputting the data as a voltage control input signal of the local dynamic node VCXO, so as to adjust the output frequency of the VCXO, and repeating the data processing process to realize real-time frequency synchronization between the two dynamic nodes.
Fig. 3 is a schematic diagram of a hardware structure of a dual node in the wireless dynamic dual node frequency synchronization method provided by the present invention, as shown in fig. 3, a node a may be a target dynamic node, and a node B may be a local dynamic node, where each node mainly includes a main control board (Main Control Board) unit, a transmitter (Tx), and a receiver (Rx). The transmitter Tx is configured to transmit a clock signal to the outside, the receiver Rx receives the clock signal sent by the external node, and the main control board unit is configured to process the signal.
Fig. 4 is a schematic diagram of a single-node hardware structure in the wireless dynamic dual-node frequency synchronization method provided by the invention, as shown in fig. 4, the single-node may be a local dynamic node, which specifically includes a main control board unit 1, a digital-to-analog converter (DAC) 2, a time-to-digital converter (TDC) 3, a voltage-controlled crystal oscillator (VCXO) 4, a communication transmitter (Tx) 5, and a receiver (Rx) 6.
The main control board unit comprises an ARM unit, a Filter LOGIC (Filter LOGIC) unit, a TDC signal operation LOGIC (TDC-CTL LOGIC) unit and a mode clock manager (MMCM).
In the embodiment of the invention, the local dynamic node can receive the clock signal sent by the target dynamic node through the receiver Rx, send the clock signal of the target dynamic node to the TDC-CTL LOGIC unit through the Filter LOGIC unit, collect the clock signal of the local dynamic node through the MMCM, and send the clock signal of the local dynamic node to the TDC-CTL LOGIC unit.
Meanwhile, the TDC-CTL LOGIC unit is used for controlling the time-digital converter TDC to work, so that the TDC measures the period of the clock signal of the target dynamic node and the period of the clock signal of the local dynamic node, therefore, the deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node can be calculated through the ARM unit, and PID calculation is carried out according to the period deviation to obtain the target reference quantity.
Further, the ARM unit calculates a target correction voltage according to the working voltage of the current local dynamic node VCXO and a target reference quantity, the target correction voltage is digital, the target correction voltage is further input to a digital-to-analog converter DAC through an SPI interface, and the DAC converts the target correction voltage into a corresponding analog voltage V 0 Output as voltage control input signal V of local dynamic node VCXO i Thereby adjusting the output frequency of the local dynamic node VCXO to realize the target movement with a far placeFrequency synchronization between state nodes.
Fig. 5 is a software flow chart of the wireless dynamic dual-node frequency synchronization method provided by the invention, and as shown in fig. 5, it is a software system program execution flow, and can be referred to correspondingly with fig. 2. After the software system is powered on, firstly, system initialization is carried out, including clock initialization, interface initialization, printing port initialization and the like.
Further, in the embodiment of the present invention, by calling the TDC, the period of node a, that is, the period of the clock signal generated by the VCXO of node a, and the period of node B, that is, the period of the clock signal generated by the VCXO of node B, are sequentially measured. Further judging whether the period measurement values of the clock signals of the node A and the node B are valid, repeating the period measurement if the period measurement values are invalid, otherwise, calculating the period deviation between the clock signals of the node A and the node B if the period measurement values are valid, performing PID control operation based on the deviation to obtain a target reference quantity, then calculating a target correction voltage of a digital quantity according to the working voltage of the current local dynamic node VCXO and the target reference quantity, inputting the target correction voltage to a digital-to-analog converter DAC through an SPI interface, and converting the target correction voltage into a corresponding analog voltage V by the DAC 0 And outputting the clock signal as a voltage control input signal of the local dynamic node VCXO, so as to adjust the Voltage Control (VC) frequency of the local dynamic node VCXO, change the period of the clock signal of the local node and realize the frequency synchronization between the two dynamic nodes, namely the local dynamic node and the remote target dynamic node.
Meanwhile, the clock signal period after the frequency of the local dynamic node VCXO is adjusted is continuously sent to the TDC for measurement, and the program execution process is repeated, so that the frequency synchronization between the local node and the remote node can be dynamically realized in real time.
According to the method for carrying out dynamic node frequency synchronization based on the time-to-digital converter measurement clock period, which is provided by the embodiment of the invention, the frequency difference between two nodes is enabled to be close to zero by adjusting the frequency of the local crystal oscillator, so that the frequency synchronization between wireless nodes is realized, and higher precision is obtained; the method can realize frequency synchronization under certain conditions based on only two nodes without depending on ephemeris calculation of a signal base station, a satellite and a terminal; compared with the time-frequency transmission synchronization technology of optical fibers, the clock signal period of wireless channel transmission does not change along with the different distances of nodes, and frequency synchronization between two dynamic nodes can be supported.
The wireless dynamic dual-node frequency synchronization device provided by the invention is described below, and the wireless dynamic dual-node frequency synchronization device described below and the wireless dynamic dual-node frequency synchronization method described above can be correspondingly referred to each other.
Fig. 6 is a schematic structural diagram of a wireless dynamic dual-node frequency synchronization device provided by the present invention, as shown in fig. 6, including:
a receiving module 610, configured to receive a clock signal sent by a target dynamic node, and determine a period of the clock signal of the target dynamic node;
a processing module 620 configured to determine a deviation between a period of the clock signal of the local dynamic node and a period of the clock signal of the target dynamic node;
and the synchronization module 630 is configured to perform PID algorithm calculation based on the deviation, and synchronize the crystal oscillator frequency of the local dynamic node according to the calculation result.
The wireless dynamic dual-node frequency synchronization device in this embodiment may be used to execute the above embodiment of the wireless dynamic dual-node frequency synchronization method, and its principle and technical effects are similar, and are not repeated here.
According to the wireless dynamic dual-node frequency synchronization device, continuous clock signals are transmitted on a wireless channel, a local dynamic node can receive clock signals sent by a target dynamic node, the deviation between the period of the clock signals of the target dynamic node and the period of the clock signals of the local dynamic node is calculated by measuring the period of the two periods, PID control operation is carried out, the output of the local dynamic node crystal oscillator frequency is regulated, the GPS constraint can be removed, the actual distance between the two dynamic nodes is not needed to be considered, the frequency synchronization between the dual nodes can be dynamically realized in real time, and the time scale synchronization precision of subnanoseconds can be realized in millimeter wave bands.
Based on the foregoing embodiment, as an alternative embodiment, the processing module 620 is specifically configured to:
in the case that the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node are determined to be valid, a deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node is calculated.
Based on the foregoing embodiment, as an alternative embodiment, the PID algorithm employs an incremental PID algorithm; the synchronization module 630 further includes:
the operation sub-module is used for operating the deviation as the input of an incremental PID algorithm to obtain a target reference quantity;
and the synchronization sub-module is used for synchronizing the crystal oscillator frequency of the local dynamic node based on the target reference quantity.
Based on the above embodiments, as an alternative embodiment, the synchronization submodule is specifically configured to:
calculating a target correction voltage according to the period of the clock signal of the local dynamic node and the target reference quantity;
converting the target correction voltage into an analog voltage through digital-to-analog conversion;
and inputting the analog voltage to the voltage-controlled crystal oscillator of the local dynamic node, and adjusting the crystal oscillator frequency output by the voltage-controlled crystal oscillator so as to synchronize the frequencies of the local dynamic node and the target dynamic node.
Based on the above-described embodiments, as an alternative embodiment, the local dynamic node is provided with a time-to-digital converter for measuring the period of the clock signals of the local dynamic node and the target dynamic node.
Fig. 7 is a schematic physical structure of an electronic device according to the present invention, as shown in fig. 7, the electronic device may include: processor 710, communication interface (Communications Interface) 720, memory 730, and communication bus 740, wherein processor 710, communication interface 720, memory 730 communicate with each other via communication bus 740. Processor 710 may invoke logic instructions in memory 730 to perform the wireless dynamic dual node frequency synchronization method provided by the methods described above, the method comprising: receiving a clock signal sent by a target dynamic node, and determining the period of the clock signal of the target dynamic node; determining a deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node; and carrying out PID algorithm calculation based on the deviation, and synchronizing the crystal oscillator frequency of the local dynamic node according to a calculation result.
Further, the logic instructions in the memory 730 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of executing the wireless dynamic dual node frequency synchronization method provided by the above methods, the method comprising: receiving a clock signal sent by a target dynamic node, and determining the period of the clock signal of the target dynamic node; determining a deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node; and carrying out PID algorithm calculation based on the deviation, and synchronizing the crystal oscillator frequency of the local dynamic node according to a calculation result.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the wireless dynamic dual node frequency synchronization method provided by the above methods, the method comprising: receiving a clock signal sent by a target dynamic node, and determining the period of the clock signal of the target dynamic node; determining a deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node; and carrying out PID algorithm calculation based on the deviation, and synchronizing the crystal oscillator frequency of the local dynamic node according to a calculation result.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A wireless dynamic dual-node frequency synchronization method, comprising:
receiving a clock signal sent by a target dynamic node, and determining the period of the clock signal of the target dynamic node;
determining a deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node;
and carrying out PID algorithm calculation based on the deviation, and synchronizing the crystal oscillator frequency of the local dynamic node according to a calculation result.
2. The wireless dynamic dual node frequency synchronization method of claim 1, wherein said determining a deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node comprises:
and calculating the deviation between the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node under the condition that the period of the clock signal of the local dynamic node and the period of the clock signal of the target dynamic node are determined to be effective.
3. The wireless dynamic dual-node frequency synchronization method according to claim 1, wherein the PID algorithm adopts an incremental PID algorithm; and performing PID algorithm calculation based on the deviation, and synchronizing the crystal oscillator frequency of the local dynamic node according to a calculation result, wherein the PID algorithm calculation comprises the following steps:
calculating the deviation as the input of the incremental PID algorithm to obtain a target reference quantity;
and synchronizing the crystal oscillator frequency of the local dynamic node based on the target reference quantity.
4. The wireless dynamic dual node frequency synchronization method of claim 3, wherein the target reference is calculated by the following formula:
Δu=K P (e(k)-e(k-1))+K I *e(k)+K D (e(k)-2e(k-1)+e(k-2));
wherein Δu represents a target reference amount; e (k) represents a deviation between the period of the clock signal of the local dynamic node at the time k and the period of the clock signal of the target dynamic node; k (K) P Representing a scaling factor; k (K) I Representing the integral amplification factor; k (K) D Representing the differential amplification factor.
5. The method of claim 3, wherein synchronizing the crystal oscillator frequency of the local dynamic node based on the target reference comprises:
calculating a target correction voltage based on the target reference quantity;
converting the target correction voltage into an analog voltage through digital-to-analog conversion;
and inputting the analog voltage to the voltage-controlled crystal oscillator of the local dynamic node, and adjusting the crystal oscillator frequency output by the voltage-controlled crystal oscillator so as to synchronize the frequencies of the local dynamic node and the target dynamic node.
6. The wireless dynamic dual node frequency synchronization method according to any of claims 1-5, wherein the local dynamic node is provided with a time to digital converter for measuring the period of the clock signals of the local dynamic node and the target dynamic node.
7. A wireless dynamic dual-node frequency synchronization device, comprising:
the receiving module is used for receiving the clock signal sent by the target dynamic node and determining the period of the clock signal of the target dynamic node;
a processing module for determining a deviation between a period of a clock signal of a local dynamic node and a period of a clock signal of the target dynamic node;
and the synchronization module is used for carrying out PID algorithm calculation based on the deviation and synchronizing the crystal oscillator frequency of the local dynamic node according to a calculation result.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the wireless dynamic dual node frequency synchronization method of any of claims 1 to 6 when the program is executed by the processor.
9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the wireless dynamic dual node frequency synchronization method according to any of claims 1 to 6.
10. A computer program product comprising a computer program which, when executed by a processor, implements the wireless dynamic dual node frequency synchronization method according to any of claims 1 to 6.
CN202310492273.1A 2023-04-26 2023-04-26 Wireless dynamic dual-node frequency synchronization method and device and electronic equipment Pending CN116567797A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310492273.1A CN116567797A (en) 2023-04-26 2023-04-26 Wireless dynamic dual-node frequency synchronization method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310492273.1A CN116567797A (en) 2023-04-26 2023-04-26 Wireless dynamic dual-node frequency synchronization method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116567797A true CN116567797A (en) 2023-08-08

Family

ID=87489224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310492273.1A Pending CN116567797A (en) 2023-04-26 2023-04-26 Wireless dynamic dual-node frequency synchronization method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116567797A (en)

Similar Documents

Publication Publication Date Title
KR101201974B1 (en) Calibration and correction system for satellite position location systems
US11804871B2 (en) Systems and methods for synchronizing time, frequency, and phase among a plurality of devices
JP2006514267A (en) System and method for frequency management of a communication device having positioning function
US5697082A (en) Self-calibrating frequency standard system
CN105207767B (en) A kind of PTP master clocks and the method and device from Frequency Synchronization between clock
CN114578679B (en) Time synchronization method applied to tunnel based on time service voltage control technology
CN108521323A (en) A kind of two-way Time transfer receiver measuring device and method based on forwarding
CN106230435B (en) Clock source generating means and method
EP3652818B1 (en) Cavity stabilized laser drift compensation
CN111045317B (en) Calibration method, device and system of equipment clock, self-calibration method and equipment
CN116567797A (en) Wireless dynamic dual-node frequency synchronization method and device and electronic equipment
CN111045318B (en) Calibration method, device and system of equipment clock, self-calibration method and equipment
KR100967197B1 (en) Clock transmission Apparatus for network synchronization between system and system
JP2012195840A (en) Communication apparatus and communication control method
JP7307585B2 (en) Time synchronization measurement system
JP2007101335A (en) Oscillation control device and synchronous system
CN115856793A (en) Radar signal frequency deviation estimation compensation method
CN101388646A (en) Successive approximation temperature and frequency correcting method and device
CN110989327B (en) Distributed high-precision time frequency real-time integrated system
JP2855449B2 (en) Standard frequency signal generator
JP2011259402A (en) Frequency calibration fixing device and frequency calibration fixing method
CN111007710B (en) Production line calibration method, device and system of equipment clock, self-calibration method and equipment
WO2007114498A1 (en) Pll device
CN116567796A (en) Wireless multi-node time-frequency synchronization method and device, electronic equipment and storage medium
CN116148830A (en) Distance measuring method and distance measuring device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination