[go: up one dir, main page]

CN116707521A - 8.1Gbps eDP high-speed display interface receiving end clock data recovery key circuit system - Google Patents

8.1Gbps eDP high-speed display interface receiving end clock data recovery key circuit system Download PDF

Info

Publication number
CN116707521A
CN116707521A CN202310712731.8A CN202310712731A CN116707521A CN 116707521 A CN116707521 A CN 116707521A CN 202310712731 A CN202310712731 A CN 202310712731A CN 116707521 A CN116707521 A CN 116707521A
Authority
CN
China
Prior art keywords
data
phase
output
signal
sampling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310712731.8A
Other languages
Chinese (zh)
Inventor
刘昊
张佳琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southeast University
Original Assignee
Southeast University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southeast University filed Critical Southeast University
Priority to CN202310712731.8A priority Critical patent/CN116707521A/en
Publication of CN116707521A publication Critical patent/CN116707521A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/12Synchronisation of different clock signals provided by a plurality of clock generators
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/01Shaping pulses
    • H03K5/04Shaping pulses by increasing duration; by decreasing duration
    • H03K5/05Shaping pulses by increasing duration; by decreasing duration by the use of clock signals or other time reference signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/0807Details of the phase-locked loop concerning mainly a recovery circuit for the reference signal
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • H04L7/033Speed or phase control by the received code signals, the signals containing no special synchronisation information using the transitions of the received signal to control the phase of the synchronising-signal-generating means, e.g. using a phase-locked loop
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Nonlinear Science (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

本发明公开了一种面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路系统,属于高速通信领域,通过采样同步模块将8.1Gbps的输入信号同步为并行数据。之后鉴相器和多数表决器对并行数据和采样时钟进行相位比较,产生相位误差信号。相位误差信号再通过数字滤波器和数据整形器滤除高频噪声抖动,最终在相位累积器中形成相位调整信号。相位调整信号传输至相位插值模块,调整采样时钟相位,实现系统闭环。本发明的系统结构中,鉴相器结构简单,具有较低的功耗和面积,同时数据整形器可提高数据精度,有效抑制系统震荡,增加系统的鲁棒性。

The invention discloses a key circuit system for recovering clock data at a receiving end of an 8.1Gbps eDP high-speed display interface, belonging to the field of high-speed communication, and synchronizing an 8.1Gbps input signal into parallel data through a sampling synchronization module. Afterwards, the phase detector and the majority voter compare the phases of the parallel data and the sampling clock to generate a phase error signal. The phase error signal passes through the digital filter and the data shaper to filter out the high-frequency noise jitter, and finally forms the phase adjustment signal in the phase accumulator. The phase adjustment signal is transmitted to the phase interpolation module to adjust the phase of the sampling clock and realize the closed loop of the system. In the system structure of the present invention, the phase detector has a simple structure and has low power consumption and area, and at the same time, the data shaper can improve data accuracy, effectively suppress system oscillation, and increase system robustness.

Description

面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电 路系统For 8.1Gbps eDP high-speed display interface receiving end clock data recovery key circuit road system

技术领域technical field

本发明涉及高速通信技术领域,特别涉及一种面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路系统。The invention relates to the technical field of high-speed communication, in particular to a key circuit system for clock data recovery of a receiving end of an 8.1Gbps eDP high-speed display interface.

背景技术Background technique

随着超高清视频显示技术对数据传输速率的要求越来越高,传统的数据接口无法满足高清面板的显示需求。因此视频电子标准协会(VESA)制定了新型嵌入式显示接口(eDP)规范,其架构包含4个主要传输通道,每个通道的传输速率高达8.1Gbps,总数据有效速率可达25.92Gbps。As ultra-high-definition video display technology requires higher and higher data transmission rates, traditional data interfaces cannot meet the display requirements of high-definition panels. Therefore, the Video Electronics Standards Association (VESA) has formulated a new embedded display interface (eDP) specification. Its architecture includes 4 main transmission channels, each channel has a transmission rate of up to 8.1Gbps, and the total effective data rate can reach 25.92Gbps.

尽管eDP显示接口规范提高了数据的传输速率,但是在高频数据传输场景中,信号上升沿时间缩短、幅值降低,导致信号高频效应占据主导地位。因此,需要采用Serdes高速链路设计技术来解决高速eDP接口面临的信号完整性挑战。在长距离传输场景中,为了进一步减少信道串扰、PVT等环境噪声对时钟信号和数据信号的共同影响,高速链路主要采用串行非同步架构。Although the eDP display interface specification has increased the data transmission rate, in high-frequency data transmission scenarios, the signal rising edge time is shortened and the amplitude is reduced, resulting in the high-frequency effect of the signal dominating. Therefore, Serdes high-speed link design technology needs to be adopted to solve the signal integrity challenges faced by high-speed eDP interfaces. In the long-distance transmission scenario, in order to further reduce the joint influence of channel crosstalk, PVT and other environmental noise on the clock signal and data signal, the high-speed link mainly adopts a serial asynchronous architecture.

串行非同步架构相比于并行同步架构,其具有不需要考虑并行数据之间的同步性,和复杂度低的优点。但是,串行非同步架构只有单条数据通道,没有独立的时钟通道,在传输时,数据信号和时钟信号一起发送。由于缺少了数据对应的时钟信息,因此接收端需要时钟数据恢复电路(CDR)从接收到的信号中恢复时钟并重建原始数据流。Compared with the parallel synchronous architecture, the serial asynchronous architecture has the advantages of not needing to consider the synchronization between parallel data and having low complexity. However, the serial asynchronous architecture has only a single data channel and no independent clock channel. During transmission, the data signal and the clock signal are sent together. Due to the lack of clock information corresponding to the data, the receiver needs a clock data recovery circuit (CDR) to recover the clock from the received signal and reconstruct the original data stream.

由于所面向的eDP协议是针对内附电池的显示环境而设计的,因此相较于其它类型接口功耗更低,这对CDR提出了低功耗的设计要求。同时,协议标准要求了更高的噪声容限和频差容限,在上述诸多技术挑战下,需结合协议标准,重新设计电路系统,来解决上述问题。Since the eDP protocol is designed for the display environment with a built-in battery, it consumes less power than other types of interfaces, which puts forward low power consumption design requirements for CDR. At the same time, the protocol standard requires higher noise tolerance and frequency tolerance. Under the above-mentioned technical challenges, it is necessary to combine the protocol standard and redesign the circuit system to solve the above problems.

发明内容Contents of the invention

本发明提供一种面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路系统,适用于eDP 1.5版本协议的各项指标要求。该系统电路中具有面积小、功耗低的鉴相器,更适配于低功耗的eDP协议接口。同时,系统中的数据整形器可提升数据精度,快速抑制系统震荡,增加系统的鲁棒性,缩短系统锁定时间。The invention provides an 8.1Gbps eDP high-speed display interface receiving terminal clock data recovery key circuit system, which is suitable for various index requirements of the eDP version 1.5 protocol. The system circuit has a phase detector with small area and low power consumption, which is more suitable for the eDP protocol interface with low power consumption. At the same time, the data shaper in the system can improve data accuracy, quickly suppress system oscillation, increase system robustness, and shorten system lock time.

本发明实施例提供一种面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路系统,包括:采样同步模块,所述采样同步模块的输入端与输入串行信号相连,用于将8.1Gbps的输入信号同步为并行数据;The embodiment of the present invention provides a key circuit system for clock data recovery of the receiving end of the 8.1Gbps eDP high-speed display interface, including: a sampling synchronization module, the input terminal of the sampling synchronization module is connected to the input serial signal, and is used to connect the 8.1Gbps The input signal is synchronized as parallel data;

鉴相器,所述鉴相器的输入端与所述采样同步模块的输出端相连,用于根据所述并行数据来判决采样时钟和数据位之间的相位关系,并根据相位关系输出调整采样时钟相位的多个超前和滞后信号;A phase detector, the input end of the phase detector is connected to the output end of the sampling synchronization module, and is used to judge the phase relationship between the sampling clock and the data bit according to the parallel data, and adjust the sampling according to the phase relationship output Multiple lead and lag signals for clock phase;

多数表决器,所述多数表决器的输入端与所述鉴相器的输出端相连,用于对所述鉴相器产生的多个超前和滞后信号样本进行判决,输出相位误差信号;A majority voter, the input end of the majority voter is connected to the output end of the phase detector, and is used to judge a plurality of leading and lagging signal samples generated by the phase detector, and output a phase error signal;

数字滤波器,所述数字滤波器的输入端与所述多数表决器的输出端相连,用于对所述多数表决器输出的相位误差信号进行比例和积分运算,通过比例路径数据和积分路径数据最终相加得到所述数字滤波器的输出数据;A digital filter, the input end of the digital filter is connected to the output end of the majority voter, and is used to perform proportional and integral operations on the phase error signal output by the majority voter, through the proportional path data and the integral path data Finally add to obtain the output data of the digital filter;

数据整形器,所述数据整形器的输入端与所述数字滤波器的输出端相连,用于压缩所述数字滤波器的输出数据,减小输出数据数值的跳变幅度,将幅值信息转换为占空比信息,通过高通滤波器整形量化噪声,滤除低频部分;A data shaper, the input end of the data shaper is connected to the output end of the digital filter, which is used to compress the output data of the digital filter, reduce the jump range of the output data value, and convert the amplitude information For the duty cycle information, the high-pass filter is used to shape the quantization noise and filter out the low-frequency part;

相位累积器,所述相位累积器的输入端与所述数据整形器的输出端相连,输出端与相位插值模块的输入端相连,用于根据数据整形器的输出数据,记录相位调整后的信息,并根据所述相位插值模块的精度,输出相应数据位宽的相位调整信号;A phase accumulator, the input end of the phase accumulator is connected to the output end of the data shaper, and the output end is connected to the input end of the phase interpolation module, which is used to record the phase-adjusted information according to the output data of the data shaper , and output a phase adjustment signal corresponding to the data bit width according to the accuracy of the phase interpolation module;

所述相位插值模块,所述相位插值模块的输出端与所述采样同步模块的另一输入端相连,用于根据所述相位调整信号,调整所述采样同步模块采样时钟的相位;The phase interpolation module, the output terminal of the phase interpolation module is connected to the other input terminal of the sampling synchronization module, and is used to adjust the phase of the sampling clock of the sampling synchronization module according to the phase adjustment signal;

校验模块,所述校验模块的输入端与所述采样同步模块的另一个输出端相连,输出端输出检验信号和输出数据,用于对所述采样同步模块输出数据的校验,确定系统是否自适应收敛,并根据所述检验信号验证误码率指标。A verification module, the input end of the verification module is connected to the other output end of the sampling synchronization module, and the output end outputs a verification signal and output data, which are used to verify the output data of the sampling synchronization module and determine the system Whether to self-adaptively converge, and verify the bit error rate index according to the verification signal.

可选地,在本发明的一个实施例中,所述采样同步模块进一步用于采用1/2速率的过采样方案,使用两个边沿采样时钟和两个数据采样时钟,分别采集同步边沿位信息和数据位信息。Optionally, in one embodiment of the present invention, the sampling synchronization module is further configured to adopt a 1/2 rate oversampling scheme, using two edge sampling clocks and two data sampling clocks to collect synchronous edge bit information respectively and data bit information.

可选地,在本发明的一个实施例中,所述鉴相器根据所述并行数据来判决采样时钟和数据位之间的相位关系的判决公式为:Optionally, in an embodiment of the present invention, the decision formula for the phase detector to judge the phase relationship between the sampling clock and the data bits according to the parallel data is:

其中,E0为第一个边沿采样时钟采集的信息,E1为第二个边沿采样时钟采集的信息,D0为第一个数据采样时钟采集的信息,表示异或运算,所述鉴相器对相邻的一组数据位信息和边沿位信息进行逻辑运算,输出采样时钟相位的“超前”和“滞后”信息。Among them, E0 is the information collected by the first edge sampling clock, E1 is the information collected by the second edge sampling clock, D0 is the information collected by the first data sampling clock, Indicates an XOR operation, and the phase detector performs logic operations on a group of adjacent data bit information and edge bit information, and outputs "advance" and "lag" information of the sampling clock phase.

可选地,在本发明的一个实施例中,所述多数表决器的判决计算公式为:Optionally, in an embodiment of the present invention, the decision calculation formula of the majority voter is:

其中,upi表示第i位数据鉴相为超前信号,dni表示第i位数据鉴相为滞后信号,upsig表示k组数据中超前信号数量多于滞后信号数量,dnsig表示k组数据中滞后信号数量多于超前信号数量,up_dn为多数表决器输出值,多数表决器第一阶段将分别统计k个超前和滞后信号的数量,第二阶段对两个信号的数量作比较,若k组数据中超前信号数量多于滞后信号数量时,所述多数表决器输出一个超前信号,反之,则输出一个滞后信号,在超前信号数量多于滞后信号数量相等时,多数表决器输出无动作信号,代表不做任何相位调整。Among them, up i means that the i-th data phase detection is a leading signal, dn i means that the i-th data phase detection is a lagging signal, up sig means that the number of leading signals in k sets of data is more than the number of lagging signals, and dn sig means k sets of data The number of lagging signals is more than the number of leading signals, and up_dn is the output value of the majority voter. The first stage of the majority voter will count the number of k leading and lagging signals respectively. The second stage compares the numbers of the two signals. If k When the number of leading signals in the group data is more than the number of lagging signals, the majority voter outputs a leading signal; otherwise, it outputs a lagging signal. When the number of leading signals is equal to the number of lagging signals, the majority of voting devices output no action signal , which means no phase adjustment.

可选地,在本发明的一个实施例中,所述数字滤波器进一步用于,所述多数表决器的输出数据分别经过比例路径和积分路径进行运算,比例路径将数据进行带符号位左移,实现2的幂次放大;积分路径将数据在每个时钟周期进行求和,并对求和数据进行带符号位右移,实现2的幂次缩小,比例路径数据和积分路径数据进行带符号数的相加运算,得到所述数字滤波器的输出数据。Optionally, in an embodiment of the present invention, the digital filter is further used to perform operations on the output data of the majority voter through a proportional path and an integral path respectively, and the proportional path shifts the data to the left with a signed bit , to achieve power-of-two amplification; the integral path sums the data at each clock cycle, and shifts the summed data to the right with a signed bit to achieve power-of-two reduction, and the proportional path data and integral path data are signed The addition operation of the numbers is used to obtain the output data of the digital filter.

可选地,在本发明的一个实施例中,所述相位插值模块提供四相采样时钟,采样时钟周期为串行数据周期的二分之一,且四相采样时钟之间各相差固定的Π/2相位。Optionally, in one embodiment of the present invention, the phase interpolation module provides four-phase sampling clocks, the period of the sampling clocks is one-half of the period of the serial data, and each phase difference between the four-phase sampling clocks is fixed by Π /2 phase.

可选地,在本发明的一个实施例中,所述校验模块进一步用于,任取输入端的连续32位串行数据,经过32个时钟后依次填充至0-31位寄存器中,当前检验电路1+X28+X31产生后续正确的数据,再将生成的数据与采样数据作异或处理,观察异或结果,确定当前采样数据是否正确,X为表示移位寄存器的第n位。Optionally, in one embodiment of the present invention, the verification module is further configured to randomly take the continuous 32-bit serial data at the input end, and fill them into the 0-31 bit registers sequentially after 32 clocks, and the current verification Circuit 1+X 28 +X 31 generates subsequent correct data, and then XORs the generated data with the sampled data, observes the XOR result, and determines whether the current sampled data is correct, and X represents the nth bit of the shift register.

本发明实施例的面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路系统,具有以下有益效果:The embodiment of the present invention is oriented to the 8.1Gbps eDP high-speed display interface receiving end clock data recovery key circuit system, which has the following beneficial effects:

1.鉴相器具有更低的功耗和面积。1. The phase detector has lower power consumption and area.

2.引入数据整形器,以改变数字滤波器输出数据结构,压缩幅值,提高了数字滤波器输出数据的精度。2. A data shaper is introduced to change the output data structure of the digital filter, compress the amplitude, and improve the precision of the output data of the digital filter.

3.在电路实现阶段,针对系统环路延迟大的问题优化了设计方法,以提高CDR的频差容限。3. In the circuit implementation stage, the design method is optimized for the problem of large system loop delay, so as to improve the frequency tolerance of CDR.

本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:

图1为根据本发明实施例提供的一种面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路系统结构示意图;Fig. 1 is a kind of oriented 8.1Gbps eDP high-speed display interface receiving end clock data recovery key circuit system structural diagram provided according to the embodiment of the present invention;

图2为根据本发明实施例提供的一种面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路系统的硬件结构框图;2 is a block diagram of the hardware structure of a key circuit system for clock data recovery at the receiving end of an 8.1Gbps eDP high-speed display interface provided according to an embodiment of the present invention;

图3为根据本发明实施例提供的一种面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路系统的执行过程示意图;3 is a schematic diagram of the execution process of a key circuit system for clock data recovery at the receiving end of an 8.1Gbps eDP high-speed display interface provided according to an embodiment of the present invention;

图4为根据本发明实施例采样同步模块的四相采样时钟示意图;4 is a schematic diagram of a four-phase sampling clock of a sampling synchronization module according to an embodiment of the present invention;

图5为根据本发明实施例数据整形器的等效电路图;5 is an equivalent circuit diagram of a data shaper according to an embodiment of the present invention;

图6为根据本发明实施例相位累积器的工作流程图;Fig. 6 is a working flow diagram of a phase accumulator according to an embodiment of the present invention;

图7为根据本发明实施例相位插值器生成四相采样时钟的示意图;7 is a schematic diagram of a phase interpolator generating a four-phase sampling clock according to an embodiment of the present invention;

图8为根据本发明实施例本发明的噪声容限性能测试图。FIG. 8 is a diagram of a noise tolerance performance test of the present invention according to an embodiment of the present invention.

具体实施方式Detailed ways

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

图1为根据本发明实施例提供的一种面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路系统结构示意图。FIG. 1 is a schematic structural diagram of a key circuit system for clock data recovery at a receiving end of an 8.1 Gbps eDP high-speed display interface according to an embodiment of the present invention.

如图1所示,面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路系统包括:过采样同步模块100、鉴相器200、多数表决器300、数字滤波器400、数据整形器500、相位累积器600、相位插值模块700和校验模块800。As shown in Figure 1, the key circuit system for clock data recovery at the receiving end of the 8.1Gbps eDP high-speed display interface includes: an oversampling synchronization module 100, a phase detector 200, a majority voter 300, a digital filter 400, a data shaper 500, a phase accumulator 600 , phase interpolation module 700 and verification module 800 .

采样同步模块100的输入端与输入串行信号相连,用于将8.1Gbps的输入信号同步为并行数据;The input terminal of the sampling synchronization module 100 is connected to the input serial signal, and is used to synchronize the input signal of 8.1Gbps into parallel data;

鉴相器200的输入端与采样同步模块100的输出端相连,用于根据并行数据来判决采样时钟和数据位之间的相位关系,并根据相位关系输出调整采样时钟相位的多个超前和滞后信号;The input terminal of the phase detector 200 is connected to the output terminal of the sampling synchronization module 100, and is used to judge the phase relationship between the sampling clock and the data bit according to the parallel data, and adjust multiple advances and lags of the sampling clock phase according to the phase relationship output Signal;

多数表决器300的输入端与鉴相器200的输出端相连,用于对鉴相器产生的多个超前和滞后信号样本进行判决,输出相位误差信号;The input terminal of the majority voter 300 is connected with the output terminal of the phase detector 200, and is used for judging a plurality of leading and lagging signal samples generated by the phase detector, and outputting a phase error signal;

数字滤波器400的输入端与多数表决器300的输出端相连,用于对多数表决器输出的相位误差信号进行比例和积分运算,通过比例路径数据和积分路径数据最终相加得到数字滤波器的输出数据;The input terminal of the digital filter 400 is connected to the output terminal of the majority voter 300, and is used to perform proportional and integral operations on the phase error signal output by the majority voter, and the final sum of the proportional path data and the integral path data is obtained by the digital filter. Output Data;

数据整形器500的输入端与数字滤波器400的输出端相连,用于压缩数字滤波器的输出数据,减小输出数据数值的跳变幅度,将幅值信息转换为占空比信息,通过高通滤波器整形量化噪声,滤除低频部分;The input end of the data shaper 500 is connected with the output end of the digital filter 400, and is used for compressing the output data of the digital filter, reducing the jump range of the output data value, converting the amplitude information into duty cycle information, and passing through the high-pass The filter shapes the quantization noise and filters out the low frequency part;

相位累积器600的输入端与数据整形器500的输出端相连,输出端与相位插值模块700的输入端相连,用于根据数据整形器的输出数据,记录相位调整后的信息,并根据相位插值模块的精度,输出相应数据位宽的相位调整信号;The input terminal of the phase accumulator 600 is connected to the output terminal of the data shaper 500, and the output terminal is connected to the input terminal of the phase interpolation module 700, which is used to record the phase-adjusted information according to the output data of the data shaper, and interpolate according to the phase The accuracy of the module, output the phase adjustment signal of the corresponding data bit width;

相位插值模块700的输出端与采样同步模块100的另一输入端相连,用于根据相位调整信号,调整采样同步模块采样时钟的相位;The output terminal of the phase interpolation module 700 is connected to the other input terminal of the sampling synchronization module 100, and is used to adjust the phase of the sampling clock of the sampling synchronization module according to the phase adjustment signal;

校验模块800的输入端与采样同步模块100的另一个输出端相连,输出端输出检验信号和输出数据,用于对采样同步模块100输出数据的校验,确定系统是否自适应收敛,并根据检验信号验证误码率指标。The input end of the verification module 800 is connected with another output end of the sampling synchronization module 100, and the output end outputs a verification signal and output data for checking the output data of the sampling synchronization module 100 to determine whether the system is adaptively convergent, and according to Check the signal to verify the bit error rate indicator.

基于上述模块,通过采样同步模块将速率为8.1Gbps的输入信号同步为并行数据;鉴相器根据并行数据来判决采样时钟和数据位之间的相位关系,并根据相位关系输出调整采样时钟相位的“超前”和“滞后”信号;多数表决器结合鉴相器产生的多个“超前”和“滞后”信号样本,输出置信度较大的结果;数字滤波器对多数表决器的输出进行比例和积分运算,比例路径数据和积分路径数据最终相加得到数字滤波器的输出数据;数据整形器压缩数字滤波器输出的数据,减小其数值的跳变幅度,将幅值信息转换为占空比信息,同时通过高通滤波器整形量化噪声,滤除低频部分;相位累积器不断累积数据整形器的输出数据,记录相位调整之后的信息,并根据相位插值模块的精度,输出相应数据位宽的相位调整信号;相位差值模块根据相位调整信号,调整采样时钟的相位,跟踪接收端数据的变化,最终实现对接收端数据的正确采集。校验模块完成采样同步模块所输出数据的校验,以表明当前系统是否自适应收敛,处于稳定工作的状态。同时根据校验模块的输出信号,可验证误码率指标。Based on the above modules, the input signal with a rate of 8.1Gbps is synchronized into parallel data through the sampling synchronization module; the phase detector judges the phase relationship between the sampling clock and the data bit according to the parallel data, and outputs the signal to adjust the phase of the sampling clock according to the phase relationship "Lead" and "lag" signals; the majority voter combines multiple samples of the "lead" and "lag" signals produced by the phase detector to output a result with greater confidence; a digital filter scales and sums the output of the majority voter Integral operation, the proportional path data and the integral path data are finally added to obtain the output data of the digital filter; the data shaper compresses the data output by the digital filter, reduces the jump range of its value, and converts the amplitude information into a duty cycle At the same time, the high-pass filter is used to shape the quantization noise and filter out the low-frequency part; the phase accumulator continuously accumulates the output data of the data shaper, records the information after phase adjustment, and outputs the phase of the corresponding data bit width according to the accuracy of the phase interpolation module Adjust the signal; the phase difference module adjusts the phase of the sampling clock according to the phase adjustment signal, tracks the change of the data at the receiving end, and finally realizes the correct collection of the data at the receiving end. The verification module completes the verification of the data output by the sampling synchronization module to indicate whether the current system is adaptively converged and is in a stable working state. At the same time, according to the output signal of the verification module, the bit error rate index can be verified.

在本发明的实施例中,采样同步模块100采用1/2速率的过采样方案,使用两个边沿采样时钟和两个数据采样时钟,来分别采集同步边沿位信息和数据位信息。In the embodiment of the present invention, the sampling synchronization module 100 adopts a 1/2 rate oversampling scheme, and uses two edge sampling clocks and two data sampling clocks to collect synchronization edge bit information and data bit information respectively.

在本发明的实施例中,鉴相器根据并行数据来判决采样时钟和数据位之间的相位关系的判决公式为:In an embodiment of the present invention, the phase detector judges the phase relationship between the sampling clock and the data bit according to the parallel data as follows:

其中,E0为第一个边沿采样时钟采集的信息,E1为第二个边沿采样时钟采集的信息,D0为第一个数据采样时钟采集的信息,表示异或运算,鉴相器对相邻的一组数据位信息和边沿位信息进行逻辑运算,输出采样时钟相位的“超前”和“滞后”信息。Among them, E0 is the information collected by the first edge sampling clock, E1 is the information collected by the second edge sampling clock, D0 is the information collected by the first data sampling clock, Indicates an exclusive OR operation. The phase detector performs logical operations on a group of adjacent data bit information and edge bit information, and outputs the "advanced" and "lag" information of the sampling clock phase.

在本发明的实施例中,多数表决器的判决计算公式为:In an embodiment of the present invention, the judgment calculation formula of the majority voter is:

其中,upi表示第i位数据鉴相为超前信号,dni表示第i位数据鉴相为滞后信号,upsig表示k组数据中超前信号数量多于滞后信号数量,dnsig表示k组数据中滞后信号数量多于超前信号数量,up_dn为多数表决器输出值,多数表决器第一阶段将分别统计k个超前和滞后信号的数量,第二阶段对两个信号的数量作比较,若k组数据中超前信号数量多于滞后信号数量时,多数表决器输出一个超前信号,反之,则输出一个滞后信号,在超前信号数量多于滞后信号数量相等时,多数表决器输出无动作信号,代表不做任何相位调整。Among them, up i means that the phase detection of the i-th data is an advanced signal, dn i means that the phase detection of the i-th data is a lagging signal, up sig means that the number of leading signals in k sets of data is more than that of lagging signals, and dn sig means k sets of data The number of lagging signals is more than the number of leading signals, and up_dn is the output value of the majority voter. The first stage of the majority voter will count the number of k leading and lagging signals respectively. The second stage compares the numbers of the two signals. If k When the number of leading signals in the group data is more than the number of lagging signals, the majority of voters output a leading signal, otherwise, they output a lagging signal. No phasing is done.

在本发明的实施例中,如图2所示,数字滤波器400进一步用于,多数表决器的输出数据分别经过比例路径和积分路径进行运算,比例路径将数据进行带符号位左移,实现2的幂次放大;积分路径将数据在每个时钟周期进行求和,并对求和数据进行带符号位右移,实现2的幂次缩小,比例路径数据和积分路径数据进行带符号数的相加运算,得到数字滤波器的输出数据。In the embodiment of the present invention, as shown in FIG. 2 , the digital filter 400 is further used to perform operations on the output data of the majority voter through the proportional path and the integral path respectively, and the proportional path shifts the data to the left with a signed bit to realize The power of 2 is enlarged; the integral path sums the data in each clock cycle, and the signed bit of the summed data is shifted to the right to realize the power of 2 reduction, and the proportional path data and the integral path data are signed. Addition operation to obtain the output data of the digital filter.

数字滤波器400的具体计算过程为:输入为m位的X信号和反馈的m位信号相加得到m+1位的量化器输入信号V,取其最高有效位(MSB)即可完成1位量化过程。剩余的m位信号,代表了量化误差信号的负值,存储在位宽为m的寄存器中,在下一个时钟周期与m位的输入信号X相加。数字滤波器改变数字滤波器输出数据结构,压缩幅值。在不丢失数据信息的前提下,减小了相位调整信号的振幅,提高了数字数字滤波器输出数据的精度。The specific calculation process of the digital filter 400 is as follows: the input is an m-bit X signal and the feedback m-bit signal is added to obtain an m+1-bit quantizer input signal V, and the most significant bit (MSB) can be used to complete 1 bit quantification process. The remaining m-bit signal, which represents the negative value of the quantization error signal, is stored in a register with a bit width of m, and is added to the m-bit input signal X in the next clock cycle. The digital filter changes the output data structure of the digital filter and compresses the amplitude. On the premise of not losing data information, the amplitude of the phase adjustment signal is reduced, and the precision of the output data of the digital digital filter is improved.

在本发明的实施例中,相位插值模块700提供四相采样时钟,采样时钟周期为串行数据周期的二分之一,且四相采样时钟之间各相差固定的Π/2相位。In the embodiment of the present invention, the phase interpolation module 700 provides four-phase sampling clocks, the period of the sampling clock is half of the period of the serial data, and the phase difference between the four-phase sampling clocks is fixed by Π/2.

在本发明的实施例中,校验模块800进一步用于,任取输入端的连续32位串行数据,经过32个时钟后依次填充至0-31位寄存器中,当前检验电路1+X28+X31产生后续正确的数据,再将生成的数据与采样数据作异或处理,观察异或结果,确定当前采样数据是否正确,X表示移位寄存器的第n位。In the embodiment of the present invention, the verification module 800 is further used to randomly take the continuous 32-bit serial data at the input end, and fill them into the 0-31 bit registers sequentially after 32 clocks. The current verification circuit 1+X 28 + X 31 generates follow-up correct data, and then performs XOR processing on the generated data and sampled data, observes the XOR result, and determines whether the current sampled data is correct, and X represents the nth bit of the shift register.

具体而言,由1+X28+X31码型的PRBS信号生成原理可知,输出的数据取决于第28位与第31位的异或结果,同时由于PRBS生成电路为一循环结构,第28位与第31位的异或结果还作为第0位寄存器的输入,所以后续数据流的产生取决于0-31位寄存器内部所存的数据。因此校验电路的原理显而易见,即只要在生成的循环数据中,任取逻辑上正确产生的连续32位数据,经过32个时钟后依次填充至0-31位寄存器中,当前电路即可产生后续正确的数据。此时再将生成的数据与采样数据作异或处理,观察异或结果,即可得知当前采样数据是否正确。Specifically, it can be seen from the PRBS signal generation principle of 1+X 28 +X 31 pattern that the output data depends on the XOR result of the 28th bit and the 31st bit, and because the PRBS generation circuit is a cyclic structure, the 28th bit The XOR result of the bit and the 31st bit is also used as the input of the 0th bit register, so the generation of the subsequent data stream depends on the data stored in the 0-31 bit register. Therefore, the principle of the verification circuit is obvious, that is, as long as any continuous 32-bit data generated logically correctly is taken from the generated cyclic data, and filled into the 0-31 bit registers in turn after 32 clocks, the current circuit can generate follow-up correct data. At this time, XOR processing is performed on the generated data and the sampled data, and the XOR result is observed to know whether the current sampled data is correct.

本发明在电路实现阶段,对关键路径进行分析,由于数字滤波器、数据整形器和相位累积器三部分,每一部分均含有一个求和电路,因此在求和电路中会出现寄存器打拍寄存数据的结构,即从数字滤波器的寄存器出发至相位累计电路寄存器的路径,称为关键路径。对关键路径的建立时间和保持时间进行时序分析,在综合考虑算法性能和时序的合理性之后,将数据整形器的求和逻辑放置为反馈支路上,以获得最大限度地指标提升。In the circuit realization stage, the present invention analyzes the critical path. Since each of the three parts of the digital filter, the data shaper and the phase accumulator contains a summation circuit, there will be a register beating and registering data in the summation circuit. The structure, that is, the path from the register of the digital filter to the register of the phase accumulation circuit is called the critical path. Timing analysis is performed on the setup time and hold time of the critical path. After comprehensively considering the rationality of the algorithm performance and timing, the summation logic of the data shaper is placed on the feedback branch to obtain the maximum index improvement.

本发明方法的工作原理如下:采样同步模块通过四相采样时钟,采集8.1Gbps的串行数据,分为数据位信息和边沿位信息两类,并分别同步为并行数据。鉴相器通过对数据位信息和边沿位信息进行逻辑运算,生成相位误差信号“超前”和“滞后”。多数表决器对并行的相位误差信号压缩,选择置信度最高结果输出。之后,数字滤波器和数据整形器对多数表决器的输出数据进行低通滤波,并整形滤除高频噪声,同时实现对频差的学习和积累。最终在相位累积器中形成相位调整信号,并传输至相位插值模块,调整采样时钟相位,实现系统闭环。该电路系统具备自适应调整功能,在系统启动初期,即使采样时钟的相位未处于理想时刻,但是在电路系统的自适应调整下,系统逐渐收敛,趋于稳定,采样时钟的相位逐渐趋向于信号眼图睁开最大的地方,即信号误码率最低的地方。The working principle of the method of the present invention is as follows: the sampling synchronization module collects 8.1Gbps serial data through the four-phase sampling clock, which is divided into two types of data bit information and edge bit information, and is synchronized into parallel data respectively. The phase detector generates phase error signals "lead" and "lag" by performing logical operations on the data bit information and edge bit information. The majority voter compresses the parallel phase error signal, and selects the result with the highest confidence to output. Afterwards, the digital filter and data shaper perform low-pass filtering on the output data of the majority voter, and shape and filter out high-frequency noise, and at the same time realize the learning and accumulation of frequency difference. Finally, a phase adjustment signal is formed in the phase accumulator and transmitted to the phase interpolation module to adjust the phase of the sampling clock to realize a closed-loop system. The circuit system has the function of self-adaptive adjustment. At the initial stage of system startup, even if the phase of the sampling clock is not at the ideal time, under the self-adaptive adjustment of the circuit system, the system gradually converges and tends to be stable, and the phase of the sampling clock gradually tends to the signal Where the eye opening is largest, that is, where the bit error rate of the signal is lowest.

将上述时钟数据恢复关键电路系统应用于8.1Gbps eDP高速显示接口,算法流程如图3所示,包括如下步骤:Apply the above key circuit system of clock data recovery to the 8.1Gbps eDP high-speed display interface, the algorithm flow is shown in Figure 3, including the following steps:

(1)采样同步模块使用四相且各相差固定的Π/2相位的采样时钟,来采样输入的8.1Gbps串行数据,如图4所示。一个周期内,可采样两个数据位信息和两个边沿位信息。但是为了降低核心电路的工作频率,再次将数据同步整形,分别同步为9位的边沿位信息和8位的数据位信息。边沿位信息比数据位信息多一位,其意义为可通过异或逻辑得到相邻bit之间是否存在跳变沿出现,只有在存在跳变沿信息的情况下时,才进行相位信息的判断。(1) The sampling synchronization module uses four-phase sampling clocks with fixed phase differences of Π/2 to sample the input 8.1Gbps serial data, as shown in FIG. 4 . In one cycle, two data bit information and two edge bit information can be sampled. However, in order to reduce the operating frequency of the core circuit, the data is reshaped synchronously, and is synchronized into 9-bit edge bit information and 8-bit data bit information respectively. The edge bit information is one bit more than the data bit information, which means that whether there is a transition edge between adjacent bits can be obtained through XOR logic, and the phase information is judged only when there is transition edge information .

(2)鉴相器对9位的边沿位信息和8位的数据位信息进行逻辑运算,每两位数据之间的判决关系如式(1)所示。(2) The phase detector performs logical operations on the 9-bit edge bit information and 8-bit data bit information, and the decision relationship between every two bits of data is shown in formula (1).

分别得到两组8位宽的表示相位“超前”和“滞后”的信息,每一bit位代表当前bit与采样时钟相位之间的关系。Two groups of 8-bit wide information indicating phase "advance" and "lag" are respectively obtained, and each bit represents the relationship between the current bit and the phase of the sampling clock.

(3)此时,多数表决器也被设计为8位宽,将分别统计两组8位宽的“超前”和“滞后”信息的数量,再经过比较器之后,输出数量最大的信息,该信息代表最终的相位误差关系。(3) At this time, the majority voter is also designed to be 8-bit wide, and will count the number of two groups of 8-bit wide "advanced" and "lag" information respectively, and after passing through the comparator, the information with the largest number will be output. The information represents the final phase error relationship.

(4)数字滤波器接收到多数表决器输出的信号后,经过比例路径和积分路径处理,其中比例路径通过带符号左移操作扩增数据8倍,积分路径通过带符号右移操作缩减数据32倍。带符号的移位操作分为两种情况:在对正数进行运算时可直接进行移位,而对负数进行运算时,需先进行位扩展,之后取补码再进行移位操作,最后对移位后的数据再次取补码,得到运算之后的负数。积分路径在每个时钟周期累积一次运算之后的数据,并保存在寄存器堆中,可持续提供频差分量,来推动相位调整。比例路径和积分路径的数据相加可得数字滤波器最终的输出结果。(4) After the digital filter receives the signal output by the majority of voters, it is processed by the proportional path and the integral path. The proportional path amplifies the data by 8 times through the signed left shift operation, and the integral path reduces the data by 32 through the signed right shift operation. times. The signed shift operation is divided into two cases: when operating on a positive number, the shift can be performed directly, while when operating on a negative number, it is necessary to perform bit expansion first, then take the complement code and then perform the shift operation, and finally perform the shift operation on the negative number The shifted data is complemented again to obtain the negative number after the operation. The integration path accumulates the data after an operation every clock cycle and saves it in the register file, continuously providing frequency difference components to promote phase adjustment. The data of the proportional path and the integral path are added to obtain the final output result of the digital filter.

(5)数据整形器的阈值被设计为1/16,在电路设计层面,数据整形器的位宽为4位,因此,只需截取数字滤波器最终的输出结果中高于4位的数据作为输出结果,而余下的低4位则继续参与数据整形器中累加电路的运算,如图5所示。X[n]为数据整形器的输入数据,Y[n]为输出数据,m则在本发明中为4。(5) The threshold of the data shaper is designed to be 1/16. At the circuit design level, the bit width of the data shaper is 4 bits. Therefore, it is only necessary to intercept the data higher than 4 bits in the final output result of the digital filter as output As a result, the remaining lower 4 bits continue to participate in the operation of the accumulation circuit in the data shaper, as shown in FIG. 5 . X[n] is the input data of the data shaper, Y[n] is the output data, and m is 4 in the present invention.

(6)相位累积器根据相位插值模块的精度,被设计为1/64,因此相位累积器的输出数据范围为0-63,针对相位调整信息的正负值情况,相位累积器的工作流程如图6所示,当存在频差时,相位调整信息会持续向一个方向调整,若相位调整信息为正值时,相位累积器的输出值从0递增至最大值64时,更新为0。若相位调整信息为负值时,相位累积器的输出值从63递减至最小值0时,更新为63。(6) The phase accumulator is designed to be 1/64 according to the accuracy of the phase interpolation module, so the output data range of the phase accumulator is 0-63. For the positive and negative values of the phase adjustment information, the workflow of the phase accumulator is as follows As shown in Figure 6, when there is a frequency difference, the phase adjustment information will continue to be adjusted in one direction. If the phase adjustment information is positive, the output value of the phase accumulator will be updated to 0 when it increases from 0 to the maximum value of 64. If the phase adjustment information is a negative value, when the output value of the phase accumulator decreases from 63 to the minimum value of 0, it is updated to 63.

(7)当发送端和接收端存在正向频差时,相位累积器的输出规律性地从0递增至最大值63时,clk_out与ref_clk的正相偏移达到最大值1UI(123ps),此时clk_out时钟切换为ref_clk反相,如图6所示。当发送端和接收端存在负向频差时,相位累积器的输出规律性地从63递减至最小值0时,clk_out与ref_clk的负相偏移达到最大值为1UI(123ps),clk_out时钟切换为ref_clk反相,四相采样时钟则以clk_out为基准时钟生成。(7) When there is a positive frequency difference between the transmitting end and the receiving end, when the output of the phase accumulator increases regularly from 0 to the maximum value of 63, the positive phase offset between clk_out and ref_clk reaches the maximum value of 1UI (123ps), which When the clk_out clock is switched to ref_clk inversion, as shown in Figure 6. When there is a negative frequency difference between the sending end and the receiving end, when the output of the phase accumulator regularly decreases from 63 to the minimum value of 0, the negative phase offset between clk_out and ref_clk reaches a maximum value of 1UI (123ps), and the clk_out clock switches It is inverted for ref_clk, and the four-phase sampling clock is generated with clk_out as the reference clock.

基于上述算法流程,本发明电路形成负反馈系统,系统启动之后可实现自适应调整,以跟踪频差和噪声。Based on the above algorithm flow, the circuit of the present invention forms a negative feedback system, and after the system is started, it can realize self-adaptive adjustment to track frequency difference and noise.

为了验证本发明提供方案的实际效果,对本发明系统分别进行理论分析和电路仿真实验,得到如图8所示噪声容限(JTOL)数据。图8中最上面的折线为电路仿真数据,中间的曲线为理论分析结果,最下面的虚线为8.1Gbps eDP协议标准,电路仿真数据与理论分析结果相近,代表本设计的合理性,且均高于协议标准,代表本设计的有效性。In order to verify the actual effect of the solution provided by the present invention, theoretical analysis and circuit simulation experiments are respectively carried out on the system of the present invention, and the noise tolerance (JTOL) data shown in FIG. 8 is obtained. The uppermost broken line in Figure 8 is the circuit simulation data, the middle curve is the theoretical analysis result, and the bottom dotted line is the 8.1Gbps eDP protocol standard. The circuit simulation data is similar to the theoretical analysis result, representing the rationality of this design, and both are high Based on the protocol standard, it represents the effectiveness of this design.

同时本发明与近年来的两篇文献对比,在噪声容限和频差指标方面具有一定优势。文献《A2.68mW/Gbps,1.62-8.1Gb/s Receiver for Embedded DisplayPortVersion1.4b to Support14dB Channel Loss》基于10nm工艺的流片后实测,噪声容限为0.45UIpp@10MHz,频差为1500ppm。文献《一种环路带宽自适应调整的时钟数据恢复电路》基于55nm工艺的仿真测试,噪声容限为0.55UIpp@10MHz。本发明基于40nm工艺的仿真测试,0.74UIpp@10MHz,频差为1800ppm。具体如下表所示。At the same time, compared with the two documents in recent years, the present invention has certain advantages in terms of noise tolerance and frequency difference index. The document "A2.68mW/Gbps, 1.62-8.1Gb/s Receiver for Embedded DisplayPortVersion1.4b to Support14dB Channel Loss" is based on the actual measurement after tape-out of the 10nm process, the noise margin is 0.45UIpp@10MHz, and the frequency difference is 1500ppm. The literature "A Clock Data Recovery Circuit with Adaptive Adjustment of Loop Bandwidth" is based on the simulation test of the 55nm process, and the noise margin is 0.55UIpp@10MHz. The present invention is based on the simulation test of 40nm process, 0.74UIpp@10MHz, and the frequency difference is 1800ppm. The details are shown in the table below.

综上,本发明提供的一种面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路的设计方法及其系统,相较于现有技术,有较为明显的优势。To sum up, the present invention provides a design method and system for a key circuit for clock data recovery at the receiving end of an 8.1Gbps eDP high-speed display interface, which has obvious advantages compared with the prior art.

本发明实施例的面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路系统,通过采样同步模块将8.1Gbps的输入信号同步为并行数据。之后鉴相器和多数表决器对并行数据和采样时钟进行相位比较,产生相位误差信号。相位误差信号再通过数字滤波器和数据整形器滤除高频噪声抖动,最终在相位累积器中形成相位调整信号。相位调整信号传输至相位插值模块,调整采样时钟相位,实现系统闭环。本发明的系统结构中,鉴相器结构简单,具有较低的功耗和面积,同时数据整形器可提高数据精度,有效抑制系统震荡,增加系统的鲁棒性。The embodiment of the present invention is oriented to the 8.1Gbps eDP high-speed display interface receiving end clock data recovery key circuit system, and the 8.1Gbps input signal is synchronized into parallel data through the sampling synchronization module. Afterwards, the phase detector and the majority voter compare the phases of the parallel data and the sampling clock to generate a phase error signal. The phase error signal passes through a digital filter and a data shaper to filter out high-frequency noise and jitter, and finally forms a phase adjustment signal in a phase accumulator. The phase adjustment signal is transmitted to the phase interpolation module to adjust the phase of the sampling clock to realize the closed loop of the system. In the system structure of the present invention, the phase detector has a simple structure and has low power consumption and area, and at the same time, the data shaper can improve data accuracy, effectively suppress system oscillation, and increase system robustness.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或N个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or N embodiments or examples in an appropriate manner. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“N个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present invention, "N" means at least two, such as two, three, etc., unless otherwise specifically defined.

Claims (7)

1.一种面向8.1Gbps eDP高速显示接口接收端时钟数据恢复关键电路系统,其特征在于,包括:1. A key circuit system for clock data recovery at the receiving end of an 8.1Gbps eDP high-speed display interface, characterized in that it includes: 采样同步模块,所述采样同步模块的输入端与输入串行信号相连,用于将8.1Gbps的输入信号同步为并行数据;A sampling synchronization module, the input terminal of the sampling synchronization module is connected to the input serial signal, and is used to synchronize the input signal of 8.1Gbps into parallel data; 鉴相器,所述鉴相器的输入端与所述采样同步模块的输出端相连,用于根据所述并行数据来判决采样时钟和数据位之间的相位关系,并根据相位关系输出调整采样时钟相位的多个超前和滞后信号;A phase detector, the input end of the phase detector is connected to the output end of the sampling synchronization module, and is used to judge the phase relationship between the sampling clock and the data bit according to the parallel data, and adjust the sampling according to the phase relationship output Multiple lead and lag signals for clock phase; 多数表决器,所述多数表决器的输入端与所述鉴相器的输出端相连,用于对所述鉴相器产生的多个超前和滞后信号样本进行判决,输出相位误差信号;A majority voter, the input end of the majority voter is connected to the output end of the phase detector, and is used to judge a plurality of leading and lagging signal samples generated by the phase detector, and output a phase error signal; 数字滤波器,所述数字滤波器的输入端与所述多数表决器的输出端相连,用于对所述多数表决器输出的相位误差信号进行比例和积分运算,通过比例路径数据和积分路径数据最终相加得到所述数字滤波器的输出数据;A digital filter, the input end of the digital filter is connected to the output end of the majority voter, and is used to perform proportional and integral operations on the phase error signal output by the majority voter, through the proportional path data and the integral path data Finally add to obtain the output data of the digital filter; 数据整形器,所述数据整形器的输入端与所述数字滤波器的输出端相连,用于压缩所述数字滤波器的输出数据,减小输出数据数值的跳变幅度,将幅值信息转换为占空比信息,通过高通滤波器整形量化噪声,滤除低频部分;A data shaper, the input end of the data shaper is connected to the output end of the digital filter, which is used to compress the output data of the digital filter, reduce the jump range of the output data value, and convert the amplitude information For the duty cycle information, the high-pass filter is used to shape the quantization noise and filter out the low-frequency part; 相位累积器,所述相位累积器的输入端与所述数据整形器的输出端相连,输出端与相位插值模块的输入端相连,用于根据数据整形器的输出数据,记录相位调整后的信息,并根据所述相位插值模块的精度,输出相应数据位宽的相位调整信号;A phase accumulator, the input end of the phase accumulator is connected to the output end of the data shaper, and the output end is connected to the input end of the phase interpolation module, which is used to record the phase-adjusted information according to the output data of the data shaper , and output a phase adjustment signal corresponding to the data bit width according to the accuracy of the phase interpolation module; 所述相位插值模块,所述相位插值模块的输出端与所述采样同步模块的另一输入端相连,用于根据所述相位调整信号,调整所述采样同步模块采样时钟的相位;The phase interpolation module, the output terminal of the phase interpolation module is connected to the other input terminal of the sampling synchronization module, and is used to adjust the phase of the sampling clock of the sampling synchronization module according to the phase adjustment signal; 校验模块,所述校验模块的输入端与所述采样同步模块的另一个输出端相连,输出端输出检验信号和输出数据,用于对所述采样同步模块输出数据的校验,确定系统是否自适应收敛,并根据所述检验信号验证误码率指标。A verification module, the input end of the verification module is connected to the other output end of the sampling synchronization module, and the output end outputs a verification signal and output data, which are used to verify the output data of the sampling synchronization module and determine the system Whether to self-adaptively converge, and verify the bit error rate index according to the verification signal. 2.根据权利要求1所述的系统,其特征在于,所述采样同步模块进一步用于采用1/2速率的过采样方案,使用两个边沿采样时钟和两个数据采样时钟,分别采集同步边沿位信息和数据位信息。2. The system according to claim 1, wherein the sampling synchronization module is further used to adopt a 1/2 rate oversampling scheme, using two edge sampling clocks and two data sampling clocks to collect synchronous edges respectively bit information and data bit information. 3.根据权利要求1所述的系统,其特征在于,所述鉴相器根据所述并行数据来判决采样时钟和数据位之间的相位关系的判决公式为:3. The system according to claim 1, wherein the phase detector judges the phase relationship between the sampling clock and the data bits according to the parallel data as follows: 其中,E0为第一个边沿采样时钟采集的信息,E1为第二个边沿采样时钟采集的信息,D0为第一个数据采样时钟采集的信息,表示异或运算,所述鉴相器对相邻的一组数据位信息和边沿位信息进行逻辑运算,输出采样时钟相位的“超前”和“滞后”信息。Among them, E0 is the information collected by the first edge sampling clock, E1 is the information collected by the second edge sampling clock, D0 is the information collected by the first data sampling clock, Indicates an XOR operation, and the phase detector performs logic operations on a group of adjacent data bit information and edge bit information, and outputs "advance" and "lag" information of the sampling clock phase. 4.根据权利要求1所述的系统,其特征在于,所述多数表决器的判决计算公式为:4. system according to claim 1, is characterized in that, the judgment calculation formula of described majority voter is: 其中,upi表示第i位数据鉴相为超前信号,dni表示第i位数据鉴相为滞后信号,upsig表示k组数据中超前信号数量多于滞后信号数量,dnsig表示k组数据中滞后信号数量多于超前信号数量,up_dn为多数表决器输出值,多数表决器第一阶段将分别统计k个超前和滞后信号的数量,第二阶段对两个信号的数量作比较,若k组数据中超前信号数量多于滞后信号数量时,所述多数表决器输出一个超前信号,反之,则输出一个滞后信号,在超前信号数量多于滞后信号数量相等时,多数表决器输出无动作信号,代表不做任何相位调整。Among them, up i means that the i-th data phase detection is a leading signal, dn i means that the i-th data phase detection is a lagging signal, up sig means that the number of leading signals in k sets of data is more than the number of lagging signals, and dn sig means k sets of data The number of lagging signals is more than the number of leading signals, and up_dn is the output value of the majority voter. The first stage of the majority voter will count the number of k leading and lagging signals respectively. The second stage compares the numbers of the two signals. If k When the number of leading signals in the group data is more than the number of lagging signals, the majority voter outputs a leading signal; otherwise, it outputs a lagging signal. When the number of leading signals is equal to the number of lagging signals, the majority of voting devices output no action signal , which means no phase adjustment. 5.根据权利要求1所述的系统,其特征在于,所述数字滤波器进一步用于,所述多数表决器的输出数据分别经过比例路径和积分路径进行运算,比例路径将数据进行带符号位左移,实现2的幂次放大;积分路径将数据在每个时钟周期进行求和,并对求和数据进行带符号位右移,实现2的幂次缩小,比例路径数据和积分路径数据进行带符号数的相加运算,得到所述数字滤波器的输出数据。5. The system according to claim 1, wherein the digital filter is further used for, the output data of the majority voter is calculated through the proportional path and the integral path respectively, and the proportional path carries out the data with sign bit Shift to the left to achieve power-of-two amplification; the integral path sums the data at each clock cycle, and shifts the summed data to the right with a signed bit to realize power-of-two reduction, and the proportional path data and the integral path data are The addition operation of signed numbers is used to obtain the output data of the digital filter. 6.根据权利要求1所述的系统,其特征在于,所述相位插值模块提供四相采样时钟,采样时钟周期为串行数据周期的二分之一,且四相采样时钟之间各相差固定的Π/2相位。6. The system according to claim 1, wherein the phase interpolation module provides a four-phase sampling clock, the sampling clock period is 1/2 of the serial data period, and each phase difference between the four-phase sampling clocks is fixed Π/2 phase of . 7.根据权利要求1所述的系统,其特征在于,所述校验模块进一步用于,任取输入端的连续32位串行数据,经过32个时钟后依次填充至0-31位寄存器中,当前检验电路1+X28+X31产生后续正确的数据,再将生成的数据与采样数据作异或处理,观察异或结果,确定当前采样数据是否正确,其中,X表示移位寄存器的第n位。7. The system according to claim 1, wherein the verification module is further used to randomly take the continuous 32-bit serial data at the input end, and fill in the 0-31 bit registers sequentially after 32 clocks, The current inspection circuit 1+X 28 +X 31 generates subsequent correct data, and then performs XOR processing on the generated data and the sampled data, observes the XOR result, and determines whether the current sampled data is correct, where X represents the first n bits.
CN202310712731.8A 2023-06-15 2023-06-15 8.1Gbps eDP high-speed display interface receiving end clock data recovery key circuit system Pending CN116707521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310712731.8A CN116707521A (en) 2023-06-15 2023-06-15 8.1Gbps eDP high-speed display interface receiving end clock data recovery key circuit system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310712731.8A CN116707521A (en) 2023-06-15 2023-06-15 8.1Gbps eDP high-speed display interface receiving end clock data recovery key circuit system

Publications (1)

Publication Number Publication Date
CN116707521A true CN116707521A (en) 2023-09-05

Family

ID=87844752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310712731.8A Pending CN116707521A (en) 2023-06-15 2023-06-15 8.1Gbps eDP high-speed display interface receiving end clock data recovery key circuit system

Country Status (1)

Country Link
CN (1) CN116707521A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117254894A (en) * 2023-11-20 2023-12-19 西安智多晶微电子有限公司 Method and device for automatically correcting sampling phase of high-speed serial signal and electronic equipment
CN117375642A (en) * 2023-12-06 2024-01-09 杭州长川科技股份有限公司 Signal transmitting device, tester and signal output method thereof
CN117783836B (en) * 2024-02-26 2024-06-11 成都电科星拓科技有限公司 PRBS generation and self-detection system and PRBS self-detection method
CN118631409A (en) * 2024-08-14 2024-09-10 芯动微电子科技(武汉)有限公司 A Serdes data clock recovery method and circuit based on Matlab

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117254894A (en) * 2023-11-20 2023-12-19 西安智多晶微电子有限公司 Method and device for automatically correcting sampling phase of high-speed serial signal and electronic equipment
CN117254894B (en) * 2023-11-20 2024-03-19 西安智多晶微电子有限公司 Method and device for automatically correcting sampling phase of high-speed serial signal and electronic equipment
CN117375642A (en) * 2023-12-06 2024-01-09 杭州长川科技股份有限公司 Signal transmitting device, tester and signal output method thereof
CN117375642B (en) * 2023-12-06 2024-04-02 杭州长川科技股份有限公司 Signal transmitting device, tester and signal output method thereof
CN117783836B (en) * 2024-02-26 2024-06-11 成都电科星拓科技有限公司 PRBS generation and self-detection system and PRBS self-detection method
CN118631409A (en) * 2024-08-14 2024-09-10 芯动微电子科技(武汉)有限公司 A Serdes data clock recovery method and circuit based on Matlab
CN118631409B (en) * 2024-08-14 2024-12-03 芯动微电子科技(武汉)有限公司 A Serdes data clock recovery method and circuit based on Matlab

Similar Documents

Publication Publication Date Title
CN116707521A (en) 8.1Gbps eDP high-speed display interface receiving end clock data recovery key circuit system
US8149980B2 (en) System and method for implementing a phase detector to support a data transmission procedure
Loh et al. A 3x9 Gb/s shared, all-digital CDR for high-speed, high-density I/O
US7366270B2 (en) PLL/DLL dual loop data synchronization utilizing a granular FIFO fill level indicator
CN104113740B (en) Mixed format signal optical fiber transmission device
KR101300659B1 (en) Receiver having a equalizer and equalizing method thereof
JP4064630B2 (en) Low voltage differential receiver that is not affected by skew
US7482841B1 (en) Differential bang-bang phase detector (BBPD) with latency reduction
JP5086014B2 (en) Data recovery method and data recovery circuit
CN102801414B (en) For the bang-bang phase discriminator of half rate clock data recovery circuit
CN108270436B (en) Control code latch circuit and clock data recovery circuit
TW200952342A (en) System and method for implementing a digital phase-locked loop
US7916822B2 (en) Method and apparatus for reducing latency in a clock and data recovery (CDR) circuit
US20090190690A1 (en) Communication system
JP5286845B2 (en) Data recovery circuit
CN106936531A (en) A kind of multi-disc is based on the synchronous method of JESD204B agreements ADC
CN1224178C (en) Antinoise and burst mode receiving equipment and method for recovering clock signal and its data
CN107317644A (en) A kind of compatible burst and the frame-synchronizing device of continuous data
JP5610540B2 (en) Serial communication interface circuit and parallel serial conversion circuit
US7209848B2 (en) Pulse stretching architecture for phase alignment for high speed data acquisition
US7194057B2 (en) System and method of oversampling high speed clock/data recovery
US7321647B2 (en) Clock extracting circuit and clock extracting method
US7436919B2 (en) Methods and apparatus for bit synchronizing data transferred across a multi-pin asynchronous serial interface
JP2006109082A (en) Data transmitting/receiving method and data transmitter/receiver
JP3581584B2 (en) Delay amount correction circuit, ATM exchange, and delay amount correction method

Legal Events

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