[go: up one dir, main page]

CN115276688A - Receiver and equalization method therefor, clock recovery circuit and method, device and medium - Google Patents

Receiver and equalization method therefor, clock recovery circuit and method, device and medium Download PDF

Info

Publication number
CN115276688A
CN115276688A CN202110485936.8A CN202110485936A CN115276688A CN 115276688 A CN115276688 A CN 115276688A CN 202110485936 A CN202110485936 A CN 202110485936A CN 115276688 A CN115276688 A CN 115276688A
Authority
CN
China
Prior art keywords
phase
sampling
circuit
equalization
phase difference
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
CN202110485936.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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110485936.8A priority Critical patent/CN115276688A/en
Publication of CN115276688A publication Critical patent/CN115276688A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/16Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/03Shaping networks in transmitter or receiver, e.g. adaptive shaping networks
    • H04L25/03006Arrangements for removing intersymbol interference
    • H04L25/03012Arrangements for removing intersymbol interference operating in the time domain
    • H04L25/03019Arrangements for removing intersymbol interference operating in the time domain adaptive, i.e. capable of adjustment during data reception
    • H04L25/03082Theoretical aspects of adaptive time domain methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/03Shaping networks in transmitter or receiver, e.g. adaptive shaping networks
    • H04L25/03006Arrangements for removing intersymbol interference
    • H04L2025/0335Arrangements for removing intersymbol interference characterised by the type of transmission
    • H04L2025/03375Passband transmission
    • H04L2025/03401PSK

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The application discloses a receiver and an equalization method thereof, a clock recovery circuit and a method, equipment and a medium thereof, and belongs to the technical field of communication. The receiver comprises a sampling circuit, a TR circuit, an equalization circuit and an equalization coefficient control circuit. The sampling circuit is used for sampling the received signal under the control of the sampling clock signal to obtain a sampling signal; the TR circuit is used for phase discrimination of sampling signals output by the sampling circuit to obtain a phase difference, and adjusting sampling clock signals according to the phase difference; the equalization circuit is provided with N groups of equalization coefficients and is used for carrying out equalization processing on the sampling signal by adopting one group of equalization coefficients corresponding to the phase difference output by the TR circuit in the N groups of equalization coefficients. N is an integer greater than 1; the equalization coefficient control circuit is used for updating a group of equalization coefficients corresponding to the phase difference output by the TR circuit. The equalizing circuit of the receiver can be matched with the optimal response of different sampling positions, and the equalizing performance of the equalizing circuit is improved.

Description

接收机及其均衡方法、时钟恢复电路和方法、设备及介质Receiver and its equalization method, clock recovery circuit and method, device and medium

技术领域technical field

本申请涉及通信技术领域,特别涉及一种接收机及其均衡方法、时钟恢复电路和方法、设备及介质。The present application relates to the technical field of communication, and in particular to a receiver and its equalization method, a clock recovery circuit and method, equipment and media.

背景技术Background technique

通信系统中,发射机向接收机发送数据流。接收机需要从接收到的数据流中提取出时钟信号,并采用提取出来的时钟信号对接收到的数据进行采样,从而恢复出发射机发送的数据。In a communication system, a transmitter sends a stream of data to a receiver. The receiver needs to extract the clock signal from the received data stream, and use the extracted clock signal to sample the received data, so as to recover the data sent by the transmitter.

接收机通常包括采样电路、时钟恢复环路和自适应均衡电路。采样电路用于在采样时钟信号的作用下对接收信号进行采样,得到采样信号。时钟恢复环路用于基于采样信号和采样时钟信号的相位差,对采样时钟信号进行调整,以保证采样时刻数据具有最大的信噪比。自适应均衡电路动态调整自身的均衡系数来适配信道随时间的变化。自适应均衡电路用于采用均衡系数对采样电路输出的采样信号进行均衡处理,得到均衡信号。Receivers typically include sampling circuits, clock recovery loops, and adaptive equalization circuits. The sampling circuit is used for sampling the received signal under the action of the sampling clock signal to obtain the sampling signal. The clock recovery loop is used to adjust the sampling clock signal based on the phase difference between the sampling signal and the sampling clock signal, so as to ensure the maximum signal-to-noise ratio of the data at the sampling moment. The adaptive equalization circuit dynamically adjusts its own equalization coefficients to adapt to channel changes over time. The self-adaptive equalization circuit is used for equalizing the sampling signal output by the sampling circuit by using the equalization coefficient to obtain an equalized signal.

当数据信号和采样时钟信号的相位差在一个较小的范围内时,能过通过该自适应均衡电路获得较好的均衡响应。然而,在通信系统的工作过程中,抖动会使得采样位置产生偏差。采样位置偏差会造成自适应均衡电路出现严重的性能回退,影响通信质量。When the phase difference between the data signal and the sampling clock signal is within a small range, a better equalization response can be obtained through the adaptive equalization circuit. However, during the working process of the communication system, the jitter will make the sampling position deviate. The sampling position deviation will cause serious performance regression of the adaptive equalization circuit and affect the communication quality.

发明内容Contents of the invention

本申请实施例提供了一种接收机及其均衡方法、时钟恢复电路和方法、设备及介质,能够改善均衡电路的均衡性能。Embodiments of the present application provide a receiver and its equalization method, a clock recovery circuit and method, equipment and media, which can improve the equalization performance of the equalization circuit.

第一方面,本申请提供了一种接收机,所述接收机包括采样电路、TR电路、均衡电路和均衡系数控制电路。其中,采样电路用于在采样时钟信号的控制下对接收信号进行采样,得到采样信号;时钟恢复电路用于对所述采样电路输出的采样信号进行鉴相,得到采样信号的相位差,以及根据所述相位差对所述采样时钟信号进行调整;均衡电路具有N组均衡系数,所述均衡电路用于采用所述N组均衡系数中与时钟恢复电路输出的相位差对应的一组均衡系数对所述采样电路输出的所述采样信号进行均衡处理,其中,N为大于1的整数;均衡系数控制电路用于更新所述N组均衡系数中,与所述时钟恢复电路输出的所述相位差对应的一组均衡系数。In a first aspect, the present application provides a receiver, and the receiver includes a sampling circuit, a TR circuit, an equalization circuit and an equalization coefficient control circuit. Wherein, the sampling circuit is used to sample the received signal under the control of the sampling clock signal to obtain a sampling signal; the clock recovery circuit is used to perform phase discrimination on the sampling signal output by the sampling circuit to obtain the phase difference of the sampling signal, and according to The phase difference adjusts the sampling clock signal; the equalization circuit has N groups of equalization coefficients, and the equalization circuit is used to adopt a group of equalization coefficient pairs corresponding to the phase difference output by the clock recovery circuit among the N groups of equalization coefficients The sampling signal output by the sampling circuit is equalized, wherein N is an integer greater than 1; the equalization coefficient control circuit is used to update the phase difference between the N groups of equalization coefficients and the output of the clock recovery circuit The corresponding set of equalization coefficients.

在本申请实施例中,将均衡电路的均衡系数更新与采样位置(即采样信号和所述采样时钟信号的相位差)耦合,每次更新均衡系数时,仅更新与所述时钟恢复电路输出的所述相位差对应的一组均衡系数,使得不同组的均衡系数能够独立更新。由于时钟恢复电路输出的相位差的变化是由抖动产生的,而抖动带来的采样时钟信号的相位变化是随机的,因此,时钟恢复电路每次更新一组的均衡系数也是随机的。并且,在一段时间后,各组均衡系数都得到了更新并且达到收敛。然后对于采样电路输出的采样信号,也采用与时钟恢复电路输出的相位差对应的一组均衡系数进行均衡处理,这样,该均衡电路能够基于不同组的均衡系数匹配到不同采样位置的最优响应,提高均衡电路的均衡性能,进而提高通信质量。In the embodiment of the present application, the update of the equalization coefficient of the equalization circuit is coupled with the sampling position (that is, the phase difference between the sampling signal and the sampling clock signal), and each time the equalization coefficient is updated, only the output of the clock recovery circuit is updated. A group of equalization coefficients corresponding to the phase difference enables independent updating of different groups of equalization coefficients. Since the change of the phase difference output by the clock recovery circuit is caused by jitter, and the phase change of the sampling clock signal brought about by the jitter is random, the clock recovery circuit updates a set of equalization coefficients each time is also random. And, after a period of time, each group of equalization coefficients has been updated and converged. Then, for the sampling signal output by the sampling circuit, a set of equalization coefficients corresponding to the phase difference output by the clock recovery circuit is also used for equalization processing, so that the equalization circuit can match the optimal response of different sampling positions based on different sets of equalization coefficients , improve the equalization performance of the equalization circuit, and then improve the communication quality.

在本申请实施例中,均衡电路具有多个抽头,每组均衡系数所包含的均衡系数的数量等于或者小于均衡电路所包含的抽头的数量。且每组均衡系数对应的抽头相同。In the embodiment of the present application, the equalization circuit has a plurality of taps, and the number of equalization coefficients included in each set of equalization coefficients is equal to or smaller than the number of taps included in the equalization circuit. And the taps corresponding to each group of equalization coefficients are the same.

在一些示例中,所述时钟恢复电路输出的相位差所对应的相位变化区间包括N个子区间,所述N个子区间分别对应所述N组均衡系数中的一组均衡系数。所述均衡系数控制电路包括区间确定子电路和控制子电路。区间确定子电路用于从所述N个子区间中确定相位差所属的目标子区间,控制子电路用于更新所述目标子区间对应的一组均衡系数。In some examples, the phase change interval corresponding to the phase difference output by the clock recovery circuit includes N subintervals, and the N subintervals respectively correspond to a group of equalization coefficients in the N groups of equalization coefficients. The equalization coefficient control circuit includes an interval determination subcircuit and a control subcircuit. The interval determination subcircuit is used to determine the target subinterval to which the phase difference belongs from the N subintervals, and the control subcircuit is used to update a set of equalization coefficients corresponding to the target subinterval.

可选地,所述均衡系数控制电路,还包括:监测子电路和区间确定子电路。监测子电路用于监测单位时长内所述时钟恢复电路输出的所述相位差的变化范围,得到所述相位变化区间,以及将所述相位变化区间划分为所述N个子区间。通过动态监测相位差的变化范围,能够使得相位变化区间更加准确,进一步提升均衡效果。Optionally, the equalization coefficient control circuit further includes: a monitoring subcircuit and an interval determination subcircuit. The monitoring subcircuit is used to monitor the variation range of the phase difference output by the clock recovery circuit within a unit time length, obtain the phase variation interval, and divide the phase variation interval into the N subintervals. By dynamically monitoring the change range of the phase difference, the phase change range can be made more accurate, and the equalization effect can be further improved.

在一些示例中,所述时钟恢复电路包括时钟恢复滤波器、鉴相器、低通滤波器和相位调节器。时钟恢复滤波器用于对所述采样电路输出的所述采样信号进行滤波,得到滤波后的采样信号。鉴相器用于对所述滤波后的采样信号进行鉴相,得到相位差。低通滤波器用于对所述鉴相器输出的相位差进行滤波,得到相位差均值。相位调节器用于根据相位差均值对所述采样时钟信号进行相位调整。In some examples, the clock recovery circuit includes a clock recovery filter, a phase detector, a low pass filter, and a phase adjuster. The clock recovery filter is used to filter the sampling signal output by the sampling circuit to obtain a filtered sampling signal. The phase detector is used to perform phase detection on the filtered sampling signal to obtain a phase difference. The low-pass filter is used to filter the phase difference output by the phase detector to obtain an average value of the phase difference. The phase adjuster is used to adjust the phase of the sampling clock signal according to the mean value of the phase difference.

在一些示例中,所述均衡电路的输入端与时钟恢复滤波器的输出端连接。均衡电路用于对所述时钟恢复滤波器输出的所述滤波后的采样信号进行均衡处理。In some examples, an input of the equalization circuit is connected to an output of a clock recovery filter. The equalization circuit is used for performing equalization processing on the filtered sampling signal output by the clock recovery filter.

在另一些示例中,所述均衡电路的输入端与采样电路的输出端连接。所述均衡电路用于对所述采样电路输出的采样信号进行均衡处理。In some other examples, the input end of the equalization circuit is connected to the output end of the sampling circuit. The equalization circuit is used for equalizing the sampling signal output by the sampling circuit.

在一些示例中,所述均衡系数控制电路还包括前馈滤波器,前馈滤波器用于对所述时钟恢复电路输出的相位差进行滤波,以及将滤波后的所述相位差输出至所述监测子电路。In some examples, the equalization coefficient control circuit further includes a feedforward filter for filtering the phase difference output by the clock recovery circuit, and outputting the filtered phase difference to the monitor sub-circuit.

可选地,所述N个子区间为等分区间,或者,所述N个子区间为非等分区间。Optionally, the N subintervals are equally partitioned intervals, or the N subintervals are non-equally partitioned intervals.

可选地,所述N个子区间分别对应一个UI域延时。所述接收机还包括鉴相增益估计电路。鉴相增益估计电路用于根据所述鉴相器输出的相位差对应的相位延时和所述N个子区间对应的UI域延时确定所述鉴相器的鉴相增益。所述时钟恢复电路用于根据所述鉴相增益和所述相位差对所述采样时钟信号进行调整。Optionally, the N subintervals respectively correspond to a UI field delay. The receiver also includes a phase detection gain estimation circuit. The phase detection gain estimation circuit is configured to determine the phase detection gain of the phase detector according to the phase delay corresponding to the phase difference output by the phase detector and the UI domain delay corresponding to the N subintervals. The clock recovery circuit is used to adjust the sampling clock signal according to the phase detection gain and the phase difference.

示例性地,所述时钟恢复电路用于根据所述鉴相增益与所述相位差的乘积对所述采样时钟信号进行调整。Exemplarily, the clock recovery circuit is configured to adjust the sampling clock signal according to the product of the phase detection gain and the phase difference.

可选地,所述接收机还包括最佳相位跟踪电路。在一种可能的实施方式中,最佳相位跟踪电路用于针对所述N个子区间分别对均衡信号进行传输性能统计,得到统计结果;以及根据所述统计结果,确定最佳采样相位偏差。在另一种可能的实施方式中,所述接收机还包括最佳相位跟踪电路。最佳相位跟踪电路用于针对所述N个子区间分别对所述时钟恢复滤波器输出的滤波后的采样信号进行传输性能统计,得到统计结果;以及根据所述统计结果,确定最佳采样相位偏差。所述时钟恢复电路还用于根据所述最佳采样相位偏差调整采样时钟信号的相位。Optionally, the receiver further includes an optimal phase tracking circuit. In a possible implementation manner, the optimal phase tracking circuit is configured to perform statistics on the transmission performance of the equalized signal for the N sub-intervals to obtain statistical results; and determine the optimal sampling phase deviation according to the statistical results. In another possible implementation manner, the receiver further includes an optimal phase tracking circuit. The optimal phase tracking circuit is used to perform statistics on the transmission performance of the filtered sampling signals output by the clock recovery filter for the N sub-intervals to obtain statistical results; and determine the optimal sampling phase deviation according to the statistical results . The clock recovery circuit is also used to adjust the phase of the sampling clock signal according to the optimal sampling phase deviation.

第二方面,提供了一种接收机的均衡方法,所述接收机包括时钟恢复电路和均衡电路,所述均衡电路具有N组均衡系数,其中,N为大于1的整数。该方法包括:所述方法包括:在采样时钟信号的控制下对接收信号进行采样,得到采样信号;通过所述时钟恢复电路对所述采样信号进行鉴相,得到所述采样信号的相位差;通过所述均衡电路采用所述N组均衡系数中与所述相位差对应的一组均衡系数对所述采样信号进行均衡处理,得到均衡信号;更新所述N组均衡系数中,与所述时钟恢复电路输出的所述相位差对应的一组均衡系数。In a second aspect, an equalization method for a receiver is provided. The receiver includes a clock recovery circuit and an equalization circuit, and the equalization circuit has N groups of equalization coefficients, where N is an integer greater than 1. The method includes: the method includes: sampling the received signal under the control of a sampling clock signal to obtain a sampling signal; performing phase detection on the sampling signal through the clock recovery circuit to obtain a phase difference of the sampling signal; Through the equalization circuit, a group of equalization coefficients corresponding to the phase difference among the N groups of equalization coefficients is used to perform equalization processing on the sampled signal to obtain an equalized signal; among the N groups of equalization coefficients, the clock is updated. A group of equalization coefficients corresponding to the phase difference output by the restoration circuit.

可选地,所述时钟恢复电路输出的相位差所对应的相位变化区间包括N个子区间,所述N个子区间分别对应所述N组均衡系数中的一组均衡系数。Optionally, the phase change interval corresponding to the phase difference output by the clock recovery circuit includes N subintervals, and the N subintervals respectively correspond to a group of equalization coefficients in the N groups of equalization coefficients.

在一些示例中,所述更新所述N组均衡系数中,与所述相位差对应的一组均衡系数,包括:从所述N个子区间中确定当前相位差所属的目标子区间;控制所述均衡电路更新所述目标子区间对应的一组均衡系数。In some examples, the updating a group of equalization coefficients corresponding to the phase difference among the N groups of equalization coefficients includes: determining the target sub-interval to which the current phase difference belongs from the N sub-intervals; controlling the The equalization circuit updates a group of equalization coefficients corresponding to the target sub-interval.

在一种可能的实施方式中,所述更新所述N组均衡系数中,与所述相位差对应的一组均衡系数,还包括:监测单位时长内所述时钟恢复电路输出的所述相位差的变化范围,得到所述相位变化区间;将所述相位变化区间划分为所述N个子区间。In a possible implementation manner, the updating a group of equalization coefficients corresponding to the phase difference among the N groups of equalization coefficients further includes: monitoring the phase difference output by the clock recovery circuit within a unit time length range of change to obtain the phase change interval; and divide the phase change interval into the N subintervals.

可选地,所述N个子区间为等分区间,或者,所述N个子区间为非等分区间。Optionally, the N subintervals are equally partitioned intervals, or the N subintervals are non-equally partitioned intervals.

可选地,所述均衡方法还包括:根据所述相位差对应的相位延时和所述N个子区间对应的UI域延时确定鉴相增益;根据所述鉴相增益和所述相位差对所述采样时钟信号进行调整。Optionally, the equalization method further includes: determining the phase detection gain according to the phase delay corresponding to the phase difference and the UI domain delay corresponding to the N subintervals; according to the phase detection gain and the phase difference pair The sampling clock signal is adjusted.

可选地,所述均衡方法还包括:针对所述N个子区间分别对均衡电路输出的均衡信号进行传输性能统计,得到统计结果;根据所述统计结果,确定最佳采样相位偏差;根据所述最佳采样相位偏差调整采样时钟信号的相位。Optionally, the equalization method further includes: performing statistics on the transmission performance of the equalized signal output by the equalization circuit for the N sub-intervals to obtain statistical results; determining the best sampling phase deviation according to the statistical results; according to the The optimal sampling phase offset adjusts the phase of the sampling clock signal.

第三方面,提供了一种时钟恢复电路,所述时钟恢复电路包括:采样器、自适应均衡器、鉴相器、低通滤波器、相位调节器和控制电路。采样器用于在采样时钟信号的控制下对接收信号进行采样,得到采样信号;自适应均衡器具有多个均衡系数,自适应均衡器用于采用所述多个均衡系数对所述采样信号进行均衡处理,得到均衡信号;鉴相器用于对所述自适应均衡器输出的所述均衡信号进行鉴相,得到均衡信号的相位差;低通滤波器用于对所述相位差进行滤波;相位调节器用于根据相位差均值对所述采样时钟信号进行相位调节;控制电路用于根据所述鉴相器输出的相位差,控制所述自适应均衡器的均衡系数的更新。In a third aspect, a clock recovery circuit is provided, and the clock recovery circuit includes: a sampler, an adaptive equalizer, a phase detector, a low-pass filter, a phase adjuster and a control circuit. The sampler is used to sample the received signal under the control of the sampling clock signal to obtain a sampled signal; the adaptive equalizer has a plurality of equalization coefficients, and the adaptive equalizer is used to perform equalization processing on the sampled signal by using the plurality of equalization coefficients , to obtain an equalized signal; a phase detector is used to phase detect the equalized signal output by the adaptive equalizer to obtain a phase difference of the equalized signal; a low-pass filter is used to filter the phase difference; a phase adjuster is used to The phase of the sampling clock signal is adjusted according to the mean value of the phase difference; the control circuit is used to control the update of the equalization coefficient of the adaptive equalizer according to the phase difference output by the phase detector.

在一些示例中,所述控制电路用于响应于确定所述相位差属于目标相位区间,控制所述自适应均衡器的均衡系数更新;或者,所述控制电路用于响应于确定所述相位差不属于目标相位区间,控制所述自适应均衡器的均衡系数保持不变。In some examples, the control circuit is configured to control updating of equalization coefficients of the adaptive equalizer in response to determining that the phase difference belongs to a target phase interval; or, the control circuit is configured to respond to determining that the phase difference If it does not belong to the target phase interval, control the equalization coefficient of the adaptive equalizer to remain unchanged.

可选地,所述时钟恢复电路还包括限幅器和加法器,所述限幅器用于对所述自适应均衡器输出的均衡信号转换为二进制信号,所述加法器用于确定所述均衡信号和所述二进制信号之间的误差;所述控制电路用于根据所述误差和所述鉴相器输出的相位差,更新所述自适应均衡器的均衡系数。Optionally, the clock recovery circuit further includes a limiter and an adder, the limiter is used to convert the equalized signal output by the adaptive equalizer into a binary signal, and the adder is used to determine the equalized signal and the error between the binary signal; the control circuit is used to update the equalization coefficient of the adaptive equalizer according to the error and the phase difference output by the phase detector.

可选地,所述时钟恢复电路还包括:最佳相位跟踪电路,用于按照相位区间进行传输性能统计,得到统计结果;以及根据所述统计结果,确定最佳采样点;根据所述最佳采样相位偏差调整采样时钟信号的相位。Optionally, the clock recovery circuit further includes: an optimal phase tracking circuit, configured to perform statistics on transmission performance according to phase intervals to obtain statistical results; and determine the best sampling point according to the statistical results; The sampling phase offset adjusts the phase of the sampling clock signal.

第四方面,提供了一种时钟恢复方法,所述方法包括:采用自适应均衡器对采样电路输出的采样信号进行均衡处理,得到均衡信号,所述自适应均衡器具有多个均衡系数;对所述自适应均衡器输出的所述均衡信号进行鉴相,得到均衡信号的相位差,所述采样信号是所述采样电路在所述采样时钟信号的控制下输出的;根据所述相位差,控制所述自适应均衡器的均衡系数的更新;根据所述相位差对所述采样时钟信号进行相位调节。In a fourth aspect, a method for clock recovery is provided, the method comprising: using an adaptive equalizer to perform equalization processing on the sampling signal output by the sampling circuit to obtain an equalized signal, and the adaptive equalizer has a plurality of equalization coefficients; The equalized signal output by the adaptive equalizer is phase-detected to obtain a phase difference of the equalized signal, and the sampling signal is output by the sampling circuit under the control of the sampling clock signal; according to the phase difference, controlling the update of the equalization coefficient of the adaptive equalizer; and adjusting the phase of the sampling clock signal according to the phase difference.

在一些示例中,所述根据所述相位差,控制所述自适应均衡器的均衡系数的更新,包括:响应于确定所述相位差属于目标相位区间,控制所述自适应均衡器的均衡系数更新;或者,响应于确定所述相位差不属于目标相位区间,控制所述自适应均衡器的均衡系数保持不变。In some examples, the controlling the update of the equalization coefficient of the adaptive equalizer according to the phase difference includes: controlling the equalization coefficient of the adaptive equalizer in response to determining that the phase difference belongs to a target phase interval updating; or, in response to determining that the phase difference does not belong to the target phase interval, controlling the equalization coefficient of the adaptive equalizer to remain unchanged.

第五方面,提供了一种计算机设备,计算机设备包括处理器和存储器,其中:存储器中存储有计算机指令,处理器执行计算机指令,以实现第一方面或第四方面及其可能的实现方式的方法。In a fifth aspect, there is provided a computer device, the computer device includes a processor and a memory, wherein: the memory stores computer instructions, and the processor executes the computer instructions, so as to realize the first aspect or the fourth aspect and its possible implementation manners method.

第六方面,提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机指令,当计算机可读存储介质中的计算机指令被计算机设备执行时,使得计算机设备执行第一方面或第四方面及其可能的实现方式的方法。In a sixth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores computer instructions. When the computer instructions in the computer-readable storage medium are executed by a computer device, the computer device executes the first aspect or the fourth aspect. Aspects and their possible ways of implementing them.

第七方面,提供了一种包含指令的计算机程序产品,当其在计算机设备上运行时,使得计算机设备执行上述第一方面或第四方面及其可能的实现方式的方法。In a seventh aspect, there is provided a computer program product containing instructions, which, when running on a computer device, causes the computer device to execute the method of the first aspect or the fourth aspect and possible implementations thereof.

附图说明Description of drawings

图1是本申请一个示例性实施例提供的接收机的结构示意图;FIG. 1 is a schematic structural diagram of a receiver provided in an exemplary embodiment of the present application;

图2是本申请一个示例性实施例提供的四组均衡系数的关系示意图;Fig. 2 is a schematic diagram of the relationship between four sets of equalization coefficients provided by an exemplary embodiment of the present application;

图3是本申请一个示例性实施例提供的接收机的结构示意图;FIG. 3 is a schematic structural diagram of a receiver provided in an exemplary embodiment of the present application;

图4是本申请一个示例性实施例中根据滤波器输出的相位差确定目标子区间的示意图;FIG. 4 is a schematic diagram of determining a target subinterval according to a phase difference output by a filter in an exemplary embodiment of the present application;

图5是本申请一个示例性实施例和相关技术提供的基于BER的浴盆曲线的对比图;FIG. 5 is a comparison diagram of a BER-based bathtub curve provided by an exemplary embodiment of the present application and related technologies;

图6是相关技术和本申请一个示例性实施例提供的接收机的抖动容限测试结果的对比关系图;FIG. 6 is a comparison diagram of the jitter tolerance test results of the receiver provided by the related technology and an exemplary embodiment of the present application;

图7是本申请一个示例性实施例提供的接收机和相关技术中的接收机在不同的抖动下的误码率的对比图;FIG. 7 is a comparison diagram of bit error rates under different jitters between a receiver provided by an exemplary embodiment of the present application and a receiver in related technologies;

图8是本申请一个示例性实施例提供的一种通过仿真得到的鉴相增益曲线的示意图;FIG. 8 is a schematic diagram of a phase detection gain curve obtained through simulation provided by an exemplary embodiment of the present application;

图9是本申请一个示例性实施例提供的一种基于SNR的浴盆曲线的示意图;FIG. 9 is a schematic diagram of an SNR-based bathtub curve provided by an exemplary embodiment of the present application;

图10是本申请一个示例性实施例中不同相位子区间对应的相位差的出现次数的统计示意图;Fig. 10 is a statistical schematic diagram of the number of occurrences of phase differences corresponding to different phase sub-intervals in an exemplary embodiment of the present application;

图11是本申请一个示例性实施例提供的另一种接收机的结构示意图;Fig. 11 is a schematic structural diagram of another receiver provided in an exemplary embodiment of the present application;

图12是本申请一个示例性实施例提供的一种接收机的均衡方法的流程示意图;FIG. 12 is a schematic flowchart of a receiver equalization method provided by an exemplary embodiment of the present application;

图13是本申请一个示例性实施例提供的一种时钟恢复电路的结构示意图;Fig. 13 is a schematic structural diagram of a clock recovery circuit provided by an exemplary embodiment of the present application;

图14是本申请一个示例性实施例提供的时钟恢复电路中根据滤波器输出的相位差输出使能信号的示意图;FIG. 14 is a schematic diagram of outputting an enable signal according to a phase difference output by a filter in a clock recovery circuit provided by an exemplary embodiment of the present application;

图15是本申请一个示例性实施例提供的一种时钟恢复方法的流程示意图;Fig. 15 is a schematic flowchart of a clock recovery method provided by an exemplary embodiment of the present application;

图16是本申请一个示例性实施例提供的一种计算机设备的结构示意图。Fig. 16 is a schematic structural diagram of a computer device provided by an exemplary embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

为了便于理解本申请,下面先对相关的名词进行解释。In order to facilitate the understanding of the present application, the relevant nouns are firstly explained below.

时钟恢复(timing recovery,TR)电路:用于从接收数据信号中提取时钟信号。Clock recovery (timing recovery, TR) circuit: for extracting a clock signal from a received data signal.

抖动(jitter):信号的某特定时刻相对于其理想时间位置上的短期偏离。例如,时钟信号过零点和理想过零点位置之间的偏差。Jitter: The short-term deviation of a signal at a particular moment from its ideal position in time. For example, the deviation between the zero crossing of a clock signal and the ideal zero crossing position.

抖动容限(jitter tolerance):在一定误码率范围内,对应的输入抖动频率下,允许数据加入的最大抖动幅值,表示时钟恢复对带抖动的数据信号进行追踪并正确采样的能力。Jitter tolerance: within a certain bit error rate range, under the corresponding input jitter frequency, the maximum jitter amplitude allowed to be added to the data, indicating the ability of the clock recovery to track and correctly sample the data signal with jitter.

误码率(bit error rate,BER):系统传输数据产生的误码个数与系统传输数据的总码数的比值,是用来衡量在规定时间内数据传输精确性的指标。Bit error rate (BER): The ratio of the number of bit errors generated by the system transmission data to the total number of codes of the system transmission data, which is used to measure the accuracy of data transmission within a specified time.

相位插值(phase interpolation,PI):选用两个频率相同但是相位不同的参考时钟信号进行加权组合,根据权重比例的不同,得到所需要的时钟相位。通常,参考时钟信号由锁相环(phase locked loop,PLL)或者延迟锁相环(delay-locked loop,DLL)产生。Phase interpolation (PI): two reference clock signals with the same frequency but different phases are selected for weighted combination, and the required clock phase is obtained according to the weight ratio. Usually, the reference clock signal is generated by a phase-locked loop (phase-locked loop, PLL) or a delay-locked loop (delay-locked loop, DLL).

最佳采样相位:对BER进行最小化的相位。Optimal Sampling Phase: The phase that minimizes the BER.

单位间隔(unit interval,UI):在通信信号的抖动测试中用来表示抖动幅度的单位。一个比特传输信息所占的时间,例如,传输一个比特1所占的时间,或者,传输一个比特0所占的时间。Unit interval (unit interval, UI): The unit used to express the jitter amplitude in the jitter test of the communication signal. The time it takes for a bit to transmit information, for example, the time it takes to transmit a 1 bit, or the time it takes to transmit a 0 bit.

浴盆曲线(bath tub):用于观察抖动及定时分析,是BER或SNR在一个UI内与采样位置的函数关系曲线。Bathtub curve (bath tub): used to observe jitter and timing analysis, it is a function relationship curve of BER or SNR and sampling position in one UI.

鉴相器是一个相位比较装置,又称为相位比较器。它的输出电压是两个信号的瞬时相位差的函数。A phase detector is a phase comparison device, also known as a phase comparator. Its output voltage is a function of the instantaneous phase difference of the two signals.

鉴相增益:鉴相器输出的相位差对应的相位延时与UI延时的比值。Phase detection gain: the ratio of the phase delay corresponding to the phase difference output by the phase detector to the UI delay.

图1是本申请一个示例性实施例提供的接收机的结构示意图。如图1所示,接收机包括采样电路10、TR电路20、均衡电路30和均衡系数控制电路40。其中,采样电路10用于在采样时钟信号的控制下对接收信号进行采样,得到采样信号。TR电路20用于对采样电路10输出的采样信号进行鉴相,得到采样信号的相位差,并根据相位差对采样时钟信号进行调整。均衡电路30具有N组均衡系数,均衡电路30用于采用N组均衡系数中与TR电路20输出的相位差对应的一组均衡系数对采样电路10输出的采样信号进行均衡处理,其中,N为大于1的整数。均衡系数控制电路40用于更新N组均衡系数中,与TR电路20输出的相位差对应的一组均衡系数。Fig. 1 is a schematic structural diagram of a receiver provided by an exemplary embodiment of the present application. As shown in FIG. 1 , the receiver includes a sampling circuit 10 , a TR circuit 20 , an equalization circuit 30 and an equalization coefficient control circuit 40 . Wherein, the sampling circuit 10 is used for sampling the received signal under the control of the sampling clock signal to obtain the sampling signal. The TR circuit 20 is used for phase detection of the sampling signal output by the sampling circuit 10 to obtain a phase difference of the sampling signal, and adjust the sampling clock signal according to the phase difference. The equalization circuit 30 has N groups of equalization coefficients, and the equalization circuit 30 is used to perform equalization processing on the sampling signal output by the sampling circuit 10 by using a group of equalization coefficients among the N groups of equalization coefficients corresponding to the phase difference output by the TR circuit 20, wherein N is An integer greater than 1. The equalization coefficient control circuit 40 is configured to update a group of equalization coefficients corresponding to the phase difference output by the TR circuit 20 among the N groups of equalization coefficients.

在本申请实施例中,采样信号的相位差是指采样信号对应的采样位置与最佳采样位置之间的偏差。In the embodiment of the present application, the phase difference of the sampling signal refers to a deviation between a sampling position corresponding to the sampling signal and an optimal sampling position.

在本申请实施例中,将均衡电路的均衡系数更新与采样位置(即采样信号的相位差)耦合,每次更新均衡系数时,仅更新与所述时钟恢复电路输出的所述相位差对应的一组均衡系数,使得不同组的均衡系数能够独立更新。由于时钟恢复电路输出的相位差的变化是由抖动产生的,而抖动带来的采样时钟信号的相位变化是随机的,因此,时钟恢复电路每次更新一组的均衡系数也是随机的。并且,在一段时间后,各组均衡系数都得到了更新并且达到收敛。然后对于采样电路输出的采样信号,也采用与时钟恢复电路输出的相位差对应的一组均衡系数进行均衡处理,这样,该均衡电路能够基于不同组的均衡系数匹配到不同采样位置的最优响应,提高均衡电路的均衡性能,进而提高通信质量。In the embodiment of the present application, the update of the equalization coefficient of the equalization circuit is coupled with the sampling position (that is, the phase difference of the sampling signal), and each time the equalization coefficient is updated, only the phase difference corresponding to the output of the clock recovery circuit is updated. A set of equalization coefficients, so that different sets of equalization coefficients can be updated independently. Since the change of the phase difference output by the clock recovery circuit is caused by jitter, and the phase change of the sampling clock signal brought about by the jitter is random, the clock recovery circuit updates a set of equalization coefficients each time is also random. And, after a period of time, each group of equalization coefficients has been updated and converged. Then, for the sampling signal output by the sampling circuit, a set of equalization coefficients corresponding to the phase difference output by the clock recovery circuit is also used for equalization processing, so that the equalization circuit can match the optimal response of different sampling positions based on different sets of equalization coefficients , improve the equalization performance of the equalization circuit, and then improve the communication quality.

均衡电路具有多个抽头,在一些示例中,每组均衡系数所包含的均衡系数的数量均等于均衡电路所包含的抽头的数量。在另一些示例中,每组均衡系数所包含的均衡系数的数量小于均衡电路所包含的抽头的数量,且每组均衡系数所包含的均衡系数所对应的抽头是相同的。例如,均衡电路具有25个抽头,每组均衡系数包括5个均衡系数,这5个均衡系数为位于中间的5个抽头的均衡系数。The equalization circuit has a plurality of taps, and in some examples, the number of equalization coefficients included in each set of equalization coefficients is equal to the number of taps included in the equalization circuit. In some other examples, the number of equalization coefficients included in each group of equalization coefficients is smaller than the number of taps included in the equalization circuit, and the taps corresponding to the equalization coefficients included in each group of equalization coefficients are the same. For example, the equalization circuit has 25 taps, and each group of equalization coefficients includes 5 equalization coefficients, and these 5 equalization coefficients are the equalization coefficients of the 5 taps located in the middle.

图2本申请一个示例性实施例提供的四组均衡系数的关系示意图。图2中,横坐标表示均衡电路中抽头的编号,纵坐标表示抽头对应的系数的取值。需要说明的是,图2中仅示出了均衡电路中的部分抽头的标识,即编号为14~28的抽头。FIG. 2 is a schematic diagram of relationships among four sets of equalization coefficients provided by an exemplary embodiment of the present application. In FIG. 2 , the abscissa indicates the number of the taps in the equalization circuit, and the ordinate indicates the value of the coefficient corresponding to the tap. It should be noted that, FIG. 2 only shows identifications of some taps in the equalization circuit, that is, taps numbered 14-28.

图2中的四条曲线51~54分别表示不同组均衡系数的取值。如图2所示,四组均衡系数中,抽头21对应的系数值基本相等,而抽头19、抽头20、抽头22和抽头23对应的系数值相差较大。可见,不同组均衡系数中,同一抽头对应的系数可能相同,也可能不同。并且,不同组均衡系数中,至少有一个抽头对应的系数是不同的。The four curves 51-54 in FIG. 2 represent the values of equalization coefficients of different groups respectively. As shown in FIG. 2 , among the four sets of equalization coefficients, the coefficient values corresponding to tap 21 are basically equal, while the coefficient values corresponding to tap 19 , tap 20 , tap 22 and tap 23 are quite different. It can be seen that among different sets of equalization coefficients, the coefficients corresponding to the same tap may be the same or different. In addition, in different sets of equalization coefficients, at least one tap corresponds to a different coefficient.

根据TR电路输出的相位差,选择对应的一组均衡系数对采样信号进行均衡处理,使得该均衡电路能够基于不同组的均衡系数匹配到不同采样位置的最优响应,提高均衡电路的均衡性能,进而提高通信质量。According to the phase difference output by the TR circuit, a corresponding set of equalization coefficients is selected to equalize the sampling signal, so that the equalization circuit can match the optimal response of different sampling positions based on different sets of equalization coefficients, and improve the equalization performance of the equalization circuit. Thus improving the communication quality.

图3是本申请一个示例性实施例提供的接收机的结构示意图。如图3所示,接收机包括采样电路10、TR电路20、均衡电路30和均衡系数控制电路40。其中,采样电路10用于在采样时钟信号的控制下对接收信号进行采样,得到采样信号。TR电路20用于根据采样电路10输出的相位差,对采样时钟信号进行调整。均衡电路30具有N组均衡系数。均衡电路30用于采用N组均衡系数中与TR电路20输出的相位差对应的一组均衡系数对采样电路10输出的采样信号进行均衡处理,其中,N为大于1的整数。均衡系数控制电路40用于更新N组均衡系数中,与TR电路20输出的相位差对应的一组均衡系数。Fig. 3 is a schematic structural diagram of a receiver provided by an exemplary embodiment of the present application. As shown in FIG. 3 , the receiver includes a sampling circuit 10 , a TR circuit 20 , an equalization circuit 30 and an equalization coefficient control circuit 40 . Wherein, the sampling circuit 10 is used for sampling the received signal under the control of the sampling clock signal to obtain the sampling signal. The TR circuit 20 is used to adjust the sampling clock signal according to the phase difference output by the sampling circuit 10 . The equalization circuit 30 has N sets of equalization coefficients. The equalization circuit 30 is used to equalize the sampling signal output by the sampling circuit 10 by using a group of equalization coefficients corresponding to the phase difference output by the TR circuit 20 among N groups of equalization coefficients, where N is an integer greater than 1. The equalization coefficient control circuit 40 is configured to update a group of equalization coefficients corresponding to the phase difference output by the TR circuit 20 among the N groups of equalization coefficients.

在本申请实施例中,接收信号为模拟信号,采样信号为数字信号。采样电路10包括模数转换器(analog to digital converter,ADC)。ADC用于将接收到的模拟信号转换为数字信号,然后输出该数字信号。In the embodiment of the present application, the received signal is an analog signal, and the sampling signal is a digital signal. The sampling circuit 10 includes an analog to digital converter (ADC). ADC is used to convert the received analog signal into digital signal and then output this digital signal.

示例性地,接收信号为M电平信号,M为大于1的整数。示例性地,M为2或者4。Exemplarily, the received signal is an M-level signal, where M is an integer greater than 1. Exemplarily, M is 2 or 4.

在一些示例中,接收信号为经过M进制调制的调制信号,例如经过M进制脉冲幅度调制(pulse amplitude modulation,PAM)得到的PAM-M信号。In some examples, the received signal is a modulated signal subjected to M-ary modulation, for example, a PAM-M signal obtained through M-ary pulse amplitude modulation (pulse amplitude modulation, PAM).

在本申请实施例中,采样电路10的采样速率为单倍采样或多倍采样。其中,单倍采样10是指采样速率是数据传输速率的一倍,也被称为波特率采样。多倍采样是指采样速率是数据传输速率的X倍,其中,X为大于1的整数。与多倍采样相比,单倍采样有利于降低系统功耗。In the embodiment of the present application, the sampling rate of the sampling circuit 10 is single sampling or multiple sampling. Among them, single sampling 10 means that the sampling rate is twice the data transmission rate, which is also called baud rate sampling. Multiple sampling means that the sampling rate is X times the data transmission rate, where X is an integer greater than 1. Compared with multiple sampling, single sampling is beneficial to reduce system power consumption.

TR电路20包括:TR滤波器21、鉴相器22、低通滤波器23、相位调节器24。TR滤波器21用于对采样电路10输出的采样信号进行滤波,以消除符号间干扰(inter symbolinterference,ISI)并将滤波后的采样信号输出至鉴相器22。鉴相器22用于对滤波后的采样信号和采样时钟信号进行鉴相,得到采样信号的相位差。低通滤波器23用于对鉴相器输出的相位差进行滤波,以滤除噪声,得到相位差均值。相位调节器24用于根据相位差均值对采样时钟信号进行相位调整,得到新的采样时钟信号。The TR circuit 20 includes: a TR filter 21 , a phase detector 22 , a low-pass filter 23 , and a phase regulator 24 . The TR filter 21 is used to filter the sampling signal output by the sampling circuit 10 to eliminate inter symbol interference (inter symbol interference, ISI) and output the filtered sampling signal to the phase detector 22 . The phase detector 22 is used to perform phase detection on the filtered sampling signal and the sampling clock signal to obtain the phase difference of the sampling signal. The low-pass filter 23 is used to filter the phase difference output by the phase detector to filter out noise and obtain the average value of the phase difference. The phase adjuster 24 is used to adjust the phase of the sampling clock signal according to the mean value of the phase difference to obtain a new sampling clock signal.

示例性地,TR滤波器21为有限长单位冲激响应(finite impulse response,FIR)滤波器。Exemplarily, the TR filter 21 is a finite impulse response (finite impulse response, FIR) filter.

示例性地,相位调节器24为相位插值(phase interpolation,PI)器。PI器用于根据相位差均值,基于参考时钟信号生成采样时钟信号。Exemplarily, the phase adjuster 24 is a phase interpolation (phase interpolation, PI) device. The PI device is used to generate the sampling clock signal based on the reference clock signal according to the mean value of the phase difference.

需要说明的是,在其他实施例中,TR电路可以采用其他相位调节器来获得采样时钟信号,例如PLL等。It should be noted that, in other embodiments, the TR circuit may use other phase regulators to obtain the sampling clock signal, such as a PLL.

均衡电路30包括自适应均衡器31、限幅器(slicer)32和加法器33。自适应均衡器31用于对接收到的采样信号进行均衡,并输出均衡信号。限幅器32用于将均衡信号转换为二进制信号。加法器33用于计算均衡信号和二进制信号的误差信号。均衡系数控制电路40用于根据加法器33输出的误差信号调整自适应均衡器31的抽头系数。在本申请实施例中,自适应均衡器31的抽头系数即为均衡电路30的均衡系数。The equalization circuit 30 includes an adaptive equalizer 31 , a slicer 32 and an adder 33 . The adaptive equalizer 31 is used to equalize the received sampling signal and output the equalized signal. A limiter 32 is used to convert the equalized signal into a binary signal. The adder 33 is used to calculate the error signal of the equalized signal and the binary signal. The equalization coefficient control circuit 40 is used for adjusting the tap coefficient of the adaptive equalizer 31 according to the error signal output by the adder 33 . In the embodiment of the present application, the tap coefficients of the adaptive equalizer 31 are the equalization coefficients of the equalization circuit 30 .

在本申请实施例中,自适应均衡器31针对每拍数据,仅更新一组抽头系数。In the embodiment of the present application, the adaptive equalizer 31 only updates a group of tap coefficients for each beat of data.

示例性地,自适应均衡器为最小均方(least mean square,LMS)自适应均衡器。需要说明的是,自适应均衡器还可以是基于其他自适应算法的自适应均衡器,本申请对此不做限制。Exemplarily, the adaptive equalizer is a least mean square (least mean square, LMS) adaptive equalizer. It should be noted that the adaptive equalizer may also be an adaptive equalizer based on other adaptive algorithms, which is not limited in this application.

均衡系数控制电路40包括前馈滤波子电路41、监测子电路42、区间确定子电路43和控制子电路44。其中,前馈滤波子电路41用于对时钟恢复电路输出的相位差进行滤波,以及将相位差均值输出。监测子电路42用于监测单位时长内前馈滤波子电路41输出的相位差的变化范围,得到相位变化区间,以及将相位变化区间划分为N个子区间,N个子区间分别对应N组均衡系数中的一组均衡系数,不同子区间对应的不同组的均衡系数。区间确定子电路43用于从N个子区间中确定当前相位差所属的目标子区间,控制子电路44用于更新目标子区间对应的一组均衡系数。其中,单位时长可以根据实际需要设置,本申请对此不做限制。The equalization coefficient control circuit 40 includes a feedforward filtering subcircuit 41 , a monitoring subcircuit 42 , an interval determination subcircuit 43 and a control subcircuit 44 . Wherein, the feed-forward filtering sub-circuit 41 is used for filtering the phase difference output by the clock recovery circuit, and outputting the average value of the phase difference. The monitoring sub-circuit 42 is used to monitor the change range of the phase difference output by the feed-forward filter sub-circuit 41 within a unit time length, obtain the phase change interval, and divide the phase change interval into N sub-intervals, and the N sub-intervals correspond to N groups of equalization coefficients respectively. A set of equalization coefficients of , and different groups of equalization coefficients corresponding to different subintervals. The interval determination sub-circuit 43 is used to determine the target sub-interval to which the current phase difference belongs from the N sub-intervals, and the control sub-circuit 44 is used to update a group of equalization coefficients corresponding to the target sub-interval. Wherein, the unit duration can be set according to actual needs, which is not limited in this application.

随着系统所处环境的变化,采样时钟信号的抖动范围也会发生变化,所以需要实时监测时钟恢复电路输出的相位差的分布范围,以使得相位变化区间能够基本覆盖抖动范围,且随着抖动范围的变化而变化。抖动是随机的,相应地,对于每拍数据更新的一组均衡系数也是随机的,在一段时间后,均衡电路的每组均衡系数均得到了更新,并达到收敛。这样,在不同的子区间,均衡电路的不同组均衡系数对应了不同采样位置的最优响应。As the environment of the system changes, the jitter range of the sampling clock signal will also change, so it is necessary to monitor the distribution range of the phase difference output by the clock recovery circuit in real time, so that the phase change interval can basically cover the jitter range, and with the jitter Varies with range. The jitter is random. Correspondingly, a group of equalization coefficients updated for each beat data is also random. After a period of time, each group of equalization coefficients of the equalization circuit is updated and converges. In this way, in different sub-intervals, different sets of equalization coefficients of the equalization circuit correspond to optimal responses at different sampling positions.

对于每拍数据,控制子电路44会将当前相位差与N个子区间分别进行比较,确定当前相位差所属的目标子区间,然后确定该目标子区间的标识所对应的一组均衡系数,并对确定出的该组均衡系数进行更新。For each shot of data, the control subcircuit 44 will compare the current phase difference with N sub-intervals respectively, determine the target sub-interval to which the current phase difference belongs, and then determine a set of equalization coefficients corresponding to the identification of the target sub-interval, and The determined set of equalization coefficients is updated.

图4是本申请实施例中根据滤波器输出的相位差确定目标子区间的示意图。如图4所示,相位变化区间被分为5个子区间,每个子区间对应一个标识idxn,其中n为子区间的序号,每个标识对应一组均衡系数。当确定目标子区间为第3个子区间时,输出第3个子区间的标识idx3。相应地,后续会选择idx3对应的一组均衡系数对采样信号进行均衡。并且,会对idx3对应的一组均衡系数进行更新。FIG. 4 is a schematic diagram of determining a target subinterval according to a phase difference output by a filter in an embodiment of the present application. As shown in Figure 4, the phase change interval is divided into five sub-intervals, each sub-interval corresponds to an identifier idxn, where n is the serial number of the sub-interval, and each identifier corresponds to a set of equalization coefficients. When it is determined that the target subinterval is the third subinterval, the identifier idx3 of the third subinterval is output. Correspondingly, a set of equalization coefficients corresponding to idx3 will be selected subsequently to equalize the sampled signal. And, a group of equalization coefficients corresponding to idx3 will be updated.

在一些示例中,所述N个子区间为等分区间。等分区间是指将相位区间分为N等份,得到N个子区间,每个子区间的上下限差值均相等。In some examples, the N subintervals are equally divided intervals. Equal interval refers to dividing the phase interval into N equal parts to obtain N subintervals, and the difference between the upper and lower limits of each subinterval is equal.

在另一些示例中,所述N个子区间为非等分区间。非等分区间是指将相位区间分为N份,得到N个子区间,且N个子区间中至少两个子区间的上下限的差值不相等。In some other examples, the N subintervals are non-equally partitioned intervals. The non-equal interval means that the phase interval is divided into N parts to obtain N subintervals, and the differences between the upper and lower limits of at least two subintervals among the N subintervals are not equal.

示例性地,N的取值根据实际需要设置,示例性地,N的取值范围为3~10,例如N等于7。Exemplarily, the value of N is set according to actual needs. Exemplarily, the value of N ranges from 3 to 10, for example, N is equal to 7.

需要说明的是,在其他实施例中,相位变化区间可以为固定范围,根据经验设置。例如,如果系统的工作环境较稳定,抖动变化幅度较小,可以预先设置一个固定的相位变化区间。It should be noted that, in other embodiments, the phase change interval may be a fixed range, which is set according to experience. For example, if the working environment of the system is relatively stable and the range of jitter changes is small, a fixed phase change interval can be set in advance.

在图2所示实施例中,均衡电路的输入端与时钟恢复滤波器的输出端连接,即均衡电路的输入端通过时钟恢复滤波器与采样电路的输出端间接连接。均衡电路对时钟恢复滤波器输出的滤波后的采样信号进行均衡处理。这样,可以减小前馈延时。这里,前馈延时是指均衡电路接收到采样信号和确定出需要更新的一组均衡系数之间的时延。In the embodiment shown in FIG. 2, the input end of the equalization circuit is connected to the output end of the clock recovery filter, that is, the input end of the equalization circuit is indirectly connected to the output end of the sampling circuit through the clock recovery filter. The equalization circuit equalizes the filtered sampling signal output by the clock recovery filter. In this way, the feed-forward delay can be reduced. Here, the feed-forward delay refers to the delay between the equalization circuit receiving the sampling signal and determining a set of equalization coefficients that need to be updated.

可替代地,在其他实施例中,均衡电路的输出端与采样电路的输出端直接连接。均衡电路用于对所述采样电路输出的采样信号进行均衡处理。Alternatively, in other embodiments, the output terminal of the equalization circuit is directly connected to the output terminal of the sampling circuit. The equalization circuit is used to equalize the sampling signal output by the sampling circuit.

图5是本申请实施例和相关技术提供的基于BER的浴盆曲线的对比图。图5中,横坐标表示鉴相器输出的相位差(也被称为采样相位),纵坐标为均衡电路输出的均衡信号的BER。从图5可以看出,在本申请实施例对应的浴盆曲线51中,当采样相位在-0.2~0.2之间变化时,BER始终低于1.00E-03。而相关技术对应的浴盆曲线52中,当采样相位在-0.02~0.08之外时,BER就超过了1.00E-03。可见,采用本申请实施例提供的接收机,采样位置偏差对BER的影响减弱,浴盆变宽,抗抖动能力强。FIG. 5 is a comparison diagram of BER-based bathtub curves provided by the embodiments of the present application and related technologies. In FIG. 5 , the abscissa represents the phase difference (also called sampling phase) output by the phase detector, and the ordinate represents the BER of the equalized signal output by the equalizing circuit. It can be seen from FIG. 5 that in the bathtub curve 51 corresponding to the embodiment of the present application, when the sampling phase changes between -0.2 and 0.2, the BER is always lower than 1.00E-03. In the bathtub curve 52 corresponding to the related art, when the sampling phase is outside -0.02-0.08, the BER exceeds 1.00E-03. It can be seen that, by adopting the receiver provided in the embodiment of the present application, the impact of the sampling position deviation on the BER is weakened, the bathtub is wider, and the anti-jitter capability is strong.

图6是相关技术和本申请实施例提供的接收机的抖动容限测试结果的对比关系图。图6中横坐标表示采样时钟信号的频率,纵坐标表示抖动的大小,即UI时延。如图6所示,曲线61表示标准参考线。曲线62表示相关技术中接收机在不同频率下能够容忍的抖动大小,曲线63表示本申请实施例提供的方式接收机在不同频率下能够容忍的抖动大小。从图6可以看出,在不同的频率处,本申请实施例提供的接收机对应的UI时延均大于相关技术中接收机对应的UI时延。可见,本申请实施例提供的接收机与相关技术中的接收机的抖动容忍能力均能够达到标准,且本申请实施例提供的接收机与相关技术中的接收机相比,抖动容忍能力更强。FIG. 6 is a comparison diagram of the jitter tolerance test results of the receiver provided by the related technology and the embodiment of the present application. In FIG. 6, the abscissa indicates the frequency of the sampling clock signal, and the ordinate indicates the magnitude of the jitter, that is, the UI delay. As shown in FIG. 6, curve 61 represents a standard reference line. Curve 62 represents the magnitude of jitter that the receiver in the related art can tolerate at different frequencies, and curve 63 represents the magnitude of jitter that the receiver of the method provided in the embodiment of the present application can tolerate at different frequencies. It can be seen from FIG. 6 that at different frequencies, the UI delay corresponding to the receiver provided by the embodiment of the present application is greater than the UI delay corresponding to the receiver in the related art. It can be seen that the jitter tolerance capability of the receiver provided in the embodiment of the present application and the receiver in the related art can reach the standard, and the receiver provided in the embodiment of the present application has stronger jitter tolerance than the receiver in the related art .

图7是本申请实施例提供的接收机和相关技术中的接收机在不同的抖动下的误码率的对比图。图7中,横坐标表示光功率,单位为dbm,纵坐标表示BER。如图7所示,带星号的曲线71~78表示相关技术中的接收机的均衡电路输出的均衡信号的误码率在不同抖动下的变化情况。带三角符号的曲线79~716表示本申请实施例提供的接收机的均衡电路输出的均衡信号的误码率在不同抖动下的变化情况。从图7可以看出,随着UI的增大,相关技术中的接收机的均衡电路输出的均衡信号的误码率随着UI时延的增大而增大,接收机的均衡性能回退较为明显,而本申请实施例提供的接收机的均衡电路输出的均衡信号的误码率在不同的UI时延下基本相同,接收机的均衡性能回退较小。并且,本申请实施例提供的接收机的均衡电路输出的均衡信号的误码率始终较小,可见,本申请实施例提供的接收机的均衡性能较好。FIG. 7 is a comparison diagram of bit error rates under different jitters between the receiver provided by the embodiment of the present application and the receiver in the related art. In FIG. 7, the abscissa represents the optical power in dBm, and the ordinate represents the BER. As shown in FIG. 7 , the curves 71 to 78 with asterisks indicate the variation of the BER of the equalized signal output by the equalization circuit of the receiver in the related art under different jitters. Curves 79 to 716 with triangular symbols indicate the variation of the BER of the equalized signal output by the equalization circuit of the receiver provided in the embodiment of the present application under different jitters. It can be seen from Fig. 7 that as the UI increases, the bit error rate of the equalized signal output by the equalization circuit of the receiver in the related art increases with the increase of the UI delay, and the equalization performance of the receiver drops back. Obviously, the bit error rate of the equalized signal output by the equalization circuit of the receiver provided by the embodiment of the present application is basically the same under different UI delays, and the equalization performance of the receiver has a small regression. Moreover, the bit error rate of the equalized signal output by the equalization circuit of the receiver provided by the embodiment of the present application is always small, so it can be seen that the equalization performance of the receiver provided by the embodiment of the present application is better.

可选地,如图2所示,接收机还包括鉴相增益估计电路50。鉴相增益估计电路50用于根据鉴相器22输出的相位差对应的相位延时和N个子区间对应的UI域延时确定鉴相器的鉴相增益。TR电路用于根据相位差和鉴相增益调整采样时钟信号的相位。Optionally, as shown in FIG. 2 , the receiver further includes a phase detection gain estimation circuit 50 . The phase detection gain estimation circuit 50 is used to determine the phase detection gain of the phase detector according to the phase delay corresponding to the phase difference output by the phase detector 22 and the UI domain delay corresponding to the N subintervals. The TR circuit is used to adjust the phase of the sampling clock signal according to the phase difference and phase detection gain.

示例性地,TR电路20用于根据鉴相增益与相位差的乘积对采样时钟信号进行调整。Exemplarily, the TR circuit 20 is used to adjust the sampling clock signal according to the product of the phase detection gain and the phase difference.

当系统发生变化时,如温度等,鉴相器的鉴相增益也发生变化。通过实时估计鉴相增益,并根据估计出的鉴相增益调节采样时钟信号的相位,能够使得TR电路输出的采样时钟信号更好的跟踪数据时钟信号。When the system changes, such as temperature, etc., the phase detector gain also changes. By estimating the phase detection gain in real time and adjusting the phase of the sampling clock signal according to the estimated phase detection gain, the sampling clock signal output by the TR circuit can better track the data clock signal.

图8是本申请一个示例性实施例提供的一种通过仿真得到的鉴相增益曲线的示意图。仿真条件为:直检PAM4系统。如图8所示,横坐标表示每个子区间对应的UI延时,纵坐标表示鉴相器输出的相位差对应的相位延时。Fig. 8 is a schematic diagram of a phase detection gain curve obtained through simulation provided by an exemplary embodiment of the present application. The simulation conditions are: direct inspection of the PAM4 system. As shown in FIG. 8 , the abscissa represents the UI delay corresponding to each sub-interval, and the ordinate represents the phase delay corresponding to the phase difference output by the phase detector.

在一种可能的实施方式中,对N组均衡系数分别进行傅里叶变换,提取每组系数对应的相频响应,得到N个相位值;计算N个相位值中的最大值和最小值之间的第一差值,即图8中的a值;然后,计算第一个相位子区间和最后一个相位子区间对应的相位之间的第二差值,即图8中的b值;最后,采用第二差值除以第一差值,得到鉴相增益。In a possible implementation, Fourier transform is performed on N groups of equalization coefficients, and the phase-frequency response corresponding to each group of coefficients is extracted to obtain N phase values; The first difference between, that is, the a value in Figure 8; then, calculate the second difference between the phases corresponding to the first phase subinterval and the last phase subinterval, that is, the b value in Figure 8; finally , and divide the second difference by the first difference to obtain the phase detection gain.

在本申请实施例中,相位子区间对应的相位是该相位子区间的中心值,例如,相位子区间0~1对应的相位是0.5。In the embodiment of the present application, the phase corresponding to the phase sub-interval is the central value of the phase sub-interval, for example, the phase corresponding to the phase sub-interval 0-1 is 0.5.

可选地,如图2所示,该接收机还包括最佳相位跟踪电路60。最佳相位跟踪电路60用于针对N个子区间对均衡电路30输出的均衡信号分别进行传输性能统计,得到统计结果;以及根据统计结果,确定最佳采样相位偏差。TR电路20还用于根据最佳采样相位偏差调整采样时钟信号的相位。在本申请实施例中,最佳采样相位偏差用于指示采样时钟信号的调整方向和步长。Optionally, as shown in FIG. 2 , the receiver further includes an optimal phase tracking circuit 60 . The optimal phase tracking circuit 60 is used to perform statistics on the transmission performance of the equalized signals output by the equalization circuit 30 for the N sub-intervals to obtain statistical results; and determine the optimal sampling phase deviation according to the statistical results. The TR circuit 20 is also used to adjust the phase of the sampling clock signal according to the optimal sampling phase deviation. In the embodiment of the present application, the optimal sampling phase deviation is used to indicate the adjustment direction and step size of the sampling clock signal.

其中,针对N个子区间分别进行传输性能统计,是指对于每拍数据的传输性能按照对应的相位子区间进行统计。Wherein, performing statistics on the transmission performance for the N sub-intervals respectively refers to performing statistics on the transmission performance of each beat data according to the corresponding phase sub-intervals.

在本申请实施例中,传输性能为SNR或者BER。根据统计结果,确定最佳采样相位偏差,是指将最优传输性能对应的相位作为最佳采样相位偏差。当传输性能为SNR时,最优传输性能是指SNR最大。当传输性能为BER时,最优传输性能是指BER最小。In the embodiment of the present application, the transmission performance is SNR or BER. Determining the optimal sampling phase deviation according to the statistical results refers to taking the phase corresponding to the optimal transmission performance as the optimal sampling phase deviation. When the transmission performance is SNR, the optimal transmission performance means that the SNR is the largest. When the transmission performance is BER, the optimal transmission performance refers to the minimum BER.

示例性地,最佳采样相位偏差根据浴盆曲线确定。Exemplarily, the optimal sampling phase deviation is determined according to the bathtub curve.

在一种可能的实施方式中,最佳采样相位偏差根据基于SNR的浴盆曲线确定。将基于SNR的浴盆曲线中SNR最大的点对应的相位确定为最佳采样相位偏差。在本申请实施例中,将每个相位子区间对应的SNR值相连,得到该基于SNR的浴盆曲线。In a possible implementation, the optimal sampling phase deviation is determined according to an SNR-based bathtub curve. The phase corresponding to the point with the largest SNR in the SNR-based bathtub curve is determined as the optimal sampling phase deviation. In the embodiment of the present application, the SNR values corresponding to each phase sub-interval are connected to obtain the SNR-based bathtub curve.

在另一种可能的实施方式中,最佳采样相位偏差根据基于BER的浴盆曲线确定。对于基于BER的浴盆曲线所在的坐标系,横坐标表示鉴相器输出的相位差,纵坐标表示均衡信号对应的BER。将基于BER的浴盆曲线中,BER最小的点对应的相位确定为最佳采样相位偏差。In another possible implementation, the optimal sampling phase offset is determined according to a BER-based bathtub curve. For the coordinate system where the BER-based bathtub curve is located, the abscissa represents the phase difference output by the phase detector, and the ordinate represents the BER corresponding to the balanced signal. In the BER-based bathtub curve, the phase corresponding to the point with the smallest BER is determined as the optimal sampling phase deviation.

图9是本申请一个示例性实施例提供的一种基于SNR的浴盆曲线的示意图。图9中,横坐标表示鉴相器输出的相位差,纵坐标表示均衡信号对应的SNR,单位为dB。从图9可以看出,相位变化区间被分为6个相位子区间。第1至第6个相位子区间分别为-0.3~-0.2,-0.2~-0.1,-0.1~0,0~0.1,0.1~0.2,0.2~0.3。第1至第6个相位子区间对应的SNR分别为17.74,17.93,17.97,17.92,17.63。SNR最大的点对应的相位子区间为-0.1~0,该相位子区间对应的采样相位为-0.05,因此,将-0.05作为最佳采样相位偏差。Fig. 9 is a schematic diagram of an SNR-based bathtub curve provided by an exemplary embodiment of the present application. In FIG. 9 , the abscissa represents the phase difference output by the phase detector, and the ordinate represents the SNR corresponding to the equalized signal, and the unit is dB. It can be seen from FIG. 9 that the phase change interval is divided into six phase sub-intervals. The first to sixth phase subintervals are -0.3~-0.2, -0.2~-0.1, -0.1~0, 0~0.1, 0.1~0.2, 0.2~0.3 respectively. The SNRs corresponding to the first to sixth phase subintervals are 17.74, 17.93, 17.97, 17.92, and 17.63, respectively. The phase sub-interval corresponding to the point with the largest SNR is -0.1 to 0, and the sampling phase corresponding to the phase sub-interval is -0.05, therefore, -0.05 is taken as the optimal sampling phase deviation.

在又一种可能的实施方式中,最佳采样相位偏差基于SNR的浴盆曲线和不同抖动的统计图确定。例如,分别计算每个相位子区间对应的SNR与抖动数量的积分,得到第一个积分值;将抖动数量延时一个相位子区间,然后再次计算每个相位子区间对应的SNR与抖动数量的积分,得到第二个积分值;然后再将抖动数量延时一个相位子区间,计算第三个积分值,以此类推,直至计算出第N个积分值,即计算出与相位子区间的数量相等数量的积分值,最后,将最大的积分值对应的延时确定为最佳采样相位偏差。In yet another possible implementation, the optimal sampling phase deviation is determined based on a bathtub curve of SNR and a histogram of different jitters. For example, calculate the integral of the SNR and the jitter amount corresponding to each phase subinterval separately to obtain the first integral value; delay the jitter amount by one phase subinterval, and then calculate the SNR corresponding to each phase subinterval and the jitter amount Integrate to get the second integral value; then delay the amount of jitter by one phase subinterval, calculate the third integral value, and so on, until the Nth integral value is calculated, that is, the number of phase subintervals is calculated equal number of integral values, and finally, the delay corresponding to the largest integral value is determined as the optimal sampling phase deviation.

计算每个相位子区间对应的SNR与抖动数量的积分,是指将第1个相位子区间对应的SNR与第1个相位子区间对应的次数相乘,将第2个相位子区间对应的SNR与第2个相位子区间对应的次数相乘,……将第N个相位子区间对应的SNR与第N个相位子区间对应的次数相乘,然后将N个相位子区间对应的乘积相加,得到第一个积分值。Calculating the integral of the SNR corresponding to each phase subinterval and the amount of jitter refers to multiplying the SNR corresponding to the first phase subinterval by the number of times corresponding to the first phase subinterval, and multiplying the SNR corresponding to the second phase subinterval Multiply by the number corresponding to the second phase subinterval, ... multiply the SNR corresponding to the Nth phase subinterval by the number of times corresponding to the Nth phase subinterval, and then add the products corresponding to the N phase subintervals , to get the first integral value.

将抖动数量延时一个相位子区间,然后再次计算每个相位子区间对应的SNR与抖动数量的积分,是指将第1个相位子区间对应的SNR与第2个相位子区间对应的次数相乘,将第2个相位子区间对应的SNR与第3个相位子区间对应的次数相乘,……将第N个相位子区间对应的SNR与第1个相位子区间对应的次数相乘,然后将N个相位子区间对应的乘积相加,得到第二个积分值。依次类推,计算出第N个积分值。Delay the amount of jitter by one phase sub-interval, and then calculate the integral of the SNR corresponding to each phase sub-interval and the jitter amount again, which refers to comparing the SNR corresponding to the first phase sub-interval with the number of times corresponding to the second phase sub-interval Multiply, multiply the SNR corresponding to the second phase subinterval by the number of times corresponding to the third phase subinterval, ... multiply the SNR corresponding to the Nth phase subinterval by the number of times corresponding to the first phase subinterval, Then the products corresponding to the N phase subintervals are added together to obtain the second integral value. By analogy, the Nth integral value is calculated.

假设最大积分值是延时第i个相位子区间时对应的积分值,则将第i个相位子区间对应的相位差作为最佳采样相位偏差。Assuming that the maximum integral value is the corresponding integral value when the i-th phase sub-interval is delayed, the phase difference corresponding to the i-th phase sub-interval is taken as the optimal sampling phase deviation.

下面结合图9和图10进行举例说明。An example will be described below with reference to FIG. 9 and FIG. 10 .

图10是本申请一个示例性实施例中不同相位子区间对应的相位差的出现次数的统计示意图。图10中,横坐标表示相位子区间,纵坐标表示鉴相器输出的相位差出现在对应的相位子区间的次数。Fig. 10 is a statistical schematic diagram of the number of occurrences of phase differences corresponding to different phase sub-intervals in an exemplary embodiment of the present application. In FIG. 10 , the abscissa represents the phase subinterval, and the ordinate represents the number of times the phase difference output by the phase detector appears in the corresponding phase subinterval.

在图9和图10中,相位子区间的数量均为6个,第1至第6个相位子区间分别为-0.3~-0.2,-0.2~-0.1,-0.1~0,0~0.1,0.1~0.2,0.2~0.3。第1至第6个相位子区间对应的SNR分别为17.74,17.93,17.97,17.94,17.92,17.63。第1至第6个相位子区间对应的次数分别为100、370、150、150、380和80。在图9和图10所示例子中,计算得到的第1个积分值为22014.6,第2个积分值为21962.6,第3个积分值为21929.4,第4个积分值为21980.9,第5个积分值为21942.9,第6个积分值为21939.5。最大积分值为第1个积分值,延时为0,则最佳采样相位偏差为0。In Figure 9 and Figure 10, the number of phase sub-intervals is 6, and the first to sixth phase sub-intervals are -0.3~-0.2, -0.2~-0.1, -0.1~0, 0~0.1, 0.1~0.2, 0.2~0.3. The SNRs corresponding to the first to sixth phase subintervals are 17.74, 17.93, 17.97, 17.94, 17.92, and 17.63, respectively. The times corresponding to the first to sixth phase subintervals are 100, 370, 150, 150, 380 and 80 respectively. In the example shown in Figure 9 and Figure 10, the calculated first integral value is 22014.6, the second integral value is 21962.6, the third integral value is 21929.4, the fourth integral value is 21980.9, and the fifth integral value The value is 21942.9, and the 6th integral value is 21939.5. The maximum integral value is the first integral value, and the delay is 0, so the best sampling phase deviation is 0.

需要说明的是,图9和图10均是在抖动为UIpp(peak-to-peak)0.3,抖动频率为8MHz的场景下得到的数据。It should be noted that both Fig. 9 and Fig. 10 are data obtained under the scenario where the jitter is UIpp (peak-to-peak) 0.3 and the jitter frequency is 8 MHz.

图11是本申请一个示例性实施例提供的另一种接收机的结构示意图。如图11所示,在图11所示实施例中,最佳采样相位跟踪电路60用于针对所述N个子区间,对TR电路20中的TR滤波器21输出的信号分别进行传输性能统计,得到统计结果;以及根据所述统计结果,确定最佳采样相位偏差。Fig. 11 is a schematic structural diagram of another receiver provided by an exemplary embodiment of the present application. As shown in FIG. 11 , in the embodiment shown in FIG. 11 , the optimal sampling phase tracking circuit 60 is used to perform transmission performance statistics on the signals output by the TR filter 21 in the TR circuit 20 for the N subintervals, obtaining a statistical result; and determining an optimal sampling phase deviation according to the statistical result.

需要说明的是,图11中省略了均衡系数控制电路中系数控制子电路和区间确定子电路之间的连接关系,实际与图2中相同。It should be noted that the connection relationship between the coefficient control subcircuit and the interval determination subcircuit in the equalization coefficient control circuit is omitted in FIG. 11 , which is actually the same as that in FIG. 2 .

在本申请实施例中,接收机为一个集成电路(integrated circuit,IC)芯片。In the embodiment of the present application, the receiver is an integrated circuit (integrated circuit, IC) chip.

需要说明的是,图1、图2和图11所示的接收机的结构适用于光通信系统,例如,直调直检光通信系统、相干光通信系统等。直调直检光通信系统中,直调是指在发送端,通过调制技术对激光器进行直接调制,调制技术包括但不限于正价幅度调制(QAM)、相移键控(PSK)、频移键控(FSK)、幅移键控(ASK)、非归零(NRZ)线路编码、脉冲幅度调制(PAM)等。直检是指接收机通过光模块对接收到的光信号进行光电转换,得到电信号,然后对电信号进行直接检测,得到接收数据。相干光通信系统中,发送端利用要传输旳信号来改变相干光载波旳频率、相位和振幅,得到相干调制光信号,当相干调制光信号传输到达接收端时,首先与接收端的本振光信号进行相干耦合,然后由平衡接收机进行探测。It should be noted that the structures of the receivers shown in FIG. 1 , FIG. 2 and FIG. 11 are applicable to optical communication systems, for example, direct modulation, direct detection optical communication systems, coherent optical communication systems, and the like. In the direct modulation and direct detection optical communication system, direct modulation refers to the direct modulation of the laser through modulation technology at the transmitting end. Modulation technology includes but not limited to positive amplitude modulation (QAM), phase shift keying (PSK), frequency shift Keying (FSK), Amplitude Shift Keying (ASK), Non-Return to Zero (NRZ) line coding, Pulse Amplitude Modulation (PAM), etc. Direct detection means that the receiver performs photoelectric conversion on the received optical signal through an optical module to obtain an electrical signal, and then directly detects the electrical signal to obtain received data. In a coherent optical communication system, the transmitting end uses the signal to be transmitted to change the frequency, phase and amplitude of the coherent optical carrier to obtain a coherently modulated optical signal. Coherently coupled and then detected by a balanced receiver.

在另一些示例中,该接收机还适用于无线通信系统,例如,无线高保真(WIFI)系统。In other examples, the receiver is also suitable for use in wireless communication systems, such as Wireless High Fidelity (WIFI) systems.

图12是本申请一个示例性实施例提供的一种接收机的均衡方法的流程示意图。应用于图1或图2或图11所示的接收机。如图12所示,该方法包括以下几个过程。Fig. 12 is a schematic flowchart of a receiver equalization method provided by an exemplary embodiment of the present application. Applied to the receiver shown in Figure 1 or Figure 2 or Figure 11. As shown in Figure 12, the method includes the following processes.

1201:在采样时钟信号的控制下对接收信号进行采样,得到采样信号。1201: Sampling the received signal under the control of the sampling clock signal to obtain a sampling signal.

1202:通过时钟恢复电路确定采样信号的相位差。1202: Determine the phase difference of the sampling signal through a clock recovery circuit.

1203:通过均衡电路采用N组均衡系数中与相位差对应的一组均衡系数对采样信号进行均衡处理,得到均衡信号。1203: Perform equalization processing on the sampled signal by using a set of equalization coefficients corresponding to the phase difference among N sets of equalization coefficients through an equalization circuit to obtain an equalized signal.

1204:更新N组均衡系数中,与时钟恢复电路输出的相位差对应的一组均衡系数。1204: Update a group of equalization coefficients corresponding to the phase difference output by the clock recovery circuit among the N groups of equalization coefficients.

在本申请实施例中,将均衡电路的均衡系数更新与采样位置(即采样信号的相位差)耦合,每次更新均衡系数时,仅更新与时钟恢复电路输出的相位差对应的一组均衡系数,使得不同组的均衡系数能够独立更新。由于时钟恢复电路输出的相位差的变化是由抖动产生的,而抖动带来的相位变化是随机的,因此,时钟恢复电路每次更新一组的均衡系数也是随机的。并且,在一段时间后,各组均衡系数都得到了更新并且达到收敛。然后对于采样电路输出的采样信号,也采用与时钟恢复电路输出的相位差对应的一组均衡系数进行均衡处理,这样,该均衡电路能够基于不同组的均衡系数匹配到不同采样位置的最优响应,提高均衡电路的均衡性能,进而提高通信质量。In the embodiment of the present application, the update of the equalization coefficient of the equalization circuit is coupled with the sampling position (that is, the phase difference of the sampling signal), and each time the equalization coefficient is updated, only a group of equalization coefficients corresponding to the phase difference output by the clock recovery circuit are updated , so that the equalization coefficients of different groups can be updated independently. Since the change of the phase difference output by the clock recovery circuit is generated by jitter, and the phase change caused by the jitter is random, the clock recovery circuit updates a set of equalization coefficients each time is also random. And, after a period of time, each group of equalization coefficients has been updated and converged. Then, for the sampling signal output by the sampling circuit, a set of equalization coefficients corresponding to the phase difference output by the clock recovery circuit is also used for equalization processing, so that the equalization circuit can match the optimal response of different sampling positions based on different sets of equalization coefficients , improve the equalization performance of the equalization circuit, and then improve the communication quality.

可选地,时钟恢复电路输出的相位差所对应的相位变化区间包括N个子区间,N个子区间分别对应N组均衡系数中的一组均衡系数。Optionally, the phase change interval corresponding to the phase difference output by the clock recovery circuit includes N subintervals, and the N subintervals respectively correspond to a group of equalization coefficients in the N groups of equalization coefficients.

1203包括:从N个子区间中确定当前相位差所属的目标子区间;控制均衡电路更新目标子区间对应的一组均衡系数。Step 1203 includes: determining the target sub-interval to which the current phase difference belongs from the N sub-intervals; controlling the equalization circuit to update a group of equalization coefficients corresponding to the target sub-interval.

在一种可能的实施方式中,相位变化区间是一个设定的区间。In a possible implementation manner, the phase change interval is a set interval.

在另一种可能的实施方式中,相位变化区间是通过实时监测鉴相器输出的相位差的变化范围得到的单位时长内的相位变化区间。In another possible implementation manner, the phase change interval is a phase change interval within a unit time length obtained by monitoring the change range of the phase difference output by the phase detector in real time.

在该实施方式中,1203还包括:监测单位时长内时钟恢复电路输出的相位差的变化范围,得到相位变化区间;将相位变化区间划分为N个子区间。In this embodiment, step 1203 further includes: monitoring the variation range of the phase difference output by the clock recovery circuit within a unit time length to obtain a phase variation interval; and dividing the phase variation interval into N subintervals.

可选地,N个子区间为等分区间,或者,N个子区间为非等分区间。Optionally, the N subintervals are equally partitioned intervals, or the N subintervals are non-equally partitioned intervals.

可选地,均衡方法还包括:根据相位差对应的相位延时和N个子区间对应的UI域延时确定鉴相增益;根据鉴相增益和相位差对采样时钟信号进行调整。Optionally, the equalization method further includes: determining the phase detection gain according to the phase delay corresponding to the phase difference and the UI domain delay corresponding to the N subintervals; and adjusting the sampling clock signal according to the phase detection gain and the phase difference.

可选地,均衡方法还包括:针对N个子区间分别对均衡电路输出的均衡信号进行传输性能统计,得到统计结果;根据统计结果,确定最佳采样相位偏差;根据最佳采样相位偏差调整采样时钟信号的相位。Optionally, the equalization method further includes: performing statistics on the transmission performance of the equalized signal output by the equalization circuit for the N sub-intervals to obtain statistical results; determining the optimal sampling phase deviation according to the statistical results; adjusting the sampling clock according to the optimal sampling phase deviation the phase of the signal.

图13是本申请一个示例性实施例提供的一种时钟恢复电路的结构示意图。如图13所示,时钟恢复电路1300包括采样器1301、自适应均衡器1302(又称环路滤波器或TR滤波器)、鉴相器1303、低通滤波器1304、相位调节器1305和控制电路1307。采样器1301用于在采样时钟信号的控制下对接收信号进行采样,得到采样信号;自适应均衡器1302具有多个均衡系数,自适应均衡器用于采用多个均衡系数对采样信号进行均衡处理,得到均衡信号;鉴相器1303用于对自适应均衡器输出的均衡信号进行鉴相,得到均衡信号的相位差;低通滤波器1304用于对相位差进行滤波;相位调节器1305用于根据相位差均值对采样时钟信号进行相位调节;控制电路1306用于根据鉴相器1303输出的相位差,控制均衡器的均衡系数的更新。Fig. 13 is a schematic structural diagram of a clock recovery circuit provided by an exemplary embodiment of the present application. As shown in Figure 13, the clock recovery circuit 1300 includes a sampler 1301, an adaptive equalizer 1302 (also known as a loop filter or TR filter), a phase detector 1303, a low-pass filter 1304, a phase regulator 1305 and a control Circuit 1307. The sampler 1301 is used to sample the received signal under the control of the sampling clock signal to obtain a sampled signal; the adaptive equalizer 1302 has a plurality of equalization coefficients, and the adaptive equalizer is used to perform equalization processing on the sampled signal by using a plurality of equalization coefficients, Obtain the equalized signal; the phase detector 1303 is used to perform phase detection on the equalized signal output by the adaptive equalizer to obtain the phase difference of the equalized signal; the low-pass filter 1304 is used to filter the phase difference; the phase regulator 1305 is used to filter the phase difference according to The average value of the phase difference adjusts the phase of the sampling clock signal; the control circuit 1306 is used to control the update of the equalization coefficient of the equalizer according to the phase difference output by the phase detector 1303 .

在一些示例中,控制电路1306用于响应于确定相位差属于目标相位区间,控制自适应均衡器的均衡系数更新;或者,控制电路1306用于响应于确定相位差不属于目标相位区间,控制自适应均衡器的均衡系数保持不变。In some examples, the control circuit 1306 is configured to control the update of the equalization coefficient of the adaptive equalizer in response to determining that the phase difference belongs to the target phase interval; or, the control circuit 1306 is configured to control the automatic The equalization coefficients of the adaptive equalizer remain unchanged.

示例性地,采样器1301为ADC。自适应均衡器1302包括但不限于FIR滤波器等。相位调节器1304包括但不限于PI器等。Exemplarily, the sampler 1301 is an ADC. Adaptive equalizer 1302 includes, but is not limited to, FIR filters and the like. The phase regulator 1304 includes but is not limited to a PI device and the like.

通过对自适应均衡器的均衡系数进行受限更新,可以实现滤波器自适应任一相位锁定。The filter can be adaptively locked to any phase by constrained updating of the equalization coefficients of the adaptive equalizer.

图14是本申请一个示例性实施例提供的时钟恢复电路中根据滤波器输出的相位差输出使能信号的示意图。如图14所示,相位变化区间中选择出一个子区间作为目标相位区间。当确定相位差属于目标相位区间时,输出高电平作为使能信号。当确定相位差不属于目标相位区间时,输出低电平。Fig. 14 is a schematic diagram of outputting an enable signal according to a phase difference output by a filter in a clock recovery circuit provided by an exemplary embodiment of the present application. As shown in FIG. 14 , a sub-interval is selected from the phase change interval as the target phase interval. When it is determined that the phase difference belongs to the target phase interval, a high level is output as an enabling signal. When it is determined that the phase difference does not belong to the target phase interval, a low level is output.

再次参见图13,时钟恢复电路1300还包括限幅器1307和加法器1308,限幅器1307用于对自适应均衡器输出的均衡信号转换为二进制信号,加法器1308用于确定均衡信号和二进制信号之间的误差;控制器用于根据误差和鉴相器输出的相位差,更新自适应均衡器的均衡系数。13 again, the clock recovery circuit 1300 also includes a limiter 1307 and an adder 1308, the limiter 1307 is used to convert the equalized signal output by the adaptive equalizer into a binary signal, and the adder 1308 is used to determine the equalized signal and the binary signal The error between the signals; the controller is used to update the equalization coefficient of the adaptive equalizer according to the error and the phase difference output by the phase detector.

可选地,该时钟恢复电路还包括:最佳相位跟踪电路(图未示),用于按照相位区间对均衡信号进行传输性能统计,得到统计结果;以及根据统计结果,确定最佳采样相位偏差;根据所述最佳采样相位偏差调整采样时钟信号的相位。Optionally, the clock recovery circuit also includes: an optimal phase tracking circuit (not shown in the figure), which is used to perform statistics on the transmission performance of the equalized signal according to the phase interval to obtain statistical results; and determine the optimal sampling phase deviation according to the statistical results ; Adjusting the phase of the sampling clock signal according to the optimal sampling phase deviation.

在本申请实施例中,根据最佳采样相位偏差调整采样时钟信号的相位包括,根据所述最佳采样相位偏差调整所述目标相位区间的中心位置。相当于将目标相位区间在相位变化区间中平移。In this embodiment of the present application, adjusting the phase of the sampling clock signal according to the optimal sampling phase deviation includes adjusting the center position of the target phase interval according to the optimal sampling phase deviation. It is equivalent to shifting the target phase interval in the phase change interval.

需要说明的是,图13中的结构可以结合到图1或者图2或者图11所示的实施例中。It should be noted that the structure in FIG. 13 can be combined into the embodiment shown in FIG. 1 or FIG. 2 or FIG. 11 .

本申请还提供了一种接收机。如图13所示,该接收机包括时钟恢复电路1300和均衡电路1400。均衡电路用于对采样器输出的采样信号进行均衡处理。均衡电路的结构可以采用相关技术中的任一种,本申请对此不做限制。The application also provides a receiver. As shown in FIG. 13 , the receiver includes a clock recovery circuit 1300 and an equalization circuit 1400 . The equalization circuit is used to equalize the sampled signal output by the sampler. The structure of the equalization circuit can adopt any one of the related technologies, which is not limited in this application.

图15是本申请实施例提供的一种时钟恢复方法的流程示意图。如图15所示,该时钟恢复方法包括以下几个过程。FIG. 15 is a schematic flowchart of a clock recovery method provided by an embodiment of the present application. As shown in Figure 15, the clock recovery method includes the following processes.

1501:采用自适应均衡器对采样电路输出的采样信号进行均衡处理,得到均衡信号。1501: Using an adaptive equalizer to equalize the sampling signal output by the sampling circuit to obtain an equalized signal.

其中,自适应均衡器具有多个均衡系数,采样信号是采样电路在采样时钟信号的控制下输出的。Wherein, the adaptive equalizer has multiple equalization coefficients, and the sampling signal is output by the sampling circuit under the control of the sampling clock signal.

1502:对自适应均衡器输出的均衡信号进行鉴相,得到相位差。1502: Perform phase detection on the equalized signal output by the adaptive equalizer to obtain a phase difference.

1503:根据相位差,控制自适应均衡器的均衡系数的更新。1503: Control updating of equalization coefficients of the adaptive equalizer according to the phase difference.

1504:根据相位差对采样时钟信号进行相位调节。1504: Adjust the phase of the sampling clock signal according to the phase difference.

在本申请实施例中,1504包括:响应于确定相位差属于目标相位区间,控制自适应均衡器的均衡系数更新;或者,响应于确定相位差不属于目标相位区间,控制自适应均衡器的均衡系数保持不变。In this embodiment of the application, 1504 includes: in response to determining that the phase difference belongs to the target phase interval, controlling the update of the equalization coefficient of the adaptive equalizer; or in response to determining that the phase difference does not belong to the target phase interval, controlling the equalization of the adaptive equalizer Coefficients remain the same.

在一些示例中,该时钟恢复方法还包括:按照相位区间对均衡信号进行传输性能统计,得到统计结果;以及根据所述统计结果,确定最佳采样相位偏差;根据所述最佳采样相位偏差调整采样时钟信号的相位。In some examples, the clock recovery method further includes: performing statistics on the transmission performance of the equalized signal according to the phase interval to obtain statistical results; and determining the optimal sampling phase deviation according to the statistical results; The phase of the sampling clock signal.

在本申请实施例中,根据最佳采样相位偏差调整采样时钟信号的相位包括,根据所述最佳采样相位偏差调整所述目标相位区间的中心位置。相当于将目标相位区间在相位变化区间中平移。In this embodiment of the present application, adjusting the phase of the sampling clock signal according to the optimal sampling phase deviation includes adjusting the center position of the target phase interval according to the optimal sampling phase deviation. It is equivalent to shifting the target phase interval in the phase change interval.

需要说明的是:上述实施例提供的接收机的均衡方法与接收机的实施例属于同一构思,其具体实现过程详见接收机的实施例,时钟恢复方法与时钟恢复电路的实施例属于同一构思,其具体实现过程详见时钟恢复电路的实施例,这里不再赘述。It should be noted that the equalization method of the receiver provided by the above-mentioned embodiment belongs to the same idea as the embodiment of the receiver, and its specific implementation process is detailed in the embodiment of the receiver, and the clock recovery method and the embodiment of the clock recovery circuit belong to the same idea , and its specific implementation process can be found in the embodiment of the clock recovery circuit, and will not be repeated here.

本申请实施例中还提供了一种计算机设备。图16示例性的提供了计算机设备11600的一种可能的架构图。The embodiment of the present application also provides a computer device. FIG. 16 exemplarily provides a possible architectural diagram of a computer device 11600 .

计算机设备1600包括存储器1601、处理器1602、通信接口1603以及总线1604。其中,存储器1601、处理器1602、通信接口1603通过总线1604实现彼此之间的通信连接。The computer device 1600 includes a memory 1601 , a processor 1602 , a communication interface 1603 and a bus 1604 . Wherein, the memory 1601 , the processor 1602 , and the communication interface 1603 are connected to each other through a bus 1604 .

存储器1601可以是只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。存储器1601可以存储程序,当存储器1601中存储的程序被处理器1602执行时,处理器1602和通信接口1603用于执行接收机的均衡方法。存储器1601还可以存储数据集合,例如:存储器1601中的一部分存储资源被划分成一个数据集存储模块,用于存储N个子区间的相关数据等。The memory 1601 may be a read only memory (Read Only Memory, ROM), a static storage device, a dynamic storage device or a random access memory (Random Access Memory, RAM). The memory 1601 may store programs, and when the programs stored in the memory 1601 are executed by the processor 1602, the processor 1602 and the communication interface 1603 are used to execute the equalization method of the receiver. The memory 1601 may also store data sets. For example, a part of storage resources in the memory 1601 is divided into a data set storage module, which is used to store related data of N subintervals.

处理器1602可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),图形处理器(graphics processing unit,GPU)或者一个或多个集成电路。The processor 1602 may be a general-purpose central processing unit (Central Processing Unit, CPU), a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a graphics processing unit (graphics processing unit, GPU) or one or more integrated circuit.

处理器1602还可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,本申请的识别车辆的营运行为的装置的部分或全部功能可以通过处理器1602中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1602还可以是通用处理器、数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请上述实施例中的公开的各方法。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1601,处理器1602读取存储器1601中的信息,结合其硬件完成本申请实施例的接收机的均衡装置的部分功能。The processor 1602 may also be an integrated circuit chip with signal processing capability. During implementation, part or all of the functions of the device for identifying vehicle operating behavior of the present application may be implemented by hardware integrated logic circuits in the processor 1602 or instructions in the form of software. The above-mentioned processor 1602 may also be a general-purpose processor, a digital signal processor (Digital Signal Processing, DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices , discrete gate or transistor logic devices, discrete hardware components. Various methods disclosed in the foregoing embodiments of the present application may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 1601, and the processor 1602 reads the information in the memory 1601, and combines its hardware to complete part of the functions of the equalization device of the receiver in the embodiment of the present application.

通信接口1603使用例如但不限于收发器一类的收发模块,来实现计算机设备1600与其他设备或通信网络之间的通信。例如,可以通过通信接口1603获取接收信号等。The communication interface 1603 uses a transceiver module such as but not limited to a transceiver to implement communication between the computer device 1600 and other devices or communication networks. For example, reception signals and the like can be acquired through the communication interface 1603 .

总线1604可包括在计算机设备1600各个部件(例如,存储器1601、处理器1602、通信接口1603)之间传送信息的通路。Bus 1604 may include pathways for transferring information between various components of computer device 1600 (eg, memory 1601 , processor 1602 , communication interface 1603 ).

上述各个附图对应的流程的描述各有侧重,某个流程中没有详述的部分,可以参见其他流程的相关描述。The descriptions of the processes corresponding to the above-mentioned figures have their own emphasis. For the parts not described in detail in a certain process, you can refer to the relevant descriptions of other processes.

本申请实施例中,还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机指令,当计算机可读存储介质中存储的计算机指令被计算机设备执行时,使得计算机设备执行上述所提供的接收机的均衡方法或者时钟恢复方法。In the embodiment of the present application, a computer-readable storage medium is also provided. The computer-readable storage medium stores computer instructions. When the computer instructions stored in the computer-readable storage medium are executed by a computer device, the computer device executes the above-mentioned The equalization method or clock recovery method of the receiver provided.

本申请实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机设备上运行时,使得计算机设备执行上述所提供的接收机的均衡方法或者时钟恢复方法。In the embodiment of the present application, there is also provided a computer program product including instructions, which, when running on a computer device, causes the computer device to execute the receiver equalization method or the clock recovery method provided above.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现,当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令,在服务器或终端上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴光缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是服务器或终端能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(如软盘、硬盘和磁带等),也可以是光介质(如数字视盘(Digital Video Disk,DVD)等),或者半导体介质(如固态硬盘等)。In the above-mentioned embodiments, all or part may be implemented by software, hardware, firmware or any combination thereof, and when software is used, all or part may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions, and when the computer program instructions are loaded and executed on the server or terminal, all or part of the processes or functions according to the embodiments of the present application will be generated. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a server or a terminal, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, and a magnetic tape, etc.), an optical medium (such as a digital video disk (Digital Video Disk, DVD), etc.), or a semiconductor medium (such as a solid-state hard disk, etc.).

Claims (26)

1. A receiver, characterized in that the receiver comprises:
the sampling circuit is used for sampling the received signal under the control of the sampling clock signal to obtain a sampling signal;
the clock recovery circuit is used for demodulating the phase of the sampling signal output by the sampling circuit to obtain the phase difference of the sampling signal and adjusting the sampling clock signal according to the phase difference;
the equalization circuit is provided with N groups of equalization coefficients and is used for performing equalization processing on the sampling signal output by the sampling circuit by adopting one group of equalization coefficients corresponding to the phase difference output by the clock recovery circuit in the N groups of equalization coefficients, wherein N is an integer larger than 1;
and the equalization coefficient control circuit is used for updating a group of equalization coefficients corresponding to the phase difference output by the clock recovery circuit in the N groups of equalization coefficients.
2. The receiver of claim 1, wherein the phase variation interval corresponding to the phase difference output by the clock recovery circuit includes N sub-intervals, and the N sub-intervals respectively correspond to one of the N sets of equalization coefficients;
the equalization coefficient control circuit includes:
an interval determination sub-circuit for determining a target sub-interval to which the current phase difference belongs from among the N sub-intervals, an
And the control sub-circuit is used for updating a group of equalization coefficients corresponding to the target sub-interval.
3. The receiver of claim 2, wherein the equalization coefficient control circuit further comprises:
and the monitoring sub-circuit is used for monitoring the change range of the phase difference output by the clock recovery circuit in unit time length to obtain the phase change interval and dividing the phase change interval into the N sub-intervals.
4. The receiver of claim 3, wherein the equalization coefficient control circuit further comprises a feed-forward filter for filtering the phase difference output by the clock recovery circuit and outputting the filtered phase difference to the monitoring sub-circuit.
5. The receiver according to any of claims 2 to 4, wherein the N subintervals are equally spaced intervals or wherein the N subintervals are non-equally spaced intervals.
6. The receiver of any of claims 2 to 5, wherein the clock recovery circuit comprises:
the clock recovery filter is used for filtering the sampling signal output by the sampling circuit to obtain a filtered sampling signal;
the phase discriminator is used for carrying out phase discrimination on the filtered sampling signals to obtain the phase difference;
the low-pass filter is used for filtering the phase difference output by the phase discriminator to obtain a phase difference average value;
the phase adjuster is used for adjusting the phase of the sampling clock signal according to the phase difference average value;
and the equalizing circuit is used for equalizing the filtered sampling signal output by the clock recovery filter.
7. The receiver according to any of claims 2 to 5, wherein each of the N subintervals corresponds to a UI domain delay, the receiver further comprising:
the phase discrimination gain estimation circuit is used for determining phase discrimination gain according to the phase delay corresponding to the phase difference output by the clock recovery circuit and the UI domain delay corresponding to the N subintervals;
the clock recovery circuit is used for adjusting the sampling clock signal according to the phase discrimination gain and the phase difference.
8. The receiver according to any of claims 2 to 5, characterized in that the receiver further comprises:
the optimal phase tracking circuit is used for respectively carrying out transmission performance statistics on the balanced signals output by the balancing circuit aiming at the N subintervals to obtain a statistical result; determining the optimal sampling phase deviation according to the statistical result;
the clock recovery circuit is further configured to adjust a phase of a sampling clock signal according to the optimal sampling phase offset.
9. The receiver of claim 6, further comprising:
the optimal phase tracking circuit is used for respectively carrying out transmission performance statistics on the filtered sampling signals output by the clock recovery filter aiming at the N subintervals to obtain a statistical result; determining the optimal sampling phase deviation according to the statistical result;
the clock recovery circuit is further configured to adjust a phase of a sampling clock signal according to the optimal sampling phase offset.
10. An equalization method for a receiver, characterized in that the receiver comprises a clock recovery circuit and an equalization circuit, the equalization circuit having N sets of equalization coefficients, where N is an integer greater than 1,
the method comprises the following steps:
sampling the received signal under the control of a sampling clock signal to obtain a sampling signal;
carrying out phase discrimination on the sampling signals through the clock recovery circuit to obtain the phase difference of the sampling signals;
the equalization circuit performs equalization processing on the sampling signal by adopting a group of equalization coefficients corresponding to the phase difference in the N groups of equalization coefficients to obtain an equalization signal;
and updating a group of equalization coefficients corresponding to the phase difference in the N groups of equalization coefficients.
11. The equalizing method according to claim 10, wherein the phase change section corresponding to the phase difference output by the clock recovery circuit includes N subintervals, and each of the N subintervals corresponds to one of the N sets of equalizing coefficients;
updating a set of equalization coefficients corresponding to the phase difference from the N sets of equalization coefficients, including:
determining a target subinterval to which the current phase difference belongs from the N subintervals;
and controlling the equalization circuit to update a group of equalization coefficients corresponding to the target subintervals.
12. The equalizing method according to claim 11, wherein the updating a set of equalization coefficients corresponding to the phase difference from among the N sets of equalization coefficients further comprises:
monitoring the variation range of the phase difference output by the clock recovery circuit in unit time length to obtain the phase variation interval;
dividing the phase change interval into the N subintervals.
13. Equalizing method according to claim 11 or 12, wherein said N sub-intervals are equally divided intervals or wherein said N sub-intervals are non-equally divided intervals.
14. Equalizing method according to one of the claims 11 to 13, characterized in that the equalizing method further comprises:
determining phase discrimination gain according to the phase delay corresponding to the phase difference and the UI domain delay corresponding to the N subintervals;
and adjusting the sampling clock signal according to the phase discrimination gain and the phase difference.
15. Equalizing method according to one of the claims 11 to 14, characterized in that the equalizing method further comprises:
respectively carrying out transmission performance statistics on the balanced signals aiming at the N subintervals to obtain a statistical result;
determining the optimal sampling phase deviation according to the statistical result;
and adjusting the phase of the sampling clock signal according to the optimal sampling phase deviation.
16. A clock recovery circuit, the clock recovery circuit comprising:
the sampler is used for sampling the received signal under the control of the sampling clock signal to obtain a sampling signal;
the adaptive equalizer is used for carrying out equalization processing on the sampling signal by adopting the plurality of equalization coefficients to obtain an equalized signal;
the phase discriminator is used for discriminating the phase of the equalized signal output by the self-adaptive equalizer to obtain the phase difference of the equalized signal;
the low-pass filter is used for filtering the phase difference to obtain a phase difference mean value;
the phase adjuster is used for carrying out phase adjustment on the sampling clock signal according to the phase difference average value;
and the control circuit is used for controlling the updating of the equalization coefficient of the self-adaptive equalizer according to the phase difference output by the phase discriminator.
17. The clock recovery circuit of claim 16, wherein the control circuit is configured to control equalization coefficient updates of the adaptive equalizer in response to determining that the phase difference belongs to a target phase interval; or,
the control circuit is configured to control an equalization coefficient of the adaptive equalizer to remain unchanged in response to determining that the phase difference does not belong to a target phase interval.
18. The clock recovery circuit of claim 16 or 17, further comprising a slicer for converting an equalized signal output by the adaptive equalizer into a binary signal, and an adder for determining an error between the equalized signal and the binary signal;
and the control circuit is used for updating the equalization coefficient of the self-adaptive equalizer according to the error and the phase difference output by the phase discriminator.
19. The clock recovery circuit of claim 17, wherein the clock recovery circuit further comprises:
the optimal phase tracking circuit is used for carrying out transmission performance statistics on the balanced signals according to the phase subintervals to obtain a statistical result; determining an optimal sampling point according to the statistical result; and adjusting the phase of the sampling clock signal according to the optimal sampling phase deviation.
20. The clock recovery circuit of claim 19, wherein the optimal phase tracking circuit is configured to adjust the position of the target phase interval based on the optimal sampling phase offset.
21. A receiver, characterized in that the receiver comprises: a clock recovery circuit according to any one of claims 16 to 19 and an equalization circuit for equalizing the sampled signal output by the sampler.
22. A method of clock recovery, the method comprising:
the method comprises the steps that a sampling signal output by a sampling circuit is equalized by a self-adaptive equalizer to obtain an equalized signal, the self-adaptive equalizer is provided with a plurality of equalization coefficients, and the sampling signal is output by the sampling circuit under the control of a sampling clock signal;
performing phase discrimination on the equalized signals output by the self-adaptive equalizer to obtain the phase difference of the equalized signals;
controlling the updating of the equalization coefficient of the self-adaptive equalizer according to the phase difference;
and carrying out phase adjustment on the sampling clock signal according to the phase difference.
23. The method of claim 22, wherein controlling the updating of the equalization coefficients of the adaptive equalizer according to the phase difference comprises:
in response to determining that the phase difference belongs to a target phase interval, controlling an equalization coefficient update of the adaptive equalizer; or,
controlling equalization coefficients of the adaptive equalizer to remain unchanged in response to determining that the phase difference does not belong to a target phase interval.
24. The method of claim 23, further comprising:
determining an optimal sampling phase deviation;
and adjusting the position of the target phase interval according to the optimal sampling phase deviation.
25. A computer device, comprising a processor and a memory, wherein:
the memory having stored therein computer instructions;
the processor executes the computer instructions to implement the method of any of claims 10 to 15 or the method of any of claims 22 to 24.
26. A computer-readable storage medium storing computer instructions which, when executed by a computer device, cause the computer device to perform the method of any one of claims 10 to 15 or to implement the method of any one of claims 22 to 24.
CN202110485936.8A 2021-04-30 2021-04-30 Receiver and equalization method therefor, clock recovery circuit and method, device and medium Pending CN115276688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110485936.8A CN115276688A (en) 2021-04-30 2021-04-30 Receiver and equalization method therefor, clock recovery circuit and method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110485936.8A CN115276688A (en) 2021-04-30 2021-04-30 Receiver and equalization method therefor, clock recovery circuit and method, device and medium

Publications (1)

Publication Number Publication Date
CN115276688A true CN115276688A (en) 2022-11-01

Family

ID=83745359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110485936.8A Pending CN115276688A (en) 2021-04-30 2021-04-30 Receiver and equalization method therefor, clock recovery circuit and method, device and medium

Country Status (1)

Country Link
CN (1) CN115276688A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118041724A (en) * 2023-12-13 2024-05-14 中科可控信息产业有限公司 Signal processing apparatus and signal processing method
WO2024104200A1 (en) * 2022-11-14 2024-05-23 集益威半导体(上海)有限公司 Dynamic power consumption management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024104200A1 (en) * 2022-11-14 2024-05-23 集益威半导体(上海)有限公司 Dynamic power consumption management system
CN118041724A (en) * 2023-12-13 2024-05-14 中科可控信息产业有限公司 Signal processing apparatus and signal processing method

Similar Documents

Publication Publication Date Title
US8929496B2 (en) Receiver with enhanced clock and data recovery
US9191244B2 (en) Equalizer and semiconductor device
US11438134B2 (en) Phase detection method, phase detection circuit, and clock recovery apparatus
CN110505027A (en) Eye opening measurement circuit, receiver and method for measuring eye opening
US20150103961A1 (en) Digital frequency band detector for clock and data recovery
US11265190B2 (en) Variable gain amplifier and sampler offset calibration without clock recovery
US20120155530A1 (en) Decoupling bang-bang cdr and dfe
US11722341B2 (en) Continuous time linear equalization and bandwidth adaptation using peak detector
US20250211507A1 (en) Link-quality estimation and anomaly detection in high-speed wireline receivers
CN115276688A (en) Receiver and equalization method therefor, clock recovery circuit and method, device and medium
US20070286315A1 (en) Digital signal processor, receiver, corrector and methods for the same
US12074735B2 (en) Horizontal centering of sampling point using multiple vertical voltage
CN113271231B (en) Detection device, detection method and processor
CN117459203A (en) Re-timer with limiter level adjustment
US8432960B2 (en) Digital adaptive channel equalizer
US20180191530A1 (en) Backchannel transmission adaptation
US11838156B2 (en) Continuous time linear equalization and bandwidth adaptation using asynchronous sampling
WO2022256729A1 (en) Horizontal centering of sampling point using vertical vernier
Liu et al. Symbol timing and carrier frequency recovery based on entropy minimization

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