Clock synchronization system and method

The clock synchronization system addresses large delay deviations in RF direct sampling transceivers by synchronizing clocks using a pulse generation and frequency divider module, achieving sub-nanosecond precision for improved communication system performance.

JP2024542456AActive Publication Date: 2024-11-15SANECHIPS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024529225
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-11-15
Filing Date
2022-03-19
Publication Date
2024-11-15
Estimated Expiration
2042-03-19

AI Technical Summary

Technical Problem

Existing clock synchronization systems in RF direct sampling transceivers suffer from large delay deviations due to interface and clock domain crossing deviations, exceeding 10ns, which is unsuitable for modern communication systems requiring sub-nanosecond precision.

Method used

A clock synchronization system and method involving a pulse generation module, synchronous output module, and output frequency divider module, utilizing a voltage controlled oscillator to synchronize clocks and sample signals, ensuring accurate delay functionality across multiple power-ons.

Benefits of technology

The proposed system reduces delay deviations to less than 1ns, enabling precise clock synchronization for high-frequency communication systems, improving system performance and reducing noise and error sources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024542456000001_ABST
    Figure 2024542456000001_ABST
Patent Text Reader

Abstract

The present disclosure provides a clock synchronization system and method, the clock synchronization system including: a pulse generation module configured to receive an input first signal, obtain a second signal by sampling the first signal, and generate a pulse signal based on the second signal; a voltage controlled oscillator configured to output a first output clock to an output divider module, the pulse generation module, and a synchronous output module; an output divider module configured to divide the first output clock and synchronize the divided clock based on the pulse signal to obtain a second output clock; and a synchronous output module configured to receive the first output clock output from the voltage controlled oscillator, the second output clock output from the output divider module, the first signal, and the pulse signal input from the pulse generation module, and obtain a third signal by synchronously processing the first signal based on the first output clock, the second output clock, and the pulse signal.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This disclosure claims priority to a Chinese patent application filed with the China Patent Office on November 15, 2021, bearing application number 202111350980.4 and entitled "Clock Synchronization System and Method," the entire contents of which are incorporated herein by reference.

[0002] The present disclosure relates generally to the field of communications, and more particularly to clock synchronization systems and methods. [Background technology]

[0003] Digital-to-analog / analog-to-digital converter technology is becoming more and more mature, and semiconductor companies' analog-to-digital converters and digital-to-analog converters have sampling speeds orders of magnitude faster than their products from a decade ago. For example, in 2005, the world's fastest digital-to-analog / analog-to-digital converter with 12-bit resolution had a sampling speed of 250 MS / s, while in 2018, the sampling speed of a 12-bit digital-to-analog / analog-to-digital converter has reached 6.4 GS / s. These performance improvements allow digital-to-analog / analog-to-digital converters to directly digitize signals at RF (radio frequency) frequencies while providing sufficient dynamic range for modern communications and radar systems.

[0004] With the advent of ultra-high-speed digital-to-analog / analog-to-digital converters with higher resolution, RF input signals can be directly converted to multi-gigahertz signals. These conversion speeds allow engineers to digitize at very high instantaneous bandwidths in L-band and S-band. With the continued development of digital-to-analog / analog-to-digital converters, direct RF sampling in other frequency bands (e.g., C-band and X-band) is also becoming a reality.

[0005] The main advantage of direct RF sampling is that it simplifies the RF signal chain, reducing the cost of each channel and the density of channels. Devices based on direct RF sampling architectures typically have smaller form factor and are more power efficient because they utilize fewer analog components. When building high channel count systems, direct RF sampling can reduce the system footprint and cost. In addition to lowering size, weight, and power, the simplified architecture also eliminates noise, image, and other error sources that may be present within the RF device itself, such as local oscillator leakage and quadrature defects. Finally, the direct RF sampling architecture also simplifies synchronization. For example, to achieve phase coherence in an RF system, the internal clock of the RF device must be synchronized with the local oscillator. With direct sampling, which does not require a local oscillator, the only concern is clock synchronization of the components.

[0006] At present, the delay jitter deviation of RF direct sampling transceiver wireless communication system chips is relatively large, with the maximum deviation reaching 10ns. The main causes of such a large deviation are the delay deviation in the interface and the deviation of clock domain crossing. In addition, in order to balance the reliability of the digital chain design and multiple factors such as power consumption, there are multiple clock domain crossing designs in the chain, which naturally contradicts the degradation of delay jitter.

[0007] As market demand for positioning increases, communication systems have higher requirements for the delay accuracy of positioning, and therefore the delay accuracy performance of hardware systems is also being improved. To meet the system demand, the delay deviation between multiple power-on of the system chip must be less than 1ns. Meanwhile, the system-level clock accuracy of less than 1ns, specifically the part assigned to the clock phase-locked loop (PLL), must be controlled within approximately one period of the high-frequency clock. In other words, the delay time must be less than 62.5ps at a sampling clock frequency of 16GHz, but the delay deviation between multiple power-on of the system chip in related technologies is much larger than 62.5ps.

[0008] No effective technical solution has yet been proposed to address the problem of large deviation in delay between multiple power-on cycles of a system chip in related art. Summary of the Invention [Problem to be solved by the invention]

[0009] In the embodiments of the present disclosure, a clock synchronization system and method are proposed to solve at least the problem of large delay deviation between multiple power-on of a system chip in the related art. [Means for solving the problem]

[0010] In an embodiment of the present disclosure, a pulse generation module, a synchronous output module connected to the pulse generation module, an output divider module connected to the pulse generation module and the synchronous output module, and a voltage controlled oscillator connected to the pulse generation module, the output divider module, and the synchronous output module, wherein the voltage controlled oscillator is configured to output a first output clock to the output divider module, the pulse generation module, and the synchronous output module, the pulse generation module is configured to receive a first signal input from an outside and a first output clock input from the voltage controlled oscillator, obtain a second signal by sampling the first signal, generate a pulse signal based on the second signal and the first output clock, and output the pulse signal to the output divider module and the synchronous output module, respectively, and the output divider module is configured to receive a first signal input from the outside and a first output clock input from the voltage controlled oscillator, obtain a second signal by sampling the first signal, generate a pulse signal based on the second signal and the first output clock, and output the pulse signal to the output divider module and the synchronous output module, respectively, a synchronous output module connected to the output end of the pulse generating module and the output end of the output divider module, and configured to receive the first output clock output from the voltage controlled oscillator, the second output clock output from the output divider module, a first signal input from the outside, and a pulse signal input from the pulse generating module, and to obtain a third signal by synchronously processing the first signal based on the first output clock, the second output clock, and the pulse signal, wherein the third signal and the second output clock are synchronous signals output to a digital-to-analog conversion module, respectively.

[0011] In an embodiment of the present disclosure, a clock synchronization method is further proposed, which includes the steps of: inputting a first signal and a first output clock into a pulse generating module, sampling the first signal by the pulse generating module to obtain a second signal, and generating a pulse signal based on the second signal and the first output clock; inputting the pulse signal and the first output clock into the output divider module, dividing the first output clock by the output divider module, and synchronizing the divided clock based on the pulse signal; inputting the pulse signal, the first output clock, the second output clock, and the first signal into the synchronous output module, and synchronously processing the first signal based on the first output clock, the second output clock, and the pulse signal by the synchronous output module to obtain the second output clock and a third signal that is a synchronous signal.

[0012] According to another embodiment of the present disclosure, there is further proposed a computer-readable storage medium having a computer program stored thereon, the computer program being capable of implementing the steps of any one of the method embodiments described above when executed.

[0013] According to another embodiment of the present disclosure, there is further proposed an electronic device comprising a memory and a processor, the memory storing a computer program, the processor being configured to execute the computer program to implement steps in any one of the method embodiments described above.

[0014] In the above technical solution, the voltage controlled oscillator is configured to output a first output clock to the output divider module, the pulse generating module and the synchronous output module, the pulse generating module is configured to receive a first signal input from the outside and the first output clock input from the voltage controlled oscillator, obtain a second signal by sampling the first signal, generate a pulse signal according to the second signal, and output the pulse signal to the output divider module and the synchronous output module respectively, the output divider module is configured to receive the pulse signal output from the pulse generating module and the first output clock output from the voltage controlled oscillator, The synchronous output module is configured to receive a clock, divide the first output clock, and synchronize the divided clock according to the pulse signal, and the synchronous output module is configured to receive the first output clock output from the voltage controlled oscillator, the second output clock output from the output divider module, the first signal input from the outside, and the pulse signal input from the pulse generating module, and synchronously process the first signal according to the first output clock, the second output clock, and the pulse signal to obtain a third signal, and the third signal and the second output clock are synchronous signals respectively output to the digital-to-analog conversion module. According to the above technical solution, the problem of large delay deviation between multiple power-on of the system chip in the related art is solved, and in the present disclosure, the first signal is sent from the outside, and the output clock of the output divider is synchronized by the internal processing of the phase-locked loop, and the first signal is sampled by the synchronized second output clock and output to another subsystem in the chain such as an analog-to-digital converter / digital-to-analog converter, so that the other subsystem can realize the same synchronization operation as the phase-locked loop, and the accurate delay function of the whole chip can be achieved.

[0015] The drawings described herein provide further understanding of the present disclosure and constitute a part of this application, and the exemplary embodiments and the description thereof are for the purpose of explaining the present disclosure and are not intended to unduly limit the present disclosure. [Brief description of the drawings]

[0016] [Figure 1] FIG. 1 is a system block diagram of a clock synchronization system according to an embodiment of the present disclosure. [Diagram 2] 4 is a flowchart of a clock synchronization method according to an exemplary embodiment of the present disclosure. [Diagram 3] FIG. 2 is a receiver block diagram of an RF direct sampling system in accordance with an exemplary embodiment of the present disclosure. [Figure 4] 1 illustrates an architecture of a phase-locked loop circuit with a clock synchronization function for application to an RF direct sampling system according to an exemplary embodiment of the present disclosure. [Diagram 5] FIG. 2 is a block diagram of a pulse generation module according to an alternative embodiment of the present disclosure. [Figure 6] FIG. 2 is a block diagram of a synchronous output module according to an alternative embodiment of the present disclosure. [Figure 7] FIG. 2 is a block diagram of an output divider module in accordance with an alternative embodiment of the present disclosure. [Figure 8] FIG. 13 is a sequence diagram of a synchronization function operation according to an alternative embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Hereinafter, the present disclosure will be described in detail with reference to the drawings. Note that, unless contradictory, the embodiments in the present disclosure and the features mentioned in the embodiments can be combined with each other.

[0018] It should be noted that the terms "first", "second", etc. in the specification, claims and drawings of the present disclosure are not intended to indicate any particular order or priority, but are intended to distinguish between similar objects. It should be understood that the data used in this manner are interchangeable where appropriate for the convenience of the embodiments of the present disclosure described herein. Furthermore, the terms "comprise", "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the steps or units explicitly listed, but may include other steps or units that are not explicitly listed but are inherent to these processes, methods, products or devices.

[0019] All technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art unless otherwise defined. The terms used in the specification of the present disclosure are for the purpose of describing the mode for carrying out the invention and are not intended to limit the present disclosure.

[0020] In this embodiment, a clock synchronization system is proposed. FIG. 1 is a system block diagram of a clock synchronization system according to an embodiment of the present disclosure. As shown in FIG. 1, the clock synchronization system includes: a pulse generation module 10; a synchronous output module 16 connected to the pulse generation module 10; an output divider module 14 connected to the pulse generation module 10 and the synchronous output module 16; and a voltage controlled oscillator 12 connected to the pulse generation module 10, the synchronous output module 16, and the output divider module 14; the voltage controlled oscillator 12 is configured to output a first output clock to the output divider module 14, the pulse generation module 10, and the synchronous output module 16; The pulse generation module 10 is configured to receive a first signal input from an external source and a first output clock input from the voltage controlled oscillator 12, obtain a second signal by sampling the first signal, generate a pulse signal based on the second signal and the first output clock, and output the pulse signal to the output divider module 14 and the synchronous output module 16, respectively; the output divider module 14 is configured to receive the pulse signal output from the pulse generation module 10 and the first output clock output from the voltage controlled oscillator 12, divide the first output clock, and synchronize the divided clock based on the pulse signal; The synchronous output module 16 is configured to receive the first output clock output from the voltage controlled oscillator 12, the second output clock output from the output divider module 14, the first signal input from the outside, and the pulse signal input from the pulse generating module 10, and obtain a third signal by synchronously processing the first signal based on the first output clock, the second output clock, and the pulse signal, and the third signal and the second output clock are synchronous signals respectively output to a digital-to-analog conversion module.

[0021] In the above steps, the voltage controlled oscillator 12 is configured to output a first output clock to the output divider module 14, the pulse generation module 10 and the synchronous output module 16; the pulse generation module 10 is configured to receive an input first signal and a first output clock input from the voltage controlled oscillator 12, obtain a second signal by sampling the first signal, generate a pulse signal according to the second signal and the first output clock, and output the pulse signal to the output divider module 14 and the synchronous output module 16 respectively; the output divider module 14 is configured to receive the pulse signal output from the pulse generation module 10 and the output clock from the voltage controlled oscillator 12, and output the pulse signal to the output divider module 14 and the synchronous output module 16 respectively; the synchronous output module 16 is configured to receive the first output clock output from the voltage controlled oscillator 12, the second output clock output from the output divider module 14, the first signal input from the outside, and the pulse signal input from the pulse generation module 10, and to synchronously process the first signal based on the first output clock, the second output clock, and the pulse signal to obtain a third signal, and the third signal and the second output clock are synchronous signals respectively output to a digital-to-analog conversion module. The above-mentioned technical solution solves the problems of the related art, such as the large delay deviation between multiple power-on of a system chip. In the present disclosure, a first signal is sent from the outside, and the output clock of the output divider is synchronized by the phase-locked loop internal processing, and the first signal is sampled by the synchronized second output clock and output to another subsystem in the chain, such as an analog-to-digital converter / digital-to-analog converter, so that the other subsystem can achieve the same synchronization operation as the phase-locked loop, and the precise delay function of the entire chip can be achieved.

[0022] In an exemplary embodiment, the pulse generating module 10 in the clock synchronization system is a module used for generating a pulse signal with a controllable pulse width based on a first signal input from the outside, the first signal may be a reference signal or a 10 ms periodic signal, and the pulse signal is for synchronizing the first output clock from the output divider and the third signal output from the output sampling circuit, and such a pulse generating module includes: a delay module configured to sample the first signal to obtain the second signal; a first sampling circuit module connected to an output end of the delay module, configured to receive the second signal output from the delay module and obtain a fourth signal by sampling the second signal at a rising edge; a first high frequency sampling circuit module connected to an output terminal of the first sampling circuit module, configured to receive the fourth signal output from the first sampling circuit module and obtain a fifth signal by sampling the fourth signal based on the first output clock; and an exclusive-OR circuit module connected to the output end of the first high-frequency sampling circuit module, configured to receive the fifth signal output from the first high-frequency sampling circuit module and perform an exclusive-OR operation on the fifth signal to obtain the pulse signal.

[0023] In an embodiment of the present disclosure, the delay module is configured to obtain a corresponding second signal by sampling the first signal in order to solve the problem of metastable state that may occur due to the asynchronization between the first signal and the output clock of the voltage-controlled oscillator; the first sampling circuit module is designed to remove the falling edge of the second signal, and its purpose is to make the pulse generating module recognize only the rising edge signal during the entire process of the synchronization function; the first high-frequency sampling circuit module, whose sampling clock is the first output clock output from the voltage-controlled oscillator, is configured to obtain a fifth signal with a fixed phase difference by beating the rising edge sampled fourth signal based on the first output clock; and the exclusive-OR circuit module is configured to generate a pulse signal with a fixed width by performing exclusive-OR on the fifth signal in order to realize the exclusive-OR function.

[0024] In an exemplary embodiment, the first high frequency sampling circuit module includes: a second high frequency sampling circuit module configured to obtain a sixth signal by sampling the fourth signal based on the first output clock; a third high frequency sampling circuit module connected to an output end of the second high frequency sampling circuit module and configured to receive the sixth signal output from the second high frequency sampling circuit module and obtain a seventh signal by sampling the sixth signal based on the first output clock; a fourth high frequency sampling circuit module connected to an output end of the third high frequency sampling circuit module and configured to receive the seventh signal output from the third high frequency sampling circuit module and obtain an eighth signal by sampling the seventh signal based on the first output clock; and a fifth high frequency sampling circuit module connected to an output end of the fourth high frequency sampling circuit module and configured to receive the eighth signal output from the fourth high frequency sampling circuit module and obtain a ninth signal by sampling the eighth signal based on the first output clock, where the fifth signal includes the sixth signal, the seventh signal, the eighth signal, and the ninth signal.

[0025] In other words, the first high frequency sampling circuit module is composed of a second high frequency sampling circuit module, a third high frequency sampling circuit module, a fourth high frequency sampling circuit module, and a fifth high frequency sampling circuit module, and the second high frequency sampling circuit module, the third high frequency sampling circuit module, the fourth high frequency sampling circuit module, and the fifth high frequency sampling circuit module are each configured to sample a fourth signal based on the first output clock (which may be understood as beating the fourth signal based on the first output clock) to obtain a sixth signal, a seventh signal, an eighth signal, and a ninth signal, and input the sixth signal and the ninth signal to an exclusive OR circuit module. Note that the roles of the second high frequency sampling circuit module, the third high frequency sampling circuit module, the fourth high frequency sampling circuit module, and the fifth high frequency sampling circuit module are selectable, This allows the pulse width of the pulse signal to be adjusted.

[0026] In one exemplary embodiment, the exclusive-OR circuit module is a module to which the output terminal of the second high-frequency sampling circuit module and the output terminal of the fifth high-frequency sampling circuit module are connected, and is configured to receive a sixth signal output from the second high-frequency sampling circuit module and a ninth signal output from the fifth high-frequency sampling circuit module, and obtain the pulse signal by performing an exclusive-OR operation on the sixth signal and the ninth signal.

[0027] In other words, the exclusive-or circuit module is configured to generate a fixed-width pulse signal by performing an exclusive-or operation on the first beat and the sixth and ninth signals of the selectable number of beats output thereafter, and the width of the pulse signal is an integer multiple period of the output frequency corresponding to the first output signal.

[0028] The basic function of the output divider is to divide the first output signal output from the voltage controlled oscillator by a predetermined division ratio to generate a divided second output signal. The output divider also has a synchronization function, that is, the synchronization function according to the present disclosure acts directly on the output divider. In the embodiment of the present disclosure, a specific configuration of the output divider module is described, which includes an AND gate module configured to receive the pulse signal output from the pulse generation module and an enable control signal for the output divider module, and obtain a reset signal for the divider module by performing an AND operation on the enable control signal and the pulse signal, and a module connected to the output end of the AND gate module, configured to receive the reset signal output from the AND gate module, and determine the second output clock based on the reset signal and the first output clock.

[0029] Specifically, the basic function realized by the AND gate module is to perform an AND operation on the enable control signal and the pulse signal of the output divider, but from the viewpoint of the need for synchronization, in the actual circuit design, it is necessary to beat with the first output signal output from the voltage controlled oscillator to ensure that the reset signal to be output is synchronized with the first output signal of the output divider itself. It should be noted that if the whole system does not require synchronization or there is no first signal, it will not affect the output divider to output a normal output signal, and the divider module can be composed of multiple divider modules to meet the demands of different divisions, but from the viewpoint of the need for synchronization function, it is necessary that the divider here has a fixed initial working state when powered on. When the reset signal is "1", the divider module works normally, and when the reset signal is "0", the divider module outputs as a certain fixed level, and when the reset signal is switched from "0" to "1", the change state of the divider module from non-operation to normal operation is deterministic every time.

[0030] In an exemplary embodiment, the synchronous output module includes: a rising edge sampling module configured to obtain a tenth signal by sampling the first signal at a rising edge; a falling edge sampling module configured to obtain an eleventh signal by sampling the first signal at a falling edge; a sixth high frequency sampling circuit module connected to an output end of the rising edge sampling module and an output end of the falling edge sampling module, configured to receive the tenth signal output from the rising edge sampling module or the eleventh signal output from the falling edge sampling module, and obtain a twelfth signal by sampling the tenth signal or the eleventh signal based on the first output signal; and a first low frequency sampling module connected to an output end of the sixth high frequency sampling circuit module and an output end of the pulse generating module, configured to receive the twelfth signal output from the sixth high frequency sampling circuit module and a pulse signal input from the pulse generating module, and obtain a fourth signal by sampling the twelfth signal based on the second output clock and the pulse signal.

[0031] The role of the synchronous output module is to sample the first signal using the second output clock to output it to a digital-analog / analog-digital converter in an RF direct sampling system. The synchronous output module mainly includes a rising edge / falling edge sampling module 1) that samples the first signal at the rising edge or falling edge and mainly reduces the non-deterministic delay of synchronization to a half period of the second output clock instead of one period, a high-frequency sampling module 2) in which the clock used is the first output signal, and when the sampling delay by the previous rising edge / falling edge sampling module is subtracted, the number of beats here is completely the same as the number of beats of the pulse signal, and the same high-frequency clock source is used, thereby ensuring the synchronization of the first signal and the pulse signal (it can also be understood that the first signal and the pulse signal have a fixed phase difference), and a low-frequency sampling module 3) that resynchronizes the 12th signal using the second output signal. Here, the low-frequency sampling module ensures that the delay here is the same as the delay of the output divider, thereby reducing the non-deterministic delay. Finally, the first output clock of the output divider is sent to the next stage of the RF direct sampling system together with the fourth signal synchronized thereby.

[0032] In one exemplary embodiment, the first low-frequency sampling module includes a second low-frequency sampling module configured to obtain a thirteenth signal by sampling the twelfth signal based on the second output clock and the pulse signal, and a third low-frequency sampling module connected to an output end of the second low-frequency sampling module, configured to receive the thirteenth signal output from the second low-frequency sampling module and obtain a fourth signal by sampling the thirteenth signal based on the second output clock.

[0033] In this embodiment, a clock synchronization method is proposed, and FIG. 2 is a flowchart of the clock synchronization method according to the embodiment of the present disclosure, which is performed by the above-mentioned clock synchronization system, and includes the following steps S202, S204, and S206.

[0034] In step S202, a first signal and a first output clock are input to a pulse generating module, and the first signal is sampled and processed by the pulse generating module to obtain a second signal, and a pulse signal is generated based on the second signal and the first output clock.

[0035] In step S204, the pulse signal and a first output clock are input to the output divider module, so that the output divider module divides the first output clock, and synchronizes the divided clock according to the pulse signal.

[0036] In step S206, the pulse signal, the first output clock, the second output clock, and the first signal are input to the synchronous output module, and the synchronous output module synchronously processes the first signal based on the first output clock, the second output clock, and the pulse signal to obtain the second output clock and a third signal which is a synchronous signal.

[0037] In the above embodiment, a first signal and a first output clock are input to a pulse generating module, and the first signal is sampled and processed by the pulse generating module to obtain a second signal; a pulse signal is generated based on the second signal and the first output clock; the pulse signal and the first output clock are input to the output divider module, and the first output clock is divided by the output divider module; the divided clock is synchronized based on the pulse signal; the pulse signal, the first output clock, the second output clock, and the first signal are input to the synchronous output module, and the synchronous output module synchronously processes the first signal based on the first output clock, the second output clock, and the pulse signal, thereby obtaining a third signal which is the second output clock and a synchronous signal. The above-mentioned technical solution solves the problems of the related art, such as the large delay deviation between multiple power-on of a system chip. In the present disclosure, a first signal is sent from the outside, and the output clock of the output divider is synchronized by the phase-locked loop internal processing, and the first signal is sampled by the synchronized second output clock and output to another subsystem in the chain, such as an analog-to-digital converter / digital-to-analog converter, so that the other subsystem can achieve the same synchronization operation as the phase-locked loop, and the precise delay function of the entire chip can be achieved.

[0038] More specifically, a pulse signal can be generated based on the second signal by means of inputting the first signal to a delay module, sampling the first signal using the delay module to obtain the second signal, inputting the second signal to a first sampling circuit module, sampling the second signal at a rising edge using the first sampling circuit module to obtain a fourth signal, inputting the fourth signal to the first high frequency sampling circuit module, sampling the fourth signal based on the first output clock using the first high frequency sampling circuit module to obtain a fifth signal, and inputting the fifth signal to the exclusive OR circuit module, and performing an exclusive OR operation on the fifth signal using the exclusive OR circuit module to obtain the pulse signal.

[0039] Optionally, inputting the fifth signal to the exclusive OR circuit module may include the steps of: inputting the first output clock to a second high frequency sampling circuit module, and sampling the fourth signal by the second high frequency sampling circuit module based on the first output clock to obtain a sixth signal; inputting the sixth signal to a third high frequency sampling circuit module, and sampling the sixth signal by the third high frequency sampling circuit module based on the first output clock to obtain a seventh signal; inputting the seventh signal to a fourth high frequency sampling circuit module, and sampling the seventh signal by the fourth high frequency sampling circuit module based on the first output clock. The method includes the steps of: obtaining an eighth signal by sampling the seventh signal; inputting the eighth signal into a fifth high frequency sampling circuit module and obtaining a ninth signal by sampling the eighth signal based on the first output clock by the fifth high frequency sampling circuit module; and inputting the sixth signal and the ninth signal to the exclusive OR circuit module, wherein the fifth signal includes a sixth signal, a seventh signal, an eighth signal, and a ninth signal, and the first high frequency sampling circuit module includes the second high frequency sampling circuit module, a third high frequency sampling circuit module, a fourth high frequency sampling circuit module, and a fifth high frequency sampling circuit module.

[0040] In the following, in order to better understand the operating process and principles of the above-mentioned clock synchronization system, the parallel decoding flow will be described in combination with several selective embodiments, but this does not limit the technical solutions of the embodiments of the present disclosure.

[0041] Example 1 In the present disclosure, a clock synchronization system is proposed for application to RF direct sampling technology, and Fig. 3 is a receiving block diagram of an RF direct sampling system according to a selective embodiment of the present disclosure, and as shown in Fig. 3, the clock synchronization system according to the embodiment of the present disclosure can solve the problem of the system clock being too delayed. In the present disclosure, a reference signal or a 10 ms periodic signal (corresponding to the first signal in the above embodiment) is sent from the outside, and the first output clock (corresponding to the first output signal in the above embodiment) of the output divider is synchronized by the internal processing of the phase-locked loop circuit, and the reference signal or the 10 ms periodic signal is sampled by the synchronized second output clock, and the synchronized reference signal or the 10 ms periodic signal is output to another subsystem in the chain, such as an analog-to-digital converter / digital-to-analog converter, so that the other subsystem can realize the same synchronization operation as the phase-locked loop, and the precise delay function of the whole chip can be achieved.

[0042] The clock synchronization system according to the embodiments of the present disclosure is proposed to meet the low latency requirements of 5G communication systems, and can solve the problem of excessively large clock delay in superheterodyne and zero intermediate frequency transceiver systems, greatly improving the performance of 5G communication systems and improving user experience.

[0043] As shown in FIG. 4, FIG. 4 is an architecture of a phase-locked loop circuit with a clock synchronization function applied to an RF direct sampling system according to a selective embodiment of the present disclosure, and the clock synchronization system according to the embodiment of the present disclosure specifically includes the following modules:

[0044] 1. Pulse generating module: generates a pulse signal with a controllable pulse width according to an externally input reference signal or a 10 ms periodic signal, and the pulse signal is used to synchronize the first output clock of the output divider with the first signal of the output sampling module. As shown in FIG. 5, FIG. 5 is a block diagram of a pulse generating module according to an optional embodiment of the present disclosure, which includes the following functional parts:

[0045] 1) Delay module: This delay unit is designed with an adjustable delay to solve the metastable state problem that may occur due to the asynchronous relationship between the reference signal or the 10 ms period signal and the first output clock output from the voltage controlled oscillator.

[0046] 2) Sampling circuit module (corresponding to the first sampling circuit in the above embodiment): This sampling circuit module is designed to remove the falling edge of the reference signal or the 10 ms periodic signal, so that the pulse generating module only recognizes the rising signal during the entire process of the synchronization function.

[0047] 3) High frequency sampling circuit module (corresponding to the first high frequency sampling circuit module in the above-mentioned embodiments) (high frequency sampling circuit modules 1 to 4) (corresponding to the second high frequency sampling circuit module, third high frequency sampling circuit module, fourth high frequency sampling circuit module, fifth high frequency sampling circuit module in the above-mentioned embodiments): the sampling clock of the high frequency sampling circuit module is the first output clock output from the voltage controlled oscillator, and the role of the high frequency sampling circuit modules 1 to 4 can be selected by logical control of the sampled reference signal or the 10 ms period signal, making it possible to adjust the pulse width of the pulse signal.

[0048] 4) Exclusive OR circuit module: The exclusive OR circuit module realizes an exclusive OR function, and generates a pulse signal of a predetermined width by performing exclusive OR on a synchronized reference signal or a 10 ms periodic signal (corresponding to the fifth signal in the above-mentioned embodiment).

[0049] 2. Output divider: The basic function of the output divider is to divide the first output clock output from the voltage controlled oscillator by a predetermined division ratio to generate a divided second output clock. Here, the output divider also has a synchronization function, in other words, the synchronization function proposed in this disclosure acts directly on the output divider. As shown in FIG. 7, FIG. 7 is a block diagram of an output divider module according to an optional embodiment of the present disclosure, which mainly includes the following functional parts:

[0050] 1) Divider module (divider modules 1-3): The divider modules realize the basic division function, but in view of the necessity of synchronization function, the divider here needs to have an initial operating state that is fixed when the power is turned on. When the reset signal is "1", the divider module operates normally, and when the reset signal is "0", the divider module outputs as a certain fixed level, and when the reset signal is switched from "0" to "1", the change state of the divider module from non-operation to normal operation is deterministic every time. Note that the divider modules 1-3 are set to realize different division ratios, and in the process of use, the corresponding divider module can be selected according to the required division ratio.

[0051] 2) AND Gate Module: The basic function of this module is to perform AND operation on the enable control signal and the pulse signal of the output divider, but in view of the need for synchronization, in the actual circuit design, it is necessary to beat with the first output clock to ensure that the output reset signal is synchronized with the first output clock itself. Moreover, this module is designed to ensure that if the whole system does not require synchronization or the reference signal or 10ms periodic signal is not input, it will not affect the normal clock output by the output divider.

[0052] 3. Synchronous output module: The role of this module is to sample the reference signal using the output clock from the synchronized output divider and output it to the digital-to-analog / analog-to-digital converter in the RF direct sampling system. As shown in FIG. 6, FIG. 6 is a block diagram of a synchronous output module according to an embodiment of the present disclosure, which mainly includes the following functional parts:

[0053] 1) Rising edge / falling edge sampling module: samples the reference signal or 10ms period signal on the rising edge or falling edge, mainly used to reduce the non-deterministic delay of synchronization to half a period of the first output clock instead of one period.

[0054] 2) High-frequency sampling module (corresponding to the sixth high-frequency sampling circuit module in the above-described embodiment) (high-frequency sampling modules 1 to 3): The sampling module here uses the first output clock, and subtracts the sampling delay caused by sampling the reference signal or the 10 ms periodic signal at the rising edge / falling edge, so that the number of beats here is exactly the same as the number of beats of the pulse signal, and the same high-frequency clock source is used, thereby ensuring synchronization between the reference signal or the 10 ms periodic signal and the pulse signal.

[0055] 3) Low-frequency sampling module (corresponding to the first low-frequency sampling module in the above-mentioned embodiment) (low-frequency sampling modules 4-5) (corresponding to the second low-frequency sampling module and the third low-frequency sampling module in the above-mentioned embodiment): the role of the two low-frequency sampling modules here is to resynchronize the synchronized reference signal or 10 ms periodic signal using the second output clock. Here, the low-frequency sampling module 4 controls the sampling enable of the pulse signal, thereby ensuring that the delay here and the delay of the output divider are the same, and the non-deterministic delay is reduced. Finally, the synchronous output clock of the output divider is sent to the next stage of the RF direct sampling system together with the reference signal or 10 ms periodic signal synchronized thereby.

[0056] Example 2 The specific implementation of the clock synchronization system according to the present disclosure will be described in more detail in combination with the following embodiment. Specific steps 1 to 6 are as follows:

[0057] In step 1, the externally input reference signal or 10 ms periodic signal is sampled and synchronized. The externally input reference signal or 10 ms periodic signal is driven by an internal buffer and processed in two channels, one of which generates a pulse signal through a pulse generation module, and the other channel outputs the synchronized reference signal or 10 ms periodic signal through a synchronous communication_DFF module with the same beat number as the pulse generation module, as shown in Figures 5 and 7.

[0058] In step 2, the pulse generating module generates a pulse signal. As shown in Fig. 5, the pulse generating module first performs a certain sampling process on the input reference signal or 10 ms period signal to remove the metastable state between the reference signal and the first output clock output from the voltage controlled oscillator, and controls the maximum delay by the delay module to within one period of the output clock. Next, the falling edge introduced into the reference signal or 10 ms period signal is removed, only the rising edge is taken, and the rising edge signal is beaten, and the first beat and the selectable number of beats output thereafter are exclusive-ORed to generate a pulse signal with a fixed width, and the width of the pulse signal is an integer multiple period of the output frequency of the first output clock.

[0059] Step 3 is the processing of the pulse signal in the divider module. The pulse signal is sent to the OUPTUTDIV module to generate the control signal of the output divider through certain logic control and high-frequency clock beating to control the normal operation and enable / off of the output divider, and the output divider must be fixed at a certain level and must not have any uncertainty.

[0060] Specifically, after the pulse signal is output to the divider module, as shown in Figure 7, the AND logic is performed with the enable control signal of the divider module to ensure that the control signal is limited to both the pulse signal and the enable control signal. However, before performing this logic operation on the pulse signal, it is necessary to increase the control that can be directly pulled to a high level, so that when the pulse signal does not work, the enable control of the entire divider will not be affected and can be divided normally. In addition, in order to ensure that the enable signal to the divider is a synchronous signal, it needs to be beaten, so that a reset signal is generated.

[0061] Step 4 is the processing of the pulse signal in the synchronous output module. A pulse signal is output to the synchronous output module to reset the low-frequency sampling circuit (as shown in FIG. 6), and during the whole process when the pulse signal is at low level, the low-frequency sampling module 4 remains inactive, so as to prevent the reference signal from being sampled by the output clock before synchronization by the output divider. In order to ensure that the synchronized output clock by the output divider can always sample the reference signal, two output sampling circuits are designed, the low-frequency sampling module 4 and the low-frequency sampling module (as shown in FIG. 6).

[0062] Step 5 is the enable control to the divider module by the reset signal. When the reset signal acts on the divider module, it can output the synchronized second output clock. Regarding the design of the core divider in the output divider, on the one hand, it is necessary to ensure accurate division function at high frequency, and more importantly, for this disclosure, when the enable of the divider is turned off, the level of each node is deterministic, and is designed to be high or low, and there should be no non-deterministic level, so as to prevent the appearance of non-deterministic initial state when the enable of the divider is turned on next time.

[0063] In step 6, the synchronized reference signal is sampled using the synchronous clock output from the output divider. The synchronized output clock by the output divider is used as the sampling clock of the low-frequency sampling module 4 and the low-frequency sampling module 5 in Fig. 6 to sample the reference signal and then output it to the digital-to-analog / analog-to-digital converter.

[0064] This completes the entire clock synchronization function. Example 3 In the following, an example will be given of achieving an accurate overall delay function in a phase-locked loop, taking the case where the output divider operates at divide-by-two as an example.

[0065] As shown in Fig. 8, the first output clock output from the voltage controlled oscillator serves as the reference clock for the entire synchronization function. When the first reference signal or the first 10 ms periodic signal is input, the first output clock asynchronously samples the first reference signal or the first 10 ms periodic signal and samples it at the next rising edge to obtain a synchronized second reference signal or the second 10 ms periodic signal (corresponding to the second signal in the above embodiment). A synchronization pulse signal is generated using the second reference signal or the second 10 ms periodic signal. The pulse width of the pulse signal generates a reset signal for the output divider and turns off the output of the output divider, and when the reset signal is released, all the output dividers operate from a fixed level at the same time, and all of these initial operating states are fixed and do not change with the structure of the divider and the clock frequency, and the off time of the divider is controlled only by the pulse width of the pulse signal.

[0066] If the output divided clock after the divider reset signal is released is turned on at a fixed level and starts at a deterministic time, the output divided clock and the second reference signal or the second 10 ms periodic signal have a fixed phase relationship, and the first output clock is considered to be synchronized with the second reference signal or the second 10 ms periodic signal, and thus the second output clock can be obtained.

[0067] As can be seen from Fig. 8, the third reference signal or the third 10ms periodic signal and the fourth reference signal or the fourth 10ms periodic signal are obtained by sampling the second reference signal or the second 10ms periodic signal according to the second output clock, and a stable synchronous relationship is established between the fourth reference signal or the fourth 10ms periodic signal and the second output clock, and the fourth reference signal or the fourth 10ms periodic signal and the second output clock are output in pairs to the next stage subsystem such as the digital-to-analog / analog-to-digital converter. In the subsystem such as the digital-to-analog / analog-to-digital converter, they have the same synchronous function, and thus the first level clocks are all synchronized to a precise delay by the reference signal or the 10ms periodic signal, so that the precise delay function of the entire RF direct sampling system can be realized.

[0068] In the embodiment of the present disclosure, the method of generating a pulse signal by the pulse generating module is realized by a high-frequency clock beat, and the advantage of doing so is to obtain a pulse with a fixed width and controllable, and the pulse signal and the clock are synchronized. A pulse signal can also be generated by performing an exclusive OR operation on different delays of a reference signal or a 10 ms period signal to achieve the purpose of generating a control signal for a frequency divider, but the delay of the pulse signal itself generated in this way is non-deterministic, and the non-deterministic delay will increase when the process angle, high and low temperature, and power supply voltage conditions change. The present disclosure has an application such as using a pulse signal to enable and control the low-frequency sampling module 4 in FIG. 6, and in practice, a large number of delay units can be used to prevent the sampling phenomenon of the reference signal by the clock before synchronization, but if a large number of delay units are used to achieve a delay of more than one period of the voltage-controlled oscillator, a non-deterministic delay of the reference signal will be introduced, which will be more serious under the power supply voltage.

[0069] The above is merely a preferred embodiment of the present disclosure, and does not limit the present disclosure. Those skilled in the art can make various modifications and changes to the present disclosure. Various amendments, equivalent replacements, improvements, etc. made within the scope of the principles of the present disclosure shall be included in the scope of protection of the present disclosure.

Claims

1. 1. A clock synchronization system, comprising: a pulse generation module; a synchronous output module connected to the pulse generation module; an output divider module connected to the pulse generation module and the synchronous output module; and a voltage controlled oscillator connected to the pulse generation module, the output divider module, and the synchronous output module; the voltage controlled oscillator is configured to output a first output clock to the output divider module, the pulse generation module, and the synchronous output module; the pulse generation module is configured to receive a first signal input from an external source and a first output clock input from the voltage controlled oscillator, obtain a second signal by sampling the first signal, generate a pulse signal based on the second signal and the first output clock, and output the pulse signal to the output divider module and the synchronous output module, respectively; the output divider module is configured to receive the pulse signal output from the pulse generation module and the first output clock output from the voltage controlled oscillator, divide the first output clock, and synchronize the divided clock based on the pulse signal to obtain a second output clock; the synchronous output module is configured to receive a first output clock output from the voltage controlled oscillator, the second output clock output from the output divider module, a first signal input from the outside, and a pulse signal input from the pulse generating module, and to obtain a third signal by synchronously processing the first signal based on the first output clock, the second output clock, and the pulse signal, the third signal and the second output clock being synchronous signals respectively output to a digital-to-analog conversion module; Clock synchronization system.

2. The pulse generation module includes: a delay module configured to sample the first signal to obtain the second signal; a first sampling circuit module connected to an output terminal of the delay module, configured to receive the second signal output from the delay module and obtain a fourth signal by sampling the second signal at a rising edge; a first high frequency sampling circuit module connected to an output terminal of the first sampling circuit module, configured to receive the fourth signal output from the first sampling circuit module and obtain a fifth signal by sampling the fourth signal based on the first output clock; an exclusive-OR circuit module connected to an output terminal of the first high-frequency sampling circuit module, configured to receive the fifth signal output from the first high-frequency sampling circuit module and perform an exclusive-OR operation on the fifth signal to obtain the pulse signal; 2. The clock synchronization system according to claim 1.

3. The first high frequency sampling circuit module includes: a second high frequency sampling circuit module configured to obtain a sixth signal by sampling the fourth signal based on the first output clock; a third high frequency sampling circuit module connected to an output terminal of the second high frequency sampling circuit module, configured to receive a sixth signal output from the second high frequency sampling circuit module and obtain a seventh signal by sampling the sixth signal based on the first output clock; a fourth high frequency sampling circuit module connected to an output end of the third high frequency sampling circuit module, configured to receive a seventh signal output from the third high frequency sampling circuit module and obtain an eighth signal by sampling the seventh signal based on the first output clock; a fifth high frequency sampling circuit module connected to an output end of the fourth high frequency sampling circuit module, configured to receive an eighth signal output from the fourth high frequency sampling circuit module and obtain a ninth signal by sampling the eighth signal based on the first output clock; The fifth signal includes a sixth signal, a seventh signal, an eighth signal, and a ninth signal.

3. The clock synchronization system according to claim 2.

4. the exclusive-OR circuit module is a module to which an output terminal of the second high frequency sampling circuit module and an output terminal of the fifth high frequency sampling circuit module are connected, and is configured to receive a sixth signal output from the second high frequency sampling circuit module and a ninth signal output from the fifth high frequency sampling circuit module, and to obtain the pulse signal by performing an exclusive-OR operation on the sixth signal and the ninth signal; 4. The clock synchronization system according to claim 3.

5. The output divider module is an AND gate module configured to receive the pulse signal output from the pulse generation module and an enable control signal of the output frequency divider module, and perform an AND operation on the enable control signal and the pulse signal to obtain a reset signal of the frequency divider module; a frequency divider module connected to an output of the AND gate module, the frequency divider module being configured to receive a reset signal output from the AND gate module and determine the second output clock based on the reset signal and the first output clock; 2. The clock synchronization system according to claim 1.

6. The synchronous output module includes: a rising edge sampling module configured to obtain a tenth signal by sampling the first signal on a rising edge; a falling edge sampling module configured to obtain an eleventh signal by sampling the first signal on a falling edge; a sixth high frequency sampling circuit module connected to an output end of the rising edge sampling module and an output end of the falling edge sampling module, configured to receive a tenth signal output from the rising edge sampling module or an eleventh signal output from the falling edge sampling module, and obtain a twelfth signal by sampling the tenth signal or the eleventh signal based on the first output clock; a first low-frequency sampling module connected to an output end of a sixth high-frequency sampling circuit module and an output end of the pulse generating module, configured to receive the twelfth signal output from the sixth high-frequency sampling circuit module and a pulse signal input from the pulse generating module, and obtain a fourth signal by sampling the twelfth signal based on the second output clock and the pulse signal; 2. The clock synchronization system according to claim 1.

7. The first low frequency sampling module comprises: a second low-frequency sampling module configured to obtain a thirteenth signal by sampling the twelfth signal based on the second output clock and the pulse signal; and a third low-frequency sampling module connected to an output end of the second low-frequency sampling module, configured to receive a thirteenth signal output from the second low-frequency sampling module and obtain a fourth signal by sampling the thirteenth signal based on the second output clock; 7. The clock synchronization system according to claim 6.

8. A clock synchronization method for a clock synchronization system according to any one of claims 1 to 7, comprising: inputting a first signal and a first output clock into a pulse generating module, sampling the first signal by the pulse generating module to obtain a second signal, and generating a pulse signal based on the second signal and the first output clock; inputting the pulse signal and a first output clock into the output divider module, dividing the first output clock by the output divider module, and synchronizing the divided clock according to the pulse signal to obtain a second output clock; inputting the pulse signal, the first output clock, the second output clock, and the first signal to the synchronous output module, and synchronously processing the first signal based on the first output clock, the second output clock, and the pulse signal by the synchronous output module, thereby obtaining the second output clock and a third signal which is a synchronous signal; A clock synchronization method comprising:

9. The step of inputting a first signal to a pulse generating module, sampling the first signal by the pulse generating module to obtain a second signal, and generating a pulse signal based on the second signal, inputting the first signal into a delay module and sampling the first signal through the delay module to obtain the second signal; inputting the second signal into a first sampling circuit module and sampling the second signal at a rising edge by the first sampling circuit module to obtain a fourth signal; inputting the fourth signal into the first high frequency sampling circuit module, and sampling the fourth signal by the first high frequency sampling circuit module based on the first output clock to obtain a fifth signal; inputting the fifth signal into the exclusive-OR circuit module, and performing an exclusive-OR operation on the fifth signal by the exclusive-OR circuit module to obtain the pulse signal; 9. The clock synchronization method according to claim 8.

10. inputting the fifth signal to the exclusive-or circuit module; inputting the first output clock into a second high frequency sampling circuit module, and sampling the fourth signal based on the first output clock by the second high frequency sampling circuit module to obtain a sixth signal; inputting the sixth signal into a third high frequency sampling circuit module, and sampling the sixth signal by the third high frequency sampling circuit module based on the first output clock to obtain a seventh signal; inputting the seventh signal into a fourth high frequency sampling circuit module, and sampling the seventh signal by the fourth high frequency sampling circuit module based on the first output clock to obtain an eighth signal; inputting the eighth signal into a fifth high frequency sampling circuit module, and sampling the eighth signal by the fifth high frequency sampling circuit module based on the first output clock to obtain a ninth signal; inputting the sixth signal and the ninth signal to the exclusive-or circuit module; the fifth signal includes a sixth signal, a seventh signal, an eighth signal, and a ninth signal; the first high frequency sampling circuit module includes the second high frequency sampling circuit module, a third high frequency sampling circuit module, a fourth high frequency sampling circuit module, and a fifth high frequency sampling circuit module; 10. The clock synchronization method according to claim 9.

Citation Information

Patent Citations

  • Digital PLL with automatic clock alignment

    US20120319749A1

  • Systems and methods for synchronizing multiple test and measurement instruments

    WO2020167908A1