CN113284527B - Clock data recovery circuit, memory storage device and signal adjustment method - Google Patents
Clock data recovery circuit, memory storage device and signal adjustment method Download PDFInfo
- Publication number
- CN113284527B CN113284527B CN202010102657.4A CN202010102657A CN113284527B CN 113284527 B CN113284527 B CN 113284527B CN 202010102657 A CN202010102657 A CN 202010102657A CN 113284527 B CN113284527 B CN 113284527B
- Authority
- CN
- China
- Prior art keywords
- circuit
- signal
- clock frequency
- clock
- voting
- 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
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/22—Read-write [R-W] timing or clocking circuits; Read-write [R-W] control signal generators or management
- G11C7/222—Clock generating, synchronizing or distributing circuits within memory device
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/10—Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
- G11C7/1048—Data bus control circuits, e.g. precharging, presetting, equalising
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
本发明提供一种时钟数据回复电路、存储器存储装置及信号调整方法。所述方法包括:检测第一信号与时钟信号之间的相位差;根据所述相位差与第一时钟频率产生投票信号;根据所述投票信号与第二时钟频率将多个调整信号依序输出,其中所述第一时钟频率不同于所述第二时钟频率;以及根据依序输出的所述多个调整信号产生所述时钟信号。
The invention provides a clock data recovery circuit, a memory storage device and a signal adjustment method. The method includes: detecting the phase difference between the first signal and the clock signal; generating a voting signal based on the phase difference and the first clock frequency; and sequentially outputting a plurality of adjustment signals based on the voting signal and the second clock frequency. , wherein the first clock frequency is different from the second clock frequency; and the clock signal is generated according to the plurality of adjustment signals output sequentially.
Description
技术领域Technical field
本发明涉及一种信号调整技术,尤其涉及一种时钟数据回复电路、存储器存储装置及信号调整方法。The present invention relates to a signal adjustment technology, and in particular to a clock data recovery circuit, a memory storage device and a signal adjustment method.
背景技术Background technique
数码相机、移动电话与MP3播放器在这几年来的成长十分迅速,使得消费者对存储媒体的需求也急速增加。由于可复写式非易失性存储器模块(rewritable non-volatilememory module)(例如,快闪存储器)具有数据非易失性、省电、体积小,以及无机械结构等特性,所以非常适合内建于上述所举例的各种可携式多媒体装置中。Digital cameras, mobile phones and MP3 players have grown rapidly in recent years, causing consumer demand for storage media to increase rapidly. Since the rewriteable non-volatile memory module (e.g., flash memory) has the characteristics of non-volatile data, power saving, small size, and no mechanical structure, it is very suitable for built-in Among the various portable multimedia devices exemplified above.
一般来说,存储器存储装置都内建有时钟数据回复(Clock and Data Recovery,CDR)电路,以对数据信号与时钟信号进行校正。随着数据信号的传输频率不断上升,时钟数据回复电路的时钟校正效率与抖动抑制也更加重要。在某些情况下,当数据信号与时钟信号的相位差或频率差的差距较大时,可能会因为相位或频率的瞬间调整量太大,而导致时钟数据回复电路的抖动容忍(jitter tolerance)下降。Generally speaking, memory storage devices have built-in clock and data recovery (Clock and Data Recovery, CDR) circuits to correct data signals and clock signals. As the transmission frequency of data signals continues to increase, the clock correction efficiency and jitter suppression of the clock data recovery circuit are becoming more important. In some cases, when the phase difference or frequency difference between the data signal and the clock signal is large, the jitter tolerance of the clock data recovery circuit may be caused by the instantaneous adjustment of the phase or frequency being too large. decline.
发明内容Contents of the invention
本发明提供一种时钟数据回复电路、存储器存储装置及信号调整方法,可提升时钟数据回复电路的抖动容忍。The present invention provides a clock data recovery circuit, a memory storage device and a signal adjustment method, which can improve the jitter tolerance of the clock data recovery circuit.
本发明的范例实施例提供一种时钟数据回复电路,其包括相位检测器、投票电路、数字回路滤波器及相位内插器。所述相位检测器用以检测第一信号与时钟信号之间的相位差。所述投票电路连接至所述相位检测器并用以根据所述相位差与第一时钟频率产生投票信号。所述数字回路滤波器连接至所述投票电路并用以根据所述投票信号与第二时钟频率将多个调整信号依序输出,其中所述第一时钟频率不同于所述第二时钟频率。所述相位内插器连接至所述相位检测器与所述数字回路滤波器并用以根据依序输出的所述多个调整信号产生所述时钟信号。Exemplary embodiments of the present invention provide a clock data recovery circuit, which includes a phase detector, a voting circuit, a digital loop filter, and a phase interpolator. The phase detector is used to detect the phase difference between the first signal and the clock signal. The voting circuit is connected to the phase detector and used to generate a voting signal according to the phase difference and the first clock frequency. The digital loop filter is connected to the voting circuit and used to sequentially output a plurality of adjustment signals according to the voting signal and a second clock frequency, wherein the first clock frequency is different from the second clock frequency. The phase interpolator is connected to the phase detector and the digital loop filter and is used to generate the clock signal according to the plurality of adjustment signals output sequentially.
在本发明的一范例实施例中,所述数字回路滤波器包括累加电路与分割电路。所述累加电路连接至所述投票电路。所述分割电路连接至所述累加电路。所述累加电路用以根据所述投票信号与所述第一时钟频率决定第一调整码。所述分割电路用以将所述第一调整码分割为多个第二调整码并根据所述多个第二调整码产生所述多个调整信号。In an exemplary embodiment of the present invention, the digital loop filter includes an accumulation circuit and a dividing circuit. The accumulation circuit is connected to the voting circuit. The dividing circuit is connected to the accumulation circuit. The accumulation circuit is used to determine a first adjustment code according to the voting signal and the first clock frequency. The dividing circuit is used to divide the first adjustment code into a plurality of second adjustment codes and generate the plurality of adjustment signals according to the plurality of second adjustment codes.
在本发明的一范例实施例中,所述数字回路滤波器还包括多路复用器。所述多路复用器连接至所述分割电路与所述相位内插器并用以根据所述第二时钟频率将所述多个调整信号依序输出至所述相位内插器。In an exemplary embodiment of the present invention, the digital loop filter further includes a multiplexer. The multiplexer is connected to the dividing circuit and the phase interpolator and is used to sequentially output the plurality of adjustment signals to the phase interpolator according to the second clock frequency.
本发明的范例实施例另提供一种存储器存储装置,其包括连接接口单元、可复写式非易失性存储器模块、存储器控制电路单元及时钟数据回复电路。所述连接接口单元用以连接至主机系统。所述存储器控制电路单元连接至所述连接接口单元与所述可复写式非易失性存储器模块。所述时钟数据回复电路设置于所述连接接口单元、所述可复写式非易失性存储器模块与所述存储器控制电路单元的至少其中之一中。所述时钟数据回复电路用以检测第一信号与时钟信号之间的相位差。所述时钟数据回复电路更用以根据所述相位差与第一时钟频率产生投票信号。所述时钟数据回复电路更用以根据所述投票信号与第二时钟频率将多个调整信号依序输出。所述时钟数据回复电路更用以根据依序输出的所述多个调整信号产生所述时钟信号。所述第一时钟频率不同于所述第二时钟频率。An exemplary embodiment of the present invention further provides a memory storage device, which includes a connection interface unit, a rewritable non-volatile memory module, a memory control circuit unit and a clock data recovery circuit. The connection interface unit is used to connect to the host system. The memory control circuit unit is connected to the connection interface unit and the rewritable non-volatile memory module. The clock data recovery circuit is provided in at least one of the connection interface unit, the rewritable non-volatile memory module and the memory control circuit unit. The clock data recovery circuit is used to detect the phase difference between the first signal and the clock signal. The clock data recovery circuit is further used to generate a voting signal based on the phase difference and the first clock frequency. The clock data recovery circuit is further configured to sequentially output a plurality of adjustment signals according to the voting signal and the second clock frequency. The clock data recovery circuit is further used to generate the clock signal according to the plurality of adjustment signals output sequentially. The first clock frequency is different from the second clock frequency.
在本发明的一范例实施例中,所述时钟数据回复电路包括累加电路与分割电路。所述分割电路连接至所述累加电路。所述累加电路用以根据所述投票信号与所述第一时钟频率决定第一调整码。所述分割电路用以将所述第一调整码分割为多个第二调整码并根据所述多个第二调整码产生所述多个调整信号。In an exemplary embodiment of the present invention, the clock data recovery circuit includes an accumulation circuit and a dividing circuit. The dividing circuit is connected to the accumulation circuit. The accumulation circuit is used to determine a first adjustment code according to the voting signal and the first clock frequency. The dividing circuit is used to divide the first adjustment code into a plurality of second adjustment codes and generate the plurality of adjustment signals according to the plurality of second adjustment codes.
在本发明的一范例实施例中,所述时钟数据回复电路还包括多路复用器。所述多路复用器连接至所述分割电路并用以根据所述第二时钟频率将所述多个调整信号依序输出至所述时钟数据回复电路中的相位内插器。In an exemplary embodiment of the present invention, the clock data recovery circuit further includes a multiplexer. The multiplexer is connected to the dividing circuit and used to sequentially output the plurality of adjustment signals to the phase interpolator in the clock data recovery circuit according to the second clock frequency.
本发明的范例实施例另提供一种信号调整方法,其用于存储器存储装置。所述存储器存储装置具有可复写式非易失性存储器模块,且所述信号调整方法包括:检测第一信号与时钟信号之间的相位差;根据所述相位差与第一时钟频率产生投票信号;根据所述投票信号与第二时钟频率将多个调整信号依序输出,其中所述第一时钟频率不同于所述第二时钟频率;以及根据依序输出的所述多个调整信号产生所述时钟信号。Exemplary embodiments of the present invention further provide a signal adjustment method for use in a memory storage device. The memory storage device has a rewritable non-volatile memory module, and the signal adjustment method includes: detecting a phase difference between a first signal and a clock signal; and generating a voting signal according to the phase difference and the first clock frequency. ; Sequentially outputting a plurality of adjustment signals according to the voting signal and a second clock frequency, wherein the first clock frequency is different from the second clock frequency; and generating the plurality of adjustment signals according to the sequential output. the clock signal.
在本发明的一范例实施例中,根据所述投票信号与所述第二时钟频率将所述多个调整信号依序输出的步骤包括:根据所述投票信号与所述第一时钟频率决定第一调整码;以及将所述第一调整码分割为多个第二调整码并根据所述多个第二调整码产生所述多个调整信号。In an exemplary embodiment of the present invention, the step of sequentially outputting the plurality of adjustment signals according to the voting signal and the second clock frequency includes: determining the first clock frequency according to the voting signal and the first clock frequency. an adjustment code; and dividing the first adjustment code into a plurality of second adjustment codes and generating the plurality of adjustment signals according to the plurality of second adjustment codes.
在本发明的一范例实施例中,根据所述投票信号与所述第二时钟频率将所述多个调整信号依序输出的步骤还包括:根据所述第二时钟频率将所述多个调整信号依序输出至所述存储器存储装置中的相位内插器。In an exemplary embodiment of the present invention, the step of sequentially outputting the plurality of adjustment signals according to the voting signal and the second clock frequency further includes: adjusting the plurality of adjustment signals according to the second clock frequency. The signals are sequentially output to the phase interpolator in the memory storage device.
在本发明的一范例实施例中,依序输出的所述多个调整信号用以逐渐将所述时钟信号调整至满足目标相位差或目标频率差。In an exemplary embodiment of the present invention, the plurality of adjustment signals output sequentially are used to gradually adjust the clock signal to meet the target phase difference or target frequency difference.
本发明的范例实施例另提供一种时钟数据回复电路,其包括相位检测器、投票电路、位回路滤波器及相位内插器。所述投票电路连接至所述相位检测器的输出。所述数字回路滤波器连接至所述投票电路的输出。所述相位内插器连接至所述数字回路滤波器的输出与所述相位检测器。所述投票电路操作于第一时钟频率。所述数字回路滤波器操作于第二时钟频率。所述第一时钟频率不同于所述第二时钟频率。An exemplary embodiment of the present invention further provides a clock data recovery circuit, which includes a phase detector, a voting circuit, a bit loop filter and a phase interpolator. The voting circuit is connected to the output of the phase detector. The digital loop filter is connected to the output of the voting circuit. The phase interpolator is connected to the output of the digital loop filter and the phase detector. The voting circuit operates at a first clock frequency. The digital loop filter operates at a second clock frequency. The first clock frequency is different from the second clock frequency.
本发明的范例实施例另提供一种存储器存储装置,其包括连接接口单元、可复写式非易失性存储器模块、存储器控制电路单元及时钟数据回复电路。所述连接接口单元用以连接至主机系统。所述存储器控制电路单元连接至所述连接接口单元与所述可复写式非易失性存储器模块。所述时钟数据回复电路设置于所述连接接口单元、所述可复写式非易失性存储器模块与所述存储器控制电路单元的至少其中之一中。所述时钟数据回复电路中的投票电路操作于第一时钟频率。所述时钟数据回复电路中的数字回路滤波器操作于第二时钟频率。所述数字回路滤波器连接至所述投票电路的输出。所述第一时钟频率不同于所述第二时钟频率。An exemplary embodiment of the present invention further provides a memory storage device, which includes a connection interface unit, a rewritable non-volatile memory module, a memory control circuit unit and a clock data recovery circuit. The connection interface unit is used to connect to the host system. The memory control circuit unit is connected to the connection interface unit and the rewritable non-volatile memory module. The clock data recovery circuit is provided in at least one of the connection interface unit, the rewritable non-volatile memory module and the memory control circuit unit. The voting circuit in the clock data recovery circuit operates at a first clock frequency. The digital loop filter in the clock data recovery circuit operates at the second clock frequency. The digital loop filter is connected to the output of the voting circuit. The first clock frequency is different from the second clock frequency.
在本发明的一范例实施例中,所述第一时钟频率低于所述第二时钟频率。In an exemplary embodiment of the present invention, the first clock frequency is lower than the second clock frequency.
基于上述,在测得第一信号与时钟信号之间的相位差后,投票电路可根据所述相位差与第一时钟频率产生投票信号。数字回路滤波器可根据所述投票信号与第二时钟频率将多个调整信号依序输出,且所述第一时钟频率不同于所述第二时钟频率。相位内插器可根据依序输出的所述多个调整信号产生所述时钟信号。藉此,可提升时钟数据回复电路的抖动容忍。Based on the above, after measuring the phase difference between the first signal and the clock signal, the voting circuit may generate a voting signal according to the phase difference and the first clock frequency. The digital loop filter can sequentially output a plurality of adjustment signals according to the voting signal and a second clock frequency, and the first clock frequency is different from the second clock frequency. The phase interpolator may generate the clock signal according to the plurality of adjustment signals output sequentially. In this way, the jitter tolerance of the clock data recovery circuit can be improved.
附图说明Description of the drawings
包含附图以便进一步理解本发明,且附图并入本说明书中并构成本说明书的一部分。附图说明本发明的实施例,并与描述一起用于解释本发明的原理;The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention;
图1是根据本发明的一范例实施例所示出的时钟数据回复电路的示意图;FIG. 1 is a schematic diagram of a clock data recovery circuit according to an exemplary embodiment of the present invention;
图2是根据本发明的一范例实施例所示出的数字回路滤波器的示意图;FIG. 2 is a schematic diagram of a digital loop filter according to an exemplary embodiment of the present invention;
图3是根据本发明的一范例实施例所示出的依序输出多个调整信号的示意图;FIG. 3 is a schematic diagram of sequentially outputting multiple adjustment signals according to an exemplary embodiment of the present invention;
图4是根据本发明的一范例实施例所示出的根据依序输出的多个调整信号调整时钟信号的示意图;FIG. 4 is a schematic diagram of adjusting a clock signal according to a plurality of adjustment signals output sequentially according to an exemplary embodiment of the present invention;
图5是根据本发明的一范例实施例所示出的主机系统、存储器存储装置及输入/输出(I/O)装置的示意图;Figure 5 is a schematic diagram of a host system, a memory storage device and an input/output (I/O) device according to an exemplary embodiment of the present invention;
图6是根据本发明的另一范例实施例所示出的主机系统、存储器存储装置及I/O装置的示意图;Figure 6 is a schematic diagram of a host system, a memory storage device and an I/O device according to another exemplary embodiment of the present invention;
图7是根据本发明的另一范例实施例所示出的主机系统与存储器存储装置的示意图;Figure 7 is a schematic diagram of a host system and a memory storage device according to another exemplary embodiment of the present invention;
图8是根据本发明的一范例实施例所示出的存储器存储装置的概要方块图;Figure 8 is a schematic block diagram of a memory storage device according to an exemplary embodiment of the present invention;
图9是根据本发明的一范例实施例所示出的信号调整方法的流程图。FIG. 9 is a flow chart of a signal adjustment method according to an exemplary embodiment of the present invention.
附图标号说明Explanation of reference numbers
10:时钟数据回复电路;10: Clock data recovery circuit;
11:相位检测器;11: Phase detector;
12:投票电路;12: Voting circuit;
13:数字回路滤波器;13: Digital loop filter;
14:相位内插器;14: Phase interpolator;
15:锁相回路电路;15: Phase locked loop circuit;
Din,PS,UP,DN,PC(i),PC(1)~PC(n),PC(D),CLK(HS),CLK(LS),CLK(REF):信号;Din,PS,UP,DN,PC(i),PC(1)~PC(n),PC(D),CLK(HS),CLK(LS),CLK(REF): signal;
21:累加电路;21: Accumulation circuit;
22:分割电路;22: Split circuit;
23:多路复用器;23: Multiplexer;
201,202:放大器;201,202: Amplifier;
211,212:累积器;211,212: Accumulator;
221:加法器;221: Adder;
T(0),T(1),T(01)~T(05):时间点;T(0),T(1),T(01)~T(05): time point;
50,70,80:存储器存储装置;50,70,80: memory storage device;
51,71:主机系统;51,71: Host system;
510:系统总线;510: system bus;
511:处理器;511: processor;
512:随机存取存储器;512: Random access memory;
513:只读存储器;513: read-only memory;
514:数据传输接口;514: Data transmission interface;
52:输入/输出(I/O)装置;52: Input/output (I/O) device;
60:主机板;60: motherboard;
601:U盘;601:U disk;
602:存储卡;602: memory card;
603:固态硬盘;603:Solid state drive;
604:无线存储器存储装置;604: Wireless memory storage device;
605:全球定位系统模块;605: Global positioning system module;
606:网络接口卡;606: Network interface card;
607:无线传输装置;607: Wireless transmission device;
608:键盘;608:Keyboard;
609:屏幕;609: screen;
610:喇叭;610: Trumpet;
72:SD卡;72:SD card;
73:CF卡;73: CF card;
74:嵌入式存储装置;74: Embedded storage device;
741:嵌入式多媒体卡;741: Embedded multimedia card;
742:嵌入式多芯片封装存储装置;742: Embedded multi-chip package storage device;
801:连接接口单元;801: Connect interface unit;
802:存储器控制电路单元;802: Memory control circuit unit;
803:可复写式非易失性存储器模块;803: Rewritable non-volatile memory module;
S901:步骤(检测第一信号与时钟信号之间的相位差);S901: Step (detect the phase difference between the first signal and the clock signal);
S902:步骤(根据所述相位差与第一时钟频率产生投票信号);S902: Step (generate a voting signal based on the phase difference and the first clock frequency);
S903:步骤(根据所述投票信号与第二时钟频率将多个调整信号依序输出,其中第一时钟频率不同于第二时钟频率);S903: Step (sequentially output multiple adjustment signals according to the voting signal and the second clock frequency, wherein the first clock frequency is different from the second clock frequency);
S904:步骤(根据依序输出的所述多个调整信号产生所述时钟信号)。S904: Step (generate the clock signal according to the plurality of adjustment signals output sequentially).
具体实施方式Detailed ways
以下提出多个范例实施例来说明本发明,然而本发明不仅限于所例示的多个范例实施例。又范例实施例之间也允许有适当的结合。在本案说明书全文(包括权利要求)中所使用的“连接”一词可指任何直接或间接的连接手段。举例而言,若文中描述第一装置连接于第二装置,则应该被解释成该第一装置可以直接连接于该第二装置,或者该第一装置可以通过其他装置或某种连接手段而间接地连接至该第二装置。此外,“信号”一词可指至少一电流、电压、电荷、温度、数据、或任何其他一或多个信号。Several exemplary embodiments are provided below to illustrate the present invention. However, the present invention is not limited to the illustrated exemplary embodiments. Appropriate combinations between the exemplary embodiments are also allowed. The word "connection" used throughout the description of this case (including the claims) can refer to any direct or indirect means of connection. For example, if a first device is described as being connected to a second device, it should be understood that the first device can be directly connected to the second device, or the first device can be indirectly connected through other devices or some connection means. ground to the second device. Furthermore, the term "signal" may refer to at least one current, voltage, charge, temperature, data, or any other signal or signals.
图1是根据本发明的一范例实施例所示出的时钟数据回复电路的示意图。请参照图1,时钟数据回复电路10可用于接收信号(亦称为第一信号)Din并产生信号CLK(HS)。信号CLK(HS)为时钟信号。FIG. 1 is a schematic diagram of a clock data recovery circuit according to an exemplary embodiment of the present invention. Please refer to FIG. 1 , the clock data recovery circuit 10 can be used to receive the signal (also called the first signal) Din and generate the signal CLK (HS). Signal CLK(HS) is the clock signal.
时钟数据回复电路10可检测信号Din与CLK(HS)之间的相位差并根据此相位差调整信号CLK(HS)。例如,时钟数据回复电路10可根据信号Din的相位和/或频率来调整信号CLK(HS)的相位和/或频率。藉此,时钟数据回复电路10可用于将信号Din与CLK(HS)锁定于一个预设的相位关系。例如,信号Din与CLK(HS)之间的相位差可被锁定于0度、90度、180度、270度或360度。在一范例实施例中,信号Din可为数据信号。经锁定的信号CLK(HS)亦可用于分析(例如取样)信号Din,以获得信号Din所传递的比特数据(例如比特1/0)。The clock data recovery circuit 10 can detect the phase difference between the signal Din and CLK(HS) and adjust the signal CLK(HS) according to the phase difference. For example, the clock data recovery circuit 10 may adjust the phase and/or frequency of the signal CLK(HS) according to the phase and/or frequency of the signal Din. Thereby, the clock data recovery circuit 10 can be used to lock the signals Din and CLK(HS) into a preset phase relationship. For example, the phase difference between signals Din and CLK(HS) can be locked at 0 degrees, 90 degrees, 180 degrees, 270 degrees, or 360 degrees. In an example embodiment, the signal Din may be a data signal. The locked signal CLK(HS) can also be used to analyze (eg, sample) the signal Din to obtain the bit data (eg, bit 1/0) conveyed by the signal Din.
时钟数据回复电路10包括相位检测器11、投票电路12、数字回路滤波器13及相位内插器14。相位检测器11可用以接收信号Din与CLK(HS)并检测信号Din与CLK(HS)之间的相位差。相位检测器11可根据所测得的相位差产生信号PS。换言之,信号PS可反映信号Din与CLK(HS)之间的相位差。The clock data recovery circuit 10 includes a phase detector 11 , a voting circuit 12 , a digital loop filter 13 and a phase interpolator 14 . The phase detector 11 can be used to receive the signals Din and CLK(HS) and detect the phase difference between the signals Din and CLK(HS). The phase detector 11 can generate a signal PS based on the measured phase difference. In other words, the signal PS may reflect the phase difference between the signals Din and CLK(HS).
投票电路12连接至相位检测器11并可接收信号PS。投票电路12可根据信号PS产生信号UP/DN。信号UP/DN可用于改变信号CLK(HS)的相位和/或频率。例如,信号UP可用于提前信号CLK(HS)的至少一个上升缘和/或至少一个下降缘。信号DN可用于延迟信号CLK(HS)的至少一个上升缘和/或至少一个下降缘。在一范例实施例中,信号UP/DN亦称为投票信号。Voting circuit 12 is connected to phase detector 11 and can receive signal PS. The voting circuit 12 may generate the signal UP/DN based on the signal PS. Signal UP/DN can be used to change the phase and/or frequency of signal CLK(HS). For example, signal UP may be used to advance at least one rising edge and/or at least one falling edge of signal CLK(HS). Signal DN may be used to delay at least one rising edge and/or at least one falling edge of signal CLK(HS). In an example embodiment, the signals UP/DN are also called voting signals.
数字回路滤波器13连接至投票电路12。数字回路滤波器12可接收信号UP/DN并根据信号UP/DN产生信号PC(i)。信号PC(i)可对应一个代码(或控制码)。此代码(或控制码)可用于控制信号CLK(HS)的相位和/或频率。在一范例实施例中,信号PC(i)亦称为调整信号。Digital loop filter 13 is connected to voting circuit 12 . Digital loop filter 12 may receive signal UP/DN and generate signal PC(i) based on signal UP/DN. Signal PC(i) can correspond to a code (or control code). This code (or control code) can be used to control the phase and/or frequency of signal CLK(HS). In an example embodiment, signal PC(i) is also called an adjustment signal.
相位内插器14连接至数字回路滤波器13、相位检测器11及锁相回路(PhaseLocked Loop,PLL)电路15。相位内插器14用以从数字回路滤波器13接收信号PC(i)并从锁相回路电路15接收信号CLK(REF)。信号CLK(REF)亦称为参考时钟信号。例如,信号CLK(REF)可作为相位内插器14的基底。相位内插器14可根据信号PC(i)对信号CLK(REF)执行相位内插以产生信号CLK(HS)。此外,相位内插器14可根据信号PC(i)调整信号CLK(HS)的相位和/或频率。锁相回路电路15可包含于时钟数据回复电路10内或独立于时钟数据回复电路10之外,本发明不加以限制。The phase interpolator 14 is connected to the digital loop filter 13 , the phase detector 11 and the phase locked loop (PhaseLocked Loop, PLL) circuit 15 . The phase interpolator 14 is used to receive the signal PC(i) from the digital loop filter 13 and the signal CLK(REF) from the phase locked loop circuit 15 . The signal CLK(REF) is also called the reference clock signal. For example, signal CLK(REF) may serve as the basis for phase interpolator 14 . Phase interpolator 14 may perform phase interpolation on signal CLK(REF) based on signal PC(i) to generate signal CLK(HS). Additionally, phase interpolator 14 may adjust the phase and/or frequency of signal CLK(HS) based on signal PC(i). The phase locked loop circuit 15 may be included in the clock data recovery circuit 10 or be independent of the clock data recovery circuit 10, which is not limited by the present invention.
通过相位检测器11、投票电路12、数字回路滤波器13及相位内插器14的协同运作,信号Din与CLK(HS)可被锁定于所述预设的相位关系,以利于后续的信号分析。此外,信号CLK(HS)亦可被提供给其他的电路元件使用。Through the cooperative operation of the phase detector 11, voting circuit 12, digital loop filter 13 and phase interpolator 14, the signals Din and CLK(HS) can be locked in the preset phase relationship to facilitate subsequent signal analysis. . In addition, the signal CLK(HS) can also be provided to other circuit components.
须注意的是,投票电路12可操作于某一时钟频率(亦称为第一时钟频率),而数字回路滤波器13则可操作于另一时钟频率(亦称为第二时钟频率)。从另一角度而言,数字回路滤波器13可同时操作于第一时钟频率与第二时钟频率。第一时钟频率不同于第二时钟频率。例如,第一时钟频率可低于第二时钟频率。例如,第一时钟频率可为20MHz,而第二时钟频率可为100MHz,且本发明不限制第一时钟频率与第二时钟频率的实际数值。It should be noted that the voting circuit 12 can operate at a certain clock frequency (also called a first clock frequency), and the digital loop filter 13 can operate at another clock frequency (also called a second clock frequency). From another perspective, the digital loop filter 13 can operate at the first clock frequency and the second clock frequency simultaneously. The first clock frequency is different from the second clock frequency. For example, the first clock frequency may be lower than the second clock frequency. For example, the first clock frequency may be 20 MHz, and the second clock frequency may be 100 MHz, and the present invention does not limit the actual values of the first clock frequency and the second clock frequency.
在一范例实施例中,投票电路12可接收信号CLK(LS)并以信号CLK(LS)的频率作为第一时钟频率。投票电路12可根据信号CLK(LS)的频率与信号PS来输出信号UP/DN。例如,投票电路12可受信号CLK(LS)的上升缘和/或下降缘触发以产生信号PS。In an exemplary embodiment, the voting circuit 12 may receive the signal CLK(LS) and use the frequency of the signal CLK(LS) as the first clock frequency. The voting circuit 12 may output the signal UP/DN according to the frequency of the signal CLK(LS) and the signal PS. For example, voting circuit 12 may be triggered by the rising edge and/or falling edge of signal CLK(LS) to generate signal PS.
在一范例实施例中,数字回路滤波器13可接收信号CLK(HS)并以信号CLK(HS)的频率作为第二时钟频率。数字回路滤波器13可根据信号CLK(HS)的频率与信号UP/DN来输出信号UP/DN。例如,数字回路滤波器13可受信号CLK(HS)的上升缘和/或下降缘触发以输出信号PC(i)。In an exemplary embodiment, the digital loop filter 13 may receive the signal CLK(HS) and use the frequency of the signal CLK(HS) as the second clock frequency. The digital loop filter 13 can output the signal UP/DN according to the frequency of the signal CLK(HS) and the signal UP/DN. For example, the digital loop filter 13 may be triggered by the rising edge and/or falling edge of the signal CLK(HS) to output the signal PC(i).
在一范例实施例中,信号CLK(LS)例如是信号CLK(HS)经过除频后产生。例如,一个除频器(Divider)可用以对信号CLK(HS)进行除频以产生信号CLK(LS)。此除频器可包含于时钟数据回复电路10中或独立于时钟数据回复电路10之外。In an exemplary embodiment, the signal CLK(LS) is generated by dividing the signal CLK(HS), for example. For example, a frequency divider (Divider) can be used to divide the signal CLK(HS) to generate the signal CLK(LS). The frequency divider may be included in the clock data recovery circuit 10 or be independent of the clock data recovery circuit 10 .
在一范例实施例中,i的数值介于1至n之间,且n为大于1的整数。第二时钟频率可约为第一时钟频率的n倍。响应于投票电路12产生的一个信号UP/DN,数字回路滤波器13可根据此信号UP/DN与信号CLK(HS)的频率来将n个信号PC(1)~PC(n)依序输出至相位内插器14。相位内插器14可根据依序输出的这n个信号PC(1)~PC(n)来产生信号CLK(HS)和/或调整信号CLK(HS)的相位(或频率)。藉此,依序输出的这n个信号PC(1)~PC(n)可用以逐渐将信号CLK(HS)调整至满足一个相位差(亦称为目标相位差)或频率差(亦称为目标频率差)。In an example embodiment, the value of i ranges from 1 to n, and n is an integer greater than 1. The second clock frequency may be approximately n times the first clock frequency. In response to a signal UP/DN generated by the voting circuit 12, the digital loop filter 13 can sequentially output n signals PC(1)˜PC(n) according to the frequency of the signal UP/DN and the signal CLK(HS). to phase interpolator 14. The phase interpolator 14 can generate the signal CLK(HS) and/or adjust the phase (or frequency) of the signal CLK(HS) according to the n signals PC(1)˜PC(n) outputted sequentially. In this way, the n signals PC(1)~PC(n) sequentially output can be used to gradually adjust the signal CLK(HS) to meet a phase difference (also called a target phase difference) or a frequency difference (also called a target phase difference). target frequency difference).
图2是根据本发明的一范例实施例所示出的数字回路滤波器的示意图。请参照图2,数字回路滤波器13可包括累加电路21、分割电路22及多路复用器23。累加电路21可根据信号UP/DN与第一时钟频率决定一个调整码(亦称为第一调整码)。分割电路22连接至累加电路21与多路复用器23。分割电路22可将第一调整码分割为多个调整码(亦称为第二调整码)并根据所述多个第二调整码产生信号PC(1)~PC(n)。多路复用器23可根据第二时钟频率将信号PC(1)~PC(n)依序输出。FIG. 2 is a schematic diagram of a digital loop filter according to an exemplary embodiment of the present invention. Referring to FIG. 2 , the digital loop filter 13 may include an accumulation circuit 21 , a dividing circuit 22 and a multiplexer 23 . The accumulation circuit 21 can determine an adjustment code (also called a first adjustment code) based on the signal UP/DN and the first clock frequency. The dividing circuit 22 is connected to the accumulation circuit 21 and the multiplexer 23 . The dividing circuit 22 can divide the first adjustment code into a plurality of adjustment codes (also referred to as second adjustment codes) and generate signals PC(1)˜PC(n) according to the plurality of second adjustment codes. The multiplexer 23 can sequentially output the signals PC(1)˜PC(n) according to the second clock frequency.
从另一角度而言,数字回路滤波器13的一部分电路(即累加电路21与分割电路22)是操作于第一时钟频率并根据第一时钟频率运作(例如产生信号PC(1)~PC(n))。数字回路滤波器13的另一部分电路(即多路复用器23)则是操作于第二时钟频率并根据第二时钟频率运作(例如输出信号PC(i))。From another perspective, part of the circuits of the digital loop filter 13 (ie, the accumulation circuit 21 and the dividing circuit 22) operate at the first clock frequency and operate according to the first clock frequency (for example, generating signals PC(1)˜PC( n)). Another part of the circuit of the digital loop filter 13 (ie, the multiplexer 23) operates at the second clock frequency and operates according to the second clock frequency (for example, the output signal PC(i)).
在一范例实施例中,累加电路21包括放大器201、放大器202、累积器211、累积器212及加法器221。放大器201与202的输入端可连接至图1的相位检测器11的输出端以接收信号UP/DN。累积器211的输入端可连接至放大器202的输出端。累积器211与放大器201的输出端可连接至加法器221的输入端。累积器212的输入端可连接至加法器221的输出端。累积器212的输出端可连接至分割电路22的输入端。In an exemplary embodiment, the accumulation circuit 21 includes an amplifier 201, an amplifier 202, an accumulator 211, an accumulator 212 and an adder 221. The input terminals of the amplifiers 201 and 202 may be connected to the output terminal of the phase detector 11 of FIG. 1 to receive the signal UP/DN. The input of accumulator 211 may be connected to the output of amplifier 202 . The output terminals of the accumulator 211 and the amplifier 201 may be connected to the input terminal of the adder 221 . The input terminal of the accumulator 212 may be connected to the output terminal of the adder 221 . The output of accumulator 212 may be connected to the input of dividing circuit 22 .
在一范例实施例中,放大器201亦称为比例增益放大器,且放大器202亦称为积分增益放大器。例如,放大器201可将信号UP/DN所对应的数值放大N倍,且放大器202可将信号UP/DN所对应的数值放大M倍。N大于M。例如,N可为6和/或M可为4,且N与M的数值不限于此。经放大器202放大M倍的数值可用于更新累积器211所存储的数值。加法器221可将存储于累积器211的数值与放大器201输出的数值相加并根据运算结果更新存储于累积器212的数值。此数值即为第一调整码。累加电路21可接收信号CLK(LS)并根据信号CLK(LS)的频率(即第一时钟频率)来更新第一调整码。然后,累加电路21可将第一调整码所对应的信号传送给分割电路22。In an exemplary embodiment, amplifier 201 is also called a proportional gain amplifier, and amplifier 202 is also called an integral gain amplifier. For example, the amplifier 201 can amplify the value corresponding to the signal UP/DN by N times, and the amplifier 202 can amplify the value corresponding to the signal UP/DN by M times. N is greater than M. For example, N may be 6 and/or M may be 4, and the values of N and M are not limited thereto. The value amplified by M times by the amplifier 202 can be used to update the value stored in the accumulator 211 . The adder 221 can add the value stored in the accumulator 211 to the value output by the amplifier 201 and update the value stored in the accumulator 212 according to the operation result. This value is the first adjustment code. The accumulation circuit 21 may receive the signal CLK(LS) and update the first adjustment code according to the frequency of the signal CLK(LS) (ie, the first clock frequency). Then, the accumulation circuit 21 may transmit the signal corresponding to the first adjustment code to the dividing circuit 22 .
根据累加电路21的输出,分割电路22可产生信号PC(1)~PC(n)。信号PC(1)~PC(n)中的每一者对应一个第二调整码。在一范例实施例中,假设一个第一调整码可单独且一次性地用于将信号CLK(HS)调整至满足一个目标相位差或目标频率差,则信号PC(1)~PC(n)所对应的所有第二调整码则可共同且逐渐地将信号CLK(HS)调整至满足所述目标相位差或目标频率差。According to the output of the accumulation circuit 21, the dividing circuit 22 can generate signals PC(1)˜PC(n). Each of the signals PC(1)˜PC(n) corresponds to a second adjustment code. In an exemplary embodiment, assuming that a first adjustment code can be used individually and once to adjust the signal CLK(HS) to meet a target phase difference or target frequency difference, then the signals PC(1)˜PC(n) All corresponding second adjustment codes can jointly and gradually adjust the signal CLK(HS) to meet the target phase difference or target frequency difference.
图3是根据本发明的一范例实施例所示出的依序输出多个调整信号的示意图。图4是根据本发明的一范例实施例所示出的根据依序输出的多个调整信号调整时钟信号的示意图。FIG. 3 is a schematic diagram of sequentially outputting multiple adjustment signals according to an exemplary embodiment of the present invention. FIG. 4 is a schematic diagram of adjusting a clock signal according to a plurality of adjustment signals output sequentially according to an exemplary embodiment of the present invention.
请参照图3与图4,假设传统上对应于第一调整码的信号PC(D)(即调整信号)可根据信号CLK(LS)的触发而输出,且信号PC(D)可指示图1的相位内插器14在时间点T(0)~T(1)之间一次性地将信号CLK(HS)的相位(或频率)从当前值PH(1)调整至目标值PH(2)。当前值PH(1)与目标值PH(2)之间的差值为ΔPH(即目标相位差或目标频率差)。Referring to Figures 3 and 4, it is assumed that the signal PC(D) traditionally corresponding to the first adjustment code (i.e., the adjustment signal) can be output according to the triggering of the signal CLK(LS), and the signal PC(D) can indicate that Figure 1 The phase interpolator 14 adjusts the phase (or frequency) of the signal CLK (HS) from the current value PH (1) to the target value PH (2) at one time between time points T (0) ~ T (1). . The difference between the current value PH(1) and the target value PH(2) is ΔPH (ie, target phase difference or target frequency difference).
在一范例实施例中,信号PC(1)~PC(n)是根据信号CLK(HS)的触发而依序输出。根据依序输出的信号PC(1)~PC(n),在时间点T(01)~T(05),信号CLK(HS)的相位(或频率)从当前值PH(1)被逐渐且稳定地调整至目标值PH(2)。当前值PH(1)至目标值PH(2)之间的差值也为ΔPH(即目标相位差或目标频率差)。In an exemplary embodiment, the signals PC(1)˜PC(n) are sequentially output according to the triggering of the signal CLK(HS). According to the sequentially output signals PC(1)~PC(n), at time points T(01)~T(05), the phase (or frequency) of the signal CLK(HS) is gradually changed from the current value PH(1) and Stably adjust to the target value PH(2). The difference between the current value PH(1) and the target value PH(2) is also ΔPH (ie, target phase difference or target frequency difference).
在一范例实施例中,假设n=5。在时间点T(01),响应于信号PC(1),信号CLK(HS)的相位(或频率)从当前值PH(1)被调整至PH(1)+ΔPH×(1/5);在时间点T(02),响应于信号PC(2),信号CLK(HS)的相位(或频率)被调整至PH(1)+ΔPH×(2/5);在时间点T(03),响应于信号PC(3),信号CLK(HS)的相位(或频率)被调整至PH(1)+ΔPH×(3/5);在时间点T(04),响应于信号PC(4),信号CLK(HS)的相位(或频率)被调整至PH(1)+ΔPH×(4/5);并且,在时间点T(05),响应于信号PC(5),信号CLK(HS)的相位(或频率)被调整至PH(1)+ΔPH=PH(2)。In an example embodiment, assume n=5. At time point T(01), in response to signal PC(1), the phase (or frequency) of signal CLK(HS) is adjusted from the current value PH(1) to PH(1)+ΔPH×(1/5); At time point T(02), in response to signal PC(2), the phase (or frequency) of signal CLK(HS) is adjusted to PH(1)+ΔPH×(2/5); at time point T(03) , in response to signal PC(3), the phase (or frequency) of signal CLK(HS) is adjusted to PH(1)+ΔPH×(3/5); at time point T(04), in response to signal PC(4 ), the phase (or frequency) of the signal CLK(HS) is adjusted to PH(1)+ΔPH×(4/5); and, at time point T(05), in response to the signal PC(5), the signal CLK( The phase (or frequency) of HS) is adjusted to PH(1)+ΔPH=PH(2).
相较于根据信号PC(D)一次性地调整信号CLK(HS),根据依序输出的信号PC(1)~PC(n)来稳定地将信号CLK(HS)的相位(或频率)调整至目标值PH(2),可使图1的时钟数据回复电路10具有较高的抖动容忍。特别是,ΔPH(即目标相位差或目标频率差)越大,分阶段调整信号CLK(HS)的优点可更加被突显。Compared with adjusting the signal CLK(HS) all at once according to the signal PC(D), the phase (or frequency) of the signal CLK(HS) is stably adjusted according to the sequentially output signals PC(1)~PC(n). To the target value PH(2), the clock data recovery circuit 10 of FIG. 1 can have higher jitter tolerance. In particular, the larger ΔPH (ie, the target phase difference or the target frequency difference) is, the more advantageous the advantage of adjusting the signal CLK(HS) in stages can be highlighted.
在一范例实施例中,图1的时钟数据回复电路10可设置在存储器存储装置中,以接收来自主机系统的信号Din。然而,在另一范例实施例中,图1的时钟数据回复电路10亦可设置于其他类型的电子装置中,而不限于存储器存储装置。In an exemplary embodiment, the clock data recovery circuit 10 of FIG. 1 may be disposed in a memory storage device to receive the signal Din from the host system. However, in another exemplary embodiment, the clock data recovery circuit 10 of FIG. 1 can also be provided in other types of electronic devices, and is not limited to memory storage devices.
一般而言,存储器存储装置(亦称,存储器存储系统)包括可复写式非易失性存储器模块(rewritable non-volatile memory module)与控制器(亦称,控制电路)。通常存储器存储装置是与主机系统一起使用,以使主机系统可将数据写入至存储器存储装置或从存储器存储装置中读取数据。Generally speaking, a memory storage device (also called a memory storage system) includes a rewritable non-volatile memory module (rerewritable non-volatile memory module) and a controller (also called a control circuit). Typically a memory storage device is used with a host system so that the host system can write data to or read data from the memory storage device.
图5是根据本发明的一范例实施例所示出的主机系统、存储器存储装置及输入/输出(I/O)装置的示意图。图6是根据本发明的另一范例实施例所示出的主机系统、存储器存储装置及I/O装置的示意图。FIG. 5 is a schematic diagram of a host system, a memory storage device, and an input/output (I/O) device according to an exemplary embodiment of the present invention. FIG. 6 is a schematic diagram of a host system, a memory storage device and an I/O device according to another exemplary embodiment of the present invention.
请参照图5与图6,主机系统51一般包括处理器511、随机存取存储器(randomaccess memory,RAM)512、只读存储器(read only memory,ROM)513及数据传输接口514。处理器511、随机存取存储器512、只读存储器513及数据传输接口514皆连接至系统总线(system bus)510。Referring to FIGS. 5 and 6 , the host system 51 generally includes a processor 511 , a random access memory (RAM) 512 , a read only memory (ROM) 513 and a data transmission interface 514 . The processor 511 , the random access memory 512 , the read-only memory 513 and the data transmission interface 514 are all connected to a system bus 510 .
在本范例实施例中,主机系统51是通过数据传输接口514与存储器存储装置50连接。例如,主机系统51可经由数据传输接口514将数据存储至存储器存储装置50或从存储器存储装置50中读取数据。此外,主机系统51是通过系统总线510与I/O装置52连接。例如,主机系统51可经由系统总线510将输出信号传送至I/O装置52或从I/O装置52接收输入信号。In this exemplary embodiment, the host system 51 is connected to the memory storage device 50 through the data transmission interface 514 . For example, host system 51 may store data to or read data from memory storage device 50 via data transfer interface 514 . In addition, the host system 51 is connected to the I/O device 52 through the system bus 510 . For example, host system 51 may transmit output signals to or receive input signals from I/O device 52 via system bus 510 .
在一范例实施例中,处理器511、随机存取存储器512、只读存储器513及数据传输接口514可设置在主机系统51的主机板60上。数据传输接口514的数目可以是一或多个。通过数据传输接口514,主机板60可以经由有线或无线方式连接至存储器存储装置50。存储器存储装置50可例如是U盘601、存储卡602、固态硬盘(Solid State Drive,SSD)603或无线存储器存储装置604。无线存储器存储装置604可例如是近距离无线通信(Near FieldCommunication,NFC)存储器存储装置、无线传真(WiFi)存储器存储装置、蓝牙(Bluetooth)存储器存储装置或低功耗蓝牙存储器存储装置(例如,iBeacon)等以各式无线通信技术为基础的存储器存储装置。此外,主机板60也可以通过系统总线510连接至全球定位系统(Global Positioning System,GPS)模块605、网络接口卡606、无线传输装置607、键盘608、屏幕609、喇叭610等各式I/O装置。例如,在一范例实施例中,主机板60可通过无线传输装置607存取无线存储器存储装置604。In an example embodiment, the processor 511 , the random access memory 512 , the read-only memory 513 and the data transmission interface 514 may be disposed on the motherboard 60 of the host system 51 . The number of data transmission interfaces 514 may be one or more. Through the data transmission interface 514, the motherboard 60 can be connected to the memory storage device 50 via wired or wireless means. The memory storage device 50 may be, for example, a U disk 601, a memory card 602, a solid state drive (SSD) 603 or a wireless memory storage device 604. The wireless memory storage device 604 may be, for example, a Near Field Communication (NFC) memory storage device, a wireless fax (WiFi) memory storage device, a Bluetooth (Bluetooth) memory storage device, or a low-power Bluetooth memory storage device (eg, iBeacon ) and other memory storage devices based on various wireless communication technologies. In addition, the motherboard 60 can also be connected to various I/Os such as a Global Positioning System (GPS) module 605, a network interface card 606, a wireless transmission device 607, a keyboard 608, a screen 609, a speaker 610, etc. through the system bus 510. device. For example, in an exemplary embodiment, the motherboard 60 can access the wireless memory storage device 604 through the wireless transmission device 607 .
在一范例实施例中,所提及的主机系统为可实质地与存储器存储装置配合以存储数据的任意系统。虽然在上述范例实施例中,主机系统是以电脑系统来作说明,然而,图7是根据本发明的另一范例实施例所示出的主机系统与存储器存储装置的示意图。请参照图7,在另一范例实施例中,主机系统71也可以是数码相机、摄影机、通信装置、音频播放器、视频播放器或平板电脑等系统,而存储器存储装置70可为其所使用的安全数字(SecureDigital,SD)卡72、小型快闪(Compact Flash,CF)卡73或嵌入式存储装置74等各式非易失性存储器存储装置。嵌入式存储装置74包括嵌入式多媒体卡(embeddedMulti Media Card,eMMC)741和/或嵌入式多芯片封装(embedded Multi Chip Package,eMCP)存储装置742等各类型将存储器模块直接连接于主机系统的基板上的嵌入式存储装置。In an example embodiment, the host system is substantially any system that can cooperate with a memory storage device to store data. Although in the above exemplary embodiments, the host system is described as a computer system, FIG. 7 is a schematic diagram of a host system and a memory storage device according to another exemplary embodiment of the present invention. Please refer to FIG. 7 . In another exemplary embodiment, the host system 71 may also be a digital camera, video camera, communication device, audio player, video player or tablet computer, and the memory storage device 70 may be used therefor. Various non-volatile memory storage devices such as Secure Digital (SD) card 72, Compact Flash (CF) card 73 or embedded storage device 74. The embedded storage device 74 includes an embedded Multi Media Card (eMMC) 741 and/or an embedded Multi Chip Package (eMCP) storage device 742 and other types of substrates that directly connect the memory module to the host system. embedded storage device.
图8是根据本发明的一范例实施例所示出的存储器存储装置的概要方块图。请参照图8,存储器存储装置80包括连接接口单元801、存储器控制电路单元802与可复写式非易失性存储器模块803。须注意的是,图1的时钟数据回复电路10可设置于连接接口单元801中,以接收来自于主机系统51的信号Din。或者,图1的时钟数据回复电路10亦可设置于存储器控制电路单元802和/或可复写式非易失性存储器模块803中,本发明不加以限制。FIG. 8 is a schematic block diagram of a memory storage device according to an exemplary embodiment of the present invention. Referring to FIG. 8 , the memory storage device 80 includes a connection interface unit 801 , a memory control circuit unit 802 and a rewritable non-volatile memory module 803 . It should be noted that the clock data recovery circuit 10 of FIG. 1 can be disposed in the connection interface unit 801 to receive the signal Din from the host system 51 . Alternatively, the clock data recovery circuit 10 of FIG. 1 can also be provided in the memory control circuit unit 802 and/or the rewritable non-volatile memory module 803, which is not limited by the present invention.
连接接口单元801用以将存储器存储装置80连接至主机系统。在本范例实施例中,连接接口单元801是相容于串行高级技术附件(Serial Advanced TechnologyAttachment,SATA)标准。然而,必须了解的是,本发明不限于此,连接接口单元801亦可以是符合并行高级技术附件(Parallel Advanced Technology Attachment,PATA)标准、电气和电子工程师协会(Institute of Electrical and Electronic Engineers,IEEE)1394标准、高速周边零件连接接口(Peripheral Component Interconnect Express,PCIExpress)标准、通用串行总线(Universal Serial Bus,USB)标准、SD接口标准、超高速一代(Ultra High Speed-I,UHS-I)接口标准、超高速二代(Ultra High Speed-II,UHS-II)接口标准、存储棒(Memory Stick,MS)接口标准、MCP接口标准、MMC接口标准、eMMC接口标准、通用快闪存储器(Universal Flash Storage,UFS)接口标准、eMCP接口标准、CF接口标准、整合式驱动电子接口(Integrated Device Electronics,IDE)标准或其他适合的标准。连接接口单元801可与存储器控制电路单元802封装在一个芯片中,或者连接接口单元801是布设于一包含存储器控制电路单元802的芯片外。The connection interface unit 801 is used to connect the memory storage device 80 to the host system. In this exemplary embodiment, the connection interface unit 801 is compatible with the Serial Advanced Technology Attachment (SATA) standard. However, it must be understood that the present invention is not limited thereto, and the connection interface unit 801 may also be in compliance with the Parallel Advanced Technology Attachment (PATA) standard, Institute of Electrical and Electronic Engineers (IEEE) 1394 standard, high-speed peripheral component interface (Peripheral Component Interconnect Express, PCIExpress) standard, universal serial bus (Universal Serial Bus, USB) standard, SD interface standard, ultra high speed generation (Ultra High Speed-I, UHS-I) interface Standard, Ultra High Speed-II (UHS-II) interface standard, Memory Stick (MS) interface standard, MCP interface standard, MMC interface standard, eMMC interface standard, Universal Flash Memory (Universal Flash Storage (UFS) interface standard, eMCP interface standard, CF interface standard, Integrated Device Electronics (IDE) standard or other suitable standards. The connection interface unit 801 and the memory control circuit unit 802 may be packaged in a chip, or the connection interface unit 801 may be arranged outside a chip including the memory control circuit unit 802.
存储器控制电路单元802用以执行以硬件型式或固件型式实作的多个逻辑门或控制指令并且根据主机系统的指令在可复写式非易失性存储器模块803中进行数据的写入、读取与抹除等运作。The memory control circuit unit 802 is used to execute multiple logic gates or control instructions implemented in hardware or firmware and write and read data in the rewritable non-volatile memory module 803 according to the instructions of the host system. and erase operations.
可复写式非易失性存储器模块803是连接至存储器控制电路单元802并且用以存储主机系统所写入的数据。可复写式非易失性存储器模块803可以是单阶存储单元(SingleLevel Cell,SLC)NAND型快闪存储器模块(即,一个存储单元中可存储1个比特的快闪存储器模块)、多阶存储单元(Multi Level Cell,MLC)NAND型快闪存储器模块(即,一个存储单元中可存储2个比特的快闪存储器模块)、三阶存储单元(Triple Level Cell,TLC)NAND型快闪存储器模块(即,一个存储单元中可存储3个比特的快闪存储器模块)、四阶存储单元(Quad Level Cell,QLC)NAND型快闪存储器模块(即,一个存储单元中可存储4个比特的快闪存储器模块)、其他快闪存储器模块或其他具有相同特性的存储器模块。The rewritable non-volatile memory module 803 is connected to the memory control circuit unit 802 and used to store data written by the host system. The rewritable non-volatile memory module 803 may be a single-level cell (SLC) NAND flash memory module (that is, a flash memory module that can store 1 bit in one memory cell), a multi-level memory module Multi Level Cell (MLC) NAND flash memory module (that is, a flash memory module that can store 2 bits in one memory cell), Triple Level Cell (TLC) NAND flash memory module (that is, a flash memory module that can store 3 bits in one storage unit), a Quad Level Cell (QLC) NAND flash memory module (that is, a flash memory module that can store 4 bits in one storage unit) flash memory module), other flash memory modules, or other memory modules with the same characteristics.
可复写式非易失性存储器模块803中的每一个存储单元是以电压(以下亦称为临界电压)的改变来存储一或多个比特。具体来说,每一个存储单元的控制栅极(controlgate)与通道之间有一个电荷捕捉层。通过施予一写入电压至控制栅极,可以改变电荷补捉层的电子量,进而改变存储单元的临界电压。此改变存储单元的临界电压的操作亦称为“把数据写入至存储单元”或“程序化(programming)存储单元”。随着临界电压的改变,可复写式非易失性存储器模块406中的每一个存储单元具有多个存储状态。通过施予读取电压可以判断一个存储单元是属于哪一个存储状态,藉此取得此存储单元所存储的一或多个比特。Each memory cell in the rewritable non-volatile memory module 803 stores one or more bits based on changes in voltage (hereinafter also referred to as critical voltage). Specifically, there is a charge trapping layer between the control gate and the channel of each memory cell. By applying a write voltage to the control gate, the amount of electrons in the charge trapping layer can be changed, thereby changing the critical voltage of the memory cell. This operation of changing the threshold voltage of the memory cell is also called "writing data to the memory cell" or "programming the memory cell." As the threshold voltage changes, each memory cell in the rewritable non-volatile memory module 406 has multiple memory states. By applying a read voltage, it is possible to determine which storage state a memory cell belongs to, thereby obtaining one or more bits stored in the memory cell.
在本范例实施例中,可复写式非易失性存储器模块803的存储单元会构成多个实体程序化单元,并且此些实体程序化单元会构成多个实体抹除单元。具体来说,同一条字线上的存储单元会组成一或多个实体程序化单元。若每一个存储单元可存储2个以上的比特,则同一条字线上的实体程序化单元至少可被分类为下实体程序化单元与上实体程序化单元。例如,一存储单元的最低有效比特(Least Significant Bit,LSB)是属于下实体程序化单元,并且一存储单元的最高有效比特(Most Significant Bit,MSB)是属于上实体程序化单元。一般来说,在MLC NAND型快闪存储器中,下实体程序化单元的写入速度会大于上实体程序化单元的写入速度,和/或下实体程序化单元的可靠度是高于上实体程序化单元的可靠度。In this exemplary embodiment, the storage units of the rewritable non-volatile memory module 803 will constitute multiple physical programming units, and these physical programming units will constitute multiple physical erasure units. Specifically, memory cells on the same word line will form one or more physical programming units. If each storage unit can store more than 2 bits, the physical programming units on the same word line can at least be classified into lower physical programming units and upper physical programming units. For example, the Least Significant Bit (LSB) of a memory unit belongs to the lower physical programming unit, and the Most Significant Bit (MSB) of a memory unit belongs to the upper physical programming unit. Generally speaking, in MLC NAND flash memory, the writing speed of the lower physical programming unit will be greater than the writing speed of the upper physical programming unit, and/or the reliability of the lower physical programming unit is higher than that of the upper physical programming unit. Reliability of programmed units.
在本范例实施例中,实体程序化单元为程序化的最小单元。即,实体程序化单元为写入数据的最小单元。例如,实体程序化单元为实体页面(page)或是实体扇(sector)。若实体程序化单元为实体页面,则此些实体程序化单元通常包括数据比特区与冗余(redundancy)比特区。数据比特区包含多个实体扇,用以存储使用者数据,而冗余比特区用以存储系统数据(例如,错误更正码等管理数据)。在本范例实施例中,数据比特区包含32个实体扇,且一个实体扇的大小为512字节(byte,B)。然而,在其他范例实施例中,数据比特区中也可包含8个、16个或数目更多或更少的实体扇,并且每一个实体扇的大小也可以是更大或更小。另一方面,实体抹除单元为抹除的最小单位。亦即,每一实体抹除单元含有最小数目的一并被抹除的存储单元。例如,实体抹除单元为实体区块(block)。In this exemplary embodiment, the physical programming unit is the smallest unit of programming. That is, the physical programming unit is the smallest unit for writing data. For example, the entity programming unit is an entity page (page) or an entity sector (sector). If the entity programming units are entity pages, these entity programming units usually include data bit areas and redundancy bit areas. The data bit area contains multiple physical sectors to store user data, while the redundant bit area is used to store system data (for example, management data such as error correction codes). In this exemplary embodiment, the data bit area includes 32 physical sectors, and the size of one physical sector is 512 bytes (byte, B). However, in other example embodiments, the data bit zone may also include 8, 16, or more or less physical sectors, and the size of each physical sector may also be larger or smaller. On the other hand, the physical erasure unit is the smallest unit of erasure. That is, each physical erase unit contains a minimum number of memory cells that are erased together. For example, the physical erasure unit is a physical block.
图9是根据本发明的一范例实施例所示出的信号调整方法的流程图。请参照图9,在步骤S901中,检测第一信号与时钟信号之间的相位差。在步骤S902中,根据所述相位差与第一时钟频率产生投票信号。在步骤S903中,根据所述投票信号与第二时钟频率将多个调整信号依序输出,其中第一时钟频率不同于第二时钟频率。在步骤S904中,根据依序输出的所述多个调整信号产生所述时钟信号。FIG. 9 is a flow chart of a signal adjustment method according to an exemplary embodiment of the present invention. Referring to FIG. 9 , in step S901 , the phase difference between the first signal and the clock signal is detected. In step S902, a voting signal is generated according to the phase difference and the first clock frequency. In step S903, a plurality of adjustment signals are output sequentially according to the voting signal and a second clock frequency, where the first clock frequency is different from the second clock frequency. In step S904, the clock signal is generated according to the plurality of adjustment signals output sequentially.
然而,图9中各步骤已详细说明如上,在此便不再赘述。值得注意的是,图9中各步骤可以实作为多个程序码或是电路,本发明不加以限制。此外,图9的方法可以搭配以上范例实施例使用,也可以单独使用,本发明不加以限制。However, each step in Figure 9 has been described in detail above and will not be described again here. It is worth noting that each step in Figure 9 can be implemented as multiple program codes or circuits, and the present invention is not limited thereto. In addition, the method in Figure 9 can be used in conjunction with the above example embodiments or can be used alone, and is not limited by the present invention.
综上所述,在本发明的范例实施例中,投票电路可操作于第一时钟频率,而数字回路滤波器则可操作于更高的第二时钟频率,藉以响应于一个投票信号而产生多个调整信号。此些调整信号可用以分多次地将时钟数据回复电路产生的时钟信号调整至满足目标相位差或频率差。相较于传统上一次性地对时钟信号进行调整,在本发明的范例实施例中分多次对时钟信号进行调整,可使得时钟数据回复电路具有更高的抖动容忍。To sum up, in the exemplary embodiment of the present invention, the voting circuit can operate at a first clock frequency, and the digital loop filter can operate at a higher second clock frequency, so as to generate multiple signals in response to a voting signal. an adjustment signal. These adjustment signals can be used to adjust the clock signal generated by the clock data recovery circuit multiple times to meet the target phase difference or frequency difference. Compared with the traditional adjustment of the clock signal once, in the exemplary embodiment of the present invention, the clock signal is adjusted multiple times, so that the clock data recovery circuit has higher jitter tolerance.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, but not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or substitutions do not deviate from the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present invention. scope.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010102657.4A CN113284527B (en) | 2020-02-19 | 2020-02-19 | Clock data recovery circuit, memory storage device and signal adjustment method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010102657.4A CN113284527B (en) | 2020-02-19 | 2020-02-19 | Clock data recovery circuit, memory storage device and signal adjustment method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113284527A CN113284527A (en) | 2021-08-20 |
CN113284527B true CN113284527B (en) | 2023-12-01 |
Family
ID=77274896
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010102657.4A Active CN113284527B (en) | 2020-02-19 | 2020-02-19 | Clock data recovery circuit, memory storage device and signal adjustment method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113284527B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110590A (en) * | 2007-08-21 | 2008-01-23 | 中兴通讯股份有限公司 | Method and device for phase adjustment in timing margin detection process |
TW201220702A (en) * | 2010-07-27 | 2012-05-16 | Mediatek Inc | Calibration apparatus and calibration method for calibrating timing mismatch of edge rotator operating on multiple phases of oscillator and clock generator |
CN103427830A (en) * | 2013-08-08 | 2013-12-04 | 南京邮电大学 | Semi-blind oversampling clock data recovery circuit with high locking range |
CN108270436A (en) * | 2016-12-30 | 2018-07-10 | 中国科学院电子学研究所 | Control code latch cicuit and clock data recovery circuit |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8284888B2 (en) * | 2010-01-14 | 2012-10-09 | Ian Kyles | Frequency and phase acquisition of a clock and data recovery circuit without an external reference clock |
-
2020
- 2020-02-19 CN CN202010102657.4A patent/CN113284527B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110590A (en) * | 2007-08-21 | 2008-01-23 | 中兴通讯股份有限公司 | Method and device for phase adjustment in timing margin detection process |
TW201220702A (en) * | 2010-07-27 | 2012-05-16 | Mediatek Inc | Calibration apparatus and calibration method for calibrating timing mismatch of edge rotator operating on multiple phases of oscillator and clock generator |
CN103427830A (en) * | 2013-08-08 | 2013-12-04 | 南京邮电大学 | Semi-blind oversampling clock data recovery circuit with high locking range |
CN108270436A (en) * | 2016-12-30 | 2018-07-10 | 中国科学院电子学研究所 | Control code latch cicuit and clock data recovery circuit |
Also Published As
Publication number | Publication date |
---|---|
CN113284527A (en) | 2021-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI692206B (en) | Clock and data recovery circuit, memory storage device and flash memory controller | |
TWI731338B (en) | Memory control method, memory storage device and memory control circuit unit | |
US9892799B1 (en) | Read voltage tracking method, memory storage device and memory control circuit unit | |
TWI663837B (en) | Phase-locked loop circuit calibration method, memory storage device and connection interface circuit | |
US11251799B2 (en) | Connection interface circuit, memory storage device and phase-locked loop circuit calibration method | |
CN114706529B (en) | Self-adaptive temperature control method for memory, memory device and control circuit unit | |
US12197737B2 (en) | Decoding method, memory storage device and memory control circuit unit | |
US10749728B1 (en) | Signal calibration circuit, memory storage device and signal calibration method | |
US10627841B2 (en) | Reference voltage generation circuit with reduced process variation on the reference voltage | |
CN108428467A (en) | Read voltage tracking method, memory storage device and control circuit unit | |
US11206157B1 (en) | Signal receiving circuit, memory storage device and calibration method of equalizer circuit | |
TWI727656B (en) | Clock and data recovery circuit, memory storage device and signal adjustment method | |
CN110299914B (en) | Phase-locked loop circuit correction method, memory storage device and connection interface circuit | |
CN113284527B (en) | Clock data recovery circuit, memory storage device and signal adjustment method | |
CN113419683B (en) | Memory access method, memory storage device and memory control circuit unit | |
TWI768496B (en) | Read voltage control method, memory storage device and memory control circuit unit | |
CN115565572A (en) | Signal calibration method, memory storage device and memory control circuit unit | |
CN111654266B (en) | Clock data recovery circuit, memory storage device and flash memory controller | |
CN111585547B (en) | Signal correction circuit, memory storage device and signal correction method | |
CN111831210A (en) | Memory management method, memory control circuit unit, and memory storage device | |
CN113077825B (en) | Connection interface circuit, memory storage device and correction method for phase-locked loop circuit | |
CN112053724B (en) | Memory control method, memory storage device and memory control circuit unit | |
TWI867977B (en) | Memory management method, memory storage device and memory control circuit unit | |
CN117608501B (en) | Voltage adjustment method, memory storage device and memory control circuit unit | |
CN111459704B (en) | Memory control method, memory storage device and memory control circuit unit |
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 |