[go: up one dir, main page]

CN103516471A - Error-free data receiving method and device thereof - Google Patents

Error-free data receiving method and device thereof Download PDF

Info

Publication number
CN103516471A
CN103516471A CN201210213152.0A CN201210213152A CN103516471A CN 103516471 A CN103516471 A CN 103516471A CN 201210213152 A CN201210213152 A CN 201210213152A CN 103516471 A CN103516471 A CN 103516471A
Authority
CN
China
Prior art keywords
phase
value
phase value
point
error
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.)
Granted
Application number
CN201210213152.0A
Other languages
Chinese (zh)
Other versions
CN103516471B (en
Inventor
梁侠
周海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanechips Technology Co Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210213152.0A priority Critical patent/CN103516471B/en
Publication of CN103516471A publication Critical patent/CN103516471A/en
Application granted granted Critical
Publication of CN103516471B publication Critical patent/CN103516471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

The present invention discloses an error-free data receiving method and a device thereof, wherein the method comprises the following steps: performing channel-associated clock edge detection on a preset number phase value and error code value which corresponds with the phase value in a data eye diagram of received data; determining the phase value of a central point of the data eye diagram according to the detection result; and adjusting the edge of the channel-associated clock to the time position which corresponds with the phase value of the central point of the data eye diagram, and receiving the error-free data according to the adjusted channel-associated clock. Through the method of the invention, error-free code locking and receiving can be quickly performed on condition that no enough data transition exists, thereby greatly reducing error code test time and improving test efficiency.

Description

无误码数据接收方法及装置Error-free data receiving method and device

技术领域 technical field

本发明涉及通信领域,具体而言,涉及一种无误码数据接收方法及装置。The present invention relates to the field of communications, in particular to a method and device for receiving data without error codes.

背景技术 Background technique

随着市场对通信系统容量要求的不断增加,通信系统设备内部的数字信号单链路速率也逐渐提升,例如对于传输通信系统来说,高速接口速率从最初的1.25Gbps提高到现在的11.3Gbps,接口吞吐量呈指数级增长。但是随着速率的增加,遇到的技术问题也越来越多,其中高速数据的正确接收是关键的技术难点。As the market's requirements for communication system capacity continue to increase, the single-link rate of digital signals inside communication system equipment is also gradually increasing. For example, for transmission communication systems, the high-speed interface rate has increased from the initial 1.25Gbps to the current 11.3Gbps. Interface throughput increases exponentially. However, as the rate increases, more and more technical problems are encountered, among which the correct reception of high-speed data is the key technical difficulty.

在以往的通信系统中,高速数据的接收通常是利用芯片内部的串并(SERDES)收发器,通过时钟数据恢复(Clock Data Recovery,简称为CDR)恢复出随路时钟,依靠时钟上升沿和数据的中心位置关系,达到无误码接收。但这必须满足两个条件:1、接收的数据必须有足够的跳变;2、数据0和1的个数必须要基本平衡。数字通信系统通常是依靠发送端将数据进行加扰后传输,接收端进行解扰接收数据。但对于超高速光通信传输设备和宽带无线通信设备而言,就不可能采用以上方式,请参考图1、图2,图1是根据相关技术的100Gb/s波分传输系统的结构框图,图2是根据相关技术的宽带无线通信系统的结构框图。In previous communication systems, the reception of high-speed data usually uses the serial-parallel (SERDES) transceiver inside the chip to recover the associated clock through Clock Data Recovery (CDR), relying on the rising edge of the clock and the data The relationship between the center position, to achieve error-free reception. But this must meet two conditions: 1. The received data must have enough jumps; 2. The number of data 0 and 1 must be basically balanced. Digital communication systems usually rely on the sending end to scramble the data for transmission, and the receiving end performs descrambling to receive the data. However, for ultra-high-speed optical communication transmission equipment and broadband wireless communication equipment, it is impossible to use the above methods. Please refer to Figure 1 and Figure 2. Figure 1 is a structural block diagram of a 100Gb/s wavelength division transmission system according to related technologies. Figure 1 2 is a structural block diagram of a broadband wireless communication system according to the related art.

在图1所示系统中,由于色散和非线性的影响,100Gb/s波分传输系统采用高速数字信号处理(Digital Signal Process,简称为DSP)、相干接收,前向纠错(Forward error correction,简称为FEC)技术来恢复光传输信号,接收端需要通过高速模拟/数字转换器(Analog-to-DigitalConverter,简称为ADC)将模拟电信号转换为数字信号,通过SERDES链路传输到芯片内部进行处理。由于高速ADC采样信号无法将采样后的数据进行自加扰,也无法确保每一条链路上的数据有足够的跳变,图2所示的系统也存在类似的情况,因此采样后的数据如何能无误码接收是一个巨大的难题。In the system shown in Figure 1, due to the influence of dispersion and nonlinearity, the 100Gb/s WDM transmission system adopts high-speed digital signal processing (Digital Signal Process, referred to as DSP), coherent reception, forward error correction (Forward error correction, Abbreviated as FEC) technology to recover the optical transmission signal, the receiving end needs to convert the analog electrical signal into a digital signal through a high-speed analog-to-digital converter (Analog-to-Digital Converter, referred to as ADC), and transmit it to the chip through the SERDES link. deal with. Since the high-speed ADC sampling signal cannot self-scramble the sampled data, nor can it ensure that the data on each link has enough jumps, the system shown in Figure 2 also has a similar situation, so how the sampled data Receiving without errors is a huge problem.

目前,各大通讯设备厂商都力争在超高速光传输系统和宽带无线通信系统上取得制高点,其中,接收侧是系统中最核心的部分,如何保证性能稳定,首先要保证数据在系统内部数据传输无误码。At present, major communication equipment manufacturers are striving to gain the commanding heights in ultra-high-speed optical transmission systems and broadband wireless communication systems. Among them, the receiving side is the core part of the system. How to ensure stable performance, first of all, ensure data transmission within the system No bit errors.

在现有的技术中,保证链路间的无误码传输一般都是采用接口内置的CDR进行数据恢复,然后通过调整链路的参数来达到性能最佳,然而,此种方法并不适用上述提到的情况。In the existing technology, to ensure error-free transmission between links, the built-in CDR of the interface is generally used for data recovery, and then the parameters of the links are adjusted to achieve the best performance. However, this method does not apply to the above mentioned conditions. to the situation.

针对相关技术中很难对ADC采样后的数据进行无误码接收的问题,目前尚未提出有效的解决方案。Aiming at the problem in the related art that it is difficult to receive the data sampled by the ADC without error, no effective solution has been proposed so far.

发明内容 Contents of the invention

本发明提供了一种无误码数据接收方法及装置,以至少解决上述问题。The present invention provides a method and device for receiving error-free data to at least solve the above problems.

根据本发明的一个方面,提供了一种无误码数据接收方法,包括:对接收数据的数据眼图中的预定个数相位值和相位值对应的误码值进行随路时钟边沿检测;根据检测结果确定数据眼图中心点相位值;将随路时钟的边沿调整至数据眼图中心点相位值对应的时间位置,根据调整后的随路时钟接收无误码数据。According to one aspect of the present invention, a method for receiving data without error codes is provided, including: performing an associated clock edge detection on a predetermined number of phase values and error values corresponding to the phase values in the data eye diagram of the received data; As a result, the phase value of the center point of the data eye diagram is determined; the edge of the associated clock is adjusted to the time position corresponding to the phase value of the center point of the data eye diagram, and error-free data is received according to the adjusted associated clock.

优选地,对接收数据的数据眼图中的预定个数相位值和相位值对应的误码值进行随路时钟边沿检测,包括:对相位值和误码值进行随路时钟的下降沿检测;对相位值和误码值进行随路时钟的上升沿检测。Preferably, performing the edge detection of the associated clock on the predetermined number of phase values in the data eye diagram of the received data and the error value corresponding to the phase value, including: detecting the falling edge of the associated clock on the phase value and the error value; The rising edge detection of the associated clock is performed on the phase value and the error code value.

优选地,对相位值和误码值进行随路时钟的下降沿检测,包括:当使能信号的值为1时,从相位值为0开始,对相位值和误码值进行下降沿检测;当检测到误码值从非零变到零的第一相位跳变点时,确定执行上升沿检测。Preferably, detecting the falling edge of the associated clock on the phase value and the bit error value includes: when the value of the enable signal is 1, starting from the phase value of 0, performing the falling edge detection on the phase value and the bit error value; When the first phase jump point where the bit error value changes from non-zero to zero is detected, it is determined to perform rising edge detection.

优选地,对相位值和误码值进行随路时钟的上升沿检测,包括:从第一相位跳变点开始,继续对相位值和误码值进行上升沿检测;当检测到误码值从零变到非零的第二相位跳变点时,确定检测结果为正常,否则,确定检测结果为异常。Preferably, the rising edge detection of the associated clock for the phase value and the bit error value includes: starting from the first phase jump point, continuing to detect the rising edge of the phase value and the bit error value; when the bit error value is detected from When zero changes to a non-zero second phase jump point, it is determined that the detection result is normal; otherwise, it is determined that the detection result is abnormal.

优选地,根据检测结果确定数据眼图中心点,包括:在检测结果为正常的情况下,根据第一相位跳变点和第二相位跳变点计算数据眼图中心点相位值;在检测结果为异常的情况下,将数据眼图中心点相位值设定为预先设置的默认值。Preferably, determining the center point of the data eye diagram according to the detection result includes: when the detection result is normal, calculating the phase value of the center point of the data eye diagram according to the first phase jump point and the second phase jump point; If it is abnormal, set the phase value of the center point of the data eye diagram to the preset default value.

优选地,根据第一相位跳变点和第二相位跳变点计算数据眼图中心点相位值,包括:根据以下公式计算数据眼图中心点相位值C:C=(A+B)/2,其中,A是第一相位跳变点的相位值,B是第二相位跳变点的相位值;或者,C=mod[(A+Y+B)/2,Y],其中,A是第一相位跳变点的相位值,B是第二相位跳变点的相位值,Y是相位值的预定个数。Preferably, calculating the phase value of the center point of the data eye diagram according to the first phase jump point and the second phase jump point includes: calculating the phase value C of the center point of the data eye diagram according to the following formula: C=(A+B)/2 , where A is the phase value of the first phase jump point, and B is the phase value of the second phase jump point; or, C=mod[(A+Y+B)/2, Y], where A is The phase value of the first phase jump point, B is the phase value of the second phase jump point, and Y is a predetermined number of phase values.

根据本发明的另一方面,提供了一种无误码数据接收装置,包括:检测模块,用于对接收数据的数据眼图中的预定个数相位值和相位值对应的误码值进行随路时钟边沿检测;确定模块,用于根据检测结果确定数据眼图中心点相位值;处理模块,用于将随路时钟的边沿调整至数据眼图中心点相位值对应的时间位置,根据调整后的随路时钟接收无误码数据。According to another aspect of the present invention, there is provided an error-free data receiving device, including: a detection module, which is used to follow the predetermined number of phase values and the error values corresponding to the phase values in the data eye diagram of the received data Clock edge detection; a determination module, used to determine the phase value of the center point of the data eye diagram according to the detection result; a processing module, used to adjust the edge of the associated clock to the time position corresponding to the phase value of the center point of the data eye diagram, according to the adjusted The associated clock receives error-free data.

优选地,检测模块包括:第一检测模块,用于对相位值和误码值进行随路时钟的下降沿检测;第二检测模块,用于对相位值和误码值进行随路时钟的上升沿检测。Preferably, the detection module includes: a first detection module for detecting the falling edge of the associated clock for the phase value and the error value; a second detection module for rising the associated clock for the phase value and the error value edge detection.

优选地,第一检测模块包括:第一检测单元,用于当使能信号的值为1时,从相位值为0开始,对相位值和误码值进行下降沿检测;第一确定单元,用于当检测到误码值从非零变到零的第一相位跳变点时,确定执行上升沿检测。Preferably, the first detection module includes: a first detection unit, which is used to detect the falling edge of the phase value and the bit error value starting from the phase value 0 when the value of the enable signal is 1; the first determination unit, It is used for determining to perform rising edge detection when the first phase jump point where the bit error value changes from non-zero to zero is detected.

优选地,第二检测模块包括:第二检测单元,用于从第一相位跳变点开始,继续对相位值和误码值进行上升沿检测;第二确定单元,用于当检测到误码值从零变到非零的第二相位跳变点时,确定检测结果为正常,否则,确定检测结果为异常。Preferably, the second detection module includes: a second detection unit, configured to continue to perform rising edge detection on the phase value and bit error value starting from the first phase jump point; a second determination unit, configured to detect a bit error When the value changes from zero to a non-zero second phase jump point, it is determined that the detection result is normal; otherwise, it is determined that the detection result is abnormal.

优选地,确定模块包括:计算模块,用于在检测结果为正常的情况下,根据第一相位跳变点和第二相位跳变点计算数据眼图中心点相位值;设定模块,用于在检测结果为异常的情况下,将数据眼图中心点相位值设定为预先设置的默认值。Preferably, the determination module includes: a calculation module, used to calculate the phase value of the center point of the data eye diagram according to the first phase jump point and the second phase jump point when the detection result is normal; the setting module is used to In the case that the detection result is abnormal, the phase value of the central point of the data eye diagram is set to a preset default value.

优选地,计算模块包括:计算单元,用于根据以下公式计算数据眼图中心点相位值C:C=(A+B)/2,其中,A是第一相位跳变点的相位值,B是第二相位跳变点的相位值;或者,C=mod[(A+Y+B)/2,Y],其中,A是第一相位跳变点的相位值,B是第二相位跳变点的相位值,Y是相位值的预定个数。Preferably, the calculation module includes: a calculation unit for calculating the phase value C of the central point of the data eye diagram according to the following formula: C=(A+B)/2, where A is the phase value of the first phase jump point, and B is the phase value of the second phase jump point; or, C=mod[(A+Y+B)/2, Y], where A is the phase value of the first phase jump point, and B is the second phase jump point The phase value of the change point, Y is the predetermined number of phase values.

通过本发明,采用通过对接收数据的数据眼图中的预定个数相位值和相位值对应的误码值分别进行随路时钟下降沿和上升沿检测,根据检测结果确定数据眼图中心点相位值的方式,解决了相关技术中很难对ADC采样后的数据进行无误码接收的问题,进而达到了在数据没有足够的跳变的情况下也能快速进行无误码锁定、接收,大大节省误码测试时间,提高测试效率的效果。According to the present invention, by detecting the falling edge and rising edge of the associated clock on the predetermined number of phase values and the error values corresponding to the phase values in the data eye diagram of the received data, the phase of the central point of the data eye diagram is determined according to the detection result The value method solves the problem that it is difficult to receive the data sampled by the ADC without error in the related technology, and then achieves fast error-free locking and reception even when the data does not have enough jumps, which greatly saves errors. Code test time, improve the effect of test efficiency.

附图说明 Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1是根据相关技术的100Gb/s波分传输系统的结构框图;Fig. 1 is a structural block diagram of a 100Gb/s wavelength division transmission system according to related technologies;

图2是根据相关技术的宽带无线通信系统的结构框图;FIG. 2 is a structural block diagram of a broadband wireless communication system according to the related art;

图3是根据本发明实施例的无误码数据接收方法流程图;3 is a flowchart of a method for receiving data without errors according to an embodiment of the present invention;

图4是根据本发明优选实施例的无误码数据接收方法中使用的误码统计“盆浴曲线”图;Fig. 4 is a "bath curve" diagram of bit error statistics used in the error-free data receiving method according to a preferred embodiment of the present invention;

图5是根据本发明优选实施例的数据中心点相位值的计算状态机的计算流程示意图;Fig. 5 is a schematic diagram of the calculation flow of the calculation state machine of the data center point phase value according to a preferred embodiment of the present invention;

图6是根据本发明实施例的无误码数据接收装置的结构框图;以及6 is a structural block diagram of an error-free data receiving device according to an embodiment of the present invention; and

图7是根据本发明优选实施例的无误码数据接收装置的结构框图。Fig. 7 is a structural block diagram of an error-free data receiving device according to a preferred embodiment of the present invention.

具体实施方式 Detailed ways

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

首先,对本发明实施例提供的无误码数据接收方法的执行思路进行一个简要介绍:衡量高速链路性能的最直接指标就是误码率(BER),通常情况下,衡量BER的数量级要到达10-12~10-15,比如Common Electrical I/O(CEI-6G-LR)协议规定速率达到6.375Gbps,布线长度为40英寸的链路,误码率要达到10-15。衡量如此低的误码率,时间因素对于测试人员来说,是一个非常大的问题,比如链路的速率为2.620Gbps(381ps/bit),按照出现100个错误概率平均统计来计算,需要381ps×10^12×100=381000s≈2.7hours。First, a brief introduction to the execution idea of the error-free data receiving method provided by the embodiment of the present invention: the most direct indicator to measure the performance of a high-speed link is the bit error rate (BER). Normally, the order of magnitude of the BER should reach 10- 12 to 10-15. For example, the Common Electrical I/O (CEI-6G-LR) protocol stipulates that the rate reaches 6.375Gbps, and the link length is 40 inches, and the bit error rate must reach 10-15. To measure such a low bit error rate, the time factor is a very big problem for testers. For example, the rate of the link is 2.620Gbps (381ps/bit), calculated according to the average statistics of 100 error probability, it takes 381ps ×10^12×100=381000s≈2.7hours.

利用高速模拟/数字转换器(ADC)的随路时钟与采样数据的相位关系,将通常SERDESCDR锁定在数据的模式(Lock To Data)变化为锁定在参考时钟的模式(Lock To Reference),并以随路时钟的眼图宽度为基点,对数据进行二次采样,通过调整时钟边沿得到当前数据误码率,最终确定数据的眼图中心点。Using the phase relationship between the high-speed analog/digital converter (ADC) associated clock and the sampled data, the usual SERDESCDR locked data mode (Lock To Data) is changed to the reference clock mode (Lock To Reference), and with The eye diagram width of the associated clock is the base point, and the data is re-sampled, and the current data bit error rate is obtained by adjusting the clock edge, and finally the center point of the eye diagram of the data is determined.

图3是根据本发明实施例的无误码数据接收方法流程图,如图3所示,该方法主要包括以下步骤(步骤S302-步骤S306)。Fig. 3 is a flowchart of a method for receiving data without error codes according to an embodiment of the present invention. As shown in Fig. 3 , the method mainly includes the following steps (step S302-step S306).

步骤S302,对接收数据的数据眼图中的预定个数相位值和相位值对应的误码值进行随路时钟边沿检测。Step S302, performing channel-associated clock edge detection on a predetermined number of phase values in the data eye diagram of the received data and bit error values corresponding to the phase values.

步骤S304,根据检测结果确定数据眼图中心点相位值。Step S304, determine the phase value of the central point of the data eye diagram according to the detection result.

步骤S306,将随路时钟的边沿调整至数据眼图中心点相位值对应的时间位置,根据调整后的随路时钟接收无误码数据。Step S306, adjusting the edge of the channel-associated clock to the time position corresponding to the phase value of the center point of the data eye diagram, and receiving error-free data according to the adjusted channel-associated clock.

在本实施例中,步骤S302可以这样实施:先对相位值和误码值进行随路时钟的下降沿检测;再对相位值和误码值进行随路时钟的上升沿检测。In this embodiment, step S302 may be implemented as follows: firstly detect the falling edge of the associated clock for the phase value and the error value; then perform the rising edge detection for the phase value and the error value.

其中,当对相位值和误码值进行随路时钟的下降沿检测时,可以采用这样的方式实现:当使能信号的值为1时,从相位值为0开始,对相位值和误码值进行下降沿检测;当检测到误码值从非零变到零的第一相位跳变点时,确定执行上升沿检测。其中,当对相位值和误码值进行随路时钟的上升沿检测时,可以采用这样的方式实现:从第一相位跳变点开始,继续对相位值和误码值进行上升沿检测;当检测到误码值从零变到非零的第二相位跳变点时,确定检测结果为正常,否则,确定检测结果为异常。Among them, when the falling edge detection of the associated clock is performed on the phase value and bit error value, it can be realized in this way: when the value of the enable signal is 1, starting from the phase value of 0, the phase value and bit error value value to perform falling edge detection; when the first phase jump point where the bit error value changes from non-zero to zero is detected, it is determined to perform rising edge detection. Wherein, when the rising edge detection of the associated clock is performed on the phase value and the bit error value, it can be realized in such a way: starting from the first phase jump point, continue to detect the rising edge of the phase value and the bit error value; When detecting the second phase jump point where the bit error value changes from zero to non-zero, it is determined that the detection result is normal; otherwise, it is determined that the detection result is abnormal.

在本实施例中,步骤S304可以这样实施:在检测结果为正常的情况下,根据第一相位跳变点和第二相位跳变点计算数据眼图中心点相位值;在检测结果为异常的情况下,将数据眼图中心点相位值设定为预先设置的默认值。In this embodiment, step S304 can be implemented as follows: if the detection result is normal, calculate the phase value of the center point of the data eye diagram according to the first phase jump point and the second phase jump point; if the detection result is abnormal In this case, set the phase value of the center point of the data eye diagram to the preset default value.

其中,当根据第一相位跳变点和第二相位跳变点计算数据眼图中心点相位值时,可以采用这样的方式实现:根据以下公式计算数据眼图中心点相位值C:C=(A+B)/2,其中,A是第一相位跳变点的相位值,B是第二相位跳变点的相位值;或者,C=mod[(A+Y+B)/2,Y],其中,A是第一相位跳变点的相位值,B是第二相位跳变点的相位值,Y是相位值的预定个数。Among them, when calculating the phase value of the center point of the data eye diagram according to the first phase jump point and the second phase jump point, it can be realized in this way: calculate the phase value C of the center point of the data eye diagram according to the following formula: C=( A+B)/2, where A is the phase value of the first phase jump point, B is the phase value of the second phase jump point; or, C=mod[(A+Y+B)/2, Y ], where A is the phase value of the first phase jump point, B is the phase value of the second phase jump point, and Y is the predetermined number of phase values.

请同时参考图4、图5,以下结合图4和图5以及优选实施例对上述实施例提供的无误码数据接收方法进行详细说明。Please refer to FIG. 4 and FIG. 5 at the same time. The error-free data receiving method provided by the above embodiment will be described in detail below in conjunction with FIG. 4 and FIG. 5 and the preferred embodiment.

该优选实施例利用了误码统计“盆浴曲线”特性(图4是根据本发明优选实施例的无误码数据接收方法中使用的误码统计“盆浴曲线”图),如图4所示,找到误码值为非0到0的跳变点,然后再找出误码值为0到非0对应的时钟相位值,最后确定数据眼图中心点相位值。This preferred embodiment utilizes the bit error statistics "bath curve" characteristic (Fig. 4 is the bit error statistics "bath curve" figure used in the error-free data receiving method according to the preferred embodiment of the present invention), as shown in Figure 4, find The bit error value is the transition point from non-0 to 0, and then find out the clock phase value corresponding to the bit error value from 0 to non-0, and finally determine the phase value of the center point of the data eye diagram.

图5是根据本发明优选实施例的数据中心点相位值的计算状态机的计算流程示意图,如图5所示,该计算流程可以通过以下几个步骤来实施:Fig. 5 is a schematic diagram of the calculation flow of the calculation state machine of the phase value of the data center point according to a preferred embodiment of the present invention. As shown in Fig. 5, the calculation flow can be implemented through the following steps:

(1)初始化(initial)。确保状态机复位,使能信号拉高,并且数据眼图对应32个相位值的误码数都已经计算完成。(1) Initialization (initial). Make sure that the state machine is reset, the enable signal is pulled high, and the number of bit errors corresponding to the 32 phase values of the data eye diagram has been calculated.

(2)空闲状态(idle)。等待相位计算开始(取决于使能信号是否有效),当使能信号有效(即使能信号的值phas_calc_start=1)时开始计算,进入下降沿检测状态(Nedge_Pose),否则,继续空闲。(2) Idle state (idle). Wait for the phase calculation to start (depending on whether the enable signal is valid), start calculation when the enable signal is valid (that is, the value of the enable signal phas_calc_start=1), enter the falling edge detection state (Nedge_Pose), otherwise, continue to idle.

(3)下降沿检测状态(Nedge_Pose)。从相位0对应的误码值开始检测,找到误码值从正到0的相位点a时,确定为检测正常,进入上升沿检测状态(Posed_nedge),如果相位递增到31依旧无法找到相位点a,则确定为检测异常,跳转到相位计算状态(PHA_CAL)中按照默认值进行最佳相位值(即,数据眼图中心点相位值)的确定。(3) Falling edge detection status (Nedge_Pose). Start detection from the bit error value corresponding to phase 0. When the phase point a with the bit error value from positive to 0 is found, it is determined that the detection is normal and enters the rising edge detection state (Posed_nedge). If the phase increases to 31, the phase point a still cannot be found. , it is determined to be an abnormal detection, jump to the phase calculation state (PHA_CAL) to determine the best phase value (that is, the phase value of the center point of the data eye diagram) according to the default value.

(4)上升沿检测状态(Posed_nedge)。从相位a对应的误码值开始检测,找到误码值从0到正的相位点b时,确定为检测正常,进入相位值计算状态(PHA_CAL)中,结合相位点a计算最佳相位值(即,数据眼图中心点相位值),否则,确定为检测异常,跳转到相位计算状态(PHA_CAL)中按照默认值进行最佳相位值(即,数据眼图中心点相位值)的确定。由此可见,无论是否检测到相位点b,都进入相位值计算状态(PHA_CAL)。(4) Rising edge detection status (Posed_nedge). Start detection from the bit error value corresponding to phase a, and when the bit error value is found from 0 to positive phase point b, it is determined that the detection is normal, enter the phase value calculation state (PHA_CAL), and calculate the best phase value combined with phase point a ( That is, the phase value of the center point of the data eye diagram), otherwise, it is determined that the detection is abnormal, and jumps to the phase calculation state (PHA_CAL) to determine the optimal phase value (ie, the phase value of the center point of the data eye diagram) according to the default value. It can be seen that no matter whether the phase point b is detected or not, it enters the phase value calculation state (PHA_CAL).

(5)相位值计算状态(PHA_CAL)。根据不同的情况,计算中心点相位值(数据眼图中心点相位值)。如果能得到相位点a和b,最佳相位值=(相位点a+b)/2或者mod[(a+32+b)/2,32],如图3所示。否则最佳相位值=默认值16。(5) Phase value calculation status (PHA_CAL). According to different situations, calculate the phase value of the center point (the phase value of the center point of the data eye diagram). If phase points a and b can be obtained, the optimal phase value = (phase point a+b)/2 or mod[(a+32+b)/2,32], as shown in Figure 3. Otherwise best phase value = default 16.

(6)将随路时钟的边沿调整至数据眼图中心点相位值对应的时间位置,根据调整后的随路时钟接收无误码数据(调整之后进行无误码数据的接收操作属于现有技术部分,不再多赘述)。(6) Adjust the edge of the associated clock to the time position corresponding to the phase value of the center point of the data eye diagram, and receive the error-free data according to the adjusted associated clock (the receiving operation of the error-free data after adjustment belongs to the prior art part, no more details).

采用上述实施例提供的无误码数据接收方法,通过对接收数据的数据眼图中的预定个数相位值和相位值对应的误码值分别进行随路时钟下降沿和上升沿检测,根据检测结果确定数据眼图中心点相位值,解决了相关技术中很难对ADC采样后的数据进行无误码接收的问题,进而达到了在数据没有足够的跳变的情况下也能快速进行无误码锁定、接收,大大节省误码测试时间,提高测试效率的效果。Using the error-free data receiving method provided by the above-mentioned embodiment, by detecting the falling edge and rising edge of the associated clock on the predetermined number of phase values and the error values corresponding to the phase values in the data eye diagram of the received data, according to the detection results Determining the phase value of the center point of the data eye diagram solves the problem in the related art that it is difficult to receive the data sampled by the ADC without error, and then achieves fast error-free locking even when the data does not have enough jumps. reception, which greatly saves the time of bit error testing and improves the test efficiency.

图6是根据本发明实施例的无误码数据接收装置的结构框图,该装置用以实现上述实施例提供的无误码数据接收方法,如图6所示,该装置主要包括:检测模块10、确定模块20以及处理模块30。其中,检测模块10,用于对接收数据的数据眼图中的预定个数相位值和相位值对应的误码值进行随路时钟边沿检测;确定模块20,连接至检测模块10,用于根据检测结果确定数据眼图中心点相位值;处理模块30,连接至确定模块20,用于将随路时钟的边沿调整至数据眼图中心点相位值对应的时间位置,根据调整后的随路时钟接收无误码数据。Fig. 6 is a structural block diagram of an error-free data receiving device according to an embodiment of the present invention. The device is used to implement the error-free data receiving method provided in the above embodiment. As shown in Fig. 6, the device mainly includes: a detection module 10, a determination Module 20 and processing module 30. Among them, the detection module 10 is used to detect the associated clock edge of the predetermined number of phase values and the error values corresponding to the phase values in the data eye diagram of the received data; the determination module 20 is connected to the detection module 10. The detection result determines the phase value of the center point of the data eye diagram; the processing module 30 is connected to the determination module 20, and is used to adjust the edge of the associated clock to the time position corresponding to the phase value of the center point of the data eye diagram, according to the adjusted associated clock Receive error-free data.

图7是根据本发明优选实施例的无误码数据接收装置的结构框图,如图7所示,在该优选实施例提供的装置中,检测模块10可以包括:第一检测模块12,用于对相位值和误码值进行随路时钟的下降沿检测;第二检测模块14,连接至第一检测模块12,用于对相位值和误码值进行随路时钟的上升沿检测。Fig. 7 is a structural block diagram of an error-free data receiving device according to a preferred embodiment of the present invention. As shown in Fig. 7, in the device provided in this preferred embodiment, the detection module 10 may include: a first detection module 12 for detecting The phase value and the bit error value are detected by the falling edge of the associated clock; the second detection module 14 is connected to the first detection module 12, and is used for detecting the rising edge of the associated clock for the phase value and the bit error value.

其中,第一检测模块12可以包括:第一检测单元122,用于当使能信号的值为1时,从相位值为0开始,对相位值和误码值进行下降沿检测;第一确定单元124,连接至第一检测单元122,用于当检测到误码值从非零变到零的第一相位跳变点时,确定执行上升沿检测。Wherein, the first detection module 12 may include: a first detection unit 122, configured to perform falling edge detection on the phase value and the bit error value starting from the phase value 0 when the value of the enable signal is 1; the first determination A unit 124, connected to the first detection unit 122, is configured to determine to perform rising edge detection when a first phase jump point at which the bit error value changes from non-zero to zero is detected.

第二检测模块14可以包括:第二检测单元142,用于从第一相位跳变点开始,继续对相位值和误码值进行上升沿检测;第二确定单元144,连接至第二检测单元142,用于当检测到误码值从零变到非零的第二相位跳变点时,确定检测结果为正常,否则,确定检测结果为异常。The second detection module 14 may include: a second detection unit 142, which is used to continue to detect the rising edge of the phase value and the error code value from the first phase jump point; a second determination unit 144, connected to the second detection unit 142, configured to determine that the detection result is normal when a second phase jump point at which the bit error value changes from zero to non-zero is detected; otherwise, determine that the detection result is abnormal.

在该优选实施例提供的装置中,确定模块20可以包括:计算模块22,用于在检测结果为正常的情况下,根据第一相位跳变点和第二相位跳变点计算数据眼图中心点相位值;设定模块24,用于在检测结果为异常的情况下,将数据眼图中心点相位值设定为预先设置的默认值。In the device provided in this preferred embodiment, the determination module 20 may include: a calculation module 22, configured to calculate the center of the data eye diagram according to the first phase jump point and the second phase jump point when the detection result is normal Point phase value; a setting module 24, configured to set the center point phase value of the data eye pattern to a preset default value when the detection result is abnormal.

其中,计算模块22可以包括:计算单元222,用于根据以下公式计算数据眼图中心点相位值C:C=(A+B)/2,其中,A是第一相位跳变点的相位值,B是第二相位跳变点的相位值;或者,C=mod[(A+Y+B)/2,Y],其中,A是第一相位跳变点的相位值,B是第二相位跳变点的相位值,Y是相位值的预定个数。Wherein, the calculation module 22 may include: a calculation unit 222, which is used to calculate the phase value C of the center point of the data eye diagram according to the following formula: C=(A+B)/2, where A is the phase value of the first phase jump point , B is the phase value of the second phase jump point; or, C=mod[(A+Y+B)/2, Y], where A is the phase value of the first phase jump point, B is the second The phase value of the phase jump point, Y is the predetermined number of phase values.

采用上述实施例提供的无误码数据接收装置,通过对接收数据的数据眼图中的预定个数相位值和相位值对应的误码值分别进行随路时钟下降沿和上升沿检测,根据检测结果确定数据眼图中心点相位值,解决了相关技术中很难对ADC采样后的数据进行无误码接收的问题,进而达到了在数据没有足够的跳变的情况下也能快速进行无误码锁定、接收,大大节省误码测试时间,提高测试效率的效果。Using the error-free data receiving device provided by the above-mentioned embodiment, by detecting the falling edge and rising edge of the associated clock on the predetermined number of phase values and the error values corresponding to the phase values in the data eye diagram of the received data, according to the detection result Determining the phase value of the center point of the data eye diagram solves the problem in the related art that it is difficult to receive the data sampled by the ADC without error, and then achieves fast error-free locking even when the data does not have enough jumps. reception, which greatly saves the time of bit error testing and improves the test efficiency.

从以上的描述中,可以看出,本发明实现了如下技术效果:采用通过对接收数据的数据眼图中的预定个数相位值和相位值对应的误码值分别进行随路时钟下降沿和上升沿检测,根据检测结果确定数据眼图中心点相位值的方式,解决了相关技术中很难对ADC采样后的数据进行无误码接收的问题,可以保证系统内部链路的数据传输,即使在数据没有足够的跳变的情况下也能快速进行无误码锁定、接收,进而达到了大大节省误码测试时间,提高测试效率的效果。From the above description, it can be seen that the present invention achieves the following technical effects: by performing the corresponding phase values of the predetermined number of phase values and the error values corresponding to the phase values in the data eye diagram of the received data respectively Rising edge detection, which determines the phase value of the center point of the data eye diagram according to the detection results, solves the problem in related technologies that it is difficult to receive the data sampled by the ADC without error, and can ensure the data transmission of the internal link of the system, even in the Even if the data does not have enough jumps, it can quickly lock and receive error-free codes, thereby achieving the effect of greatly saving code error testing time and improving test efficiency.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (12)

1. An error-free data receiving method, comprising:
carrying out channel associated clock edge detection on a preset number of phase values in a data eye diagram of received data and error code values corresponding to the phase values;
determining a phase value of the center point of the data eye diagram according to the detection result;
and adjusting the edge of the channel associated clock to the time position corresponding to the phase value of the central point of the data eye diagram, and receiving error-free data according to the adjusted channel associated clock.
2. The method of claim 1, wherein performing on-the-fly clock edge detection on a predetermined number of phase values and error values corresponding to the phase values in a data eye of received data comprises:
detecting the falling edge of the associated clock for the phase value and the error code value;
and detecting the rising edge of the associated clock for the phase value and the error code value.
3. The method of claim 2, wherein detecting a falling edge of a associated clock for the phase value and the error value comprises:
when the value of the enable signal is 1, starting from the phase value being 0, carrying out falling edge detection on the phase value and the error code value;
determining to perform the rising edge detection when a first phase trip point is detected at which the error code value changes from non-zero to zero.
4. The method of claim 3, wherein detecting a rising edge of a associated clock for the phase value and the error value comprises:
starting from the first phase jump point, continuing to perform rising edge detection on the phase value and the error code value;
and when a second phase jump point that the error code value is changed from zero to non-zero is detected, determining that the detection result is normal, otherwise, determining that the detection result is abnormal.
5. The method of claim 4, wherein determining the data eye center point based on the detection comprises:
under the condition that the detection result is normal, calculating the phase value of the center point of the data eye diagram according to the first phase jump point and the second phase jump point;
and setting the phase value of the center point of the data eye pattern as a preset default value when the detection result is abnormal.
6. The method of claim 5, wherein calculating the data eye center phase value from the first phase trip point and the second phase trip point comprises:
calculating the data eye center phase value C according to the following formula:
c = (a + B)/2, where a is the phase value of the first phase trip point and B is the phase value of the second phase trip point; or,
c = mod [ (a + Y + B)/2, Y ], where a is the phase value of the first phase jump point, B is the phase value of the second phase jump point, and Y is a predetermined number of phase values.
7. An error-free data receiving apparatus, comprising:
the detection module is used for carrying out associated clock edge detection on a preset number of phase values in a data eye diagram of received data and error code values corresponding to the phase values;
the determining module is used for determining a phase value of the center point of the data eye diagram according to the detection result;
and the processing module is used for adjusting the edge of the associated clock to the time position corresponding to the phase value of the central point of the data eye diagram and receiving error-free data according to the adjusted associated clock.
8. The apparatus of claim 7, wherein the detection module comprises:
the first detection module is used for detecting the falling edge of the associated clock of the phase value and the error code value;
and the second detection module is used for detecting the rising edge of the associated clock of the phase value and the error code value.
9. The apparatus of claim 8, wherein the first detection module comprises:
a first detection unit, configured to perform falling edge detection on the phase value and the error code value from the phase value being 0 when a value of an enable signal is 1;
a first determination unit configured to determine to perform the rising edge detection when a first phase transition point at which the error code value changes from non-zero to zero is detected.
10. The apparatus of claim 9, wherein the second detection module comprises:
a second detection unit, configured to continue performing rising edge detection on the phase value and the error code value from the first phase jump point;
and the second determining unit is used for determining that the detection result is normal when a second phase jump point that the error code value changes from zero to nonzero is detected, and otherwise, determining that the detection result is abnormal.
11. The apparatus of claim 10, wherein the determining module comprises:
the calculation module is used for calculating the phase value of the center point of the data eye diagram according to the first phase jump point and the second phase jump point under the condition that the detection result is normal;
and the setting module is used for setting the phase value of the center point of the data eye diagram as a preset default value under the condition that the detection result is abnormal.
12. The apparatus of claim 11, wherein the computing module comprises:
a calculating unit, configured to calculate the data eye center point phase value C according to the following formula:
c = (a + B)/2, where a is the phase value of the first phase trip point and B is the phase value of the second phase trip point; or,
c = mod [ (a + Y + B)/2, Y ], where a is the phase value of the first phase jump point, B is the phase value of the second phase jump point, and Y is a predetermined number of phase values.
CN201210213152.0A 2012-06-26 2012-06-26 Without number of bit errors according to method of reseptance and device Active CN103516471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210213152.0A CN103516471B (en) 2012-06-26 2012-06-26 Without number of bit errors according to method of reseptance and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210213152.0A CN103516471B (en) 2012-06-26 2012-06-26 Without number of bit errors according to method of reseptance and device

Publications (2)

Publication Number Publication Date
CN103516471A true CN103516471A (en) 2014-01-15
CN103516471B CN103516471B (en) 2017-11-03

Family

ID=49898576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210213152.0A Active CN103516471B (en) 2012-06-26 2012-06-26 Without number of bit errors according to method of reseptance and device

Country Status (1)

Country Link
CN (1) CN103516471B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905435A (en) * 2005-07-29 2007-01-31 国际商业机器公司 Methods and apparatus for clock synchronization
US20070201595A1 (en) * 2006-02-24 2007-08-30 Stimple James R Clock recovery system
CN101867368A (en) * 2009-04-20 2010-10-20 索尼公司 Clock data recovery circuit and multiplied-frequency clock generation circuit
CN102143105A (en) * 2011-01-28 2011-08-03 中兴通讯股份有限公司 Control device and method for improving stability of cross point of eye pattern

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905435A (en) * 2005-07-29 2007-01-31 国际商业机器公司 Methods and apparatus for clock synchronization
US20070201595A1 (en) * 2006-02-24 2007-08-30 Stimple James R Clock recovery system
CN101867368A (en) * 2009-04-20 2010-10-20 索尼公司 Clock data recovery circuit and multiplied-frequency clock generation circuit
CN102143105A (en) * 2011-01-28 2011-08-03 中兴通讯股份有限公司 Control device and method for improving stability of cross point of eye pattern

Also Published As

Publication number Publication date
CN103516471B (en) 2017-11-03

Similar Documents

Publication Publication Date Title
US10116413B2 (en) Determining a high data rate for backchannel communications for initialization of high-speed networks
US10123280B2 (en) Dynamic power control in a transmission link
US9948507B2 (en) Backchannel communications for initialization of high-speed networks
US8553814B2 (en) Rapid sampling phase recovery
CN103516471B (en) Without number of bit errors according to method of reseptance and device
WO2024198605A1 (en) Method and system for determining decision threshold for multiple asynchronous wavelength label signals
CN113572534A (en) Signal processing method and device
CN104160626B (en) Cycle slip detection method and correction method of digital signals and related apparatus
CN115516816B (en) Frame synchronization system, frame synchronization circuit and frame synchronization method
US20250007606A1 (en) Signal-to-noise ratio-based bit error ratio calculation for reporting beyond a forward error correction threshold
US11996884B1 (en) Dual marker based latency measurement
US20230127848A1 (en) Fast optical receiver recovery on client side using optical interconnects with DSPs
KR101286962B1 (en) Apparatus and method of detection for a point of packet end in wireless communication systems
CN107800584A (en) Self-test method and self-test system for Ethernet physical layer circuit
KR101836221B1 (en) Method and Apparatus for PMD-induced penalty mitigation in IM-DD optical transmission systems
CN116938648A (en) Equalizing device, equalizing method and receiving equipment
CN118784126A (en) A clock recovery method, related device and system
CN113452440A (en) Quality detection method and device for optical module, storage medium and electronic equipment
CN117353827A (en) A DSP method and system for QAM coherent optical transmission communication
Wei et al. Simultaneous optical signal to noise ratio and symbol rate estimation with blind chromatic dispersion compensation for auxiliary amplitude modulation optical signals
Shastri et al. Probabilistic theory for semi-blind oversampling burst-mode clock and data recovery circuits
JP2014120921A (en) Frame processing circuit and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20151106

Address after: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant after: ZTE Corp.

Applicant after: SANECHIPS TECHNOLOGY Co.,Ltd.

Address before: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Applicant before: ZTE Corp.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221206

Address after: 518055 Zhongxing Industrial Park, Liuxian Avenue, Xili street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: SANECHIPS TECHNOLOGY Co.,Ltd.

Address before: 518057 Ministry of justice, Zhongxing building, South Science and technology road, Nanshan District hi tech Industrial Park, Shenzhen, Guangdong

Patentee before: ZTE Corp.

Patentee before: SANECHIPS TECHNOLOGY Co.,Ltd.