[go: up one dir, main page]

CN109286482B - Method and device for realizing clock recovery - Google Patents

Method and device for realizing clock recovery Download PDF

Info

Publication number
CN109286482B
CN109286482B CN201710589284.6A CN201710589284A CN109286482B CN 109286482 B CN109286482 B CN 109286482B CN 201710589284 A CN201710589284 A CN 201710589284A CN 109286482 B CN109286482 B CN 109286482B
Authority
CN
China
Prior art keywords
difference
amount
input data
data
calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710589284.6A
Other languages
Chinese (zh)
Other versions
CN109286482A (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.)
Xi'an Chris Semiconductor Technology Co ltd
Original Assignee
Sanechips Technology 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 Sanechips Technology Co Ltd filed Critical Sanechips Technology Co Ltd
Priority to CN201710589284.6A priority Critical patent/CN109286482B/en
Publication of CN109286482A publication Critical patent/CN109286482A/en
Application granted granted Critical
Publication of CN109286482B publication Critical patent/CN109286482B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0008Synchronisation information channels, e.g. clock distribution lines
    • H04L7/0012Synchronisation information channels, e.g. clock distribution lines by comparing receiver clock with transmitter clock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • H04Q2011/0037Operation
    • H04Q2011/0045Synchronisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

一种实现时钟恢复的方法及装置,包括:根据输入数据的时间误差计算输入数据量;使用恢复时钟的频率计算输出数据量;对比计算获得的输入数据量和输出数据量的差,获得第一数据量差值;根据获得的第一数据量差值更新恢复时钟的频率。本发明实施例根据计算获得的输入数据量和输出数据量,缩短了获取恢复时钟的时长,降低了缓存资源的消耗;进一步的,本发明实施例根据实际输入的数据量和实际输出的数据量计算第二数据量差值对计算获得的输入数据量进行调整,提高了计算获得的恢复时钟的精度。

Figure 201710589284

A method and device for realizing clock recovery, comprising: calculating the amount of input data according to the time error of the input data; calculating the amount of output data using the frequency of the recovered clock; Data volume difference; update the frequency of the recovered clock according to the obtained first data volume difference. According to the amount of input data and the amount of output data obtained by calculation, the embodiment of the present invention shortens the time for obtaining the recovered clock and reduces the consumption of cache resources; further, the embodiment of the present invention is based on the amount of actual input data and the amount of actual output data. The calculation of the second data volume difference adjusts the input data volume obtained by calculation, thereby improving the precision of the recovered clock obtained by calculation.

Figure 201710589284

Description

一种实现时钟恢复的方法及装置A method and apparatus for realizing clock recovery

技术领域technical field

本文涉及但不限于数据传输技术,尤指一种实现时钟恢复的方法及装置。This article relates to, but is not limited to, data transmission technology, especially a method and apparatus for realizing clock recovery.

背景技术Background technique

在传输技术的发展中,光纤被证明是一种不可或缺的媒介。光传输的发展基本经历了以下几个阶段:空分复用(SDM)阶段、时分复用(TDM)阶段和波分复用(WDM)阶段。In the development of transmission technology, optical fiber has proved to be an indispensable medium. The development of optical transmission has basically gone through the following stages: space division multiplexing (SDM) stage, time division multiplexing (TDM) stage and wavelength division multiplexing (WDM) stage.

目前,有线传输依然以WDM系统为主。随着通信技术的发展,商用的40吉(G)波分传输逐渐演变到100G、400G传输;数据传输距离上也在不断的拓展。WDM系统在传输过程中会使用数字信号处理(DSP)的方法,本文将其称之为100G DSP处理。At present, the wired transmission is still dominated by the WDM system. With the development of communication technology, the commercial 40 gigabit (G) wavelength division transmission has gradually evolved to 100G and 400G transmission; the data transmission distance is also constantly expanding. The WDM system will use the digital signal processing (DSP) method in the transmission process, which is called 100G DSP processing in this paper.

100G DSP处理在接收端需要从数据流中恢复出时钟信息,要求接收端的时钟能够恢复发送端的时钟,即进行时钟恢复,由于100G DSP处理速率上经常有短期突发性,其恢复时钟速率必须稳定,长期来说,必须精确的跟踪数据源速率,以达到数据平滑连续处理。相关技术的处理方法是:对一段时间内的数据量进行积分,包括:采集一个时钟恢复周期内到达的时间间隔,利用滤波器对时间间隔进行处理,估计出发送端数据的恢复时钟的频率。上述方式通常存在:提取时钟时间长;长时间运行不稳定;依赖数据缓存,容易造成资源消耗等问题。100G DSP processing needs to recover the clock information from the data stream at the receiving end. It is required that the clock of the receiving end can recover the clock of the sending end, that is, clock recovery is performed. Since the processing rate of 100G DSP often has short-term bursts, the recovery clock rate must be stable. , in the long run, the data source rate must be accurately tracked to achieve smooth and continuous data processing. The processing method in the related art is: integrating the amount of data in a period of time, including: collecting the time interval arriving in a clock recovery period, processing the time interval with a filter, and estimating the frequency of the recovered clock of the data at the sender. The above methods usually have the following problems: long extraction clock time; unstable operation for a long time; relying on data cache, which is easy to cause problems such as resource consumption.

发明内容SUMMARY OF THE INVENTION

以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this article. This summary is not intended to limit the scope of protection of the claims.

本发明实施例提供了一种实现时钟恢复的方法及装置,能够缩短获取恢复时钟的时长,降低缓存资源的消耗。Embodiments of the present invention provide a method and device for realizing clock recovery, which can shorten the time for obtaining the recovered clock and reduce the consumption of cache resources.

本发明实施例提供了一种实现时钟恢复的方法,包括:An embodiment of the present invention provides a method for implementing clock recovery, including:

根据输入数据的时间误差计算输入数据量;Calculate the amount of input data according to the time error of the input data;

使用恢复时钟的频率计算输出数据量;Calculate the amount of output data using the frequency of the recovered clock;

对比计算获得的输入数据量和输出数据量的差,获得第一数据量差值;Comparing the difference between the input data amount and the output data amount obtained by the calculation to obtain the first data amount difference;

根据获得的第一数据量差值更新恢复时钟的频率。The frequency of the recovered clock is updated according to the obtained first data amount difference.

可选的,所述方法还包括:Optionally, the method further includes:

计算实际输入的数据量和实际输出的数据量的差,获得第二数据量差值;Calculate the difference between the actual input data amount and the actual output data amount to obtain the second data amount difference;

根据计算获得的所述第二数据量差值对计算获得的所述输入数据量进行调整。The calculated input data volume is adjusted according to the calculated second data volume difference.

可选的,所述根据计算获得的第二数据量差值对计算获得的所述输入数据量进行调整包括:Optionally, the adjusting the calculated input data amount according to the calculated second data amount difference includes:

对计算获得的所述第二数据量差值进行滤波处理;Perform filtering processing on the second data amount difference obtained by calculation;

根据滤波处理后的所述第二数据量差值确定数据缓存水位是否低于预设的期望值;Determine whether the data cache water level is lower than a preset expected value according to the filtered second data volume difference;

确定数据缓存水位低于预设的期望值时,按照第一预设策略减少计算获得的所述输入数据量;确定数据缓存水位高于预设的期望值时,按照第二预设策略增加计算获得的所述输入数据量。When it is determined that the data cache water level is lower than the preset expected value, the amount of the input data obtained by calculation is reduced according to the first preset strategy; when it is determined that the data cache water level is higher than the preset expected value, the amount of the input data obtained by calculation is increased according to the second preset strategy. the amount of input data.

可选的,所述根据输入数据的时间误差计算输入数据量包括:Optionally, the calculating the amount of input data according to the time error of the input data includes:

对输入的数据进行鉴相后提取时间误差,并根据提取的时间误差计算鉴相结果;Extract the time error after performing phase detection on the input data, and calculate the phase detection result according to the extracted time error;

对计算获得的鉴相结果进行滤波处理后获得相应的鉴相值,根据获得的鉴相值确定对输入的数据的进行增删的调整指示信息;After filtering the phase detection result obtained by calculation, a corresponding phase detection value is obtained, and the adjustment instruction information for adding or deleting the input data is determined according to the obtained phase detection value;

根据确定的调整指示信息计算输入的数据量。The amount of input data is calculated according to the determined adjustment instruction information.

可选的,所述根据获得的第一数据量差值更新恢复时钟的频率包括:Optionally, the frequency of updating the recovered clock according to the obtained first data amount difference includes:

将对比获得的所述第一数据量差值进行滤波处理;performing filtering processing on the first data amount difference obtained by comparison;

转换所述滤波处理后的第一数据量差值为模拟电压量;converting the first data amount difference after the filtering process into an analog voltage amount;

通过转换获得的所述模拟电压量更新所述恢复时钟的频率。The frequency of the recovered clock is updated by the converted analog voltage quantity.

可选的,所述方法还包括:Optionally, the method further includes:

根据获得的所述鉴相值,对输入的数据进行相位调整。Phase adjustment is performed on the input data according to the obtained phase detection value.

可选的,所述方法还包括:Optionally, the method further includes:

根据更新的所述恢复时钟的频率进行数据输出。Data output is performed according to the updated frequency of the recovered clock.

另一方面,本发明实施例还提供一种实现时钟恢复的装置,包括:第一计算单元、第二计算单元、第一差值单元和更新单元;其中,On the other hand, an embodiment of the present invention also provides an apparatus for implementing clock recovery, including: a first calculation unit, a second calculation unit, a first difference unit, and an update unit; wherein,

第一计算单元用于:根据输入数据的时间误差计算输入数据量,将计算获得的输入数据量发往第一差值单元;The first calculation unit is used for: calculating the input data amount according to the time error of the input data, and sending the calculated input data amount to the first difference unit;

第二计算单元用于:使用恢复时钟的频率计算输出数据量,将计算获得的输出数据量发往第一差值单元;The second calculation unit is used for: calculating the output data amount using the frequency of the recovered clock, and sending the output data amount obtained by the calculation to the first difference unit;

第一差值单元用于:对比计算获得的输入数据量和输出数据量的差,获得第一数据量差值;The first difference unit is used for: comparing the difference between the input data amount and the output data amount obtained by the calculation to obtain the first data amount difference;

更新单元用于:根据获得的第一数据量差值更新恢复时钟的频率。The updating unit is configured to: update the frequency of the recovered clock according to the obtained first data amount difference.

可选的,所述装置还包括:第二差值单元和调整单元;其中,Optionally, the device further includes: a second difference unit and an adjustment unit; wherein,

第二差值单元用于:计算实际输入的数据量和实际输出的数据量的差,获得第二数据量差值;The second difference unit is used to: calculate the difference between the actual input data amount and the actual output data amount, and obtain the second data amount difference;

调整单元用于:根据计算获得的所述第二数据量差值对计算获得的所述输入数据量进行调整。The adjustment unit is configured to: adjust the input data amount obtained by calculation according to the difference value of the second data amount obtained by calculation.

可选的,所述调整单元包括第一滤波模块和调整模块;其中,Optionally, the adjustment unit includes a first filter module and an adjustment module; wherein,

第一滤波模块用于:对计算获得的所述第二数据量差值进行滤波处理;The first filtering module is used for: filtering the second data amount difference obtained by calculation;

调整模块用于:根据滤波处理后的所述第二数据量差值确定数据缓存水位是否低于预设的期望值;确定数据缓存水位低于预设的期望值时,按照第一预设策略减少第一差值单元接收到的所述输入数据量;确定数据缓存水位高于预设的期望值时,按照第二预设策略增加第一差值单元接收到的所述输入数据量。The adjustment module is used to: determine whether the data cache water level is lower than a preset expected value according to the second data volume difference after filtering processing; when it is determined that the data cache water level is lower than the preset expected value, reduce the number of times according to the first preset strategy. The amount of input data received by a difference unit; when it is determined that the data buffer water level is higher than a preset expected value, the amount of input data received by the first difference unit is increased according to a second preset strategy.

可选的,所述第一计算单元包括鉴相模块和第二滤波模块;其中,Optionally, the first calculation unit includes a phase detection module and a second filter module; wherein,

鉴相模块用于:对输入的数据进行鉴相后提取时间误差,并根据提取的时间误差计算鉴相结果;The phase detection module is used to: extract the time error after performing phase detection on the input data, and calculate the phase detection result according to the extracted time error;

第二滤波模块用于:对计算获得的鉴相结果进行滤波处理后获得相应的鉴相值,根据获得的鉴相值确定对输入的数据的进行增删的调整指示信息;根据确定的调整指示信息计算输入的数据量。The second filtering module is used for: filtering the obtained phase detection result to obtain the corresponding phase detection value, and determining the adjustment instruction information for adding and deleting the input data according to the obtained phase detection value; according to the determined adjustment instruction information Calculate the amount of data entered.

可选的,所述更新单元包括第三滤波模块、数模转换模块和压控震荡模块;其中,Optionally, the update unit includes a third filter module, a digital-to-analog conversion module, and a voltage-controlled oscillation module; wherein,

第三滤波模块用于:将对比获得的所述第一数据量差值进行滤波处理;The third filtering module is used for: filtering the first data amount difference obtained by comparison;

数模转换模块用于:转换所述滤波处理后的第一数据量差值为模拟电压量;The digital-to-analog conversion module is used for: converting the difference of the first data amount after the filtering process into an analog voltage amount;

压控震荡模块用于:通过转换获得的所述模拟电压量更新所述恢复时钟的频率。The voltage-controlled oscillation module is used for: updating the frequency of the recovered clock through the analog voltage obtained by conversion.

可选的,所述装置还包括相位调整单元,用于根据获得的所述鉴相值,对输入的数据进行相位调整。Optionally, the apparatus further includes a phase adjustment unit, configured to perform phase adjustment on the input data according to the obtained phase detection value.

可选的,所述装置包括输出单元,用于根据更新的所述恢复时钟的频率进行数据输出。Optionally, the apparatus includes an output unit configured to output data according to the updated frequency of the recovered clock.

与相关技术相比,本申请技术方案包括:根据输入数据的时间误差计算输入数据量;使用恢复时钟的频率计算输出数据量;对比计算获得的输入数据量和输出数据量的差,获得第一数据量差值;根据获得的第一数据量差值更新恢复时钟的频率。本发明实施例根据计算获得的输入数据量和输出数据量,缩短了获取恢复时钟的时长,降低了缓存资源的消耗;进一步的,本发明实施例根据实际输入的数据量和实际输出的数据量计算第二数据量差值对计算获得的输入数据量进行调整,提高了计算获得的恢复时钟的精度。Compared with the related art, the technical solution of the present application includes: calculating the amount of input data according to the time error of the input data; calculating the amount of output data by using the frequency of the recovered clock; Data volume difference; update the frequency of the recovered clock according to the obtained first data volume difference. According to the amount of input data and the amount of output data obtained by calculation, the embodiment of the present invention shortens the time for obtaining the recovered clock and reduces the consumption of cache resources; further, the embodiment of the present invention is based on the amount of actual input data and the amount of actual output data. The calculation of the second data volume difference adjusts the input data volume obtained by calculation, thereby improving the precision of the recovered clock obtained by calculation.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the description, claims and drawings.

附图说明Description of drawings

附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solutions of the present invention, and constitute a part of the specification. They are used to explain the technical solutions of the present invention together with the embodiments of the present application, and do not limit the technical solutions of the present invention.

图1为本发明实施例实现时钟恢复的方法的流程图;1 is a flowchart of a method for implementing clock recovery according to an embodiment of the present invention;

图2为本发明实施例实现时钟恢复的装置的结构框图。FIG. 2 is a structural block diagram of an apparatus for implementing clock recovery according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, the embodiments in the present application and the features in the embodiments may be arbitrarily combined with each other if there is no conflict.

在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.

图1为本发明实施例实现时钟恢复的方法的流程图,如图1所示,包括:FIG. 1 is a flowchart of a method for implementing clock recovery according to an embodiment of the present invention, as shown in FIG. 1 , including:

步骤100、根据输入数据的时间误差计算输入数据量;Step 100: Calculate the amount of input data according to the time error of the input data;

可选的,本发明实施例根据输入数据的时间误差计算输入数据量包括:Optionally, calculating the amount of input data according to the time error of the input data in this embodiment of the present invention includes:

对输入的数据进行鉴相后提取时间误差,并根据提取的时间误差计算鉴相结果;Extract the time error after performing phase detection on the input data, and calculate the phase detection result according to the extracted time error;

对计算获得的鉴相结果进行滤波处理后获得相应的鉴相值,根据获得的鉴相值确定对输入的数据的进行增删的调整指示信息;After filtering the phase detection result obtained by calculation, a corresponding phase detection value is obtained, and the adjustment instruction information for adding or deleting the input data is determined according to the obtained phase detection value;

根据确定的调整指示信息计算输入的数据量。The amount of input data is calculated according to the determined adjustment instruction information.

需要说明的是,由于本地参考钟和发送端参考钟不同,以本地参考钟对数据采样时,会出现采样误差,因此可以对输入数据进行提取时间误差处理;对计算的鉴相结果进行滤波处理,可以消除高频抖动并跟踪时间误差变化,使其开环时钟恢复等效为无环路延迟的闭环时钟恢复效果。本发明实施例调整指示信息可以包括:+1、-1、0;其中,+1表示输出的数据增加一个采样点,-1表示输出的数据删除一个采样点,0表示输出的数据采样点个数不变。It should be noted that due to the difference between the local reference clock and the reference clock of the transmitting end, sampling errors will occur when the data is sampled by the local reference clock. Therefore, the input data can be extracted and processed for the time error; the calculated phase detection result is filtered. , which can eliminate high-frequency jitter and track time error changes, so that the open-loop clock recovery is equivalent to the closed-loop clock recovery effect without loop delay. The adjustment indication information in the embodiment of the present invention may include: +1, -1, 0; wherein, +1 indicates that the output data is added by one sampling point, -1 indicates that the output data deletes one sampling point, and 0 indicates that the output data sampling point The number does not change.

步骤101、使用恢复时钟的频率计算输出数据量;Step 101, using the frequency of the recovered clock to calculate the amount of output data;

需要说明的是,本发明实施例恢复时钟的频率的初始值可以参照相关技术设定为默认的频率值;当获得更新的恢复时钟的频率时,采用更新的恢复时钟的频率计算输出数据量。本发明实施例恢复时钟包括接收端的恢复时钟。It should be noted that the initial value of the frequency of the recovered clock in this embodiment of the present invention may be set as a default frequency value with reference to the related art; when the updated frequency of the recovered clock is obtained, the output data amount is calculated using the updated frequency of the recovered clock. The recovered clock in the embodiment of the present invention includes the recovered clock of the receiving end.

步骤102、对比计算获得的输入数据量和输出数据量的差,获得第一数据量差值;Step 102: Comparing the difference between the input data volume and the output data volume obtained by the calculation to obtain a first data volume difference;

需要说明的是,本发明实施例进行对比可以根据虚拟缓存进行,因此可以降低对缓存资源的消耗。本发明实施例虚拟缓存写侧为调整后的数据速率,读侧与数据缓存读侧速率相同,虚拟缓存表现为一个无存储易挥发性随机存取存储器(RAM)的异步先入先出(FIFO)控制逻辑,实质为一加减计数器,计数结果表明了读写两侧数据速率差,也表征了恢复时钟与原始发送时钟的差别。虚拟缓存的输入数据量受数据缓存环路滤波结果的控制,实现对数据缓存环路控制的响应。It should be noted that, the comparison in the embodiment of the present invention may be performed according to the virtual cache, so the consumption of cache resources can be reduced. The write side of the virtual cache in the embodiment of the present invention is the adjusted data rate, the read side and the read side of the data cache have the same rate, and the virtual cache is represented as an asynchronous first-in-first-out (FIFO) with no storage volatile random access memory (RAM). The control logic is essentially an up-down counter, and the count result shows the data rate difference between the read and write sides, as well as the difference between the recovered clock and the original transmit clock. The input data volume of the virtual buffer is controlled by the filtering result of the data buffer loop, so as to realize the response to the data buffer loop control.

步骤103、根据获得的第一数据量差值更新恢复时钟的频率。Step 103: Update the frequency of the recovered clock according to the obtained first data amount difference.

可选的,本发明实施例根据获得的第一数据量差值更新恢复时钟的频率包括:Optionally, in this embodiment of the present invention, the frequency of updating the recovered clock according to the obtained first data amount difference includes:

将对比获得的所述第一数据量差值进行滤波处理;performing filtering processing on the first data amount difference obtained by comparison;

转换所述滤波处理后的第一数据量差值为模拟电压量;converting the first data amount difference after the filtering process into an analog voltage amount;

通过转换获得的所述模拟电压量更新所述恢复时钟的频率。The frequency of the recovered clock is updated by the converted analog voltage quantity.

需要说明的是,将对比获得的所述第一数据量差值进行滤波处理时,可以消除高频抖动并跟踪误差变化,特别是缓慢漂移。该滤波处理可支持多套系数,以区分粗捕、细捕、跟踪等状态,达到快速收敛、稳定跟踪的目的。本发明实施例通过转换获得的所述模拟电压量更新所述恢复时钟的频率可以采用一个压控振荡器实现,假设压控振荡器工作在目标频率f,其可调整范围为±X,X应大于数据源时钟最大变动范围,模拟电压量决定了压控振荡器的频点。模拟电压量最大时,对应频点f+X,模拟电压量最小时,对应f-X,模拟电压量与压控振荡器输出频率成线性关系。因此模拟电压量的精度越高,能够控制的压控振荡器精度越高,假如数模转换前的数字量为N位,控制精度为(2X/2N),即第一差值滤波后的结果的位宽。It should be noted that, when filtering the first data amount difference obtained by comparison, high-frequency jitter can be eliminated and error changes can be tracked, especially slow drift. The filtering process can support multiple sets of coefficients to distinguish coarse capture, fine capture, tracking and other states to achieve rapid convergence and stable tracking. The frequency of updating the recovered clock by the analog voltage obtained by conversion in this embodiment of the present invention may be implemented by using a voltage-controlled oscillator. Assuming that the voltage-controlled oscillator operates at the target frequency f, its adjustable range is ±X, and X should be Greater than the maximum variation range of the data source clock, the analog voltage determines the frequency of the VCO. When the analog voltage is the largest, it corresponds to the frequency point f+X, and when the analog voltage is the smallest, it corresponds to fX, and the analog voltage has a linear relationship with the output frequency of the VCO. Therefore, the higher the precision of the analog voltage, the higher the precision of the voltage-controlled oscillator that can be controlled. If the digital quantity before digital-to-analog conversion is N bits, the control precision is (2X/ 2N ), that is, the first difference filtered The bit width of the result.

可选的,本发明实施例方法还包括:Optionally, the method according to the embodiment of the present invention further includes:

计算实际输入的数据量和实际输出的数据量的差,获得第二数据量差值;Calculate the difference between the actual input data amount and the actual output data amount to obtain the second data amount difference;

根据计算获得的所述第二数据量差值对计算获得的所述输入数据量进行调整。The calculated input data volume is adjusted according to the calculated second data volume difference.

可选的,本发明实施例根据计算获得的第二数据量差值对计算获得的输入数据量进行调整包括:Optionally, in this embodiment of the present invention, adjusting the amount of input data obtained by calculation according to the difference in the second data amount obtained by calculation includes:

对计算获得的所述第二数据量差值进行滤波处理;Perform filtering processing on the second data amount difference obtained by calculation;

根据滤波处理后的所述第二数据量差值确定数据缓存水位是否低于预设的期望值;Determine whether the data cache water level is lower than a preset expected value according to the filtered second data volume difference;

确定数据缓存水位低于预设的期望值时,按照第一预设策略减少计算获得的所述输入数据量;确定数据缓存水位高于预设的期望值时,按照第二预设策略增加计算获得的所述输入数据量。When it is determined that the data cache water level is lower than the preset expected value, the amount of the input data obtained by calculation is reduced according to the first preset strategy; when it is determined that the data cache water level is higher than the preset expected value, the amount of the input data obtained by calculation is increased according to the second preset strategy. the amount of input data.

可选的,本发明实施例方法还包括:Optionally, the method according to the embodiment of the present invention further includes:

根据获得的所述鉴相值,对输入的数据进行相位调整。Phase adjustment is performed on the input data according to the obtained phase detection value.

可选的,本发明实施例方法还包括:Optionally, the method according to the embodiment of the present invention further includes:

根据更新的恢复时钟的频率进行数据输出。Data output is performed according to the frequency of the updated recovered clock.

与相关技术相比,本申请技术方案包括:根据输入数据的时间误差计算输入数据量;使用恢复时钟的频率计算输出数据量;对比计算获得的输入数据量和输出数据量的差,获得第一数据量差值;根据获得的第一数据量差值更新恢复时钟的频率。本发明实施例根据计算获得的输入数据量和输出数据量,缩短了获取恢复时钟的时长,降低了缓存资源的消耗;进一步的,本发明实施例根据实际输入的数据量和实际输出的数据量计算第二数据量差值对计算获得的输入数据量进行调整,提高了计算获得的恢复时钟的精度。Compared with the related art, the technical solution of the present application includes: calculating the amount of input data according to the time error of the input data; calculating the amount of output data by using the frequency of the recovered clock; Data volume difference; update the frequency of the recovered clock according to the obtained first data volume difference. According to the amount of input data and the amount of output data obtained by calculation, the embodiment of the present invention shortens the time for obtaining the recovered clock and reduces the consumption of cache resources; further, the embodiment of the present invention is based on the amount of actual input data and the amount of actual output data. The calculation of the second data volume difference adjusts the input data volume obtained by calculation, thereby improving the precision of the recovered clock obtained by calculation.

图2为本发明实施例实现时钟恢复的装置的结构框图,如图2所示,包括:第一计算单元、第二计算单元、第一差值单元和更新单元;其中,FIG. 2 is a structural block diagram of an apparatus for implementing clock recovery according to an embodiment of the present invention. As shown in FIG. 2 , it includes: a first calculation unit, a second calculation unit, a first difference unit, and an update unit; wherein,

第一计算单元用于:根据输入数据的时间误差计算输入数据量,将计算获得的输入数据量发往第一差值单元;The first calculation unit is used for: calculating the input data amount according to the time error of the input data, and sending the calculated input data amount to the first difference unit;

可选的,本发明实施例第一计算单元包括鉴相模块和第二滤波模块;其中,Optionally, the first calculation unit in this embodiment of the present invention includes a phase detection module and a second filter module; wherein,

鉴相模块用于:对输入的数据进行鉴相后提取时间误差,并根据提取的时间误差计算鉴相结果;The phase detection module is used to: extract the time error after performing phase detection on the input data, and calculate the phase detection result according to the extracted time error;

第二滤波模块用于:对计算获得的鉴相结果进行滤波处理后获得相应的鉴相值,根据获得的鉴相值确定对输入的数据的进行增删的调整指示信息;根据确定的调整指示信息计算输入的数据量。The second filtering module is used for: filtering the obtained phase detection result to obtain the corresponding phase detection value, and determining the adjustment instruction information for adding and deleting the input data according to the obtained phase detection value; according to the determined adjustment instruction information Calculate the amount of data entered.

需要说明的是,本发明实施例调整指示信息可以包括:+1、-1、0;其中,+1表示输出的数据增加一个采样点,-1表示输出的数据删除一个采样点,0表示输出的数据采样点个数不变。本发明实施例对鉴相结果进行滤波处理时,根据鉴相结果如何选择和设置滤波器,可以由本领域技术人员根据鉴相结果和对输入的数据进行增删调整的精度要求进行分析确定。It should be noted that the adjustment indication information in the embodiment of the present invention may include: +1, -1, 0; wherein, +1 indicates that the output data is added by one sampling point, -1 indicates that the output data deletes one sampling point, and 0 indicates that the output The number of data sampling points remains unchanged. When filtering the phase detection result in the embodiment of the present invention, how to select and set the filter according to the phase detection result can be determined by those skilled in the art according to the phase detection result and the accuracy requirements of adding, deleting and adjusting the input data.

第二计算单元用于:使用恢复时钟的频率计算输出数据量,将计算获得的输出数据量发往第一差值单元;The second calculation unit is used for: calculating the output data amount using the frequency of the recovered clock, and sending the output data amount obtained by the calculation to the first difference unit;

需要说明的是,本发明实施例恢复时钟的频率的初始值可以参照相关技术设定默认的数值。It should be noted that, for the initial value of the frequency of the recovered clock in the embodiment of the present invention, a default value may be set with reference to the related art.

第一差值单元用于:对比计算获得的输入数据量和输出数据量的差,获得第一数据量差值;The first difference unit is used for: comparing the difference between the input data amount and the output data amount obtained by the calculation to obtain the first data amount difference;

需要说明的是,本发明实施例进行对比可以根据虚拟缓存进行,即仅需要对比计算获得的输入数据量和输出数据量即可,降低对缓存资源的消耗;It should be noted that the comparison in the embodiment of the present invention can be performed according to the virtual cache, that is, it is only necessary to compare the amount of input data and the amount of output data obtained by the calculation, thereby reducing the consumption of cache resources;

更新单元用于:根据获得的第一数据量差值更新恢复时钟的频率。The updating unit is configured to: update the frequency of the recovered clock according to the obtained first data amount difference.

可选的,本发明实施例更新单元包括第三滤波模块、数模转换模块和压控震荡模块;其中,Optionally, the update unit in this embodiment of the present invention includes a third filter module, a digital-to-analog conversion module, and a voltage-controlled oscillation module; wherein,

第三滤波模块用于:将对比获得的所述第一数据量差值进行滤波处理;The third filtering module is used for: filtering the first data amount difference obtained by comparison;

数模转换模块用于:转换滤波处理后的第一数据量差值为模拟电压量;The digital-to-analog conversion module is used for: converting the difference of the first data quantity after filtering and processing to an analog voltage quantity;

压控震荡模块用于:通过转换获得的模拟电压量更新恢复时钟的频率。The voltage-controlled oscillator module is used to update the frequency of the recovered clock through the analog voltage obtained by conversion.

需要说明的是,本发明实施例将对比获得的第一数据量差值进行滤波处理时,如何选择和设置滤波器,可以由本领域技术人员根据获取恢复时钟的精度要求进行分析确定。根据模拟电压量对恢复时钟的频率的更新可以参照相关技术中模拟电压量与恢复时钟的频率的关系进行分析确定。It should be noted that, in the embodiment of the present invention, when filtering the obtained first data amount difference, how to select and set the filter can be determined by those skilled in the art according to the accuracy requirements for obtaining the recovered clock. The update of the frequency of the recovered clock according to the analog voltage can be determined by analyzing and determining the relationship between the analog voltage and the frequency of the recovered clock in the related art.

可选的,本发明实施例装置还包括:第二差值单元和调整单元;其中,Optionally, the device according to the embodiment of the present invention further includes: a second difference unit and an adjustment unit; wherein,

第二差值单元用于:计算实际输入的数据量和实际输出的数据量的差,获得第二数据量差值;The second difference unit is used to: calculate the difference between the actual input data amount and the actual output data amount, and obtain the second data amount difference;

调整单元用于:根据计算获得的所述第二数据量差值对计算获得的所述输入数据量进行调整。The adjustment unit is configured to: adjust the input data amount obtained by calculation according to the difference value of the second data amount obtained by calculation.

可选的,本发明实施例调整单元包括第一滤波模块和调整模块;其中,Optionally, the adjustment unit in this embodiment of the present invention includes a first filtering module and an adjustment module; wherein,

第一滤波模块用于:对计算获得的所述第二数据量差值进行滤波处理;The first filtering module is used for: filtering the second data amount difference obtained by calculation;

调整模块用于:根据滤波处理后的所述第二数据量差值确定数据缓存水位是否低于预设的期望值;确定数据缓存水位低于预设的期望值时,按照第一预设策略减少第一差值单元接收到的所述输入数据量;确定数据缓存水位高于预设的期望值时,按照第二预设策略增加第一差值单元接收到的所述输入数据量。这里,缓存水位为相关技术中已有的定义,期望值可以是缓存数据总量的百分之五十。The adjustment module is used to: determine whether the data cache water level is lower than a preset expected value according to the second data volume difference after filtering processing; when it is determined that the data cache water level is lower than the preset expected value, reduce the number of times according to the first preset strategy. The amount of input data received by a difference unit; when it is determined that the data buffer water level is higher than a preset expected value, the amount of input data received by the first difference unit is increased according to a second preset strategy. Here, the cache water level is an existing definition in the related art, and the expected value may be 50% of the total amount of cached data.

可选的,本发明实施例装置还包括相位调整单元,用于根据获得的所述鉴相值,对输入的数据进行相位调整。Optionally, the apparatus according to the embodiment of the present invention further includes a phase adjustment unit, configured to perform phase adjustment on the input data according to the obtained phase detection value.

需要说明的是,对输入的数据根据鉴相值进行相位调整为本领域技术人员的惯用技术手段,在此不做赘述。It should be noted that the phase adjustment of the input data according to the phase detection value is a conventional technical means for those skilled in the art, and details are not described here.

可选的,本发明实施例装置包括输出单元,用于根据更新的所述恢复时钟的频率进行数据输出。Optionally, the apparatus according to the embodiment of the present invention includes an output unit, configured to output data according to the updated frequency of the recovered clock.

与相关技术相比,本申请技术方案包括:根据输入数据的时间误差计算输入数据量;使用恢复时钟的频率计算输出数据量;对比计算获得的输入数据量和输出数据量的差,获得第一数据量差值;根据获得的第一数据量差值更新恢复时钟的频率。本发明实施例根据计算获得的输入数据量和输出数据量,缩短了获取恢复时钟的时长,降低了缓存资源的消耗;进一步的,本发明实施例根据实际输入的数据量和实际输出的数据量计算第二数据量差值对计算获得的输入数据量进行调整,提高了计算获得的恢复时钟的精度。Compared with the related art, the technical solution of the present application includes: calculating the amount of input data according to the time error of the input data; calculating the amount of output data by using the frequency of the recovered clock; Data volume difference; update the frequency of the recovered clock according to the obtained first data volume difference. According to the amount of input data and the amount of output data obtained by calculation, the embodiment of the present invention shortens the time for obtaining the recovered clock and reduces the consumption of cache resources; further, the embodiment of the present invention is based on the amount of actual input data and the amount of actual output data. The calculation of the second data volume difference adjusts the input data volume obtained by calculation, thereby improving the precision of the recovered clock obtained by calculation.

再一方面,本发明实施例还提供一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令用于执行上述实现时钟恢复的方法。In another aspect, an embodiment of the present invention further provides a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and the computer-executable instructions are used to execute the above method for implementing clock recovery.

还一方面,本发明实施例还提供一种实现时钟恢复的终端,包括:存储器和处理器;其中,In another aspect, an embodiment of the present invention further provides a terminal for implementing clock recovery, including: a memory and a processor; wherein,

处理器被配置为执行存储器中的程序指令;the processor is configured to execute program instructions in the memory;

程序指令在处理器读取执行以下操作:Program instructions are read by the processor to do the following:

根据输入数据的时间误差计算输入数据量;Calculate the amount of input data according to the time error of the input data;

使用恢复时钟的频率计算输出数据量;Calculate the amount of output data using the frequency of the recovered clock;

对比计算获得的输入数据量和输出数据量的差,获得第一数据量差值;Comparing the difference between the input data amount and the output data amount obtained by the calculation to obtain the first data amount difference;

根据获得的第一数据量差值更新恢复时钟的频率。The frequency of the recovered clock is updated according to the obtained first data amount difference.

本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。Those of ordinary skill in the art can understand that all or part of the steps in the above method can be completed by instructing relevant hardware (such as a processor) through a program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk or an optical disk Wait. Optionally, all or part of the steps in the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above-mentioned embodiments may be implemented in the form of hardware, for example, an integrated circuit to implement its corresponding function, or it may be implemented in the form of a software function module, for example, a processor executes a function stored in a memory. program/instruction to achieve its corresponding function. The present invention is not limited to any particular form of combination of hardware and software.

虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the described contents are only the embodiments adopted to facilitate the understanding of the present invention, and are not intended to limit the present invention. Any person skilled in the art to which the present invention belongs, without departing from the spirit and scope disclosed by the present invention, can make any modifications and changes in the form and details of the implementation, but the scope of the patent protection of the present invention still needs to be The scope defined by the appended claims shall prevail.

Claims (10)

1.一种实现时钟恢复的方法,其特征在于,包括:1. a method for realizing clock recovery, is characterized in that, comprises: 根据输入数据的时间误差计算输入数据量;Calculate the amount of input data according to the time error of the input data; 使用恢复时钟的频率计算输出数据量;Calculate the amount of output data using the frequency of the recovered clock; 对比计算获得的输入数据量和输出数据量的差,获得第一数据量差值;Comparing the difference between the input data amount and the output data amount obtained by the calculation to obtain the first data amount difference; 根据获得的第一数据量差值更新恢复时钟的频率,The frequency of updating the recovered clock according to the obtained first data amount difference, 所述方法还包括:The method also includes: 计算实际输入的数据量和实际输出的数据量的差,获得第二数据量差值;Calculate the difference between the actual input data amount and the actual output data amount to obtain the second data amount difference; 根据计算获得的所述第二数据量差值对计算获得的所述输入数据量进行调整,Adjusting the input data amount obtained by calculation according to the difference value of the second data amount obtained by calculation, 所述根据计算获得的第二数据量差值对计算获得的所述输入数据量进行调整包括:The adjusting the calculated input data amount according to the calculated second data amount difference includes: 对计算获得的所述第二数据量差值进行滤波处理;Perform filtering processing on the second data amount difference obtained by calculation; 根据滤波处理后的所述第二数据量差值确定数据缓存水位是否低于预设的期望值;Determine whether the data cache water level is lower than a preset expected value according to the filtered second data volume difference; 确定数据缓存水位低于预设的期望值时,按照第一预设策略减少计算获得的所述输入数据量;确定数据缓存水位高于预设的期望值时,按照第二预设策略增加计算获得的所述输入数据量。When it is determined that the data cache water level is lower than the preset expected value, the amount of the input data obtained by calculation is reduced according to the first preset strategy; when it is determined that the data cache water level is higher than the preset expected value, the amount of the input data obtained by calculation is increased according to the second preset strategy. the amount of input data. 2.根据权利要求1所述的方法,其特征在于,所述根据输入数据的时间误差计算输入数据量包括:2. The method according to claim 1, wherein the calculating the amount of input data according to the time error of the input data comprises: 对输入的数据进行鉴相后提取时间误差,并根据提取的时间误差计算鉴相结果;Extract the time error after performing phase detection on the input data, and calculate the phase detection result according to the extracted time error; 对计算获得的鉴相结果进行滤波处理后获得相应的鉴相值,根据获得的鉴相值确定对输入的数据的进行增删的调整指示信息;After filtering the phase detection result obtained by calculation, a corresponding phase detection value is obtained, and the adjustment instruction information for adding or deleting the input data is determined according to the obtained phase detection value; 根据确定的调整指示信息计算输入的数据量。The amount of input data is calculated according to the determined adjustment instruction information. 3.根据权利要求1所述的方法,其特征在于,所述根据获得的第一数据量差值更新恢复时钟的频率包括:3. The method according to claim 1, wherein the frequency of updating the recovered clock according to the obtained first data amount difference comprises: 将对比获得的所述第一数据量差值进行滤波处理;performing filtering processing on the first data amount difference obtained by comparison; 转换所述滤波处理后的第一数据量差值为模拟电压量;converting the first data amount difference after the filtering process into an analog voltage amount; 通过转换获得的所述模拟电压量更新所述恢复时钟的频率。The frequency of the recovered clock is updated by the converted analog voltage quantity. 4.根据权利要求2所述的方法,其特征在于,所述方法还包括:4. The method according to claim 2, wherein the method further comprises: 根据获得的所述鉴相值,对输入的数据进行相位调整。Phase adjustment is performed on the input data according to the obtained phase detection value. 5.根据权利要求1所述的方法,其特征在于,所述方法还包括:5. The method according to claim 1, wherein the method further comprises: 根据更新的所述恢复时钟的频率进行数据输出。Data output is performed according to the updated frequency of the recovered clock. 6.一种实现时钟恢复的装置,其特征在于,包括:第一计算单元、第二计算单元、第一差值单元和更新单元;其中,6. A device for realizing clock recovery, comprising: a first calculation unit, a second calculation unit, a first difference unit and an update unit; wherein, 第一计算单元用于:根据输入数据的时间误差计算输入数据量,将计算获得的输入数据量发往第一差值单元;The first calculation unit is used for: calculating the input data amount according to the time error of the input data, and sending the calculated input data amount to the first difference unit; 第二计算单元用于:使用恢复时钟的频率计算输出数据量,将计算获得的输出数据量发往第一差值单元;The second calculation unit is used for: calculating the output data amount using the frequency of the recovered clock, and sending the output data amount obtained by the calculation to the first difference unit; 第一差值单元用于:对比计算获得的输入数据量和输出数据量的差,获得第一数据量差值;The first difference unit is used for: comparing the difference between the input data amount and the output data amount obtained by the calculation to obtain the first data amount difference; 更新单元用于:根据获得的第一数据量差值更新恢复时钟的频率;The updating unit is used for: updating the frequency of the recovered clock according to the obtained first data amount difference; 所述装置还包括:第二差值单元和调整单元;其中,The device further includes: a second difference unit and an adjustment unit; wherein, 第二差值单元用于:计算实际输入的数据量和实际输出的数据量的差,获得第二数据量差值;The second difference unit is used to: calculate the difference between the actual input data amount and the actual output data amount, and obtain the second data amount difference; 调整单元用于:根据计算获得的所述第二数据量差值对计算获得的所述输入数据量进行调整;The adjusting unit is configured to: adjust the input data amount obtained by calculation according to the difference value of the second data amount obtained by calculation; 所述调整单元包括第一滤波模块和调整模块;其中,The adjustment unit includes a first filter module and an adjustment module; wherein, 第一滤波模块用于:对计算获得的所述第二数据量差值进行滤波处理;The first filtering module is used for: filtering the second data amount difference obtained by calculation; 调整模块用于:根据滤波处理后的所述第二数据量差值确定数据缓存水位是否低于预设的期望值;确定数据缓存水位低于预设的期望值时,按照第一预设策略减少第一差值单元接收到的所述输入数据量;确定数据缓存水位高于预设的期望值时,按照第二预设策略增加第一差值单元接收到的所述输入数据量。The adjustment module is used to: determine whether the data cache water level is lower than a preset expected value according to the second data volume difference after filtering processing; when it is determined that the data cache water level is lower than the preset expected value, reduce the number of times according to the first preset strategy. The amount of input data received by a difference unit; when it is determined that the data buffer water level is higher than a preset expected value, the amount of input data received by the first difference unit is increased according to a second preset strategy. 7.根据权利要求6所述的装置,其特征在于,所述第一计算单元包括鉴相模块和第二滤波模块;其中,7. The device according to claim 6, wherein the first calculation unit comprises a phase detection module and a second filter module; wherein, 鉴相模块用于:对输入的数据进行鉴相后提取时间误差,并根据提取的时间误差计算鉴相结果;The phase detection module is used to: extract the time error after performing phase detection on the input data, and calculate the phase detection result according to the extracted time error; 第二滤波模块用于:对计算获得的鉴相结果进行滤波处理后获得相应的鉴相值,根据获得的鉴相值确定对输入的数据的进行增删的调整指示信息;根据确定的调整指示信息计算输入的数据量。The second filtering module is used for: filtering the obtained phase detection result to obtain the corresponding phase detection value, and determining the adjustment instruction information for adding and deleting the input data according to the obtained phase detection value; according to the determined adjustment instruction information Calculate the amount of data entered. 8.根据权利要求6所述的装置,其特征在于,所述更新单元包括第三滤波模块、数模转换模块和压控震荡模块;其中,8. The device according to claim 6, wherein the update unit comprises a third filter module, a digital-to-analog conversion module and a voltage-controlled oscillation module; wherein, 第三滤波模块用于:将对比获得的所述第一数据量差值进行滤波处理;The third filtering module is used for: filtering the first data amount difference obtained by comparison; 数模转换模块用于:转换所述滤波处理后的第一数据量差值为模拟电压量;The digital-to-analog conversion module is used for: converting the difference of the first data amount after the filtering process into an analog voltage amount; 压控震荡模块用于:通过转换获得的所述模拟电压量更新所述恢复时钟的频率。The voltage-controlled oscillation module is used for: updating the frequency of the recovered clock through the analog voltage obtained by conversion. 9.根据权利要求7所述的装置,其特征在于,所述装置还包括相位调整单元,用于根据获得的所述鉴相值,对输入的数据进行相位调整。9 . The device according to claim 7 , wherein the device further comprises a phase adjustment unit, configured to perform phase adjustment on the input data according to the obtained phase detection value. 10 . 10.根据权利要求6所述的装置,其特征在于,所述装置包括输出单元,用于根据更新的所述恢复时钟的频率进行数据输出。10 . The apparatus according to claim 6 , wherein the apparatus comprises an output unit for outputting data according to the updated frequency of the recovered clock. 11 .
CN201710589284.6A 2017-07-19 2017-07-19 Method and device for realizing clock recovery Active CN109286482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710589284.6A CN109286482B (en) 2017-07-19 2017-07-19 Method and device for realizing clock recovery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710589284.6A CN109286482B (en) 2017-07-19 2017-07-19 Method and device for realizing clock recovery

Publications (2)

Publication Number Publication Date
CN109286482A CN109286482A (en) 2019-01-29
CN109286482B true CN109286482B (en) 2021-12-28

Family

ID=65184715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710589284.6A Active CN109286482B (en) 2017-07-19 2017-07-19 Method and device for realizing clock recovery

Country Status (1)

Country Link
CN (1) CN109286482B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787662A (en) * 2019-11-08 2021-05-11 深圳市中兴微电子技术有限公司 Clock data recovery system and device, storage medium and electronic device
CN114205065A (en) * 2020-09-02 2022-03-18 深圳市朗强科技有限公司 Clock frequency synchronization method, device, equipment and computer storage medium
CN115883493B (en) * 2022-10-31 2024-07-09 中国船舶集团有限公司第七二三研究所 Asynchronous data time sequence recovery method based on dynamic adjustment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581845A (en) * 2003-08-01 2005-02-16 华为技术有限公司 Apparatus and method for clock recovery for time division multiplexing business
CN102387369A (en) * 2010-09-02 2012-03-21 瑞昱半导体股份有限公司 Device for receiving signal and method for receiving clock signal
CN105049069A (en) * 2014-05-02 2015-11-11 恩智浦有限公司 Symbol clock recovery circuit
CN105577350A (en) * 2015-12-17 2016-05-11 武汉烽火网络有限责任公司 Clock data recovery method and apparatus
CN106301746A (en) * 2015-05-28 2017-01-04 深圳市中兴微电子技术有限公司 Clock recovery method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7457391B2 (en) * 2003-03-26 2008-11-25 Infineon Technologies Ag Clock and data recovery unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581845A (en) * 2003-08-01 2005-02-16 华为技术有限公司 Apparatus and method for clock recovery for time division multiplexing business
CN102387369A (en) * 2010-09-02 2012-03-21 瑞昱半导体股份有限公司 Device for receiving signal and method for receiving clock signal
CN105049069A (en) * 2014-05-02 2015-11-11 恩智浦有限公司 Symbol clock recovery circuit
CN106301746A (en) * 2015-05-28 2017-01-04 深圳市中兴微电子技术有限公司 Clock recovery method and device
CN105577350A (en) * 2015-12-17 2016-05-11 武汉烽火网络有限责任公司 Clock data recovery method and apparatus

Also Published As

Publication number Publication date
CN109286482A (en) 2019-01-29

Similar Documents

Publication Publication Date Title
CN109286482B (en) Method and device for realizing clock recovery
JP6594710B2 (en) Clock data recovery circuit
EP2779550A2 (en) Digital equalizer adaptation using on-die instrument
EP0881794A2 (en) Apparatus for reducing jitter in a desynchronizer
US20090116603A1 (en) USB frequency synchronizing apparatus and method of synchronizing frequencies
CN100542025C (en) Asynchronous signal input device and sampling frequency conversion device and method thereof
WO2016188090A1 (en) Clock recovery method and apparatus, and computer storage medium
TWI332763B (en) Usb device, frequency auto-locking device and frequency auto-locking method
CN111641892A (en) High-precision service clock mapping and recovering method in OTN
CN117255141A (en) Method, device, equipment and storage medium for recovering oversampled data
US9608640B1 (en) Receiving circuit and method for controlling frequency
WO2016206521A1 (en) Self-adaptive equalizer and method of implementing adaptive equalization
CN108292991B (en) Data phase following device, data phase following method and communication device
AU643811B2 (en) Circuit arrangement for the regeneration and synchronisation of a digital signal
JP6929995B1 (en) Data transfer circuit and communication equipment
US20170054548A1 (en) Clock recovery method & apparatus
US9091711B1 (en) Wide-range fast-lock frequency acquisition for clock and data recovery
CN110995257B (en) Loop filter circuit
JP4386079B2 (en) Sampling frequency converter
CN115333665B (en) Clock synchronization method and device, storage medium, and electronic device
CN106505997A (en) clock and data recovery circuit and clock and data recovery method
CN116094532A (en) Transceiver device with phase tracking mechanism and method of operating the transceiver device
US8949490B2 (en) Data reception circuit, data reception apparatus, information processing system, and data reception method
JP2011217208A (en) Pcm signal demodulation circuit, pcm signal demodulation method and pcm signal demodulation program used for the demodulation circuit
CN112491528A (en) Method and device for synchronous recovery of communication clock

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231221

Address after: Room j4-02, block J, Zhongxing Industrial Park, No.10, Tangyan South Road, high tech Zone, Xi'an City, Shaanxi Province, 710065

Patentee after: Xi'an Chris Semiconductor Technology Co.,Ltd.

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

Patentee before: SANECHIPS TECHNOLOGY Co.,Ltd.