A system clock synthesis circuit
By adopting a system clock synthesis circuit combining FPGA and DCO, the problems of slow locking, aging characteristics and large errors of analog devices in the existing technology are solved, and high-precision, low-cost system clock synchronization is achieved, which meets the timing requirements of 5G base stations.
Patent Information
- Application Number
- CN202210919119.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-02
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2042-08-02
AI Technical Summary
Existing system clock synthesis circuits suffer from problems such as slow locking due to fine resolution, frequency shift due to aging characteristics, large cumulative errors of analog devices, high temperature sensitivity, and low circuit integration, making it difficult to meet the high-precision clock synchronization requirements of 5G base stations.
By using an FPGA and processor combined with a digitally controlled oscillator (DCO) to replace the analog voltage-controlled circuit, the high-precision voltage regulator and digital-to-analog converter are eliminated. The frequency control word of the DCO is used to step and adjust the frequency to achieve high-precision frequency adjustment. Combined with a temperature-controlled crystal oscillator, a stable reference frequency is provided, simplifying the circuit structure.
It improves the locking speed and accuracy of the circuit, reduces temperature sensitivity and cost, meets the high-precision requirements of 5G base stations for clock synchronization, and achieves frequency stability and circuit simplification.
Smart Images

Figure CN115296664B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of mobile communication technology, and more specifically to a system clock synthesis circuit. Background Technology
[0002] In wireless communication systems, timing and synchronization have always been key design considerations for ensuring stable system operation. In TDD systems, considering the time-division multiplexing of uplink and downlink at base stations, the reliance on timing is even stronger. To avoid interference between base stations, protocols have consistently recommended that base stations use GPS timing as a network-wide synchronization reference to coordinate the transmission and reception synchronization of all base stations. Recently, with the maturity of PTP technology, base stations have gradually also begun to support obtaining time information through the transmission network, using this as a supplement to GPS reference synchronization.
[0003] Whether it's GPS synchronization or PTP synchronization, the output second pulse inevitably has jitter. In order to minimize the impact of jitter on the system and to synchronize the system clock and timing, the system clock and local second timing are usually resynthesized locally through a digital phase-locked loop.
[0004] The 3GPP protocol 38.104 for 5G NR specifies the timing requirements for base station antenna ports in different application scenarios, such as... Figure 1 As shown.
[0005] To meet this requirement, some equipment manufacturers design their own circuits, while others use off-the-shelf modules. A well-known domestic crystal oscillator manufacturer has also launched a series of modules of different levels to adapt to the needs of 5G base stations. While their internal structures are basically the same, the different levels of timing performance are due to the different grades of the integrated temperature-controlled crystal oscillators. For example, the internal structure diagram of the module cmxxA-ds129-10MHz is shown below. Figure 2 As shown:
[0006] The system clock synthesis circuit, viewed from the top level, is essentially the same as a typical phase-locked loop (PLL), consisting of a phase detector, a voltage-controlled oscillator (VCO), and a loop filter. In this circuit, the phase detector is implemented using a field-programmable gate array (FPGA / CPLD). To reduce sampling errors, the phase detector uses a frequency-multiplied clock from an OCXO (Oven-Controlled Crystal Oscillator) for sampling, and the phase detection structure is accessed by the processor via a register. The VCO consists of a temperature-controlled crystal oscillator with a voltage-controlled terminal and a high-precision digital-to-analog converter (DAC) to achieve digital control.
[0007] To reduce quantization error and output noise in the DAC (Digital-to-Analog Converter), the selection of the DAC and the stability of its power supply are particularly important. Therefore, a high-precision voltage source with excellent temperature stability is also required. The second pulse output by GPS has excellent long-term stability, but its short-term stability is entirely determined by the crystal oscillator built into the GPS receiver. Currently, due to size and cost limitations, the root mean square dispersion (RMS) of the PP1S output by conventional time synchronization receivers is around 30 ns, and the 99% statistical dispersion is around 60 ns. With a relative phase detection frequency of 1 Hz, to filter out this variation, the loop bandwidth needs to be designed in the sub-microHz range; therefore, it is generally implemented in software. The circuit is refined according to this block diagram structure. Figure 3 As shown:
[0008] When the synthesis circuit is running, the FPGA receives the second pulse signal parsed by the GPS receiver and compares it with the local second pulse generated by dividing the high-frequency clock from the local temperature-controlled crystal oscillator. The phase difference between the two is sampled and stored in the on-chip memory. To balance the accuracy of phase detection sampling and the operating speed of the FPGA, a 307.2MHz clock was selected here.
[0009] The processor reads the leading or lagging phase difference sample value from the FPGA memory every second via interrupts, performs digital filtering on the data, and then uses the control algorithm to calculate the current voltage control value to be applied. This value is immediately configured to the digital-to-analog converter to control the frequency of the temperature-controlled crystal oscillator, thereby keeping the local clock and local second pulse synchronized with the GPS second pulse and filtering out transient GPS second pulse fluctuations. Furthermore, when satellite signals are unavailable, the processor can adjust the voltage control value based on current and historical data to ensure the frequency stability of the crystal oscillator within a certain holding time, thus achieving the timekeeping function.
[0010] Operators typically constrain the timekeeping performance of communication base station timing systems. This ensures that even with brief GPS satellite signal anomalies or GPS antenna system failures, the system can still provide service as much as possible without interfering with neighboring stations or areas. The commonly used threshold is 2-8 hours. According to the protocol, the timing error of the base station must be controlled within ±1.5µs. Based on this, the required frequency accuracy after losing lockout (i.e., the ability of the temperature-controlled crystal oscillator to maintain its position when the synchronization reference source is lost) can be roughly calculated: 1.5µs / 8 hours / 3600 seconds ≈ 5.2 * 10e-11. For the system to achieve the specified performance, the design accuracy must exceed this target, and the resolution must also be smaller. The resolution adjustment during lockout is mainly determined by the DAC's bit depth and the voltage control range of the temperature-controlled crystal oscillator. During timekeeping or maintenance, the system is also affected by the crystal oscillator's aging performance. Of course, power supply and temperature are also factors that need to be carefully considered during circuit design.
[0011] A crucial indicator for temperature-controlled crystal oscillators (TCS) is their aging characteristics, specifically the frequency response deviation compared to their factory frequency as operating time increases. Therefore, the voltage control range of a TCS cannot be too small; otherwise, aging can easily cause the crystal's output frequency to fail to cover the nominal frequency, leading to a loss of lock-up in the phase-locked loop (PLL). Communication equipment is typically designed for a lifespan of 10-15 years, so the selected TCS's voltage control range must exceed its 10-year aging rate.
[0012] The problem with the existing circuit is:
[0013] 1. Due to the very fine resolution, the voltage control range of the temperature-controlled crystal oscillator is relatively small, resulting in a slower start-up and locking process. Additionally, with increased operating time, aging characteristics can cause the temperature-controlled crystal oscillator to experience frequency shifts, potentially causing the nominal frequency to drift outside the voltage control range, at which point the entire loop will malfunction.
[0014] 2. The circuit integration is not high, the cumulative error of each analog component is relatively large, and it is easily affected by temperature, which affects the overall accuracy. In addition, high circuit accuracy places high demands on the PCB layout and routing of analog signals; even slight deviations can lead to a deterioration in overall accuracy.
[0015] 3. The circuit has many analog components and low circuit integration, making it difficult to reduce the overall cost of the circuit. Summary of the Invention
[0016] This invention provides a system clock synthesis circuit, comprising:
[0017] The FPGA is used to receive the GPS second pulse clock signal, output the locally synthesized second clock signal, and generate the phase difference between the GPS second pulse clock signal and the local feedback clock signal.
[0018] The processor is used to perform loop filtering on the phase difference generated by the FPGA and generate an adjustment value to send to the FPGA; the processor is also used to generate initialization configuration information.
[0019] OCXO (Oven-Switch Crystal Oscillator) is used to generate the master reference clock;
[0020] The clock synthesizer is used to initialize and configure the clock synthesizer according to the initialization configuration information generated by the processor, and to generate local feedback clock signals and other system synchronization clock signals output according to the configuration information and master reference clock generated by the FPGA based on the adjustment value.
[0021] Preferably, the FPGA has a real-time frequency adjustment word configuration channel.
[0022] Preferably, the FPGA is a Xilinx XCZU7CG, which integrates a processor.
[0023] Preferably, the clock synthesizer is Skyworks' SI5383.
[0024] Preferably, the processor configures and queries the status of the SI5383 via the I2C bus.
[0025] Preferably, the initialization configuration information includes:
[0026] Initialize each frequency divider counter in the phase-locked loop of the clock synthesizer;
[0027] Initialize the step control word of the clock synthesizer;
[0028] Initialize the input and output frequencies of the clock synthesizer.
[0029] Preferably, the step size of the step control word is set to 0.025ppb.
[0030] Preferably, the local feedback clock signal uses a frequency of 312.5MHz.
[0031] Preferably, the FPGA frequency statistics period includes 128 seconds.
[0032] This invention provides a system clock synthesis circuit, which has the following advantages compared with the prior art:
[0033] The circuit was optimized by eliminating the need for a high-precision voltage regulator and a high-precision DAC. The selected temperature-controlled crystal oscillator also eliminated the need for a voltage-controlled circuit, reducing circuit costs. The new design simplifies the circuit, simplifies topology, and simplifies wiring. The only temperature-sensitive component is the temperature-controlled crystal oscillator, improving circuit sensitivity and reducing the impact of the temperature coefficient. The selected DCO accumulator has a 40-bit capability, meeting system requirements. To simplify the system, the control word step size was adjusted to 0.025ppb, i.e., 2.5*10e-11 resolution. While a higher sampling frequency improves accuracy, a mainstream 312.5MHz was chosen for ease of implementation, resulting in a single sampling error of approximately ±3.2ns. Due to the phase detector sampling error of approximately ±3.2ns and the fluctuation of the GPS output pulse within ±30ns, the statistical period needs to be lengthened to reduce error impact. Currently, it is adjusted every 128 seconds at most, and with the addition of filtering, the statistical error can be reduced to below 0.04ppb. The test results show that the frequency control accuracy was verified by using GPS as a reference and controlling the frequency in increments and decrements of 1ppb. The measured frequency met the expectations and the voltage control linearity was controlled within 3%, which is better than the ±10% linearity inherent in the voltage control circuit using a temperature-controlled crystal oscillator. Attached Figure Description
[0034] Figure 1 A functional structure diagram of a system clock synthesis circuit provided in an embodiment of the present invention;
[0035] Figure 2 An internal functional diagram of a clock synthesis module in a system clock synthesis circuit provided in an embodiment of the present invention;
[0036] Figure 3 A typical system clock synthesis circuit within a base station is provided as an embodiment of the present invention.
[0037] Figure 4 This invention provides an internal structure diagram of a system clock synthesis circuit DCO.
[0038] Figure 5 This is a step accuracy test result of a system clock synthesis circuit provided in an embodiment of the present invention;
[0039] Figure 6 The output frequency accuracy of a system clock synthesis circuit under loop locking, as provided in an embodiment of the present invention;
[0040] Figure 7 Phase error during loop locking of a system clock synthesis circuit provided in an embodiment of the present invention;
[0041] Figure 8 A retention capability test for a system clock synthesis circuit provided in an embodiment of the present invention;
[0042] Figure 9 The aging curve of a system clock synthesis circuit during power-on of a temperature-controlled crystal oscillator is provided in an embodiment of the present invention.
[0043] Figure 10 A system block diagram of a verification platform for a system clock synthesis circuit provided in an embodiment of the present invention;
[0044] Figure 11 is an FPGA top-level block diagram of a system clock synthesis circuit provided in an embodiment of the present invention;
[0045] Figure 12 A state transition diagram of a system clock synthesis circuit provided in an embodiment of the present invention;
[0046] Figure 13 An SI5383 output clock configuration for a system clock synthesis circuit provided in an embodiment of the present invention;
[0047] Figure 14 A phase-locked loop AC operating mode for a system clock synthesis circuit provided in this embodiment of the invention;
[0048] Figure 15 The present invention provides a phase-locked loop D operating mode for a system clock synthesis circuit in an embodiment of the present invention. Detailed Implementation
[0049] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0050] See Figures 1-9 This invention provides a system clock synthesis circuit, the method comprising:
[0051] The most significant bottleneck in current mainstream circuits lies in the voltage-controlled circuit section, namely... Figure 3 The portion marked by the dashed box represents analog control, which suffers from poor linearity and large errors due to inherent circuit characteristics. Digitalization can circumvent these problems. With advancements in technology and functional refinement, numerically controlled oscillators can now replace analog voltage control, effectively overcoming these issues.
[0052] Figure 4 The diagram shows the internal structure of a standard numerically controlled oscillator (CCO), with a standard digital phase-locked loop (DLL) forming the main path. However, unlike a typical DLL circuit, a frequency control word (DCO) step adjustment interface is added to the feedback loop phase accumulator. This interface allows adjustment of the fractional frequency divider in the feedback loop, thereby fine-tuning the output frequency and achieving the function of a numerically controlled voltage-controlled oscillator (CCO). The main feature of this invention is the use of this DCO design to replace... Figure 3 The circuit is indicated by the dashed box. Based on the phase-locked loop principle, the formula for calculating the output frequency during lockout is as follows:
[0053]
[0054] To achieve linearity and lower resolution, the control word typically only adjusts the numerator, while the denominator remains a fixed value. Therefore, the resolution of this adjustment is essentially determined by the number of bits in the integer Mn_D, i.e., 1 / Mn_D. Based on the previous requirement that the circuit achieve 10e-11 accuracy, if we round down to the power of 2, we have:
[0055]
[0056] n≥33bit
[0057] For applications like base stations, which require high clock accuracy, Fref can still be provided by a temperature-controlled crystal oscillator. However, it does not require the temperature-controlled crystal to have a voltage-controlled terminal and is not affected by the long-term aging rate of the temperature-controlled crystal, thus avoiding the problem of many limitations in current mainstream circuits.
[0058] The structural diagram of this patent is determined as follows: Figure 1 As shown, with Figure 3 Compared to mainstream circuits, this design uses a clock synthesizer with DCO functionality, eliminates the voltage-controlled portion of the oven-controlled crystal oscillator (OCXO), and removes circuits such as the digital-to-analog converter, high-precision voltage regulator, and analog filtering of the voltage-controlled voltage.
[0059] The modules in the structure diagram implement different functions, including:
[0060] FPGA: It mainly performs local second pulse synthesis, reference second pulse and local second pulse phase detection functions, and corrects the clock synthesizer according to the processor configuration. Compared with mainstream circuits, it adds a real-time frequency adjustment word configuration channel.
[0061] ARM: Periodically obtains the phase difference between the reference second pulse and the local second pulse from the FPGA module, performs loop filtering, and then configures the adjustment value to the clock synthesizer through the FPGA; at the same time, it initializes and configures the clock synthesizer, including the frequency divider counters of the phase-locked loop, the step control word, and the settings of each input and output frequency.
[0062] OCXO: The temperature-controlled crystal oscillator is responsible for generating a stable reference frequency, providing a relatively stable reference source for the entire system. Its short-term stability is high enough. Compared with the current mainstream circuits, it does not require a voltage-controlled terminal, has no strict requirements on the accuracy of the initial frequency, and has no strict requirements on the long-term aging performance.
[0063] Clock Synthesizer: Based on an OCXO, this provides a sufficiently accurate frequency output while ensuring excellent jitter characteristics for stable operation of the system and related high-speed interfaces. Compared to mainstream circuits, this requires a new clock synthesis chip with DCO functionality, and to ensure adjustment accuracy, its internal phase accumulator bits must be sufficiently numerous.
[0064] The selected device adjusts the DCO frequency by controlling the frequency increment / decrement pin. Each pulse triggers an adjustment step. The FPGA logic currently implements a 16-bit counter. Based on the currently set step size, the maximum adjustment range of the 16-bit counter is ±2^16x2.5x10e-11≈±1.64ppm. It can also be cumulatively adjusted, which is much larger than the adjustment range of the analog voltage control method, and will greatly accelerate the locking and convergence speed of the entire loop.
[0065] Operating with a 128-second adjustment cycle, the stability of the output frequency when locking the GPS second pulse at room temperature is as follows:
[0066] It can be seen that the frequency stability fluctuation within the statistical period is within 1 ppb, which is much smaller than the 3GPP protocol's threshold of ±0.05 ppm for the clock frequency error of 5G macro base stations.
[0067] Operating with a 128-second adjustment cycle, the statistical analysis of the phase deviation between the local second and GPS second pulses under normal temperature conditions is as follows: Figure 7 As shown:
[0068] The phase error within the statistical period is within 100ns, which meets the 3GPP protocol requirement for 5G base stations to be less than ±1.5us.
[0069] When the circuit is forced into hold mode without any compensation measures, the stability and phase difference of the system clock (referencing the GPS second pulse) are as follows:
[0070] With the clock permanently locked to GPS, the aging characteristics of the temperature-controlled crystal oscillator, calculated based on the statistical values of the phase detector and the digitally controlled crystal oscillator adjustment per second, can be further analyzed using methods such as lookup tables to provide a basis for aging compensation, thereby improving the retention capability. Figure 9 As shown.
[0071] Example:
[0072] Figure 10 This is the verification platform for the patent. The processor and programmable logic are implemented using Xilinx's XCZU7CG, which integrates the processor internally. The processor implements filtering, frequency adjustment, and clock operation state transitions, while the programmable logic implements the phase detector, local second synthesis function, and provides adaptation logic for the processor to control the clock synthesizer in real time.
[0073] The clock synthesizer used was Skyworks' SI5383, which integrates three phase-locked loops (PLLs) and can operate in free-run, conventional PLL, digitally controlled crystal oscillator, and hold modes. Analog Devices (ADI) and Renesas also have similar chips. During this verification, PLLs A / C / D operated in digitally controlled crystal oscillator, PLL, and free-run modes, respectively.
[0074] According to the schematic diagram of the clock synthesizer SI5383 and its peripherals, its main reference clock is provided by a temperature-controlled crystal oscillator to maintain short-term stability of the output. In addition to ensuring synchronization with GPS seconds, the system clocks at each output frequency also have low jitter performance to ensure the stable operation of the subsequent high-speed link.
[0075] Figure 11 is a top-level block diagram of the FPGA, which integrates the processor system and logic function modules such as extended I / O registers, phase detectors, and second synthesizers.
[0076] Figure 12This is a state transition diagram of the processor software operation. The transitions between states are mainly based on the GPS lock state and the DCO lock state. States 1, 2, 3, and 4 involve correcting the DCO based on statistically analyzed second phase difference errors and frequency error values to achieve real-time tracking and locking of the GPS second.
[0077] The entire verification system covers several key parts, including the SI5383 mode configuration, the tuning and driver programs running on the processor, and the phase detector and other related logic inside the FPGA.
[0078] SI5383 mode configuration
[0079] The Si5383 boasts the industry's smallest size and lowest power consumption network synchronization clock, offering exceptional frequency synthesis flexibility and ultra-low jitter. Three integrated independent DSPLLs can be configured as SyncE PLLs, IEEE 1588 DCOs, or general-purpose PLLs, suitable for processor / FPGA clocking. Furthermore, the Si5383 DCO mode provides precise frequency accuracy tuning to the 10e-12th order (ppt). The Si5383's unique design allows devices to receive TCXO / OCXO reference clocks across a wide frequency range without performance degradation due to output clock jitter. The Si5383 can be configured via a serial interface or easily programmed and firmware-installed using ClockBuilderPro software for direct surface mounting.
[0080] This verification system sets the SI5383's phase-locked loop (PLL) DSPLLD to free-running mode, i.e., using a reference temperature-controlled crystal oscillator to generate a specific frequency output clock. This output clock is provided to the DSPLLLA in DCO mode for reference, outputting a system synchronization clock of 245.76MHz. For convenience in other system applications, one system clock output is sent to the DSPLLC to synthesize the 156.25MHz operating clock required for the high-speed Ethernet interface, and another output is distributed to the FPGA for synthesizing local seconds and for use by the phase detector. The SI5383 clock output configuration is as follows: Figure 13 As shown:
[0081] The working modes of the 3-way phase-locked loop are as follows: Figure 14 and Figure 15 As shown, the DSPLLLA operates in DCO mode, enabling frequency adjustment via trigger pulses through the FINC / FDEC pins, with a step adjustment frequency set to approximately 0.025ppb. The DSPLLC operates in PLL mode, and the DSPLLD operates in free-running mode.
[0082] Processor running program
[0083] The processor's running program consists of three parts: the operating system, drivers, and application software.
[0084] The operating system directly uses the PetaLinux software platform provided by Xilinx. During the build process, the XCZU7CG PS system hardware is instantiated and tailored on the Vivado platform to generate the hardware. Then, in the PetaLinux compilation environment, the hardware, u-boot, kernel, and file system are configured, and finally, the image is compiled. The generation process refers to relevant Xilinx example tutorials, which are omitted here.
[0085] The processor configures and queries the status of the SI5383 via the I2C bus. This is achieved by registering the I2C device in the kernel device tree and then accessing the device via ioctl in the operating system.
[0086] The above-disclosed embodiments are merely a few specific examples of the present invention. Those skilled in the art can make various modifications and variations to the embodiments of the present invention without departing from the spirit and scope of the present invention. However, the embodiments of the present invention are not limited thereto, and any changes that those skilled in the art can conceive of should fall within the protection scope of the present invention.
Claims
1. A system clock synthesis circuit, characterized by, include: An FPGA is used to receive GPS second pulse clock signals, output locally synthesized second clock signals, and generate the phase difference between the GPS second pulse clock signal and the local feedback clock signal. The FPGA has a real-time frequency adjustment word configuration channel. The real-time frequency adjustment word configuration channel sends pulses to the frequency increment / decrement pins, and each pulse triggers an adjustment step. The FPGA has a 16-bit counter for counting the adjustment pulses to achieve cumulative frequency adjustment. The processor is used to perform loop filtering on the phase difference generated by the FPGA and generate an adjustment value to send to the FPGA; the processor is also used to generate initialization configuration information. A temperature-controlled crystal oscillator (OCXO) is used to generate a master reference clock; the OCXO does not have a voltage-controlled terminal. The clock synthesizer is used to initialize and configure the clock synthesizer according to the initialization configuration information generated by the processor, and send the adjustment value to the configuration information generated by the FPGA. According to the configuration information and the master reference clock, it generates a local feedback clock signal and multiple system synchronization clock signals. The clock synthesizer has a DCO function, and its feedback loop phase accumulator is provided with a frequency control word step adjustment interface. Through this interface, the fractional frequency division part in the feedback loop is adjusted to fine-tune the output frequency. The adjustment only adjusts the numerator, while the denominator remains a fixed value.
2. The system clock synthesis circuit as described in claim 1, characterized in that, The FPGA used is a Xilinx XCZU7CG, which integrates a processor.
3. The system clock synthesis circuit as described in claim 2, characterized in that, The clock synthesizer used is Skyworks' SI5383.
4. The system clock synthesis circuit as described in claim 3, characterized in that, The processor configures and queries the status of the SI5383 via the I2C bus.
5. The system clock synthesis circuit as described in claim 1, characterized in that, The initialization configuration information includes: Initialize each frequency divider counter in the phase-locked loop of the clock synthesizer; Initialize the step control word of the clock synthesizer; Initialize the input and output frequencies of the clock synthesizer.
6. The system clock synthesis circuit as described in claim 5, characterized in that, The step size of the step control word is set to 0.025ppb.
7. A system clock synthesis circuit as described in claim 1, characterized in that, The local feedback clock signal uses a frequency of 312.5MHz.
8. A system clock synthesis circuit as described in claim 1, characterized in that, The FPGA frequency statistics period is 128 seconds.
Citation Information
Patent Citations
Method and device for outputting base station master clock
CN101984716A
