SerDes CDR circuit supporting SSC

By designing a dual-loop structure in the SerDes CDR circuit, using the frequency error filter and phase error filter to independently track the frequency and phase, the problem of designing the SSC function in the PCIE protocol is solved, and better frequency tracking and phase tracking performance is achieved. , reducing loop design difficulty and dynamic jitter, and improving the overall performance of CDR.

CN118971869APending Publication Date: 2024-11-15WUXI STARS MICRO SYSTEM TECHNOLOGIES CO LTD

Patent Information

Application Number
CN202411112523.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

With the increase in PCIE protocol speed, the difficulty of SSC function in SerDes circuit design increases, becoming a bottleneck in circuit design, especially in frequency tracking and phase tracking capabilities, resulting in increased difficulty of loop design and unstable performance.

Method used

Design a dual-loop SerDes CDR circuit, which includes a frequency loop and a phase loop. The phase lock loop and phase interpolate are controlled by frequency error filter and phase error filter respectively to achieve independent tracking of frequency and phase. The path is a second-order PI filter, and the phase loop is a first-order filter. The bandwidth design is different from 1 to 2 orders of magnitude, which reduces the filter operating frequency requirements and reduces the step design of the phase interpolator.

Benefits of technology

It realizes better frequency tracking control, reduces dynamic jitter in the loop, improves the overall performance and stability of CDR, and meets the clock performance requirements of high-speed data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118971869A_ABST
    Figure CN118971869A_ABST
Patent Text Reader

Abstract

The invention provides a SerDes CDR circuit supporting SSC, the circuit comprises a data sampler, a phase detector, a frequency error filter, a phase error filter, a phase interpolator and a phase-locked loop, the phase detector is connected with the frequency error filter and the phase-locked loop to form a frequency loop, and the phase error filter is connected with the phase interpolator. The frequency error filter is used for controlling the working frequency of the phase-locked loop by outputting codes; the phase detector is connected with the phase error filter and the phase interpolator to form a phase loop, and the phase error filter is used for controlling the phase of a sampling clock output by the phase interpolator by outputting codes. According to the invention, frequency tracking and phase tracking are realized by different loops, so that the frequency tracking and the phase tracking are separated, the design difficulty of the loops can be reduced, and the tracking performance of the loops is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and in particular relates to a SerDes CDR circuit supporting SSC. Background Art

[0002] The widespread application of computer technology and the increasing demand for high-performance computing have promoted the rapid development of high-speed data transmission technology. PCIE protocol (Peripheral Component Interface Express, bus and interface standard) is one of the most critical interface protocols in computer technology. With the continuous development of high-speed data transmission technology, PCIE is also continuously evolving.

[0003] As the PCIE protocol rate increases, the SSC function becomes increasingly difficult to implement. To some extent, it has become an important bottleneck in the design of PCIE protocol circuits. Summary of the invention

[0004] The purpose of this application is to provide a SerDes CDR circuit supporting SSC, aiming to reduce the design difficulty of the loop and improve the tracking performance of the loop.

[0005] The present application provides a SerDes CDR circuit supporting SSC, including a data sampler, a phase detector, a frequency error filter, a phase error filter, a phase interpolator and a phase-locked loop, wherein the data sampler is used to perform AFE (Aanlog front end, analog front end) compensation and data sampling on input data;

[0006] The phase detector is connected with the frequency error filter and the phase-locked loop to form a frequency loop;

[0007] The phase detector, the phase error filter and the phase interpolator are connected to form a phase loop.

[0008] In an optional implementation, the frequency error filter is used to control the operating frequency of the phase-locked loop via output coding.

[0009] In an optional embodiment, the phase error filter is used to control the phase of the sampling clock output by the phase interpolator through output coding.

[0010] In an optional implementation manner, the frequency loop and the phase loop have different loop bandwidths, and the loop bandwidths of the frequency loop and the phase loop differ by 1 to 2 orders of magnitude.

[0011] In an optional implementation, the frequency error filter is a second-order PI digital filter, and the phase error filter is a first-order digital filter.

[0012] In an optional implementation manner, the frequency loop is used to track 30-33k SSC spread spectrum information in the input data.

[0013] In an optional embodiment, the phase loop is used to track phase information in the input data.

[0014] In an optional implementation, the frequency error filter controls the local clock frequency output by the phase-locked loop to dynamically track the SSC spread spectrum frequency deviation defined by the PCIE protocol, thereby realizing the frequency loop tracking.

[0015] In an optional implementation, the local clock frequency output by the phase-locked loop is input to the phase interpolator, and the phase interpolator outputs the clock frequency to the data sampler to implement loop tracking of the data.

[0016] In an optional implementation, the phase detector is connected to the data sampler, and is used to perform phase detection on the input data to generate an indication signal of the current sampling phase lead / lag, which is then input into the frequency error filter and the phase error filter respectively.

[0017] Compared with the related art, the technical solution of the present application has at least the following advantages:

[0018] The frequency loop in the present application can directly implement frequency tracking control, thereby reducing the design requirements for the filter operating frequency. At the same time, since the frequency loop solves the problem of frequency tracking, the phase loop only needs to be able to track the residual phase error, so that the step of the PI (phase interpolator) can be designed to be small, thereby making the dynamic jitter (jitter) smaller during loop tracking, so that better CDR characteristics can be obtained.

[0019] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained through the structures and processes indicated in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. It is obvious that the drawings described below are certain embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 It is a circuit diagram of a PI-based SSC CDR according to the related technology of this application.

[0022] Figure 2 is a dual-loop SSC CDR circuit diagram according to an exemplary embodiment of the present application.

[0023] Figure 3 is a circuit diagram of a frequency error rate filter and a phase error filter according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0025] The SSC (Spread Spectrum Clocking) function is an important feature defined by the PCIE protocol. This feature can reduce the EMI (Electro-Magnetic Interference) effect of the interface of the entire system. In many application scenarios, this feature needs to be enabled to meet system application requirements.

[0026] The main part of the physical layer of the SSC function usually includes two parts: the SSC generation function on the signal sending side and the SSC CDR (Clock data recovery) function on the signal receiving side. Generally speaking, these two parts are implemented in SerDes (Serial-Deserial). The SSC generation function on the signal sending side TX (Transmit) can usually be implemented using a clock chip with SSC, or a PLL (Phase Locking Loop) can be used to generate a clock with SSC. The implementation difficulty is relatively low and usually does not limit the usage scenario. However, on the receiving side, it is necessary to implement the SSC function in the CDR loop, which is difficult to design and becomes a key point in the circuit design of the PCIE protocol SerDes.

[0027] Figure 1 It is a related technology of PI-based CDR. The input data is sampled after AFE compensation. After phase detection by BBPD (Bang-bang phase detect), an indication signal of the current sampling phase lead / lag is generated. The signal is then input into the CDR digital filter. After filtering, a code is generated to control the output sampling clock phase of PI, thereby realizing loop tracking of the input data phase.

[0028] On the basis of CDR, in order to improve the frequency deviation tracking capability to cover the wide frequency deviation spread spectrum defined by the bus and interface standard PCIE protocol, the design of CDR is usually optimized from two dimensions: (1) The frequency tracking capability of CDR is improved by increasing the operating frequency of CDR's digital filter. The higher the operating frequency of the digital filter, the faster the CDR PI phase step refresh rhythm, and thus the stronger the frequency deviation tracking capability; (2) The PPM (Parts per million) tracking capability is improved by increasing the phase step value of CDR PI. The larger the PI working step, the larger the phase refresh step, and thus the stronger the frequency deviation tracking capability.

[0029] In the specific implementation, the design of these two dimensions will face many challenges. Increasing the frequency of the CDR digital filter will make it difficult for the digital timing of the digital filter to converge, and the corresponding CDR loop phase margin will be reduced, resulting in potential instability problems. Increasing the PI step will cause greater dynamic jitter (.jitter) during loop tracking, thereby affecting the overall loop performance of the CDR. In particular, as the data rate of PCIE SerDes increases, the requirements for clock performance are also increasing. The above traditional implementation ideas are difficult to meet the performance requirements of SerDes.

[0030] Figure 2 is a specific implementation of an exemplary dual-loop SSC CDR circuit proposed in this application. Figure 2 As shown, the dual-loop SSC CDR circuit includes a data sampler (Data Sample), a phase detector BBPD, a frequency error filter (Frequency Err Filter), a phase error filter (Phase Err Filter), a phase interpolator PI and a phase-locked loop PLL, wherein the data sampler is used to perform AFE compensation and data sampling on the input data; the phase detector BBPD and the data sampler are used to perform phase discrimination on the input data and generate an indication signal of the current sampling phase advance / lag, which is then input into the frequency error filter and the phase error filter respectively.

[0031] The phase detector is connected with the frequency error filter and the phase-locked loop to form a frequency loop. The frequency error filter is used to control the operating frequency of the phase-locked loop through the output code, and the l0cal clock frequency output by the phase-locked loop is controlled to dynamically track the SSC spread spectrum frequency deviation defined by the PCIE protocol to realize frequency loop tracking. The frequency loop is used to track the 30~33k SSC spread spectrum information in the input data.

[0032] The phase detector is connected with the phase error filter and the phase interpolator to form a phase loop. The phase error filter is used to control the phase of the sampling clock output by the phase interpolator through output coding, so as to track the phase information in the input data.

[0033] The local clock frequency output by the phase-locked loop is input to the phase interpolator, and the phase interpolator outputs the clock frequency to the data sampler to implement loop tracking of the data.

[0034] Based on the original CDR loop, this application splits the digital filter into a frequency error filter and a phase error filter. The frequency error filter outputs a code that is used to control the operating frequency of the PLL, so that the local clock frequency output by the PLL can dynamically track the SSC spread spectrum frequency deviation defined by the PCIE protocol, thereby realizing the tracking of the frequency loop of the CDR loop. The phase error filter outputs a code that is used to control the phase of the sampling clock output by the PI, thereby realizing the phase loop tracking of the loop. In order to ensure the stability of the entire CDR loop, the frequency loop and the phase loop need to adopt different design bandwidths. Generally speaking, the loop bandwidth can be designed to differ by 1 to 2 orders of magnitude.

[0035] Figure 3 This is an embodiment of the specific implementation of the frequency error rate filter and the phase error filter in this application. Figure 3 As shown, the frequency error filter is a typical second-order PI digital filter, which generates a code that can directly control the PLL frequency value by filtering the lead / lag signal generated by the BBPD. The first-order loop completes the frequency deviation tracking function, and the second-order loop performs the slope tracking function of the frequency change. The phase error filter is a simple first-order digital filter that can generate a phase value code that directly controls the PI phase.

[0036] Compared with the traditional PI-based SSC CDR solution that achieves SSC frequency tracking through phase tracking, the frequency loop can directly achieve frequency tracking control, thereby reducing the design requirements for the filter operating frequency. At the same time, since the frequency loop solves the frequency tracking problem, the phase loop only needs to be able to track the residual phase error and design the PI step to be small, so that the dynamic jitter (jitter) is smaller during loop tracking, and better CDR characteristics can be obtained.

[0037] Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that he or she may still modify the technical solutions described in the aforementioned embodiments, or make equivalent substitutions for some of the technical features therein; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A SerDes CDR circuit supporting SSC, characterized in that: It includes a data sampler, a phase detector, a frequency error filter, a phase error filter, a phase interpolator and a phase-locked loop, wherein: The data sampler is used to perform AFE compensation and data sampling on input data; The phase detector is connected with the frequency error filter and the phase-locked loop to form a frequency loop; The phase detector, the phase error filter and the phase interpolator are connected to form a phase loop.

2. The SerDes CDR circuit supporting SSC according to claim 1, characterized in that: The frequency error filter is used to control the operating frequency of the phase-locked loop through output coding.

3. The SerDes CDR circuit supporting SSC according to claim 1, characterized in that: The phase error filter is used to control the phase of the sampling clock output by the phase interpolator through the output code.

4. The SerDes CDR circuit supporting SSC according to claim 1, characterized in that: The frequency loop and the phase loop have different loop bandwidths, and the loop bandwidths of the frequency loop and the phase loop differ by 1 to 2 orders of magnitude.

5. The SerDes CDR circuit supporting SSC as claimed in claim 4, characterized in that: The frequency error filter is a second-order PI digital filter, and the phase error filter is a first-order digital filter.

6. The SerDes CDR circuit supporting SSC according to claim 1, characterized in that: The frequency loop is used to track the 30-33k SSC spread spectrum information in the input data.

7. The SerDes CDR circuit supporting SSC according to claim 1, characterized in that: The phase loop is used to track phase information in the input data.

8. The SerDes CDR circuit supporting SSC according to claim 1, characterized in that: The frequency error filter controls the local clock frequency output by the phase-locked loop to dynamically track the SSC spread spectrum frequency deviation defined by the PCIE protocol, thereby realizing the frequency loop tracking.

9. The SerDes CDR circuit supporting SSC according to claim 1, characterized in that: The local clock frequency output by the phase-locked loop is input to the phase interpolator, and the phase interpolator outputs the clock frequency to the data sampler to implement loop tracking of the data.

10. The SerDes CDR circuit supporting SSC according to claim 1, characterized in that: The phase detector is connected to the data sampler and is used to perform phase discrimination on the input data to generate an indication signal of the current sampling phase advance / lag, which is then input into the frequency error filter and the phase error filter respectively.

Citation Information

Patent Citations

  • Frequency Offset Tracking and Jitter Reduction Method Using Dual Frequency-locked Loop and Phase-locked Loop

    US20120200324A1

  • Fast locking dual loop clock and data recovery circuits

    US20240250688A1

Cited By

  • Clock phase error calibration device and method

    CN119906417A