[go: up one dir, main page]

CN114142852B - High-speed burst mode clock data recovery circuit suitable for PAM4 signal - Google Patents

High-speed burst mode clock data recovery circuit suitable for PAM4 signal Download PDF

Info

Publication number
CN114142852B
CN114142852B CN202111406737.XA CN202111406737A CN114142852B CN 114142852 B CN114142852 B CN 114142852B CN 202111406737 A CN202111406737 A CN 202111406737A CN 114142852 B CN114142852 B CN 114142852B
Authority
CN
China
Prior art keywords
phase
sampling
signal
clock
circuit
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.)
Active
Application number
CN202111406737.XA
Other languages
Chinese (zh)
Other versions
CN114142852A (en
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.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
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 Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN202111406737.XA priority Critical patent/CN114142852B/en
Publication of CN114142852A publication Critical patent/CN114142852A/en
Application granted granted Critical
Publication of CN114142852B publication Critical patent/CN114142852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H03L7/091Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal the phase or frequency detector using a sampling device
    • 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
    • H03L7/093Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal using special filtering or amplification characteristics in the loop
    • 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/16Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
    • H03L7/18Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/60Receivers
    • H04B10/66Non-coherent receivers, e.g. using direct detection
    • H04B10/69Electrical arrangements in the receiver

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)

Abstract

本发明公开了一种适用于PAM4信号的高速突发模式时钟数据恢复电路,包括:采样判决电路、鉴相电路、多数表决电路、过采样逻辑单元、数字相位控制模块、数字环路滤波器、正交时钟产生电路和相位合成模块;过采样逻辑单元控制环路锁定模式在过采样模式和鉴相锁定模式之间的切换,对PAM4数据信号量化结果进行过采样并输出控制信号。本发明由于增加了过采样锁定环路,对起始编码序列快速采样,确定大致的时钟相位,配合二进制鉴相器锁定环路具有较小带宽的锁定机制,实现了低抖动接收。本发明在过采样模式下的采样单元将复用原本用于进行边缘采样的采样器以及PAM4解码的部分采样器,无需额外的采样电路,在实现环路快速锁定的同时降低了系统功耗。

Figure 202111406737

The invention discloses a high-speed burst mode clock data recovery circuit suitable for PAM4 signals, including: a sampling judgment circuit, a phase detection circuit, a majority voting circuit, an oversampling logic unit, a digital phase control module, a digital loop filter, Quadrature clock generation circuit and phase synthesis module; the oversampling logic unit controls the switching of the loop locking mode between the oversampling mode and the phase detection locking mode, oversamples the PAM4 data signal quantization result and outputs the control signal. Due to the addition of an oversampling locked loop, the invention quickly samples the initial coded sequence to determine a rough clock phase, cooperates with a locking mechanism with a smaller bandwidth in the locked loop of a binary phase detector, and realizes low-jitter reception. The sampling unit in the oversampling mode of the present invention will reuse the sampler originally used for edge sampling and part of the sampler for PAM4 decoding, without the need for additional sampling circuits, and reduces system power consumption while realizing fast loop locking.

Figure 202111406737

Description

一种适用于PAM4信号的高速突发模式时钟数据恢复电路A High Speed Burst Mode Clock Data Recovery Circuit for PAM4 Signals

技术领域technical field

本发明属于光通信和集成电路领域,更具体地,涉及一种适用于PAM4信号的高速突发模式时钟数据恢复电路。The invention belongs to the fields of optical communication and integrated circuits, and more specifically relates to a high-speed burst mode clock data recovery circuit suitable for PAM4 signals.

背景技术Background technique

时钟数据恢复电路(clock and data recovery,简称CDR)在串行通信系统中扮演着至关重要的作用。在高速串行通信系统中,信道上仅传输串行数据,并不传送时钟信号,数据接收端接收数据信号并进行时钟恢复。时钟数据恢复电路作用即是根据参考时钟,把时钟从数据信号中提取出来,然后将恢复时钟用于对接收数据进行重定时,得到符合规范的数据接收结果。A clock and data recovery circuit (CDR for short) plays a vital role in a serial communication system. In a high-speed serial communication system, only serial data is transmitted on the channel, and no clock signal is transmitted, and the data receiving end receives the data signal and performs clock recovery. The function of the clock data recovery circuit is to extract the clock from the data signal according to the reference clock, and then use the recovered clock to retime the received data to obtain a data reception result that meets the specification.

PAM4信号的使用提高了数据速率,并且接收机对解码后的三路数据信号进行同时鉴相,提高了鉴相密度。如图1所示,现有技术的PAM4 CDR多采用Bang Bang鉴相器(简称BBPD)和数字环路滤波器构成,如Changzhi Yu等人在2020年发表在期刊IEEE Journal ofSolid-State Circuits中的架构。然而,为了降低恢复时钟信号的抖动,通常需要将环路带宽设置很小以满足通信标准需求,这使得系统稳定需要经过很长的时间。然而在突发模式的PAM4 CDR中,需要实现快速环路跟踪响应。The use of the PAM4 signal increases the data rate, and the receiver performs simultaneous phase detection on the decoded three-way data signals, which improves the phase detection density. As shown in Figure 1, most PAM4 CDRs in the prior art are composed of a Bang Bang Phase Detector (BBPD for short) and a digital loop filter, as Changzhi Yu et al published in the journal IEEE Journal of Solid-State Circuits in 2020 architecture. However, in order to reduce the jitter of the recovered clock signal, it is usually necessary to set the loop bandwidth to be small to meet the requirements of the communication standard, which makes it take a long time for the system to stabilize. In PAM4 CDR in burst mode, however, a fast loop tracking response needs to be achieved.

在非归零码(None-Return-to-Zero)NRZ数据格式下,实现突发模式接收一种比较常用的方法为Gated-VCO,将输入信号经过逻辑门注入进振荡器中,实现快速锁定。另一个常见方法为Time-to-Digital Converter,将相位误差转化为数字信号,并进行快速相位锁定。这两种方法中需要使用逻辑门进行数字运算,因此仅适用于NRZ格式。一种实现快速环路跟踪响应的方法是采用过采样模式。然而对于高速突发模式下的PAM4数据恢复,需要高速的较高分辨率的ADC单元,这使电路设计的复杂度升高并且提高了电路功耗。In the non-return-to-zero code (None-Return-to-Zero) NRZ data format, a common method to achieve burst mode reception is Gated-VCO, which injects the input signal into the oscillator through a logic gate to achieve fast locking . Another common method is Time-to-Digital Converter, which converts the phase error into a digital signal and performs fast phase locking. Both of these methods require the use of logic gates for number crunching and are therefore only applicable to the NRZ format. One way to achieve fast loop tracking response is to use oversampling mode. However, for PAM4 data recovery in high-speed burst mode, a high-speed and relatively high-resolution ADC unit is required, which increases the complexity of circuit design and increases circuit power consumption.

发明内容Contents of the invention

针对现有技术的缺陷,本发明的目的在于提供一种适用于PAM4信号的高速突发模式时钟数据恢复电路及接收机,旨在解决现有技术中使用过采样模式下引入ADC后电路导致复杂度和功耗大幅度增加的问题。Aiming at the defects of the prior art, the purpose of the present invention is to provide a high-speed burst mode clock data recovery circuit and receiver suitable for PAM4 signals, aiming to solve the complex circuit caused by the introduction of the ADC in the oversampling mode in the prior art. The problem of a substantial increase in speed and power consumption.

本发明提供了一种适用于PAM4信号的高速突发模式时钟数据恢复电路,包括:采样判决电路、鉴相电路、多数表决电路、过采样逻辑单元、数字相位控制模块、数字环路滤波器、正交时钟产生电路和相位合成模块;采样判决电路的第一输入端用于接收外部输入的PAM4数据信号,所述采样判决电路的第二输入端连接至所述相位合成模块的输出端,用于根据设置参考电压对输入电平进行数字量化并将量化结果输出;鉴相电路的输入端连接至所述采样判决电路的输出端,用于接收经过量化后的数据信号和相位合成模块输出的时钟信号,并根据两者之间的相位关系生成时钟相对于数据信号的超前电压信号和滞后电压信号;多数表决电路的输入端连接至所述鉴相电路的输出端,用于将鉴相器的输出数据进行合并后输出唯一的时钟相对于数据信号的超前电压信号和滞后电压信号;所述过采样逻辑单元的输入端连接至所述采样判决电路的输出端,用于控制环路锁定模式在过采样模式和鉴相锁定模式之间的切换,对PAM4数据信号量化结果进行过采样并输出控制信号;数字相位控制模块的第一输入端连接至所述多数表决电路的输出端,第二输入端连接至所述过采样逻辑单元的输出端,用于根据多数表决器输出的鉴相结果和所述控制信号输出数字逻辑信号;数字环路滤波器的输入端连接至所述数字相位控制模块的输出端,用于对所述数字逻辑信号进行低通滤波处理;所述正交时钟产生电路用于接收外部输入的参考时钟信号,将外部时钟进行滤波并产生正交的两路时钟信号;相位合成模块的第一输入端连接至所述数字环路滤波器的输出端,所述相位合成模块的第二输入端连接至所述正交时钟产生电路的输出端,用于根据所述数字逻辑信号对两路正交时钟进行移相,并将移相后的时钟信号发送给所述采样判决电路和所述鉴相器。The present invention provides a high-speed burst mode clock data recovery circuit suitable for PAM4 signals, including: a sampling judgment circuit, a phase detection circuit, a majority voting circuit, an oversampling logic unit, a digital phase control module, a digital loop filter, Orthogonal clock generation circuit and phase synthesis module; the first input end of sampling judgment circuit is used to receive the PAM4 data signal of external input, and the second input end of described sampling judgment circuit is connected to the output end of described phase synthesis module, with It is used to digitally quantize the input level according to the set reference voltage and output the quantized result; the input terminal of the phase detection circuit is connected to the output terminal of the sampling decision circuit, and is used to receive the quantized data signal and the output signal of the phase synthesis module Clock signal, and according to the phase relationship between the two, generate the clock’s leading voltage signal and lagging voltage signal relative to the data signal; the input end of the majority voting circuit is connected to the output end of the phase detector circuit, which is used to connect the phase detector The output data of the output data is combined to output a unique clock with respect to the leading voltage signal and the lagging voltage signal of the data signal; the input end of the oversampling logic unit is connected to the output end of the sampling decision circuit for controlling the loop locking mode Switching between the oversampling mode and the phase detection and locking mode, the PAM4 data signal quantization result is oversampled and the control signal is output; the first input terminal of the digital phase control module is connected to the output terminal of the majority voting circuit, and the second The input end is connected to the output end of the oversampling logic unit, and is used to output digital logic signals according to the phase discrimination result output by the majority voter and the control signal; the input end of the digital loop filter is connected to the digital phase control The output terminal of the module is used to perform low-pass filtering processing on the digital logic signal; the quadrature clock generation circuit is used to receive an externally input reference clock signal, filter the external clock and generate two orthogonal clock signals ; The first input end of the phase synthesis module is connected to the output end of the digital loop filter, and the second input end of the phase synthesis module is connected to the output end of the quadrature clock generation circuit, for according to the The digital logic signal shifts the phases of the two quadrature clocks, and sends the phase-shifted clock signals to the sampling decision circuit and the phase detector.

更进一步地,采样判决电路包括:第一采样器A、第二采样器B、第三采样器C、第四采样器D、第一D触发器DFF_A、第二D触发器DFF_B、第三D触发器DFF_C、第四D触发器DFF_D以及四组两级反相器;所述第一采样器A的第一输入端,所述第二采样器B的第一输入端,所述第三采样器C的第一输入端和所述第四采样器D的第一输入端均用于连接外部的输入信号,所述第一采样器A的第二输入端连接第一参考电压REF1,所述第二采样器B的第二输入端连接第二参考电压REF2,所述第三采样器C的第二输入端连接第三参考电压REF3,所述第四采样器D的第二输入端连接所述第二参考电压REF2;所述第一D触发器DFF_A的第一输入端连接至所述第一采样器A的输出端,所述第二D触发器DFF_B的第一输入端连接至所述第二采样器B的输出端,所述第三D触发器DFF_C的第一输入端连接至所述第三采样器C的输出端,所述第四D触发器DFF_D的第一输入端连接至所述第四采样器D的输出端;所述第一D触发器DFF_A的第二输入端、所述第二D触发器DFF_B的第二输入端以及所述第三D触发器DFF_C的第二输入端均用于连接数据采样时钟,所述第四D触发器DFF_D的输出端用于连接边沿采样时钟;第一组两级反相器的输入端连接至所述第一D触发器DFF_A的输出端,第一组两级反相器的输出端用于输出数据A;第二组两级反相器的输入端连接至所述第二D触发器DFF_B的输出端,第二组两级反相器的输出端用于输出数据B;第三组两级反相器的输入端连接至所述第三D触发器DFF_C的输出端,第三组两级反相器的输出端用于输出数据C;第四组两级反相器的输入端连接至所述第四D触发器DFF_D的输出端,第四组两级反相器的输出端用于输出边缘A;其中,所述第一参考电压REF1小于所述第二参考电压REF2,所述第二参考电压REF2小于所述第三参考电压REF3。Furthermore, the sampling decision circuit includes: a first sampler A, a second sampler B, a third sampler C, a fourth sampler D, a first D flip-flop DFF_A, a second D flip-flop DFF_B, a third D Flip-flop DFF_C, fourth D flip-flop DFF_D and four sets of two-stage inverters; the first input terminal of the first sampler A, the first input terminal of the second sampler B, the third sampler The first input terminal of the first sampler C and the first input terminal of the fourth sampler D are both used to connect external input signals, the second input terminal of the first sampler A is connected to the first reference voltage REF1, the The second input end of the second sampler B is connected to the second reference voltage REF2, the second input end of the third sampler C is connected to the third reference voltage REF3, and the second input end of the fourth sampler D is connected to the The second reference voltage REF2; the first input end of the first D flip-flop DFF_A is connected to the output end of the first sampler A, and the first input end of the second D flip-flop DFF_B is connected to the The output terminal of the second sampler B, the first input terminal of the third D flip-flop DFF_C is connected to the output terminal of the third sampler C, the first input terminal of the fourth D flip-flop DFF_D is connected to The output terminal of the fourth sampler D; the second input terminal of the first D flip-flop DFF_A, the second input terminal of the second D flip-flop DFF_B and the second input terminal of the third D flip-flop DFF_C The input ends are used to connect the data sampling clock, the output end of the fourth D flip-flop DFF_D is used to connect the edge sampling clock; the input ends of the first group of two-stage inverters are connected to the first D flip-flop DFF_A Output terminal, the output terminal of the first group of two-stage inverters is used to output data A; the input terminal of the second group of two-stage inverters is connected to the output terminal of the second D flip-flop DFF_B, the second group of two-stage inverters The output terminal of the inverter is used to output data B; the input terminal of the third group of two-stage inverters is connected to the output terminal of the third D flip-flop DFF_C, and the output terminal of the third group of two-stage inverters is used for Output data C; the input end of the fourth group of two-stage inverters is connected to the output end of the fourth D flip-flop DFF_D, and the output end of the fourth group of two-stage inverters is used to output edge A; wherein, the The first reference voltage REF1 is smaller than the second reference voltage REF2, and the second reference voltage REF2 is smaller than the third reference voltage REF3.

更进一步地,鉴相电路包括:Bang Bang鉴相器;所述Bang Bang鉴相器包括异或门A和异或门B;异或门A的第一输入端连接至所述第四组两级反相器的输出端,第二输入端连接至所述第二组两级反相器的输出端,所述异或门A输出用于调整时钟相位并实现相位锁定的时钟超前信号;所述异或门B的第一输入端连接至所述第二组两级反相器的输出端,第二输入端连接上一采样点的数据,所述异或门B输出用于调整时钟相位并实现相位锁定的时钟滞后信号。Further, the phase detection circuit includes: a Bang Bang phase detector; the Bang Bang phase detector includes an exclusive OR gate A and an exclusive OR gate B; the first input end of the exclusive OR gate A is connected to the fourth group of two The output end of the stage inverter, the second input end is connected to the output end of the second group of two-stage inverters, and the exclusive OR gate A outputs a clock advance signal for adjusting the clock phase and realizing phase locking; The first input end of the exclusive OR gate B is connected to the output end of the second group of two-stage inverters, the second input end is connected to the data of the previous sampling point, and the output of the exclusive OR gate B is used to adjust the clock phase And achieve phase-locked clock lag signal.

更进一步地,过采样逻辑单元包括:过采样控制逻辑模块,用于实现在过采样模式下的相位锁定逻辑,并根据相位结果判断是否处于接近锁定的状态:若处于接近锁定状态,过采样控制逻辑模块将内部寄存器的值赋予数字相位控制模块。Furthermore, the oversampling logic unit includes: an oversampling control logic module, which is used to realize the phase locking logic in the oversampling mode, and judge whether it is in a state close to locking according to the phase result: if it is in a state close to locking, the oversampling control The logic module assigns the value of the internal register to the digital phase control module.

更进一步地,过采样控制逻辑模块包括:非门、或门、或非门、与门和寄存器;所述非门的输入端与第三采样信号Sample[2]相连,所述非门的输出端与所述或门的第一输入端相连,所述或门的第二输入端与第二采样信号Sample[1]相连,所述或门的输出端和与门的第一输入端相连,所述与门的第二输入端与第一采样信号Sample[0]相连,所述与门的输出端与所述寄存器的第一输入端连接,用于输出相位超前信号;或非门的第一输入端与所述第二采样信号Sample[1]相连,所述或非门的第二输入端与所述第一采样信号Sample[0]相连,所述或非门的输出端与所述寄存器的第二输入端连接,用于输出相位滞后信号,所述寄存器用于根据所述相位滞后信号和所述相位超前信号输出相位控制信号。Further, the oversampling control logic module includes: a NOT gate, an OR gate, a NOR gate, an AND gate and a register; the input terminal of the NOT gate is connected with the third sampling signal Sample[2], and the output of the NOT gate The terminal is connected with the first input terminal of the OR gate, the second input terminal of the OR gate is connected with the second sampling signal Sample[1], the output terminal of the OR gate is connected with the first input terminal of the AND gate, The second input end of the AND gate is connected to the first sampling signal Sample[0], and the output end of the AND gate is connected to the first input end of the register for outputting a phase leading signal; the first NOR gate An input terminal is connected to the second sampling signal Sample[1], a second input terminal of the NOR gate is connected to the first sampling signal Sample[0], an output terminal of the NOR gate is connected to the The second input end of the register is connected to output a phase lag signal, and the register is used to output a phase control signal according to the phase lag signal and the phase lead signal.

更进一步地,相位合成模块包括:四组相位插值单元;其中,两组相位插值单元用于生成0度,90度,180度,270度四个相位的时钟,作为数据采样时钟,分别供给各个采样通道;另外两组相位插值单元用于生成45度,135度,225度,315度四个相位的时钟,作为边缘采样时钟。Furthermore, the phase synthesis module includes: four groups of phase interpolation units; wherein, two groups of phase interpolation units are used to generate clocks with four phases of 0 degree, 90 degrees, 180 degrees and 270 degrees as data sampling clocks, which are respectively supplied to each Sampling channel; the other two sets of phase interpolation units are used to generate clocks with four phases of 45 degrees, 135 degrees, 225 degrees, and 315 degrees as edge sampling clocks.

本发明还提供了一种基于上述的高速突发模式时钟数据恢复电路的过采样逻辑控制方法,包括下述步骤:The present invention also provides an oversampling logic control method based on the above-mentioned high-speed burst mode clock data recovery circuit, comprising the following steps:

(1)判断输入的三个相位判决信号是否为110,若是,则控制CDR进入BBPD锁定模式;若否则进入步骤(2);(1) whether the three phase judgment signals of judging input are 110, if so, then control CDR to enter BBPD locking mode; Otherwise enter step (2);

(2)判断输入的三个相位判决信号是否为111或011或001,若是,则控制减小采样相位并将时钟滞后;若否,则进入步骤(3);(2) judge whether the three phase judgment signals of input are 111 or 011 or 001, if so, then control and reduce sampling phase and clock lag; If not, then enter step (3);

(3)判断输入的三个相位判决信号是否为100或000,若是,则控制增加采样相位,若否则无需相位操作并返回至步骤(1)。(3) Determine whether the three input phase judgment signals are 100 or 000, if so, control to increase the sampling phase, otherwise no phase operation is required and return to step (1).

本发明还提供了一种PAM4接收机,PAM4接收机包括:时钟数据恢复电路、PAM4解码电路和模拟合路器;所述时钟数据恢复电路用于通过提取正确的采样相位并从输入信号中恢复出数据;所述PAM4解码电路用于将采样器中输出的数据A,数据B,数据C,解码为NRZ编码的二进制编码MSB1与LSB1;所述模拟合路器用于将1/4速率的4个采样通道的MSB1,MSB2,MSB3,MSB4融合成串联的一路MSB;并将4个采样通道的LSB1,LSB2,LSB3,LSB4也将融合成串联的一路LSB;其特征在于,所述时钟数据恢复电路为上述的高速突发模式时钟数据恢复电路。The present invention also provides a PAM4 receiver. The PAM4 receiver includes: a clock data recovery circuit, a PAM4 decoding circuit and an analog combiner; output data; the PAM4 decoding circuit is used to decode the data A, data B, and data C output in the sampler into NRZ-coded binary codes MSB1 and LSB1; the analog combiner is used to convert 1/4 rate 4 MSB1, MSB2, MSB3, and MSB4 of four sampling channels are fused into one MSB in series; and LSB1, LSB2, LSB3, and LSB4 of four sampling channels will also be fused into one LSB in series; it is characterized in that the clock data recovery The circuit is the above-mentioned high-speed burst mode clock data recovery circuit.

现有BBPD环路锁定方案中,Razavi等人已经证明,环路带宽与锁定时间之间直接相关。若需要更快的锁定时间,则需要更大的环路带宽。然而通信标准中一般要求CDR环路带宽不宜过大,因此很难通过传统BBPD环路锁定方案实现快速锁定。通过本发明所构思的以上技术方案,与现有技术相比,由于通过复用数据采样单元和改变边沿采样的相位,在BBPD环路锁定模式的基础上引入了过采样锁定模式,回避了现有BBPD环路锁定方案中环路带宽与相位锁定时间之间的折中,可在前导码阶段(Preamble)实现快速相位锁定。同时,由于在过采样快速锁定环路后,可以切换为BBPD锁定模式,使得CDR电路能够保持现有技术中低带宽的优点。In the existing BBPD loop locking scheme, Razavi et al. have proved that there is a direct correlation between the loop bandwidth and the locking time. If faster lock times are required, greater loop bandwidth is required. However, communication standards generally require that the CDR loop bandwidth should not be too large, so it is difficult to achieve fast locking through the traditional BBPD loop locking scheme. Through the above technical scheme conceived by the present invention, compared with the prior art, due to multiplexing the data sampling unit and changing the phase of the edge sampling, the oversampling locking mode is introduced on the basis of the BBPD loop locking mode, avoiding the existing There is a trade-off between loop bandwidth and phase locking time in the BBPD loop locking scheme, and fast phase locking can be achieved in the preamble stage (Preamble). At the same time, since the oversampling fast locked loop can be switched to the BBPD locked mode, the CDR circuit can maintain the advantages of low bandwidth in the prior art.

附图说明Description of drawings

图1是现有技术的PAM4 CDR系统结构图。FIG. 1 is a structural diagram of a PAM4 CDR system in the prior art.

图2是本发明实例中的突发模式下的PAM4 CDR系统结构图。FIG. 2 is a structural diagram of the PAM4 CDR system in the burst mode in the example of the present invention.

图3是本发明实例中的采样判决电路与鉴相器的具体电路结构图。Fig. 3 is a specific circuit structure diagram of the sampling decision circuit and the phase detector in the example of the present invention.

图4是本发明实例中的数字相位控制模块的具体电路结构图。Fig. 4 is a specific circuit structure diagram of the digital phase control module in the example of the present invention.

图5是本发明实例中的数字环路滤波器的具体电路结构图。Fig. 5 is a specific circuit structure diagram of the digital loop filter in the example of the present invention.

图6是本发明实例中的正交时钟产生电路的具体电路结构图。Fig. 6 is a specific circuit structure diagram of the quadrature clock generation circuit in the example of the present invention.

图7是本发明实例中低功耗快速过采样原理示意图。Fig. 7 is a schematic diagram of the principle of low-power fast over-sampling in the example of the present invention.

图8是环路锁定情况下三个采样数据传统的结果。Figure 8 is the result of the three sample data traditions in the case of loop lock.

图9是一种采样信号超前数据的情况下三个采样数据的结果。FIG. 9 is the result of three sampled data in the case that the sampled signal leads the data.

图10是两种采样信号超前数据的情况下三个采样数据的结果。Figure 10 is the result of three sampled data in the case of two sampled signals leading the data.

图11是两种采样信号滞后数据的情况下三个采样数据的结果。Figure 11 is the result of three sampled data under the condition that two sampled signals lag behind the data.

图12是过采样逻辑单元的逻辑框图。FIG. 12 is a logic block diagram of an oversampling logic unit.

图13是过采样逻辑单元的具体电路结构图。FIG. 13 is a specific circuit structure diagram of the oversampling logic unit.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明基于现有技术采用的Bang Bang鉴相器和数字环路滤波器构成的CDR,引入了过采样逻辑单元,通过改变边沿采样的相位和复用数据采样单元,实现了等效3倍过采样的同时不引入新的采样通道,引入了BBPD锁定模式和过采样锁定模式使突发模式下的PAM4CDR在能快速锁定的同时并且提高了恢复时钟的抖动特性。The present invention is based on the CDR formed by the Bang Bang phase detector and digital loop filter adopted in the prior art, introduces an oversampling logic unit, and realizes an equivalent 3 times oversampling by changing the phase of edge sampling and multiplexing the data sampling unit. Sampling does not introduce a new sampling channel. The introduction of BBPD lock mode and oversampling lock mode enables PAM4CDR in burst mode to lock quickly and improve the jitter characteristics of the recovered clock.

如图2所示,本发明提供的一种适用于PAM4信号的高速突发模式时钟数据恢复电路,其基本架构为:采样判决电路1、鉴相电路2、多数表决电路3、数字相位控制模块5、数字环路滤波器6、正交时钟产生电路7、相位合成模块8。为了实现快速锁定,本发明引入了第二套快速锁定环路,包括:过采样逻辑单元4;As shown in Figure 2, a high-speed burst mode clock data recovery circuit suitable for PAM4 signals provided by the present invention, its basic structure is: sampling decision circuit 1, phase detection circuit 2, majority voting circuit 3, digital phase control module 5. Digital loop filter 6. Quadrature clock generation circuit 7. Phase synthesis module 8. In order to realize fast locking, the present invention introduces a second set of fast locking loops, including: an oversampling logic unit 4;

采样判决电路1,用于接收外部输入PAM4数据信号和相位合成模块输出的时钟信号,并根据信号的最高摆幅A,设置参考电压为0.25A、0.5A以及0.75A,对输入电平进行数字量化,将量化结果发送给鉴相器;Sampling and decision circuit 1, used to receive the external input PAM4 data signal and the clock signal output by the phase synthesis module, and set the reference voltage to 0.25A, 0.5A and 0.75A according to the highest swing A of the signal, and digitally determine the input level Quantize, send the quantized result to the phase detector;

鉴相电路2,用于接收经过量化后的数据信号和相位合成模块输出的时钟信号,并且根据两者之间的相位关系生成时钟相对于数据信号的超前电压信号和滞后电压信号,将时钟数据相位误差电压信号发送给多数表决电路;The phase detection circuit 2 is used to receive the quantized data signal and the clock signal output by the phase synthesis module, and generate a leading voltage signal and a lagging voltage signal of the clock relative to the data signal according to the phase relationship between the two, and convert the clock data The phase error voltage signal is sent to the majority voting circuit;

多数表决电路3,用于接收鉴相器输出,将鉴相器的输出数据进行合并,输出唯一的时钟相对于数据信号的超前电压信号和滞后电压信号,将相位误差结果发送给数字相位控制模块;The majority voting circuit 3 is used to receive the output of the phase detector, combine the output data of the phase detector, output the only clock leading voltage signal and lagging voltage signal relative to the data signal, and send the phase error result to the digital phase control module ;

过采样逻辑单元4,用于控制环路锁定模式在过采样模式即快速锁定模式以及鉴相器锁定模式间的切换,对输入PAM4数据量化结果进行过采样,输出控制信号给数字相位控制模块;The oversampling logic unit 4 is used to control the switching of the loop lock mode between the oversampling mode, that is, the fast lock mode and the phase detector lock mode, oversample the input PAM4 data quantization result, and output the control signal to the digital phase control module;

数字相位控制模块5,用于接收多数表决器输出的鉴相结果以及接收过采样逻辑单元发送的控制信号,根据处于的环路模式的不同(过采样环路模式或者BBPD环路模式),输出控制逻辑信号给相位合成模块或者数字环路滤波器;The digital phase control module 5 is used to receive the phase detection result output by the majority of voters and the control signal sent by the oversampling logic unit, and output according to the different loop modes (oversampling loop mode or BBPD loop mode) in Control logic signal to phase synthesis module or digital loop filter;

数字环路滤波器6,用于接收数字相位控制模块发送的数字逻辑信号并对其进行低通滤波处理,将输出发送给相位合成模块;The digital loop filter 6 is used to receive the digital logic signal sent by the digital phase control module and perform low-pass filtering processing on it, and send the output to the phase synthesis module;

正交时钟产生电路7,用于接收外部输入的参考时钟信号,将外部时钟进行滤波并且产生正交的两路时钟信号,将产生的I/Q两路时钟信号发送给相位合成模块;The quadrature clock generation circuit 7 is used to receive an externally input reference clock signal, filter the external clock and generate two orthogonal clock signals, and send the generated I/Q two-way clock signals to the phase synthesis module;

相位合成模块8,用于接收经过数字环路滤波器滤波后的数字相位控制模块传输的逻辑控制信号,以及两路正交时钟,通过控制逻辑对两路时钟进行移相,并将移相后的时钟信号发送给所述采样判决电路。The phase synthesizing module 8 is used to receive the logic control signal transmitted by the digital phase control module filtered by the digital loop filter, and two quadrature clocks. The two clocks are phase-shifted through the control logic, and the phase-shifted The clock signal is sent to the sampling decision circuit.

本发明提供的高速突发模式时钟数据恢复电路,通过复用数据采样单元和改变边沿采样的相位,在BBPD环路锁定模式的基础上引入了过采样锁定模式,加快了环路锁定的速度,同时在同等锁定速度下可以实现更低的功耗。The high-speed burst mode clock data recovery circuit provided by the present invention introduces an oversampling locking mode on the basis of the BBPD loop locking mode by multiplexing the data sampling unit and changing the phase of edge sampling, thereby accelerating the loop locking speed, At the same time, lower power consumption can be achieved at the same locking speed.

在本发明实施例中,如图3所示,采样判决电路1包括:四个采样器、四个D触发器DFF以及四组两级反相器;其中,采样器用于将输入电平与参考电平做比较,并输出比较结果。In the embodiment of the present invention, as shown in FIG. 3 , the sampling decision circuit 1 includes: four samplers, four D flip-flops DFF and four groups of two-stage inverters; wherein, the sampler is used to compare the input level with the reference The level is compared and the comparison result is output.

四个采样器中的采样器A,采样器B,采样器C用于进行PAM-4信号采样,采样器D用于进行边沿采样。四个采样器的输入端均与输入信号相连,若输入信号为最高电平(比如600mV),则采样器A,B,C,D的阈值电平分别为0.25A,0.5A,0.75A,0.5A;四个采样器的输出分别与D触发器相连,记为DFF_A,DFF_B,DFF_C与DFF_D。DFF_A,DFF_B,DFF_C的采样时钟均与数据采样时钟相连,DFF_D的采样时钟与边缘采样时钟相连。四个D触发器的输出均与两个级联的反相器相连,四组反相器的输出分别称为数据A、数据B、数据C与边缘A,其中,数据A、数据B、数据C分别是t时刻输入信号的采样结果,边缘A是1.125t时刻输入信号的采样结果。Among the four samplers, sampler A, sampler B, and sampler C are used for sampling PAM-4 signals, and sampler D is used for edge sampling. The input terminals of the four samplers are all connected to the input signal. If the input signal is the highest level (for example, 600mV), the threshold levels of the samplers A, B, C, and D are 0.25A, 0.5A, 0.75A, respectively. 0.5A; the outputs of the four samplers are respectively connected to D flip-flops, marked as DFF_A, DFF_B, DFF_C and DFF_D. The sampling clocks of DFF_A, DFF_B, and DFF_C are all connected to the data sampling clock, and the sampling clock of DFF_D is connected to the edge sampling clock. The outputs of the four D flip-flops are all connected to two cascaded inverters, and the outputs of the four sets of inverters are respectively called data A, data B, data C and edge A, where data A, data B, data C is the sampling result of the input signal at time t, and edge A is the sampling result of the input signal at time 1.125t.

在本发明实施例中,如图3所示,鉴相电路2包括:Bang Bang鉴相器;Bang Bang鉴相器由两个高速异或门组成。异或门A的第一输入端连接至第四组两级反相器的输出端,异或门A的第二输入端连接至第二组两级反相器的输出端,异或门A的输出为时钟超前信号。异或门B的第一输入端连接至述第二组两级反相器的输出端,异或门B的第二输入端连接上一采样点的数据,异或门B的输出为时钟滞后信号。异或门产生的时钟超前或者滞后信息,可用于调整系统时钟相位,实现相位锁定。In the embodiment of the present invention, as shown in FIG. 3 , the phase detection circuit 2 includes: a Bang Bang phase detector; the Bang Bang phase detector is composed of two high-speed XOR gates. The first input end of the XOR gate A is connected to the output end of the fourth group of two-stage inverters, the second input end of the XOR gate A is connected to the output end of the second group of two-stage inverters, and the XOR gate A The output of is the clock advance signal. The first input end of the exclusive OR gate B is connected to the output end of the second group of two-stage inverters, the second input end of the exclusive OR gate B is connected to the data of the previous sampling point, and the output of the exclusive OR gate B is a clock delay Signal. The clock advance or lag information generated by the XOR gate can be used to adjust the system clock phase to achieve phase lock.

在本发明实施例中,过采样逻辑单元4输入连接在采样判决电路1之后,输出与数字相位控制模块5相连,从而引入了除BBPD锁定环路以外的过采样锁定环路,过采样模式复用了BBPD锁定环路的数据采样单元和边沿采样单元以及相位合成模块。In the embodiment of the present invention, the input of the oversampling logic unit 4 is connected after the sampling decision circuit 1, and the output is connected with the digital phase control module 5, thereby introducing an oversampling locked loop except the BBPD locked loop, and the oversampling mode complex The data sampling unit, the edge sampling unit and the phase synthesis module of the BBPD locked loop are used.

当CDR初始启动时,CDR将预设处于过采样模式,此时CDR的环路中,仅有采样判决电路1、过采样逻辑单元4、数字相位控制模块5以及相位合成模块8处于工作状态,鉴相电路2,多数表决电路3以及数字环路滤波器6均处于关闭状态;当过采样逻辑单元4判定系统已经接近锁定,过采样逻辑单元4将关闭本模块,并启动鉴相电路2,多数表决电路3以及数字环路滤波器6,构成第二个相位锁定环路。该锁定环路具有小环路带宽的特性,能够带来更好的抖动性能。When the CDR is initially started, the CDR will be in the oversampling mode by default. At this time, in the loop of the CDR, only the sampling decision circuit 1, the oversampling logic unit 4, the digital phase control module 5 and the phase synthesis module 8 are in the working state. The phase detection circuit 2, the majority voting circuit 3 and the digital loop filter 6 are all in an off state; when the oversampling logic unit 4 judges that the system is close to locking, the oversampling logic unit 4 will close the module and start the phase detection circuit 2, The majority voting circuit 3 and the digital loop filter 6 constitute the second phase-locked loop. The locked loop has the characteristic of small loop bandwidth, which can lead to better jitter performance.

在本发明实施例中,如图4所示,数字相位控制模块5包括:钟分频模块与寄存器组,时钟分频模块的实现为一个输入输出短接的D触发器,时钟输入为CDR主时钟,输出信号与寄存器组相连。寄存器组为同步触发逻辑,接收鉴相器的时钟滞后或者时钟超前信息,同时寄存器组可接收过采样寄存器的值。In the embodiment of the present invention, as shown in Figure 4, the digital phase control module 5 includes: a clock frequency division module and a register set, the clock frequency division module is implemented as a D flip-flop with input and output short-circuited, and the clock input is a CDR master Clock, the output signal is connected to the register bank. The register group is a synchronous trigger logic, which receives the clock lag or clock advance information of the phase detector, and at the same time, the register group can receive the value of the oversampling register.

在本发明实施例中,如图5所示,数字环路滤波器6包括:微分路径增益Gprop,积分路径增益Gint,积分器1/(1-Z-1),积分路径延时Z-Nint以及累加器Σ;其中,输入数字信号同时连接微分路径增益与积分路径增益;积分路径增益的输出与积分器的输入相连;积分器的输出与积分路径延时相连;微分路径增益的输出与积分路径延时的输出连接在累加器的输入端,累加器的输出端为数字环路滤波器的输出数字信号。In the embodiment of the present invention, as shown in FIG. 5 , the digital loop filter 6 includes: a differential path gain G prop , an integral path gain G int , an integrator 1/(1-Z -1 ), and an integral path delay Z -Nint and accumulator Σ; wherein, the input digital signal is connected to the differential path gain and the integral path gain at the same time; the output of the integral path gain is connected to the input of the integrator; the output of the integrator is connected to the integral path delay; the output of the differential path gain The output delayed by the integration path is connected to the input terminal of the accumulator, and the output terminal of the accumulator is the output digital signal of the digital loop filter.

在本发明实施例中,如图6所示,正交时钟产生电路7包括:滤波网络,其中滤波网络由电容C与电阻R组成;输入时钟信号为差分信号,记为in+与in-;输出时钟信号为正交差分信号,记为I+,Q+,I-,Q-;电阻R1的A端与in+相连,B端与I+相连;电容C1的上极板与in+相连,下极板与Q+相连;电阻R2的A端与地相连,B端与Q+相连;电容C2的上极板与地相连,下极板与I-相连;电阻R3的A端与in-相连,B端与I-相连;电容C3的上极板与in-相连,下极板与Q-相连;电阻R4的A端与地相连,B端与Q-相连;电容C4的上极板与地相连,下极板与I+相连。In the embodiment of the present invention, as shown in FIG. 6 , the quadrature clock generation circuit 7 includes: a filter network, wherein the filter network is composed of a capacitor C and a resistor R; the input clock signal is a differential signal, which is recorded as in+ and in-; the output The clock signal is an orthogonal differential signal, denoted as I+, Q+, I-, Q-; the A terminal of the resistor R1 is connected to in+, and the B terminal is connected to I+; the upper plate of the capacitor C1 is connected to in+, and the lower plate is connected to Q+ The A terminal of the resistor R2 is connected to the ground, and the B terminal is connected to the Q+; the upper plate of the capacitor C2 is connected to the ground, and the lower plate is connected to I-; the A terminal of the resistor R3 is connected to in-, and the B terminal is connected to I- The upper plate of capacitor C3 is connected to in-, the lower plate is connected to Q-; the A terminal of resistor R4 is connected to ground, and the B terminal is connected to Q-; the upper plate of capacitor C4 is connected to ground, and the lower plate Connected to I+.

在本发明实施例中,相位合成模块8包括四组相位插值单元;其中,四组相位插值单元相互独立,通过不同的数字控制信号进行控制。四组相位插值单元中的两组负责采样时钟相位生成,由于每组相位插值单元输出为差分信号,因此可生成0度,90度,180度,270度四个相位的时钟,作为数据采样时钟,分别供给各个采样通道。类似的,另外两组相位插值单元将生成45度,135度,225度,315度四个相位的时钟,作为边缘采样时钟。In the embodiment of the present invention, the phase synthesis module 8 includes four groups of phase interpolation units; wherein, the four groups of phase interpolation units are independent of each other and controlled by different digital control signals. Two of the four groups of phase interpolation units are responsible for the phase generation of the sampling clock. Since the output of each group of phase interpolation units is a differential signal, it can generate clocks with four phases of 0 degrees, 90 degrees, 180 degrees, and 270 degrees as data sampling clocks. , respectively for each sampling channel. Similarly, the other two sets of phase interpolation units will generate clocks with four phases of 45 degrees, 135 degrees, 225 degrees, and 315 degrees as edge sampling clocks.

在本发明实施例中,在突发模式下时,过采样逻辑单元4和控制逻辑控制环路处于过采样模式下,图7给出了本发明中采用的低功耗快速过采样原理示意图,在本发明实例中,根据IEEE的规范,在28Gbuad PAM-4突发模式下,Preamble将是与PAM4数据等高的NRZ格式交替0、1。因此在28Gbps下,该信号可以等效为一个14GHz的时钟。在28Gbaud 4时间交织采样通道CDR中,采样主时钟为7GHz。若我们将7GHz时钟进行12等分相位,则此时等效于对输入数据进行6倍过采样。仔细观察每个相位的采样结果,由于输入数据为规则交替01,因此6倍过采样得到的数据也具有一定的规律性。若我们将数据以三个为一组,可发现每三个采样数据的结果将不停重复。因此,可对过采样进行简化,仅使用3个采样相位,实现等效3倍过采样。In the embodiment of the present invention, when in the burst mode, the oversampling logic unit 4 and the control logic control loop are in the oversampling mode. FIG. 7 shows a schematic diagram of the low-power fast oversampling principle adopted in the present invention. In the example of the present invention, according to the IEEE specification, in the 28Gbuad PAM-4 burst mode, the Preamble will be an NRZ format with the same height as the PAM4 data alternating 0 and 1. Therefore, at 28Gbps, this signal can be equivalent to a 14GHz clock. In 28Gbaud 4 time-interleaved sampling channel CDR, the sampling master clock is 7GHz. If we divide the 7GHz clock into 12 equal phases, it is equivalent to oversampling the input data by 6 times. Carefully observe the sampling results of each phase. Since the input data is regularly alternating 01, the data obtained by 6 times oversampling also has certain regularity. If we group the data into three groups, we can find that the results of every three sampled data will repeat continuously. Therefore, the oversampling can be simplified, and only three sampling phases are used to realize an equivalent 3 times oversampling.

本发明的突发模式下的PAM4 CDR,在没有额外增加采样电路的情况下,仅靠采样电路的复用实现了快速过采样功能,相对于传统方法而言:避免了产生多个等间距相位,减小了电路复杂度。根据数据分析,仅使用了3个相位即实现了3倍等效过采样,传统方式下,需要6个相位并且在同等锁定速度下,可实现更低的功耗。The PAM4 CDR in the burst mode of the present invention realizes the fast oversampling function only by the multiplexing of the sampling circuit without adding additional sampling circuits. Compared with the traditional method: it avoids the generation of multiple equidistant phases , reducing the circuit complexity. According to data analysis, only 3 phases are used to achieve 3 times equivalent oversampling. In the traditional way, 6 phases are required and at the same locking speed, lower power consumption can be achieved.

在本发明实例中,根据数据分析来判断出时钟数据的超前滞后关系,图8为环路锁定情况,在此情况下,每三个采样数据的结果为110并且不停重复;图9为一种采样信号超前数据的情况,在此情况下,每三个采样数据的结果为111并且不停重复;图10为两种采样信号超前数据的情况,在此情况下,每三个采样数据的结果为011或者001并且不停重复;图11为两种采样信号滞后数据的情况,在此情况下,每三个采样数据的结果为100或者000并且不停重复。因此,通过对过采样进行简化,仅使用3个采样相位,实现等效3倍过采样。In the example of the present invention, the lead-lag relation of the clock data is judged according to the data analysis. Fig. 8 is a loop locked situation. In this case, the result of every three sampled data is 110 and repeats non-stop; A situation where the sampling signal leads the data, in this case, the result of every three sampling data is 111 and repeats non-stop; Figure 10 shows the situation where the two sampling signals lead the data, in this case, every three sampling data The result is 011 or 001 and repeats non-stop; Figure 11 shows the case of two sampled signal lag data, in this case, the result of every three sampled data is 100 or 000 and repeats non-stop. Therefore, by simplifying the oversampling, only three sampling phases are used to realize an equivalent 3 times oversampling.

图12为过采样逻辑单元4的逻辑框图。在CDR电路处于复位状态时,过采样逻辑单元4将控制CDR处于过采样模式,若此时输入的三个相位判决信号是110,则说明CDR处于接近锁定的状态,过采样逻辑单元4将控制CDR进入BBPD锁定模式;当输入的三个判决信号是111/011/001时,说明相位超前,此时将滞后时钟;当数据为100或000时,说明相位滞后,此时将增加采样相位。系统将持续重复这一过程,直到锁定为止(判决信号为110)。FIG. 12 is a logic block diagram of the oversampling logic unit 4 . When the CDR circuit is in the reset state, the oversampling logic unit 4 will control the CDR to be in the oversampling mode. If the three phase judgment signals input at this time are 110, it means that the CDR is in a state close to locking, and the oversampling logic unit 4 will control CDR enters BBPD lock mode; when the three input judgment signals are 111/011/001, it means that the phase is ahead, and the clock will lag behind; when the data is 100 or 000, it means that the phase is lagging, and the sampling phase will be increased at this time. The system will continue to repeat this process until it is locked (the decision signal is 110).

图13为过采样逻辑单元4的具体实施电路框图,采样的三个判决信号这里分别设置为Sample[2],Sample[1],Sample[0]。为了实现高速,过采样逻辑单元4的所有电路需要工作在很高的频率之下。因此为了减小逻辑单元引入的延迟,对判断超前与滞后的逻辑进行了优化,仅需要4个逻辑门即可实现判断,最长路径下仅需3个逻辑门。寄存器控制为一个可综合的8位寄存器组。当相位超前信号为高电平(VDD)的时候,寄存器控制将减小8位寄存器组的值;当相位落后信号为高电平(VDD)的时候,寄存器控制将增大8位寄存器组的值。FIG. 13 is a specific implementation circuit block diagram of the oversampling logic unit 4, and the three sampled decision signals are respectively set as Sample[2], Sample[1], and Sample[0]. In order to achieve high speed, all circuits of the oversampling logic unit 4 need to work at a very high frequency. Therefore, in order to reduce the delay introduced by the logic unit, the logic of judging the lead and lag is optimized, and only 4 logic gates are needed to realize the judgment, and only 3 logic gates are needed in the longest path. The register control is a synthesizable bank of 8-bit registers. When the phase leading signal is high level (VDD), the register control will decrease the value of the 8-bit register group; when the phase lagging signal is high level (VDD), the register control will increase the value of the 8-bit register group value.

通过采用以上过采样逻辑,避免了处理传统BBPD相位探测方式中的环路带宽与环路锁定时间之间的折中,使得整个环路相位锁定时间的减小不依赖于提高环路带宽。基于此,采用本发明方式的CDR芯片实例可以在维持5MHz的环路带宽的同时,实现7ns内的相位锁定。By adopting the above oversampling logic, the compromise between loop bandwidth and loop lock time in the traditional BBPD phase detection method is avoided, so that the reduction of the entire loop phase lock time does not depend on increasing the loop bandwidth. Based on this, the CDR chip example adopting the method of the present invention can realize phase locking within 7 ns while maintaining a loop bandwidth of 5 MHz.

本领域的技术人员容易理解,以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。It is easy for those skilled in the art to understand that the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention, All should be included within the protection scope of the present invention.

Claims (8)

1. A high speed burst mode clock data recovery circuit adapted for use with a PAM4 signal, comprising: the phase detection circuit comprises a sampling decision circuit (1), a phase discrimination circuit (2), a majority voting circuit (3), an oversampling logic unit (4), a digital phase control module (5), a digital loop filter (6), a quadrature clock generation circuit (7) and a phase synthesis module (8);
a first input end of the sampling decision circuit (1) is used for receiving an externally input PAM4 data signal, and a second input end of the sampling decision circuit (1) is connected to an output end of the phase synthesis module (8) and used for carrying out digital quantization on an input level according to a set reference voltage and outputting a quantization result;
the input end of the phase demodulation circuit (2) is connected to the output end of the sampling decision circuit (1) and is used for receiving the quantized data signal and the clock signal output by the phase synthesis module and generating a leading voltage signal and a lagging voltage signal of the clock relative to the data signal according to the phase relation between the quantized data signal and the clock signal;
the input end of the majority voting circuit (3) is connected to the output end of the phase detection circuit (2) and is used for outputting a unique leading voltage signal and a unique lagging voltage signal of a clock relative to a data signal after output data of the phase detection circuit are combined;
the input end of the over-sampling logic unit (4) is connected to the output end of the sampling decision circuit (1) and is used for controlling the switching of a loop locking mode between an over-sampling mode and a phase discrimination locking mode, over-sampling the PAM4 data signal quantization result and outputting a control signal;
a first input end of the digital phase control module (5) is connected to an output end of the majority voting circuit (3), and a second input end of the digital phase control module is connected to an output end of the oversampling logic unit (4) and used for outputting a digital logic signal according to a phase discrimination result output by the majority voter and the control signal;
the input end of the digital loop filter (6) is connected to the output end of the digital phase control module (5) and is used for performing low-pass filtering processing on the digital logic signal;
the orthogonal clock generating circuit (7) is used for receiving an externally input reference clock signal, filtering an external clock and generating two orthogonal clock signals;
a first input end of the phase synthesis module (8) is connected to an output end of the digital loop filter (6), and a second input end of the phase synthesis module (8) is connected to an output end of the quadrature clock generation circuit (7), and is configured to shift phases of two quadrature clocks according to the digital logic signal, and send a clock signal after the phase shift to the sampling decision circuit and the phase discriminator;
when the phase discrimination circuit is initially started, the phase discrimination circuit is preset to be in an oversampling mode, only a sampling decision circuit (1), an oversampling logic unit (4), a digital phase control module (5) and a phase synthesis module (8) in a loop are in a working state, and a phase discrimination circuit (2), a majority voting circuit (3) and a digital loop filter (6) are in a closed state; when the sampling logic unit (4) judges that the system is close to locking, the sampling logic unit (4) closes the module and starts the phase discrimination circuit (2), the majority voting circuit (3) and the digital loop filter (6) so as to switch to a phase discrimination locking mode.
2. A high speed burst mode clock data recovery circuit as claimed in claim 1, characterized in that the sampling decision circuit (1) comprises: a first sampler A, a second sampler B, a third sampler C, a fourth sampler D, a first D flip-flop DFF _ A, a second D flip-flop DFF _ B, a third D flip-flop DFF _ C, a fourth D flip-flop DFF _ D and four groups of two-stage inverters;
the first input end of the first sampler A, the first input end of the second sampler B, the first input end of the third sampler C and the first input end of the fourth sampler D are all used for connecting external input signals, the second input end of the first sampler A is connected with a first reference voltage REF1, the second input end of the second sampler B is connected with a second reference voltage REF2, the second input end of the third sampler C is connected with a third reference voltage REF3, and the second input end of the fourth sampler D is connected with the second reference voltage REF2;
a first input terminal of the first D flip-flop DFF _ a is connected to an output terminal of the first sampler a, a first input terminal of the second D flip-flop DFF _ B is connected to an output terminal of the second sampler B, a first input terminal of the third D flip-flop DFF _ C is connected to an output terminal of the third sampler C, and a first input terminal of the fourth D flip-flop DFF _ D is connected to an output terminal of the fourth sampler D; a second input terminal of the first D flip-flop DFF _ a, a second input terminal of the second D flip-flop DFF _ B, and a second input terminal of the third D flip-flop DFF _ C are all used for connecting a data sampling clock, and an output terminal of the fourth D flip-flop DFF _ D is used for connecting an edge sampling clock;
the input end of the first group of two-stage inverters is connected to the output end of the first D flip-flop DFF _ A, and the output end of the first group of two-stage inverters is used for outputting data A; the input end of the second group of two-stage inverters is connected to the output end of the second D flip-flop DFF _ B, and the output end of the second group of two-stage inverters is used for outputting data B; the input end of the third group of two-stage inverters is connected to the output end of the third D flip-flop DFF _ C, and the output end of the third group of two-stage inverters is used for outputting data C; the input end of the fourth group of two-stage inverters is connected to the output end of the fourth D flip-flop DFF _ D, and the output end of the fourth group of two-stage inverters is used for outputting an edge a;
wherein the first reference voltage REF1 is smaller than the second reference voltage REF2, and the second reference voltage REF2 is smaller than the third reference voltage REF3.
3. A high speed burst mode clock data recovery circuit as claimed in claim 2, characterized in that the phase detection circuit (2) comprises: a Bang phase discriminator; the Bang phase discriminator comprises an exclusive-or gate A and an exclusive-or gate B;
the first input end of the exclusive-or gate A is connected to the output end of the fourth group of two-stage inverters, the second input end of the exclusive-or gate A is connected to the output end of the second group of two-stage inverters, and the exclusive-or gate A outputs a clock leading signal for adjusting the clock phase and realizing phase locking;
and the first input end of the exclusive-OR gate B is connected to the output end of the second group of two-stage inverters, the second input end of the exclusive-OR gate B is connected with data of a previous sampling point, and the exclusive-OR gate B outputs a clock lagging signal for adjusting the clock phase and realizing phase locking.
4. A high speed burst mode clock data recovery circuit as claimed in claim 1, characterized in that the oversampling logic unit (4) comprises: the over-sampling control logic module is used for realizing phase locking logic in an over-sampling mode and judging whether the phase locking module is in a close locking state according to a phase result: if the digital phase control module is in a close locking state, the oversampling control logic module gives the value of the internal register to the digital phase control module.
5. The high speed burst mode clock data recovery circuit of claim 4 wherein the oversampling control logic module comprises: NOT gate, OR gate, NOR gate, AND gate and register;
the input end of the NOT gate is connected with a third sampling signal Sample [2], the output end of the NOT gate is connected with the first input end of the OR gate, the second input end of the OR gate is connected with a second sampling signal Sample [1], the output end of the OR gate is connected with the first input end of the AND gate, the second input end of the AND gate is connected with a first sampling signal Sample [0], and the output end of the AND gate is connected with the first input end of the register and used for outputting a phase advance signal; the first input end of the NOR gate is connected with the second sampling signal Sample [1], the second input end of the NOR gate is connected with the first sampling signal Sample [0], the output end of the NOR gate is connected with the second input end of the register and used for outputting a phase lag signal, and the register is used for outputting a phase control signal according to the phase lag signal and the phase lead signal.
6. A high speed burst mode clock data recovery circuit according to any of claims 1 to 5, characterized in that the phase synthesis block (8) comprises: four groups of phase interpolation units;
the two groups of phase interpolation units are used for generating clocks with four phases of 0 degree, 90 degrees, 180 degrees and 270 degrees as data sampling clocks which are respectively supplied to each sampling channel;
the other two groups of phase interpolation units are used for generating clocks with four phases of 45 degrees, 135 degrees, 225 degrees and 315 degrees as edge sampling clocks.
7. An oversampling logic control method based on the high speed burst mode clock data recovery circuit according to any one of claims 1 to 6, comprising the steps of:
(1) Judging whether the three input phase decision signals are 110, if so, controlling the CDR to enter a BBPD locking mode; if not, entering the step (2);
(2) Judging whether the three input phase judgment signals are 111, 011 or 001, if so, controlling to reduce the sampling phase and delaying the clock; if not, entering the step (3);
(3) And (4) judging whether the input three phase judgment signals are 100 or 000, if so, controlling to increase the sampling phase, otherwise, not needing phase operation and returning to the step (1).
8. A PAM4 receiver, the PAM4 receiver comprising: the device comprises a clock data recovery circuit, a PAM4 decoding circuit and an analog combiner;
the clock data recovery circuit is used for recovering data from an input signal by extracting a correct sampling phase; the PAM4 decoding circuit is used for decoding the data A, the data B and the data C output from the sampler into NRZ coded binary codes MSB1 and LSB1; the analog combiner is used for combining MSB1, MSB2, MSB3 and MSB4 of 4 sampling channels with 1/4 rate into a series MSB; and the LSB1, LSB2, LSB3 and LSB4 of the 4 sampling channels are fused into one LSB in series connection; the clock data recovery circuit is the high-speed burst mode clock data recovery circuit according to any one of claims 1 to 6.
CN202111406737.XA 2021-11-24 2021-11-24 High-speed burst mode clock data recovery circuit suitable for PAM4 signal Active CN114142852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111406737.XA CN114142852B (en) 2021-11-24 2021-11-24 High-speed burst mode clock data recovery circuit suitable for PAM4 signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111406737.XA CN114142852B (en) 2021-11-24 2021-11-24 High-speed burst mode clock data recovery circuit suitable for PAM4 signal

Publications (2)

Publication Number Publication Date
CN114142852A CN114142852A (en) 2022-03-04
CN114142852B true CN114142852B (en) 2022-11-22

Family

ID=80391809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111406737.XA Active CN114142852B (en) 2021-11-24 2021-11-24 High-speed burst mode clock data recovery circuit suitable for PAM4 signal

Country Status (1)

Country Link
CN (1) CN114142852B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115694527A (en) * 2022-10-21 2023-02-03 清华大学 Four-level pulse amplitude modulation high-speed serial port transmitter structure based on DAC
CN116318603B (en) * 2023-05-18 2023-08-22 合肥灿芯科技有限公司 Mismatch calibration technology based on data edge detection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301358A (en) * 2015-05-28 2017-01-04 瑞昱半导体股份有限公司 Fast locked clock data recovery device and method thereof
WO2017141258A1 (en) * 2016-02-18 2017-08-24 Shiv Nadar University Method for achieving higher jitter tolerance in a cdr circuit and the cdr circuit thereof
CN109787615A (en) * 2018-12-29 2019-05-21 光梓信息科技(上海)有限公司 Frequency discriminator, PAM4 data clock frequency locking means, restoration methods and circuit
CN113644909A (en) * 2021-08-20 2021-11-12 天津大学 Clock and data recovery circuit for PAM4 receiver

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7292662B2 (en) * 2003-03-26 2007-11-06 Infineon Technologies Ag Feed forward clock and data recovery unit
US7436920B2 (en) * 2004-06-17 2008-10-14 Matisse Networks Burst mode receiver based on charge pump PLL with idle-time loop stabilizer
US8243869B2 (en) * 2006-11-28 2012-08-14 Broadlight Ltd. Burst mode clock and data recovery circuit and method
US8379711B2 (en) * 2009-06-30 2013-02-19 Lsi Corporation Methods and apparatus for decision-feedback equalization with oversampled phase detector
US9397824B1 (en) * 2015-01-28 2016-07-19 Texas Instruments Incorporated Gear shifting from binary phase detector to PAM phase detector in CDR architecture
US20180302264A1 (en) * 2017-04-17 2018-10-18 Intel Corporation Hybrid clock data recovery circuitry for pulse amplitude modulation schemes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301358A (en) * 2015-05-28 2017-01-04 瑞昱半导体股份有限公司 Fast locked clock data recovery device and method thereof
WO2017141258A1 (en) * 2016-02-18 2017-08-24 Shiv Nadar University Method for achieving higher jitter tolerance in a cdr circuit and the cdr circuit thereof
CN109787615A (en) * 2018-12-29 2019-05-21 光梓信息科技(上海)有限公司 Frequency discriminator, PAM4 data clock frequency locking means, restoration methods and circuit
CN113644909A (en) * 2021-08-20 2021-11-12 天津大学 Clock and data recovery circuit for PAM4 receiver

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A 6.5–12.5-Gb/s Half-Rate Single-Loop All-Digital;Changzhi Yu;《 IEEE Journal of Solid-State Circuits》;20200709;第2831 – 2841页 *
The Design Techniques for High-Speed PAM4 Clock and Data Recovery;Qiwen Liao;《 2018 IEEE International Conference on Integrated Circuits, Technologies and Applications (ICTA)》;20190506;第142-143页 *
面向5G通信的高速PAM4信号时钟与数据恢复技术;廖启文;《中兴通讯技术》;20180801;第21-26页 *

Also Published As

Publication number Publication date
CN114142852A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
US9300461B2 (en) Reception circuit
US7486746B2 (en) Clock and data recovery with extended integration cycles
US8300754B2 (en) Clock and data recovery with a data aligner
Park et al. A 6.7–11.2 Gb/s, 2.25 pJ/bit, single-loop referenceless CDR with multi-phase, oversampling PFD in 65-nm CMOS
EP3446403A1 (en) High performance phase locked loop
CN114142852B (en) High-speed burst mode clock data recovery circuit suitable for PAM4 signal
EP1894296A1 (en) Pattern-dependent phase detector for clock recovery
JP3508412B2 (en) Data decoding circuit, voltage controlled oscillation circuit, data decoding device, and electronic device
EP2183674A2 (en) Serial transceiver and communication method used by the serial transceiver
CN113992319B (en) CDR circuit for receiver, duo Binary PAM4 receiver and transmission system
CN103427830B (en) A kind of half-blindness type over-sampling clock data recovery circuit with high lock-in range
US7200782B2 (en) Clock recovery system for encoded serial data with simplified logic and jitter tolerance
CN109150171B (en) A high-speed and low-jitter frequency and phase detector and clock data recovery circuit
Lin et al. A 2.5-Gb/s DLL-Based Burst-Mode Clock and Data Recovery Circuit With $4\times $ Oversampling
US10484218B2 (en) PWM demodulation
CN1161901C (en) Method and circuit for synchronous reception of uplink high-speed data in optical communication system
US6035409A (en) 1000 mb phase picker clock recovery architecture using interleaved phase detectors
US11398826B1 (en) Half rate bang-bang phase detector
KR100975083B1 (en) Serial transceiver and its communication method
Khiarak et al. A 14-Gb/s PAM4 reference-less half-baud-rate CDR
US11444746B1 (en) Phasing detection of asynchronous dividers
WO2006006893A1 (en) Clock and data recovery circuit
Vichienchom et al. A multi-gigabit CMOS data recovery circuit using an analog parallel sampling technique
JP2002232406A (en) Frequency comparator
WO2005099164A1 (en) Clock recovery in an oversampled serial communications system

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
GR01 Patent grant
GR01 Patent grant