[go: up one dir, main page]

CN103051336B - Frequency Synthesizer and Frequency Synthesis Method - Google Patents

Frequency Synthesizer and Frequency Synthesis Method Download PDF

Info

Publication number
CN103051336B
CN103051336B CN201210393827.4A CN201210393827A CN103051336B CN 103051336 B CN103051336 B CN 103051336B CN 201210393827 A CN201210393827 A CN 201210393827A CN 103051336 B CN103051336 B CN 103051336B
Authority
CN
China
Prior art keywords
frequency
clock
phase
signal
reference clock
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.)
Expired - Fee Related
Application number
CN201210393827.4A
Other languages
Chinese (zh)
Other versions
CN103051336A (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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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
Priority claimed from US13/450,225 external-priority patent/US8749280B2/en
Application filed by MediaTek Inc filed Critical MediaTek Inc
Publication of CN103051336A publication Critical patent/CN103051336A/en
Application granted granted Critical
Publication of CN103051336B publication Critical patent/CN103051336B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

A frequency synthesizer includes an oscillator for providing a radio frequency clock, a phase shifter for phase-shifting a frequency reference clock to provide a shifted reference clock, and a time-to-digital converter for quantizing a time difference between the radio frequency clock and the shifted reference clock to generate a digital conversion output; wherein, the range covered by the time-to-digital converter is less than a complete period of the RF clock. The invention also provides a frequency synthesis method. The invention can effectively reduce the complexity of hardware.

Description

频率合成器与频率合成方法Frequency Synthesizer and Frequency Synthesis Method

【技术领域】 【Technical field】

本发明关于一种频率合成器与频率合成方法,且特别关于一种包括时间数字转换的支援周边机制的频率合成器与频率合成方法。The present invention relates to a frequency synthesizer and a frequency synthesis method, and in particular to a frequency synthesizer and a frequency synthesis method including time-to-digital conversion supporting peripheral mechanisms.

【背景技术】 【Background technique】

各式各样的通信系统,像是射频(RF,Radio Frequency)无线通信系统,已被现代信息社会广泛运用,并扮演重要角色。现代通信系统的核心技术之一是频率(及/或时钟)合成,其是基于一频率参考时钟产生一个具有所欲频率的变量时钟,以使此变量时钟的稳定性、精确度与频谱纯净程度皆关联于频率参考时钟的表现。在通信系统的发射器中,由一本地频率合成器提供的变量时钟可作为一本地振荡载波,用以对基频(baseband)或中频(IF,Intermediate-Frequency)信号进行升转(up-conversion)的频率转移,以形成对应的射频信号。另一方面,在接收器中,由一本地频率合成器提供的变量时钟可作为一本地振荡载波,用以将射频信号降转(down-convert)为中频/基频信号。Various communication systems, such as radio frequency (RF, Radio Frequency) wireless communication systems, have been widely used in modern information society and play an important role. One of the core technologies of modern communication systems is frequency (and/or clock) synthesis, which generates a variable clock with a desired frequency based on a frequency reference clock, so that the stability, accuracy and spectral purity of the variable clock Both are related to the behavior of the frequency reference clock. In the transmitter of the communication system, the variable clock provided by a local frequency synthesizer can be used as a local oscillator carrier to up-convert the baseband or intermediate-frequency (IF, Intermediate-Frequency) signal ) frequency shift to form a corresponding radio frequency signal. On the other hand, in the receiver, the variable clock provided by a local frequency synthesizer can be used as a local oscillator carrier to down-convert the RF signal to an IF/baseband signal.

【发明内容】 【Content of invention】

有鉴于此,有必要提供一种频率合成器与频率合成方法。In view of this, it is necessary to provide a frequency synthesizer and a frequency synthesis method.

本发明的一实施例提供一频率合成器,包括一个用以接收一频率参考时钟的频率参考输入端,一个用以提供一射频时钟的经微调振荡器,一个耦接于该频率参考输入端、用以改变频率参考时钟的相位的相位平移器,以及一个时间数字转换器,耦接于相位平移器与经微调振荡器,用以产生一数字转换输出;其中,时间数字转换器所需涵盖的一范围小于射频时钟的一个完整周期。An embodiment of the present invention provides a frequency synthesizer comprising a frequency reference input for receiving a frequency reference clock, a trimmed oscillator for providing a radio frequency clock, a frequency reference input coupled to the frequency reference input, A phase shifter for changing the phase of the frequency reference clock, and a time-to-digital converter coupled to the phase shifter and the trimmed oscillator to generate a digital conversion output; wherein, the time-to-digital converter needs to cover A range is less than a full cycle of the RF clock.

一实施例中,相位平移器是一数字时间转换器,用以响应一转换数字控制而延迟频率参考时钟。一实施例中,转换数字控制是响应一频率指令字符的累计值而被设定,相位平移器则是响应频率指令字符的累计值(例如其小数部份)而改变频率参考时钟的相位。In one embodiment, the phase shifter is a digital-to-time converter for delaying the frequency reference clock in response to a switching digital control. In one embodiment, the switching digital control is set in response to an accumulated value of a frequency command character, and the phase shifter changes the phase of the frequency reference clock in response to the accumulated value (eg, fractional portion) of the frequency command character.

一实施例中,频率合成器更包括一平移控制器、一变量相位累计器与一参考相位累计器。变量相位累计器耦接经微调振荡器,用以累计射频时钟的周期数并据以提供一变量相位信号。参考相位累计器用以响应频率参考时钟的各周期而累计频率指令字符,并据以提供频率指令字符的累计值。平移控制器耦接相位平移器,用以响应频率指令字符的累计值而提供一平移控制信号(例如所述的转换数字控制)与一辅助小数误差修正信号。相位平移器用以响应平移控制信号而改变频率参考时钟的相位,且经微调振荡器用以依据数字转换输出、辅助小数误差修正信号、变量相位信号与频率指令字符的累计值而调整射频时钟的周期。In one embodiment, the frequency synthesizer further includes a translation controller, a variable phase accumulator and a reference phase accumulator. The variable phase accumulator is coupled to the fine-tuned oscillator for accumulating the number of cycles of the radio frequency clock to provide a variable phase signal. The reference phase accumulator is used for accumulating frequency command characters in response to each cycle of the frequency reference clock, and accordingly providing an accumulated value of the frequency command characters. The translation controller is coupled to the phase translator and is used for providing a translation control signal (such as the conversion digital control) and an auxiliary fractional error correction signal in response to the accumulated value of the frequency command character. A phase shifter is used to change the phase of the frequency reference clock in response to a shift control signal, and a trimmed oscillator is used to adjust the period of the RF clock based on the accumulated value of the digital conversion output, the auxiliary fractional error correction signal, the variable phase signal, and the frequency command character .

一实施例中,相位平移器改变频率参考时钟的相位并据以提供一平移参考时钟,使平移参考时钟的一转态处与射频时钟的前一转态处之间的时间差小于射频时钟的一个完整周期。一实施例中,针对时间数字转换的范围,时间数字转换器在射频时钟的转态处与平移参考时钟的转态处发生在该范围的近接处时进行响应,而当射频时钟的转态处与平移参考时钟的转态处未发生在该范围的近接处时则不响应。In one embodiment, the phase shifter changes the phase of the frequency reference clock and accordingly provides a shifted reference clock such that the time difference between a transition of the shifted reference clock and a previous transition of the radio frequency clock is less than one of the radio frequency clock transitions. full cycle. In one embodiment, for the range of time-to-digital conversion, the time-to-digital converter responds when the transition of the RF clock and the transition of the translation reference clock occur close to the range, and when the transition of the RF clock There is no response when the transition to the shift reference clock does not occur close to this range.

本发明的一实施例提供一频率合成器,包括一振荡器、一相位平移器、一时间数字转换器、一平移控制器、一参考相位累计器与一变量相位累计器。振荡器用以提供一变量时钟。相位平移器用以提供一平移参考时钟,使其相位与一频率参考时钟的相位相差一相位平移量,此相位平移量使平移参考时钟的一转态处与变量时钟的前一转态处之间的时间差小于变量时钟的一个周期。时间数字转换器则耦接相位平移器,用以量化所述时间差以提供一第一小数误差修正信号。An embodiment of the present invention provides a frequency synthesizer, including an oscillator, a phase shifter, a time-to-digital converter, a translation controller, a reference phase accumulator and a variable phase accumulator. The oscillator is used to provide a variable clock. The phase shifter is used to provide a shifted reference clock whose phase is different from that of a frequency reference clock by a phase shift amount. The difference in time is less than one period of the variable clock. The time-to-digital converter is coupled to the phase shifter for quantizing the time difference to provide a first fractional error correction signal.

参考相位累计器用于响应频率参考时钟的各周期以累计一频率指令字符,并据以提供一参考相位信号;变量相位累计器则耦接振荡器,用以累计变量时钟的周期数以提供一变量相位信号。平移控制器耦接相位平移器,用以响应参考相位信号而提供一平移控制信号与一第二小数误差修正信号,使相位平移器响应平移控制信号而设定相位平移量,振荡器则依据第一小数误差修正信号、第二小数误差修正信号、参考相位信号与变量相位信号而调整变量时钟的周期。The reference phase accumulator is used to accumulate a frequency command character in response to each cycle of the frequency reference clock, and accordingly provide a reference phase signal; the variable phase accumulator is coupled to the oscillator, and is used to accumulate the number of cycles of the variable clock to provide a variable phase signal. The translation controller is coupled to the phase shifter for providing a translation control signal and a second fractional error correction signal in response to the reference phase signal, so that the phase shifter responds to the translation control signal to set the phase shift amount, and the oscillator is based on the first The period of the variable clock is adjusted by the first fractional error correction signal, the second fractional error correction signal, the reference phase signal and the variable phase signal.

本发明的一实施例提供一频率合成器,包括一振荡器、一时间数字转换器、一平移控制器、一相位平移器、一参考相位累计器与一变量相位累计器。振荡器用以提供变量时钟,并依据时间数字转换器提供的一第一小数误差修正信号、平移控制器提供的一第二小数误差修正信号、变量相位累计器提供的一变量相位信号与参考相位累计器提供的一参考相位信号而调整变量时钟的周期。时间数字转换器,用以量化一平移参考时钟与该变量时钟间的时间差并据以提供一第一小数误差修正信号,其中该平移参考时钟的相位与一频率参考时钟的相位相差一相位平移量。平移控制器,用以响应一频率指令的一累计值而提供一第二小数误差修正信号。An embodiment of the present invention provides a frequency synthesizer, including an oscillator, a time-to-digital converter, a translation controller, a phase shifter, a reference phase accumulator and a variable phase accumulator. The oscillator is used to provide a variable clock, and according to a first fractional error correction signal provided by the time-to-digital converter, a second fractional error correction signal provided by the translation controller, a variable phase signal provided by the variable phase accumulator and the reference phase A reference phase signal provided by the accumulator adjusts the period of the variable clock. a time-to-digital converter for quantizing the time difference between a shifted reference clock and the variable clock, wherein the phase of the shifted reference clock differs from the phase of a frequency reference clock by a phase shift amount and thereby providing a first fractional error correction signal . The translation controller is used for providing a second fractional error correction signal in response to an accumulated value of a frequency command.

本发明的一实施例提供一种以提供一变量时钟合成一频率的方法,包括:响应一振荡器调整信号而产生变量时钟;将一频率参考时钟的相位偏移一相位平移量以取得一平移参考时钟;以及,将变量时钟与平移参考时钟间的时间差数字化,该数字化所涵盖的一范围小于变量时钟的一个完整周期。An embodiment of the present invention provides a method for synthesizing a frequency by providing a variable clock, including: generating a variable clock in response to an oscillator adjustment signal; shifting the phase of a frequency reference clock by a phase shift amount to obtain a shift a reference clock; and, digitizing the time difference between the variable clock and the translational reference clock, the digitization covering a range less than a full period of the variable clock.

一实施例中,本发明方法更包括:调整相位平移量,使平移参考时钟的一转态处与变量时钟的前一转态处间的时间差小于等于频率参考时钟的一转态处与变量时钟的前一转态处之间的时间差。In one embodiment, the method of the present invention further includes: adjusting the phase shift amount, so that the time difference between the first transition of the translation reference clock and the previous transition of the variable clock is less than or equal to the first transition of the frequency reference clock and the variable clock The time difference between the previous transitions of .

一实施例中,本发明方法更包括:依据频率参考时钟的各周期累计一频率指令字符以取得频率指令字符的累计值,并依据频率指令字符的累计值的小数部份调整相位平移量;依据所述的数字化取得一第一小数误差修正信号,依据相位平移量取得一第二小数误差修正信号,并依据第一与第二小数误差修正信号调整振荡器调整信号。In one embodiment, the method of the present invention further includes: accumulating a frequency command character according to each cycle of the frequency reference clock to obtain the cumulative value of the frequency command character, and adjusting the phase shift amount according to the fractional part of the cumulative value of the frequency command character; The digitization obtains a first fractional error correction signal, obtains a second fractional error correction signal according to the phase shift, and adjusts the oscillator adjustment signal according to the first and second fractional error correction signals.

上述频率合成器与频率合成方法可以有效降低硬件复杂度。The above frequency synthesizer and frequency synthesis method can effectively reduce hardware complexity.

【附图说明】 【Description of drawings】

图1示意的是对一变量时钟与一频率参考时钟的相位进行数字追踪的实施例。FIG. 1 illustrates an embodiment of digitally tracking the phase of a variable clock and a frequency reference clock.

图2示意一时间数字转换器的实施例。Figure 2 illustrates an embodiment of a time-to-digital converter.

图3与图4分别示意本发明一实施例的频率合成器及其运作。3 and 4 respectively illustrate a frequency synthesizer and its operation according to an embodiment of the present invention.

图5与图6分别示意本发明一实施例的频率合成器及其运作原理。5 and 6 respectively illustrate a frequency synthesizer and its operating principle according to an embodiment of the present invention.

图7与图8分别本发明一实施例的频率合成器及其运作。FIG. 7 and FIG. 8 respectively show a frequency synthesizer and its operation according to an embodiment of the present invention.

图9示意的是依据本发明一实施例的频率合成器。FIG. 9 is a schematic diagram of a frequency synthesizer according to an embodiment of the present invention.

图10示意的是图9中本发明功率管理电路的一实施例。FIG. 10 schematically shows an embodiment of the power management circuit of the present invention shown in FIG. 9 .

图11示意的是图9中本发明功率管理电路的一实施例。FIG. 11 schematically shows an embodiment of the power management circuit of the present invention shown in FIG. 9 .

图12举例示意图11中功率管理电路依据本发明一实施例的各种运作。FIG. 12 illustrates various operations of the power management circuit in schematic diagram 11 according to an embodiment of the present invention.

图13绘示的是依据本发明一实施例实现图11中电平感测电路的示意图。FIG. 13 is a schematic diagram of implementing the level sensing circuit in FIG. 11 according to an embodiment of the present invention.

【具体实施方式】 【detailed description】

请参考图1,其所示意的是对两时钟CKV与FREF的相位进行数字追踪的概念性实施例,以使得时钟CKV的频率为时钟FREF的频率乘以一频率指令字符FCW。亦即,借着设定一相应的频率指令字符FCW,就可基于时钟FREF而产生一个具有预期频率的时钟CKV。时钟FREF是一个周期为Tr的频率参考时钟。时钟CKV则是一个周期为Tv的变量时钟,其由一振荡器10产生,例如一数字控制振荡器(DCO,Digitally Controlled Oscillator)。为进行频率合成,振荡器10会被微调以使时钟CKV锁定一时钟CKR,让时钟CKV的频率趋近时钟FREF与频率指令字符FCW的乘积,也就是使平均的周期Tv等于Tr/FCW。频率指令字符FCW可以泛指一实数,具有一整数部份与一小数部份;在图1的例子中,频率指令字符FCW为9/4,其整数部份为2,小数部份则等于1/4。Please refer to FIG. 1 , which illustrates a conceptual embodiment of digitally tracking the phases of two clocks CKV and FREF, so that the frequency of the clock CKV is the frequency of the clock FREF multiplied by a frequency command character FCW. That is, by setting a corresponding frequency command character FCW, a clock CKV with a desired frequency can be generated based on the clock FREF. Clock FREF is a frequency reference clock with period Tr. The clock CKV is a variable clock with a period Tv, which is generated by an oscillator 10, such as a digitally controlled oscillator (DCO, Digitally Controlled Oscillator). For frequency synthesis, the oscillator 10 is fine-tuned so that the clock CKV is locked to a clock CKR, and the frequency of the clock CKV approaches the product of the clock FREF and the frequency command character FCW, that is, the average period Tv is equal to Tr/FCW. The frequency command character FCW can generally refer to a real number, which has an integer part and a fractional part; in the example in Figure 1, the frequency command character FCW is 9/4, its integer part is 2, and its fractional part is then equal to 1 /4.

为了要数字地计量时钟CKV的相位,可提供一信号(如一数字字符)PHV[i]。信号PHV[i]可视为一变量相位信号,其是在时钟CKV的每个重点转态处(例如升缘)累计一单位计数;亦即,PHV[i+1]=PHV[i]+1,下标i为一时序标记,代表时钟CKV的第i个重点转态处。也就是说,随着时间推移,变量相位信号PHV[i]会累计时钟CKV的周期数,以周期Tv为单位来反映时钟CKV的相位。信号PHV[i]的值为整数,因为其是由整数累计而得。In order to measure the phase of the clock CKV digitally, a signal (eg a digital character) PHV[i] is provided. Signal PHV[i] can be viewed as a variable phase signal that accumulates a unit count at each key transition (eg rising edge) of clock CKV; that is, PHV[i+1]=PHV[i]+ 1. The subscript i is a timing mark, representing the i-th key transition point of the clock CKV. That is to say, as time goes by, the variable phase signal PHV[i] accumulates the number of cycles of the clock CKV to reflect the phase of the clock CKV in units of cycle Tv. The value of the signal PHV[i] is an integer because it is accumulated by integers.

为了要数字地计量时钟FREF的相位,时钟FREF的相位信息会在时钟CKV的重点转态处同步呈现,以使时钟FREF的相位信息可以和信号PHV[i]相互比较,因为信号PHV[i]亦是在时钟CKV的重点转态处更新。因此,时钟FREF会被一重定时器12(如一触发器)重定时为时钟CKR。重定时器12用以在时钟CKV的每个重点转态处对时钟FREF进行重定时,据以提供时钟CKR(即一重定时参考时钟),使时钟CKR的各转态处会和时钟CKV的一重点转态处对齐。响应时钟CKR的触发,可提供一信号PHR[k]以数字地反映时钟FREF的相位。信号PHR[k]为一参考相位信号,其在时钟CKR的每个重点转态处累计频率指令字符FCW,亦即PHR[k+1]=PHR[k]+FCW,下标k为时序标记,代表时钟CKR的第k个重点转态处。In order to digitally measure the phase of the clock FREF, the phase information of the clock FREF will be presented synchronously at the critical transition of the clock CKV, so that the phase information of the clock FREF can be compared with the signal PHV[i], because the signal PHV[i] It is also updated at key transitions of the clock CKV. Therefore, the clock FREF is retimed to the clock CKR by a retimer 12 (eg, a flip-flop). The retimer 12 is used to retime the clock FREF at each key transition of the clock CKV, thereby providing the clock CKR (i.e. a retiming reference clock), so that each transition of the clock CKR will be consistent with one of the clock CKV Alignment at key transitions. In response to the toggling of clock CKR, a signal PHR[k] may be provided to digitally reflect the phase of clock FREF. The signal PHR[k] is a reference phase signal, which accumulates the frequency command character FCW at each key transition of the clock CKR, that is, PHR[k+1]=PHR[k]+FCW, and the subscript k is a timing mark , representing the kth key transition of the clock CKR.

依据频率合成的预期关系,时钟FREF的周期Tr应为时钟CKV的周期Tv乘以频率指令字符FCW,因此,在时钟CKR的各个周期累计频率指令字符FCW,便是用来以周期Tv为单位反映时钟FREF的相位。由于频率指令字符FCW可以有一小数部份,信号PHR[k]也可以有一小数部份。According to the expected relationship of frequency synthesis, the period Tr of the clock FREF should be the period Tv of the clock CKV multiplied by the frequency command character FCW. Therefore, the accumulated frequency command character FCW in each period of the clock CKR is used to reflect the cycle Tv as a unit. Phase of clock FREF. Since the frequency command character FCW can have a fractional part, the signal PHR[k] can also have a fractional part.

因为时钟CKR被时钟CKV重定时,时钟CKR的各个重点转态处会和时钟CKV中的一重点转态处对齐,而信号PHV[k],也就是信号PHV[i]在时钟CKR的第k个重点转态处的值,即可和信号PHR[k]相互比较。在图1的例子中,信号PHV[i0]与信号PHR[k0]对齐,信号PHV[i0+3]=PHV[k0+1]即会同步于信号PHR[k0+1],以此类推。如图1所示,在时钟CKV的触发下将时钟FREF重定时为时钟CKR会导致一误差e[k],代表时钟FREF的一重点转态处至时钟CKV的次一重点转态处(即在时钟FREF的该重点转态处之后最接近的时钟CKV重点转态处)之间的时间差(相位误差)。Because the clock CKR is retimed by the clock CKV, each key transition of the clock CKR will be aligned with a key transition of the clock CKV, and the signal PHV[k], that is, the signal PHV[i] is at the kth of the clock CKR The value at a key transition point can be compared with the signal PHR[k]. In the example of FIG. 1 , the signal PHV[i0] is aligned with the signal PHR[k0], the signal PHV[i0+3]=PHV[k0+1] is synchronized with the signal PHR[k0+1], and so on. As shown in Fig. 1, retiming the clock FREF to the clock CKR under the trigger of the clock CKV will cause an error e[k], which represents a key transition of the clock FREF to the next key transition of the clock CKV (ie The time difference (phase error) between the closest clock CKV key transition) after this key transition of clock FREF.

在图1的例子中,当时钟CKV依据预计的关系Tv=Tr/FCW而锁定时钟FREF时,每四个周期Tr会对齐九个周期Tv,因为FCW=9/4。亦即,将频率指令字符FCW累计四次等于将单位计数累计九次,因为FCW*4=(9/4)*4=1*9。假设时钟FREF与CKV的重点转态处在时间标记k0对齐而使信号PHR[k0]与PHV[i0]相等,则在时钟CKR的四个循环后,时钟FREF与CKV的重点转态处会再度对齐,而信号PHR[k0+4]的值也会符合信号PHV[i0+9](即PHV[k0+4])的值,因为PHR[k0+4]=PHR[k0]+FCW*4,且PHV[i0+9]=PHV[i0]+1*9。另一方面,由于频率指令字符FCW有小数部份,即使时钟CKV已锁定时钟FREF,但在时间标记k0至(k0+4)间的每个时间标记k下,时钟FREF的一重点转态处至时钟CKV的次一重点转态处间的时间差仍会是非零的;此时间差会被反映为信号PHV[k]与PHR[k]的数值差。举例而言,当时钟CKV锁定时钟FREF时,在时间标记(k0+1),时钟FREF的重点转态处会以(3/4)*Tv的时间差领先于时钟CKV的次一重点转态处,而信号PHV[k0+1]与PHR[k0+1]间的数值差(PHV[k0+1]-PHR[k0+1])=(3-9/4)=3/4即反映了此时间差。类似地,在时间标记(k0+2)下,在时钟FREF与CKV的重点转态处间未对齐的时间差(1/2)*Tv会反映为(PHV[k0+2]-PHR[k0+2])=(5-18/4)=2/4=1/2。In the example of FIG. 1, when the clock CKV locks the clock FREF according to the predicted relationship Tv=Tr/FCW, every four periods Tr will be aligned with nine periods Tv, because FCW=9/4. That is, accumulating the frequency command character FCW four times is equal to accumulating the unit count nine times, because FCW*4=(9/4)*4=1*9. Assuming that the key transitions of the clock FREF and CKV are aligned at the time mark k0 so that the signals PHR[k0] and PHV[i0] are equal, then after four cycles of the clock CKR, the key transitions of the clock FREF and CKV will be again Alignment, and the value of the signal PHR[k0+4] will also conform to the value of the signal PHV[i0+9] (ie PHV[k0+4]), because PHR[k0+4]=PHR[k0]+FCW*4 , and PHV[i0+9]=PHV[i0]+1*9. On the other hand, since the frequency command character FCW has a fractional part, even though the clock CKV has locked the clock FREF, at each time mark k between the time mark k0 and (k0+4), a key transition of the clock FREF The time difference to the next critical transition of the clock CKV will still be non-zero; this time difference will be reflected as the difference between the values of the signals PHV[k] and PHR[k]. For example, when the clock CKV locks the clock FREF, at the time mark (k0+1), the key transition of the clock FREF will be ahead of the next key transition of the clock CKV by a time difference of (3/4)*Tv , and the numerical difference (PHV[k0+1]-PHR[k0+1])=(3-9/4)=3/4 between the signal PHV[k0+1] and PHR[k0+1] reflects This time difference. Similarly, the misaligned time difference (1/2)*Tv between clock FREF and key transitions of CKV at time stamp (k0+2) is reflected as (PHV[k0+2]-PHR[k0+ 2])=(5−18/4)=2/4=1/2.

随着时间标记k与时俱进,信号PHV[k]与PHR[k]的差异(PHV[k]-PHR[k])会周期性规律地变化,以周期Tv为单位反映时钟FREF与CKV间的确定性(非随机)时间差(即两时钟在重点转态处之间的时间差)(相位误差)。因此,差异(PHV[k]-PHR[k])成为误差e[k]的确定性部份,其所反映的是由频率指令字符FCW的小数部份所导致的规律相位差。亦即,当时钟CKV锁定时钟FREF,误差e[k]会等于(PHV[k]-PHR[k]),或等效地,PHR[k]+e[k]-PHV[k]=0。As the time mark k advances with time, the difference between the signal PHV[k] and PHR[k] (PHV[k]-PHR[k]) will change periodically and regularly, reflecting the clock FREF and CKV in units of period Tv The deterministic (non-random) time difference between two clocks (that is, the time difference between the key transitions of two clocks) (phase error). Therefore, the difference (PHV[k]−PHR[k]) becomes a deterministic part of the error e[k], which reflects the regular phase difference caused by the fractional part of the frequency command character FCW. That is, when the clock CKV is locked to the clock FREF, the error e[k] will be equal to (PHV[k]-PHR[k]), or equivalently, PHR[k]+e[k]-PHV[k]=0 .

在时钟FREF的重点转态处至时钟CKV的次一重点转态处间的规律性未对齐差异会落在一周期Tv的范围内;等效而言,差异(PHV[k]-PHR[k]),即误差e[k]的确定性部份,会是一个小数(或等于零)。既然信号PHV[k]为整数,误差e[k]的确定性部份会关联于信号PHR[k]的小数部份。就实际应用而言,误差e[k]还包括一随机本质的变动部份,反映噪声(如振荡器10的噪声)导致的随机相位误差。The regular misalignment difference between the key transition of clock FREF to the next key transition of clock CKV will fall within the range of one period Tv; equivalently, the difference (PHV[k]-PHR[k ]), the deterministic part of the error e[k], will be a fractional number (or equal to zero). Since the signal PHV[k] is an integer, the deterministic part of the error e[k] will be related to the fractional part of the signal PHR[k]. In terms of practical application, the error e[k] also includes a variable part of random nature, which reflects the random phase error caused by noise (such as the noise of the oscillator 10 ).

更一般化地,假设频率指令字符可表示为Nv/Nr,Nv与Nr均为整数但Nv并非Nr的整数倍,则误差e[k]的确定性部份会在时钟CKR的每Nr个周期规律性地重复,亦即,误差e[k]与e[k+Nr]的确定性部份相等,且可依据频率指令字符FCW的累计值(即信号PHR[k])的小数部份与信号PHV[k]予以预测。假设在时间标记k0时信号PHV[k0]与PHR[k0]相等,若调整振荡器10以使信号PHR[k]的整数部份每间隔时钟CKR的Nr个周期(即在时间标记k0、(k0+Nr)等等)便和整数信号PHV[k]相符,即暗示了频率锁定的达成。不过,由于时钟CKR的Nr个周期会涵盖许多个时钟CKV的周期,若不能在时钟CKR的每Nr个周期内完整监控误差e[k],时钟CKV的周期Tv便会浮动漂移。为达成精细的相位锁定,可采用一时间数字转换器,以在时钟CKR的每个周期数字地侦测误差e[k],使振荡器10能依据时间数字转换器的数字转换输出而被调整,以确保(PHR[k]+e[k]-PHV[k])会在每个时间标记k均趋近零。More generally, assuming that the frequency command character can be expressed as Nv/Nr, Nv and Nr are both integers but Nv is not an integer multiple of Nr, then the deterministic part of the error e[k] will be in every Nr cycles of the clock CKR Repeat regularly, that is, the deterministic part of the error e[k] is equal to e[k+Nr], and can be based on the fractional part of the cumulative value of the frequency command character FCW (that is, the signal PHR[k]) and The signal PHV[k] is predicted. Assuming that the signal PHV[k0] is equal to PHR[k0] at the time mark k0, if the oscillator 10 is adjusted so that the integer part of the signal PHR[k] is separated by Nr cycles of the clock CKR (that is, at the time mark k0, ( k0+Nr) and so on) coincide with the integer signal PHV[k], implying the achievement of frequency locking. However, since the Nr periods of the clock CKR cover many periods of the clock CKV, if the error e[k] cannot be completely monitored in every Nr periods of the clock CKR, the period Tv of the clock CKV will drift. In order to achieve fine phase locking, a time-to-digital converter can be used to digitally detect the error e[k] at each cycle of the clock CKR, so that the oscillator 10 can be adjusted according to the digital conversion output of the time-to-digital converter , to ensure that (PHR[k]+e[k]-PHV[k]) approaches zero at each time stamp k.

请参考图2,其所示意的是一时间数字转换器20的实施例。时间数字转换器20耦接于两输入端22a与22b,分别接收两信号TDC_in与REF_in;时间数字转换器20亦输出一信号et[k]以作为一数字转换输出。当时间数字转换器20被用以侦测图1中的误差e[k]时,时钟FREF与CKV分别被接收为信号REF_in与TDC_in。较佳地,时间数字转换器20用以将信号REF_in的一重点转态处16b与信号TDC_in的次一重点转态处16c间的时间差dt数字化(量化),使误差e[k]可由数字信号et[k]代表。一实施例中,时间数字转换器20是一符合因果(causal)的系统;故其不能在信号REF_in的升缘16b预见信号TDC_in的次一升缘16c。因此,所欲的误差量测是从周期Tv中减去时间tr而间接地达成。一实施例中,在信号TDC_in的重点转态处16a与信号REF_in的后续重点转态处16b间的上升时间tr会被量测与量化;既然dt=(Tv-tr),误差e[k]可推导为:e[k]=(dt/Tv)=(1-(tr/Tv))。在此实施例中,时间数字转换器20并未直接产生误差e[k],而是时间tr的量化值,其会被除以周期Tv,或是乘以1/Tv_avg,其中,平均周期Tv_avg是变量时钟CKV的周期Tv的长期平均。因此,时间数字转换的直接输出即为tr/Tv的量化值,对应于误差e[k]的负值。如本领域的技术人员可了解的,在加法器50的输入(于图3中讨论)中改变正负号,即可容易地达成负值运算。如此,将两输入信号REF_in与TDC_in间的差异时间tr最小化,等效上就是将误差e[k]极大化(但其值不会大于1)。在算式(1-e[k])中,由于常数1可在相位锁定回路系统(PLL system)中轻易地被吸收,故(1-e[k])可方便地记为(-e[k])。亦即,针对信号REF_in的重点转态处16b与信号TDC_in的两相邻重点转态处16a与16c,重点转态处16b与后续重点转态处16c间的时间差异可用误差e[k]代表,重点转态处16b和前一重点转态处16a间的时间差异则可用误差(-e[k])代表,两者皆可用来追踪信号REF_in与TDC_in间的时间差(相位差),故可视应用的方便选择运用。Please refer to FIG. 2 , which illustrates an embodiment of a time-to-digital converter 20 . The time-to-digital converter 20 is coupled to the two input terminals 22 a and 22 b to receive two signals TDC_in and REF_in respectively; the time-to-digital converter 20 also outputs a signal et[k] as a digital conversion output. When the time-to-digital converter 20 is used to detect the error e[k] in FIG. 1 , the clocks FREF and CKV are received as signals REF_in and TDC_in, respectively. Preferably, the time-to-digital converter 20 is used to digitize (quantize) the time difference dt between a key transition point 16b of the signal REF_in and the next key transition point 16c of the signal TDC_in, so that the error e[k] can be determined by the digital signal et[k] stands for . In one embodiment, the time-to-digital converter 20 is a causal system; therefore, it cannot predict the next rising edge 16c of the signal TDC_in after the rising edge 16b of the signal REF_in. Thus, the desired error measurement is achieved indirectly by subtracting the time tr from the period Tv. In one embodiment, the rise time tr between the key transition point 16a of the signal TDC_in and the subsequent key transition point 16b of the signal REF_in will be measured and quantified; since dt=(Tv-tr), the error e[k] It can be deduced as: e[k]=(dt/Tv)=(1-(tr/Tv)). In this embodiment, the time-to-digital converter 20 does not directly generate the error e[k], but the quantized value of the time tr, which is divided by the period Tv, or multiplied by 1/Tv_avg, where the average period Tv_avg is the long-term average of the period Tv of the variable clock CKV. Therefore, the direct output of the time-to-digital conversion is the quantized value of tr/Tv, which corresponds to the negative value of the error e[k]. As will be appreciated by those skilled in the art, negative-valued operations are readily accomplished by changing the sign at the input to adder 50 (discussed in FIG. 3 ). Thus, minimizing the difference time tr between the two input signals REF_in and TDC_in is equivalent to maximizing the error e[k] (but its value will not be greater than 1). In the formula (1-e[k]), since the constant 1 can be easily absorbed in the phase-locked loop system (PLL system), (1-e[k]) can be conveniently written as (-e[k] ]). That is, for the key transition point 16b of the signal REF_in and the two adjacent key transition points 16a and 16c of the signal TDC_in, the time difference between the key transition point 16b and the subsequent key transition point 16c can be represented by the error e[k] , the time difference between the key transition point 16b and the previous key transition point 16a can be represented by the error (-e[k]), both of which can be used to track the time difference (phase difference) between the signal REF_in and TDC_in, so it can be Depending on the convenience of the application, choose to use it.

时间数字转换器20的一实施例包括有多个(L个)串接的延迟单元18(例如反相器),多个由信号REF_in触发的触发器24,以及一码缘侦测器(code edgedetector)26。各延迟单元18可在信号TDC_in中引入一单位延迟时间t_inv,并输出至一对应的触发器24与次一延迟单元18。当信号REF_in的重点转态处触发各触发器24而取得一个由比特Q(1)、Q(2)...Q(L)形成的数码时,重点转态处16a的发生会被反映为比特Q(1)至Q(L)间的码缘(code edge);据此,码缘侦测器26便会以单位延迟时间t_inv为单位而量化上升时间tr,并输出为信号et[k]。亦即,时间数字转换器20的时间量化解析度取决于各延迟单元18的单位延迟时间t_inv。延迟单元18的总数L则决定了时间数字转换器20的量测范围,此时间数字转换范围可估算为L*t_inv。短于此时间数字转换范围的时间间隔可以被侦测,而长于此时间数字转换范围的时间间隔就无法被时间数字转换器20侦测出来。当时间数字转换器20被用来侦测图1中的误差e[k],时间数字转换的范围应该完整涵盖一个周期Tv。An embodiment of the time-to-digital converter 20 includes a plurality (L) of delay units 18 (such as inverters) connected in series, a plurality of flip-flops 24 triggered by the signal REF_in, and a code edge detector (code edge detector) 26. Each delay unit 18 can introduce a unit delay time t_inv into the signal TDC_in, and output to a corresponding flip-flop 24 and the next delay unit 18 . When the important transition of the signal REF_in triggers each flip-flop 24 to obtain a number formed by bits Q(1), Q(2)...Q(L), the occurrence of the important transition 16a will be reflected as A code edge between bits Q(1) to Q(L); accordingly, the code edge detector 26 will quantize the rising time tr with the unit delay time t_inv, and output it as a signal et[k ]. That is, the time quantization resolution of the time-to-digital converter 20 depends on the unit delay time t_inv of each delay unit 18 . The total number L of delay units 18 determines the measurement range of the time-to-digital converter 20 , and the time-to-digital conversion range can be estimated as L*t_inv. Time intervals shorter than the time-to-digital conversion range can be detected, while time intervals longer than the time-to-digital conversion range cannot be detected by the time-to-digital converter 20 . When the time-to-digital converter 20 is used to detect the error e[k] in FIG. 1 , the range of the time-to-digital converter should completely cover a period Tv.

为了要以更精细的解析度侦测误差e[k]以使时钟CKV的特性更佳,单位延迟时间t_inv应远小于周期Tv。连带地,时间数字转换器20需要的延迟单元18的总数L就会变的极多,以使时间数字转换范围足以涵盖周期Tv。举例而言,要以7ps(1ps为百万分之一秒的百万分之一)涵盖2.4GHz的周期,大约需要60个延迟单元18以实现时间数字转换器20。所用的延迟单元18越多,消耗的功率越大,其所导致的供电干扰(例如供应电压的变动及/或降低)也越严重。要将严重的供电干扰稳定下来,就需使用大面积的去耦电容,为实现一有效的时间数字转换器所需占用的面积也就会因而增加。再者,严重的供电干扰也会使时间数字转换的线性度降低,因为单位延迟时间t_inv会随供应电压变动而漂移。因此,需要有支援的周边技术以降低所需的延迟单元数目,并增进时间数字转换的线性度。In order to detect the error e[k] with a finer resolution to improve the characteristics of the clock CKV, the unit delay time t_inv should be much smaller than the period Tv. Concurrently, the total number L of delay units 18 required by the time-to-digital converter 20 becomes extremely large, so that the time-to-digital conversion range is sufficient to cover the period Tv. For example, to cover a period of 2.4 GHz at 7 ps (1 ps is a millionth of a millionth of a second), about 60 delay units 18 are needed to implement the time-to-digital converter 20 . The more delay units 18 are used, the more power is consumed, and the resulting power supply disturbance (such as variation and/or reduction of supply voltage) is also more serious. To stabilize severe power supply disturbances, large-area decoupling capacitors are required, which increases the area required to implement an effective time-to-digital converter. Furthermore, severe power supply disturbance will also reduce the linearity of the time-to-digital conversion, because the unit delay time t_inv will drift with the supply voltage variation. Therefore, supporting peripheral technologies are needed to reduce the number of required delay units and improve the linearity of time-to-digital conversion.

请参考图3,其所示意的是依据本发明一实施例的频率合成器30。频率合成器30包括有一个用以接收一频率指令字符FCW的频率指令字符输入端32a、一个用以接收一频率参考时钟FREF的频率参考输入端32b、一参考相位累计器34、一变量相位累计器36、一回路滤波器38、一振荡器10、一相位平移器46、一平移控制器42、一时间数字转换器40、一加法器50与一重定时器12。振荡器10用以依据一振荡器调整字符OTW而提供一变量时钟CKV,例如一射频时钟,以使变量时钟CKV的频率会在变量时钟CKV锁定频率参考时钟FREF时等于频率指令字符FCW乘以频率参考时钟FREF。Please refer to FIG. 3 , which shows a frequency synthesizer 30 according to an embodiment of the present invention. The frequency synthesizer 30 includes a frequency command character input 32a for receiving a frequency command character FCW, a frequency reference input 32b for receiving a frequency reference clock FREF, a reference phase accumulator 34, a variable phase accumulator device 36 , a loop filter 38 , an oscillator 10 , a phase shifter 46 , a shift controller 42 , a time-to-digital converter 40 , an adder 50 and a retimer 12 . The oscillator 10 is used to provide a variable clock CKV according to an oscillator adjustment character OTW, such as a radio frequency clock, so that the frequency of the variable clock CKV will be equal to the frequency command character FCW multiplied by the frequency when the variable clock CKV is locked to the frequency reference clock FREF Reference clock FREF.

重定时器12耦接振荡器10与频率参考时钟FREF,用以在变量时钟CKV的重点转态处(例如升缘)对频率参考时钟FREF重定时,以提供一重定时参考时钟CKR。参考相位累计器34经由频率参考输入端32b耦接频率参考时钟FREF,用以依据频率参考时钟FREF的各周期(例如说在重定时参考时钟CKR的各重点转态处)累计频率指令字符FCW,据以提供一参考相位信号PHR[k]。在图3中,参考相位信号PHR[k]可分解为一小数部份PHRf[k]与一整数部份PHRi[k]。变量相位累计器36耦接振荡器10,用以累计变量时钟CKV的周期数,据以提供一变量相位信号PHV[k]。The retimer 12 is coupled to the oscillator 10 and the frequency reference clock FREF for retiming the frequency reference clock FREF at critical transitions (eg rising edges) of the variable clock CKV to provide a retiming reference clock CKR. The reference phase accumulator 34 is coupled to the frequency reference clock FREF via the frequency reference input terminal 32b, and is used for accumulating the frequency command character FCW according to each cycle of the frequency reference clock FREF (for example, at each key transition of the retiming reference clock CKR), Accordingly, a reference phase signal PHR[k] is provided. In FIG. 3 , the reference phase signal PHR[k] can be decomposed into a fractional part PHRf[k] and an integer part PHRi[k]. The variable phase accumulator 36 is coupled to the oscillator 10 for accumulating the number of periods of the variable clock CKV to provide a variable phase signal PHV[k].

相位平移器46耦接于振荡器10与平移控制器42,用以依据一平移控制信号SEL而改变变量时钟CKV的相位,据以提供一平移变量时钟CKV’。或者,相位平移器46可由变量时钟CKV的多个相位中选择其一以进行相位改变。该多个相位可于相位平移器46内部产生。时间数字转换器40的功能类似于图2所示的时间数字转换器20;时间数字转换器40耦接相位平移器46与频率参考输入端32b,用以将频率参考时钟FREF与平移变量时钟CKV’分别接收为信号REF_in与TDC_in,并依据频率参考时钟FREF与平移变量时钟CKV’间的时间差提供一小数误差修正信号PHF1[k]。亦即,时间数字转换器40是用以侦测(量化)频率参考时钟FREF的一重点转态处与平移变量时钟CKV’的前一重点转态处间的时间差,并以一信号et[k]反映侦测到的时间差;而小数误差修正信号PHF1[k]则是以变量时钟CKV的周期Tv为单位计量该时间差,其是将信号et[k]正规化至一平均周期Tv_avg而得;其中,平均周期Tv_avg是变量时钟CKV的周期Tv的长期平均,因为周期Tv可泛指一时变量。The phase shifter 46 is coupled to the oscillator 10 and the shift controller 42, and is used for changing the phase of the variable clock CKV according to a shift control signal SEL, so as to provide a shifted variable clock CKV'. Alternatively, the phase shifter 46 can select one of multiple phases of the variable clock CKV to change the phase. The multiple phases can be generated inside the phase shifter 46 . The function of the time-digital converter 40 is similar to that of the time-digital converter 20 shown in FIG. ' are received as signals REF_in and TDC_in respectively, and provide a fractional error correction signal PHF1[k] according to the time difference between the frequency reference clock FREF and the shift variable clock CKV'. That is, the time-to-digital converter 40 is used to detect (quantize) the time difference between a key transition of the frequency reference clock FREF and the previous key transition of the translation variable clock CKV', and use a signal et[k ] reflects the detected time difference; and the fractional error correction signal PHF1[k] measures the time difference in units of the period Tv of the variable clock CKV, which is obtained by normalizing the signal et[k] to an average period Tv_avg; Wherein, the average period Tv_avg is the long-term average of the period Tv of the variable clock CKV, because the period Tv can generally refer to a temporal variable.

为和相位平移器46协同运作,平移控制器42耦接相位平移器46,用以提供平移控制信号SEL与另一小数误差修正信号PHF2[k]。加法器50耦接变量相位累计器36、参考相位累计器34、平移控制器42与时间数字转换器40,用以依据参考相位信号PHR[k]、变量相位信号PHV[k]及小数误差修正信号PHF1[k]与PHF2[k]的数值组合(PHR[k]+PHF1[k]+PHF2[k]-PHV[k])提供一信号PHE[k]。回路滤波器38耦接于振荡器10与加法器50之间,用以依据信号PHE[k]提供振荡器调整字符OTW。经由振荡器调整字符OTW,振荡器10等效上即是依据参考相位信号PHR[k]、变量相位信号PHV[k]及小数误差修正信号PHF1[k]与PHF2[k]而调整变量时钟CKV的周期长短。To cooperate with the phase shifter 46 , the shift controller 42 is coupled to the phase shifter 46 for providing the shift control signal SEL and another fractional error correction signal PHF2 [k]. The adder 50 is coupled to the variable phase accumulator 36, the reference phase accumulator 34, the translation controller 42 and the time-to-digital converter 40, and is used for correcting the fractional error according to the reference phase signal PHR[k], the variable phase signal PHV[k] The numerical combination of signals PHF1[k] and PHF2[k] (PHR[k]+PHF1[k]+PHF2[k]−PHV[k]) provides a signal PHE[k]. The loop filter 38 is coupled between the oscillator 10 and the adder 50 for providing the oscillator adjustment character OTW according to the signal PHE[k]. Through the oscillator adjustment character OTW, the oscillator 10 is equivalent to adjusting the variable clock CKV according to the reference phase signal PHR[k], the variable phase signal PHV[k], and the fractional error correction signals PHF1[k] and PHF2[k] the length of the cycle.

请参考图4,其所示意的是频率合成器30依据本发明一实施例的时间数字转换运作。相位平移器46(图3)用以在变量时钟CKV与平移变量时钟CKV’之间引入一相位平移量PHoffset。由于此相位平移量PHoffset,频率参考时钟FREF与前一变量时钟CKV间的误差(1-e[k])会缩减为较小的误差(1-e’[k]),也就是减小频率参考时钟FREF与平移变量时钟CKV’间的差异时间;其中,-e[k]=-e’[k]+PHoffset。换言之,相位平移量PHoffset是用以使频率参考时钟FREF的重点转态处与平移变量时钟CKV’的前一重点转态处间的时间差远小于变量时钟CKV的一个周期Tv;亦即,使误差-e’[k]不会大于周期Tv的一部分。由于平移变量时钟CKV’与频率参考时钟FREF分别被接收为信号TDC_in与REF_in,故时间数字转换器只需量化一个明显小于周期Tv的误差-e’[k]。亦即,时间数字转换器40的时间数字转换范围只需涵盖单一周期Tv的一部份,不需完整涵盖整个周期Tv。等效而言,时间数字转换器40是当平移变量时钟CKV’的一重点转态处与频率参考时钟FREF的一重点转态处均发生于时间数字转换范围的近接处时才进行响应;当平移变量时钟CKV’的一重点转态处与频率参考时钟FREF的一重点转态处未发生于时间数字转换范围的近接处时,时间数字转换器不需进行响应。既然时间数字转换范围可被缩减,时间数字转换器40只需数目较少的延迟单元;因此,不需牺牲时间数字转换的解析度,时间数字转换器40的硬件复杂度、功率消耗、占用的布局面积、供电干扰与非线性度亦可被有效降低。Please refer to FIG. 4 , which illustrates the time-to-digital conversion operation of the frequency synthesizer 30 according to an embodiment of the present invention. The phase shifter 46 (FIG. 3) is used to introduce a phase shift PHoffset between the variable clock CKV and the shifted variable clock CKV'. Due to this phase shift amount PHoffset, the error (1-e[k]) between the frequency reference clock FREF and the previous variable clock CKV will be reduced to a smaller error (1-e'[k]), that is, the frequency will be reduced The difference time between the reference clock FREF and the shift variable clock CKV'; where -e[k]=-e'[k]+PHoffset. In other words, the phase shift amount PHoffset is used to make the time difference between the key transition point of the frequency reference clock FREF and the previous key transition point of the translation variable clock CKV' much smaller than one period Tv of the variable clock CKV; that is, to make the error - e'[k] will not be greater than a fraction of the period Tv. Since the translational variable clock CKV' and the frequency reference clock FREF are respectively received as signals TDC_in and REF_in, the time-to-digital converter only needs to quantize an error -e'[k] which is significantly smaller than the period Tv. That is, the time-to-digital conversion range of the time-to-digital converter 40 only needs to cover a part of a single period Tv, and does not need to completely cover the entire period Tv. Equivalently speaking, the time-to-digital converter 40 responds only when a key transition of the translation variable clock CKV' and a key transition of the frequency reference clock FREF occur close to the time-to-digital conversion range; When an important transition of the translation variable clock CKV' and an important transition of the frequency reference clock FREF do not occur close to the time-to-digital conversion range, the time-to-digital converter does not need to respond. Since the time-to-digital conversion range can be reduced, the time-to-digital converter 40 only needs a smaller number of delay units; therefore, without sacrificing the resolution of the time-to-digital conversion, the hardware complexity, power consumption, and occupied space of the time-to-digital converter 40 The layout area, power supply interference and nonlinearity can also be effectively reduced.

如图1所讨论,误差e[k]包括一时变但可预测的确定性部份,对应于(PHR[k]-PHV[k])。基于误差-e[k]中规律变化的确定性部份,平移控制器42会动态地以平移控制信号SEL设定相位平移量PHoffset,使相位平移量可从误差-e[k]的确定性部份中减除而形成误差-e’[k]。举例而言,当误差-e[k]的确定性部份预计将落在1/4(等效于90度的相位)至1/2(180度)的范围内时,相位平移量PHoffset可被设定为90度(等效于1/4),使误差-e’[k]会维持在0至1/4的范围内。类似地,随时间推移,当误差-e[k]的确定性部份将进入1/2至3/4的范围内时,相位平移量PHoffset也随之被设定为180度(也就是周期Tv的1/2),使误差-e’[k]仍维持在0至1/4的范围中。为补偿被减除的相位平移量PHoffset,平移控制器42会向加法器50注入小数误差修正信号PHF2[k],以反映相位平移量PHoffset;由于小数误差修正信号PHF1[k]代表量化的误差-e’[k],故误差-e[k]可计算为:-e[k]=(PHF1[k]+PHF2[k]),对应于-e[k]=(-e’[k]+PHoffset)。如此,当振荡器10调整变量时钟CKV的周期以将信号PHE[k]最小化时(也就是将(PHR[k]-PHV[k]+e[k])=(PHR[k]-PHV[k]+PHF1[k]+PHF2[k])最小化时,此处假设为第二类相位锁定回路),即可达成频率合成。换言之,频率合成器30可比拟为一全数字相位锁定回路(ADPLL,All-Digital Phase Lock Loop)。As discussed in FIG. 1, the error e[k] includes a time-varying but predictable deterministic component, corresponding to (PHR[k]-PHV[k]). Based on the deterministic part of the regular change in the error-e[k], the translation controller 42 will dynamically set the phase translation amount PHoffset with the translation control signal SEL, so that the phase translation amount can be determined from the error-e[k] Partially subtracted to form the error -e'[k]. For example, when the deterministic part of the error -e[k] is expected to fall in the range of 1/4 (equivalent to a phase of 90 degrees) to 1/2 (180 degrees), the phase shift amount PHoffset can be It is set to 90 degrees (equivalent to 1/4), so that the error -e'[k] will be maintained in the range of 0 to 1/4. Similarly, as time goes by, when the deterministic part of the error -e[k] will enter the range of 1/2 to 3/4, the phase shift amount PHoffset is also set to 180 degrees (that is, the period 1/2 of Tv), so that the error -e'[k] is still maintained in the range of 0 to 1/4. In order to compensate for the subtracted phase shift amount PHoffset, the translation controller 42 will inject a fractional error correction signal PHF2[k] into the adder 50 to reflect the phase shift amount PHoffset; since the fractional error correction signal PHF1[k] represents the quantization error -e'[k], so the error -e[k] can be calculated as: -e[k]=(PHF1[k]+PHF2[k]), corresponding to -e[k]=(-e'[k ]+PHoffset). Thus, when the oscillator 10 adjusts the period of the variable clock CKV to minimize the signal PHE[k] (that is, (PHR[k]-PHV[k]+e[k])=(PHR[k]-PHV When [k]+PHF1[k]+PHF2[k]) is minimized, the second type of phase-locked loop is assumed here), frequency synthesis can be achieved. In other words, the frequency synthesizer 30 can be compared to an All-Digital Phase Lock Loop (ADPLL, All-Digital Phase Lock Loop).

一实施例中,整数的变量相位信号PHV[k]为一定点(fixed point)数字字符,由WI个比特形成。参考相位信号PHR[k]亦为一定点数字字符,由(WI+WF)个比特形成,包括一WI个比特的整数部份与一WF个比特的小数部份。两小数误差修正信号PHF1[k]与PHF2[k]可分别用WF个比特的定点数字字符来代表小数。信号PHE[k]为一个带有正负号(signed)的定点数字字符,具有(WI+WF)个比特,包括一WI个比特的整数部份与一WF个比特的小数部份。In one embodiment, the integer variable phase signal PHV[k] is a fixed point digital character formed by WI bits. The reference phase signal PHR[k] is also a fixed-point digital character, formed by (WI+WF) bits, including an integer part of WI bits and a fractional part of WF bits. The two decimal error correction signals PHF1[k] and PHF2[k] can respectively use fixed-point numeric characters of WF bits to represent decimals. The signal PHE[k] is a signed fixed-point digital character with (WI+WF) bits, including an integer part of WI bits and a fractional part of WF bits.

请参考图5,其举例示意本发明一实施例的相位平移器46。在图5中,相位平移器46包括一分频器44与一相位选择器48。分频器44耦接振荡器10,用以对变量时钟CKV进行分频,以依据变量时钟CKV提供多个相位相异的候选平移时钟CKVp(1)、CKVp(2)、...、CKVp(n)至CKVp(Np)。举例而言,候选平移时钟CKVp(n)的相位与候选平移时钟CKVp(1)的相位可相差(n-1)*360/Np度。相位选择器48耦接分频器44与平移控制器42,用以依据平移控制器42的平移控制信号SEL而从候选平移时钟CKVp(1)至CKVp(Np)中选出其一以作为平移变量时钟CKV’。Please refer to FIG. 5 , which illustrates a phase shifter 46 according to an embodiment of the present invention. In FIG. 5 , the phase shifter 46 includes a frequency divider 44 and a phase selector 48 . The frequency divider 44 is coupled to the oscillator 10 to divide the frequency of the variable clock CKV to provide a plurality of candidate translation clocks CKVp(1), CKVp(2), . . . , CKVp with different phases according to the variable clock CKV (n) to CKVp(Np). For example, the phase of the candidate translation clock CKVp(n) may differ from the phase of the candidate translation clock CKVp(1) by (n−1)*360/Np degrees. The phase selector 48 is coupled to the frequency divider 44 and the translation controller 42, and is used for selecting one of the candidate translation clocks CKVp(1) to CKVp(Np) as the translation according to the translation control signal SEL of the translation controller 42. Variable clock CKV'.

一实施例中,分频器44用以将变量时钟CKV的频率除以二,据以提供四个正交相位(quadrature phase)的候选平移时钟CKVp(1)至CKVp(4);亦即,候选平移时钟CKVp(n)与变量时钟CKV间相差90*(n-1)度的相位平移量,对于n=1至4。请参考图6,其所示意的是基于正交相位的时间数字转换运作。原本,误差-e[k]的完整分布范围为360度(即变量时钟CKV的一个周期Tv),但由于四正交相位的其中之一会被选为平移变量时钟CKV’,故误差-e[k]的范围会被映射至误差-e’[k]的较小范围,其仅为90度,即周期Tv的四分之一。In one embodiment, the frequency divider 44 is used to divide the frequency of the variable clock CKV by two, so as to provide four candidate translation clocks CKVp(1) to CKVp(4) of quadrature phase; that is, The phase shift between the candidate shifted clock CKVp(n) and the variable clock CKV is 90*(n−1) degrees, for n=1 to 4. Please refer to FIG. 6 , which illustrates the quadrature-based TDC operation. Originally, the complete distribution range of the error -e[k] is 360 degrees (that is, one period Tv of the variable clock CKV), but since one of the four quadrature phases will be selected as the translational variable clock CKV', the error -e The range of [k] is mapped to a smaller range of error -e'[k], which is only 90 degrees, ie a quarter of the period Tv.

举例而言,在依据参考相位信号PHR[k]的小数部份PHRf[k]预测到误差-e[k]将进入由0至90度的范围S0时,平移控制器42会将候选平移时钟CKVp(1)选为平移变量时钟,使误差-e’[k]亦会在0至90度的范围中;平移控制器42也会将等效于0度的小数误差修正信号PHF2[k]注入至加法器50。当误差-e[k]预计进入90度至180度的范围S1时,平移控制器42会改将90度相位的候选平移时钟CKVp(2)选为平移变量时钟CKV’,使误差-e’[k]仍被限制于0至90度的范围内。对应地,平移控制器42亦会将一等效于90度(以周期Tv为单位时即1/4)的小数误差修正信号PHF2[k]注入至加法器50。For example, when it is predicted that the error -e[k] will enter the range S0 from 0 to 90 degrees according to the fractional part PHRf[k] of the reference phase signal PHR[k], the translation controller 42 will select the candidate translation clock CKVp(1) is selected as the translation variable clock, so that the error -e'[k] will also be in the range of 0 to 90 degrees; the translation controller 42 will also correct the decimal error signal PHF2[k] equivalent to 0 degrees into the adder 50. When the error -e[k] is expected to enter the range S1 from 90 degrees to 180 degrees, the translation controller 42 will instead select the candidate translation clock CKVp(2) with a phase of 90 degrees as the translation variable clock CKV', so that the error -e' [k] is still limited to the range of 0 to 90 degrees. Correspondingly, the translation controller 42 also injects a fractional error correction signal PHF2 [k] equivalent to 90 degrees (1/4 when the period Tv is used as a unit) to the adder 50 .

类似地,当误差-e[k]将要进入至180度至270度的范围S2时,和候选平移时钟CKVp(1)相差180度的候选平移时钟CKVp(3)会被选出,使误差-e’[k]仍维持于0至90度的范围;等效于180度(数值1/2)的小数误差修正信号PHF2[k]亦会被注入至加法器50。当误差-e[k]预计将要进入至270度至360度的范围S3时,与候选平移时钟CKVp(1)相差270度的候选平移时钟CKVp(4)会被选出,让误差-e’[k]仍可维持于0至90度的范围;为补偿从误差-e[k]中被减除的270度相位平移量,等效于270度的小数误差修正信号PHF2[k]会被注入至加法器50。Similarly, when the error -e[k] is about to enter the range S2 of 180 to 270 degrees, the candidate translation clock CKVp(3) which is 180 degrees different from the candidate translation clock CKVp(1) will be selected, so that the error - e′[k] remains in the range of 0 to 90 degrees; the fractional error correction signal PHF2[k] equivalent to 180 degrees (value 1/2) is also injected into the adder 50 . When the error -e[k] is expected to enter the range S3 from 270 degrees to 360 degrees, the candidate translation clock CKVp(4) which is 270 degrees different from the candidate translation clock CKVp(1) will be selected, so that the error -e' [k] can still be maintained in the range of 0 to 90 degrees; to compensate for the 270 degree phase shift subtracted from the error -e[k], the fractional error correction signal PHF2[k] equivalent to 270 degrees will be into the adder 50.

如图5所示,因为时间数字转换器40用以侦测误差-e’[k]而非误差-e[k],故时间数字转换器40的时间数字转换范围仅需涵盖0至90度,即变量时钟CKV的周期Tv的四分之一,而非完整的一个周期Tv。As shown in FIG. 5, since the time-to-digital converter 40 is used to detect the error -e'[k] instead of the error -e[k], the time-to-digital conversion range of the time-to-digital converter 40 only needs to cover 0 to 90 degrees , that is, a quarter of the period Tv of the variable clock CKV, not a complete period Tv.

由图3至图6的实施例可知,本发明可为时间数字转换器40提供支援周边,包括相位平移器46与平移控制器42。由于误差-e[k]中规律时变的确定性部份可基于参考相位信号PHR[k]的小数部份而予以预测,故可动态地设定一对应的相位平移量PHoffset,并将其从误差-e[k]中减除以提供另一误差-e’[k],使误差-e’[k]的分布范围小于一个完整的周期Tv。因此,时间数字转换器40所需的时间数字转换范围便可缩小,使时间数字转换器40可受益于较低的硬件复杂度(例如较少的延迟单元及/或去耦电容)、较低的功率消耗、较小的布局面积、较低的供电干扰,并可增进时间数字转换的线性度,而不需牺牲时间数字转换的解析度。平移控制器42可用数字逻辑电路实现。From the embodiments shown in FIGS. 3 to 6 , it can be seen that the present invention can provide supporting peripherals for the time-to-digital converter 40 , including a phase shifter 46 and a shift controller 42 . Since the regularly time-varying deterministic part of the error -e[k] can be predicted based on the fractional part of the reference phase signal PHR[k], a corresponding phase shift PHoffset can be dynamically set, and its Subtracting from the error -e[k] provides another error -e'[k] such that the error -e'[k] is spread over less than a full period Tv. Therefore, the time-to-digital conversion range required by the time-to-digital converter 40 can be reduced, so that the time-to-digital converter 40 can benefit from lower hardware complexity (such as fewer delay units and/or decoupling capacitors), lower Low power consumption, small layout area, low power supply interference, and can improve the linearity of time-to-digital conversion without sacrificing the resolution of time-to-digital conversion. The translation controller 42 can be implemented with digital logic circuits.

请参考图7,其所示意的是依据本发明一实施例的频率合成器60。类似于图3所示的频率合成器30,图7中的频率合成器60包括有一个用以接收一频率指令字符FCW的频率指令字符输入端32a、一个用以接收一频率参考时钟FREF的频率参考输入端32b、一参考相位累计器34、一变量相位累计器36、一回路滤波器38、一振荡器10、一平移控制器62、一相位平移器66、一时间数字转换器40、一加法器50与一重定时器12。振荡器10依据一振荡器调整字符OTW提供一变量时钟CKV,例如一射频时钟,以在变量时钟CKV锁定频率参考时钟FREF时使变量时钟CKV的频率等于频率指令字符FCW乘以频率参考时钟FREF的频率。在频率合成器60中,参考相位累计器34、变量相位累计器36、时间数字转换器40、加法器50与重定时器12的运作与功能可由图3频率合成器30中的相同元件推论得知。变量相位累计器36耦接振荡器10,用以在变量时钟CKV的各重点转态处累计一单位计数,据以提供一变量相位信号PHV[k]。依据重定时器12的重定时参考时钟CKR,参考相位累计器34响应重定时参考时钟CKR的重点转态处而累计频率指令字符FCW,以提供一参考相位信号PHR[k]。Please refer to FIG. 7 , which shows a frequency synthesizer 60 according to an embodiment of the present invention. Similar to the frequency synthesizer 30 shown in Figure 3, the frequency synthesizer 60 in Figure 7 includes a frequency command character input 32a for receiving a frequency command character FCW, a frequency for receiving a frequency reference clock FREF Reference input 32b, a reference phase accumulator 34, a variable phase accumulator 36, a loop filter 38, an oscillator 10, a translation controller 62, a phase shifter 66, a time-to-digital converter 40, a An adder 50 and a retimer 12 . The oscillator 10 provides a variable clock CKV according to an oscillator adjustment character OTW, such as a radio frequency clock, so that the frequency of the variable clock CKV is equal to the frequency command character FCW multiplied by the frequency reference clock FREF when the variable clock CKV locks the frequency reference clock FREF frequency. In the frequency synthesizer 60, the operation and function of the reference phase accumulator 34, the variable phase accumulator 36, the time-to-digital converter 40, the adder 50 and the retimer 12 can be deduced from the same elements in the frequency synthesizer 30 of FIG. 3 Know. The variable phase accumulator 36 is coupled to the oscillator 10 for accumulating a unit count at each key transition of the variable clock CKV to provide a variable phase signal PHV[k]. According to the retiming reference clock CKR of the retimer 12, the reference phase accumulator 34 accumulates the frequency command character FCW in response to key transitions of the retiming reference clock CKR to provide a reference phase signal PHR[k].

相位平移器66,例如一数字时间转换器(DTC,digital-to-time Converter),耦接于频率参考输入端32b与时间数字转换器40,用以依据一平移控制信号SEL延迟频率参考时钟FREF(或改变其相位),据以提供一平移参考时钟FREF’。变量时钟CKV与平移参考时钟FREF’分别作为信号TDC_in与REF_in而输入至时间数字转换器40,故时间数字转换器40侦测(量化)的是介于平移参考时钟FREF’的一重点转态处与变量时钟CKV的前一重点转态处之间的误差-e’[k](时间差),并据以提供一小数误差修正信号PHF1[k]作为响应。为与相位平移器66协同运作,平移控制器62(例如一数字时间转换补偿器)耦接于相位平移器66与加法器50,用以依据参考相位信号PHR[k]的小数部份PHRf[k]而提供一平移控制信号(如一转换数字控制)SEL与另一小数误差修正信号PHF2[k]。在平移控制器62与相位平移器66的支援下,时间数字转换器40的时间数字转换范围会小于变量时钟CKV周期Tv的一部分。The phase shifter 66, such as a digital-to-time converter (DTC, digital-to-time converter), is coupled to the frequency reference input terminal 32b and the time-to-digital converter 40, and is used for delaying the frequency reference clock FREF according to a translation control signal SEL (or change its phase), so as to provide a shift reference clock FREF'. The variable clock CKV and the translational reference clock FREF' are respectively input to the time-to-digital converter 40 as signals TDC_in and REF_in, so the time-to-digital converter 40 detects (quantizes) a key transition point between the translational reference clock FREF' The error -e'[k] (time difference) from the previous critical transition of the variable clock CKV, and accordingly provides a fractional error correction signal PHF1[k] as a response. In order to cooperate with the phase shifter 66, the shift controller 62 (for example, a digital time conversion compensator) is coupled to the phase shifter 66 and the adder 50 to operate according to the fractional part PHRf[ of the reference phase signal PHR[k]. k] to provide a translation control signal (such as a conversion digital control) SEL and another fractional error correction signal PHF2[k]. With the support of the translation controller 62 and the phase shifter 66, the time-to-digital conversion range of the time-to-digital converter 40 is smaller than a part of the period Tv of the variable clock CKV.

请参考图8,其所示意的是相位平移器66、平移控制器62与时间数字转换器40的协同运作情形。在频率参考时钟FREF的一重点转态处与变量时钟CKV的前一重点转态处间有误差-e[k],而相位锁定即需要此误差-e[k]的相关信息;对此,平移控制器62会依据参考相位信号PHR[k]的小数部份动态地调整平移控制信号SEL与小数误差修正信号PHF2[k],使平移控制信号SEL与小数误差修正信号PHF2[k]可追随误差-e[k]的确定性部份而更新。相位平移器66用以使频率参考时钟FREF的相位改变(等效上即延迟)一相位平移量PHdelay;此相位平移量PHdelay是依据平移控制信号SEL所设定,其是用以使平移参考时钟FREF’的一重点转态处与变量时钟CKV的前一重点转态处之间的误差-e’[k]小于周期Tv的一部分,亦小于等于误差-e[k]。等效地,相位平移量PHdelay会误差-e[k]中被减除而形成误差-e’[k]。因为时间数字转换器40仅需量化较小的误差-e’[k]而非误差-e[k],故时间数字转换器40可受益于较小的时间数字转换范围。小数误差修正信号PHF2[k]用以补偿减除的相位平移量PHdelay,如图7与图8所示。Please refer to FIG. 8 , which illustrates the coordinated operation of the phase shifter 66 , the shift controller 62 and the time-to-digital converter 40 . There is an error-e[k] between a key transition of the frequency reference clock FREF and the previous key transition of the variable clock CKV, and phase locking requires the relevant information of this error-e[k]; for this, The translation controller 62 dynamically adjusts the translation control signal SEL and the fractional error correction signal PHF2[k] according to the fractional part of the reference phase signal PHR[k], so that the translation control signal SEL and the fractional error correction signal PHF2[k] can follow The deterministic part of error-e[k] is updated. The phase shifter 66 is used to change the phase of the frequency reference clock FREF (equivalently delay) a phase shift amount PHdelay; this phase shift amount PHdelay is set according to the shift control signal SEL, which is used to shift the reference clock The error -e'[k] between an important transition of FREF' and the previous important transition of the variable clock CKV is less than a fraction of the period Tv and is also less than or equal to the error -e[k]. Equivalently, the phase shift amount PHdelay will be subtracted from the error -e[k] to form the error -e'[k]. Because the time-to-digital converter 40 only needs to quantize the smaller error-e'[k] rather than the error-e[k], the time-to-digital converter 40 can benefit from a smaller time-to-digital conversion range. The fractional error correction signal PHF2[k] is used to compensate the subtracted phase shift amount PHdelay, as shown in FIG. 7 and FIG. 8 .

举例而言,当误差-e[k]在1/4至1/2的范围中,平移控制器62可将相位平移量PHdelay较佳地设定为(1/4)*Tv,使时间数字转换器40所需量测的误差-e’[k]会介于0至1/4的范围。当误差-e[k]在1/2至3/4的范围中,平移控制器62可改将相位平移量PHdelay较佳地设定为(1/2)*Tv,使时间数字转换器40所需量测的误差-e’[k]仍维持在0至1/4的范围,而非0至1的完整范围。因为时间数字转换器40是在变量时钟CKV的一转态处与平移参考时钟FREF’的一转态处发生在时间数字转换范围的近接处时进行响应,当变量时钟CKV的一转态处与平移参考时钟FREF’的一转态处未发生在时间数字转换范围的近接处时则不进行响应,故时间数字转换器40的硬件复杂度(如所需的延迟单元数目)可有效降低,有助于功率消耗的减少、供电干扰的降低与线性度的改进。For example, when the error -e[k] is in the range of 1/4 to 1/2, the translation controller 62 can preferably set the phase translation amount PHdelay as (1/4)*Tv, so that the time digital The error -e'[k] required to be measured by the converter 40 ranges from 0 to 1/4. When the error -e[k] is in the range of 1/2 to 3/4, the translation controller 62 can change the phase translation amount PHdelay to be preferably set to (1/2)*Tv, so that the time-to-digital converter 40 The required measurement error -e'[k] is still maintained in the range of 0 to 1/4 instead of the full range of 0 to 1. Because the time-to-digital converter 40 responds when a transition of the variable clock CKV and a transition of the translational reference clock FREF' occur close to the time-to-digital conversion range, when a transition of the variable clock CKV is at the same time as When a transition of the translation reference clock FREF' does not occur near the time-to-digital conversion range, no response is performed, so the hardware complexity of the time-to-digital converter 40 (such as the number of delay units required) can be effectively reduced, and there is Contributes to reduced power consumption, reduced power supply disturbance, and improved linearity.

一实施例中,频率参考时钟FREF的频率远低于射频变量时钟CKV的频率,故相位平移器66仅需于低速运作。一实施例中,相位平移器66以一数字时间转换器实现,用以将数字的平移控制信号SEL(即转换数字控制)转换为相位平移量PHdelay(即一延迟时间)。此数字时间转换器可用数字可编程延迟线(digitally programmable delay line)实现。为确保适当抗扰性(immunity)以对抗制程、供电电压与温度变异,频率合成器60可包括数字时间转换器的相关校正机制及/或程序。In one embodiment, the frequency of the frequency reference clock FREF is much lower than that of the radio frequency variable clock CKV, so the phase shifter 66 only needs to operate at a low speed. In one embodiment, the phase shifter 66 is implemented as a digital-to-time converter for converting the digital shift control signal SEL (that is, converting digital control) into a phase shift value PHdelay (that is, a delay time). The digital-to-time converter can be implemented with a digitally programmable delay line. To ensure proper immunity against process, supply voltage, and temperature variations, frequency synthesizer 60 may include associated calibration mechanisms and/or routines for digital-to-time converters.

在图3、图5与图7的实施例中,振荡器10是经微调的振荡器;其经调整以使变量时钟CKV得以追踪频率参考时钟FREF。由加法器50提供的信号PHE[k]会经由回路滤波器38回授至振荡器10,使变量时钟CKV得以被进一步更好地微调。一实施例中,回路滤波器38是一数字低通滤波器。回路滤波器38可用有限脉冲响应(FIR,Finite Impulse Response)滤波器与无限脉冲响应(IIR,Infinite Impulse Response)滤波器组合架构而成。举例而言,一实施例中,回路滤波器38线性地组合信号PHE与信号PHE的累计值而提供振荡器调整字符,使频率合成器为第二类回路。In the embodiments of Figs. 3, 5 and 7, oscillator 10 is a trimmed oscillator; it is tuned so that variable clock CKV tracks frequency reference clock FREF. The signal PHE[k] provided by the adder 50 is fed back to the oscillator 10 through the loop filter 38, so that the variable clock CKV can be further fine-tuned. In one embodiment, the loop filter 38 is a digital low pass filter. The loop filter 38 can be constructed by combining a finite impulse response (FIR, Finite Impulse Response) filter and an infinite impulse response (IIR, Infinite Impulse Response) filter. For example, in one embodiment, the loop filter 38 linearly combines the signal PHE and the accumulated value of the signal PHE to provide an oscillator tuning signal, making the frequency synthesizer a type-two loop.

在图3、图5与图7的实施例中,时间数字转换器40接收高速的平移变量时钟CKV’(图3与图5)或变量时钟CKV(图7)作为信号TDC_in,并接收低速的频率参考时钟FREF(图3与图5)或平移参考时钟FREF’(图7)作为信号REF_in。时间数字转换器40量化信号TDC_in与REF_in的间的时间差,并在信号REF_in的各重点转态处更新小数误差修正信号PHF1[k]。然而,不论小数误差修正信号PHF1[k]是否被触发更新,时间数字转换器40都会持续地接收高速触变(toggling)的信号TDC_in。高速触变会消耗许多功率,导致严重的供电干扰,并连带使时间数字转换的线性度劣化。为解决此难点,本发明以一功率管理机制来抑制信号TDC_in中非必要的脉冲,仅保留领先于信号REF_in的次一重点转态处最接近的单一脉冲,据此降低功率消耗与供电干扰,而正常的时间数字转换也不会受到影响。In the embodiments of FIG. 3 , FIG. 5 and FIG. 7 , the time-to-digital converter 40 receives the high-speed translational variable clock CKV' (FIG. 3 and FIG. 5) or the variable clock CKV (FIG. 7) as the signal TDC_in, and receives the low-speed The frequency reference clock FREF (FIGS. 3 and 5) or the translation reference clock FREF' (FIG. 7) serves as the signal REF_in. The time-to-digital converter 40 quantizes the time difference between the signals TDC_in and REF_in, and updates the fractional error correction signal PHF1[k] at each key transition of the signal REF_in. However, no matter whether the update of the fractional error correction signal PHF1[k] is triggered or not, the time-to-digital converter 40 will continue to receive the high-speed toggling signal TDC_in. High-speed thixotropy consumes a lot of power, causing severe power supply disturbances, and consequently degrading the linearity of time-to-digital conversion. In order to solve this difficulty, the present invention uses a power management mechanism to suppress unnecessary pulses in the signal TDC_in, and only retains the closest single pulse at the next key transition ahead of the signal REF_in, thereby reducing power consumption and power supply interference, The normal time-to-digital conversion is also unaffected.

请参考图9,其所示意的是依据本发明一实施例的频率合成器70。类似于频率合成器30与60,频率合成器70包括用以接收一频率指令字符FCW的频率指令字符输入端32a、用以接收一频率参考时钟FREF的频率参考输入端32b、用以产生一变量时钟CKV的振荡器10、用以在变量时钟CKV的各重点转态处对频率参考时钟FREF进行重定时以提供一重定时参考时钟CKR的重定时器12、依据重定时参考时钟CKR累计频率指令字符FCW以提供一参考相位信号PHR[k]的参考相位累计器34、在变量时钟CKV的各重点转态处累计单位计数以提供一变量相位信号PHV[k]的变量相位累计器36、用以量化信号TDC_in与REF_in间的时间差并据以提供一小数误差修正信号PHF1[k]的时间数字转换器80、用以提供信号PHE[k]的加法器50,以及回路滤波器38,用以响应信号PHE[k]而向振荡器10提供一振荡器调整字符OTW。Please refer to FIG. 9 , which shows a frequency synthesizer 70 according to an embodiment of the present invention. Similar to the frequency synthesizers 30 and 60, the frequency synthesizer 70 includes a frequency command character input 32a for receiving a frequency command character FCW, a frequency reference input 32b for receiving a frequency reference clock FREF, and for generating a variable The oscillator 10 of the clock CKV is used to retime the frequency reference clock FREF at each key transition of the variable clock CKV to provide a retimer 12 for retiming the reference clock CKR, accumulating frequency command characters according to the retiming reference clock CKR FCW provides a reference phase accumulator 34 of a reference phase signal PHR[k], accumulates unit counts at each key transition of the variable clock CKV to provide a variable phase accumulator 36 of a variable phase signal PHV[k], for A time-to-digital converter 80 for quantizing the time difference between the signals TDC_in and REF_in to provide a fractional error correction signal PHF1[k], an adder 50 for providing the signal PHE[k], and a loop filter 38 for responding to The signal PHE[k] provides an oscillator adjustment character OTW to the oscillator 10 .

再者,频率合成器70更包括一个用以接收一信号TDC_in0的变量时钟输入端78a、一个用以接收一信号REF_in0的频率参考输入端78b、一平移控制器72、一相位平移器76与一功率管理电路74。平移控制器72用以依据参考相位信号PHR[k]的小数部份PHRf[k]而提供另一小数误差修正信号PHF2[k]与一平移控制信号SEL,使加法器50能将数值差(PHR[k]-PHV[k])与数值和(PHF1[k]+PHF2[k])相加而提供信号PHE[k]。相位平移器76耦接平移控制器72,用以改变变量时钟CKV或频率参考时钟FREF的相位,而信号TDC_in0与REF_in0就分别依据变量时钟CKV与频率参考时钟FREF而提供。功率管理电路74耦接变量时钟输入端78a与频率参考输入端78b,并输出信号REF_in与TDC_in;其中,信号TDC_in被提供为信号TDC_in0中的单一脉冲,其领先于信号REF_in的次一重点转态处。Furthermore, the frequency synthesizer 70 further includes a variable clock input 78a for receiving a signal TDC_in0, a frequency reference input 78b for receiving a signal REF_in0, a translation controller 72, a phase shifter 76 and a power management circuit 74 . The translation controller 72 is used to provide another fractional error correction signal PHF2[k] and a translation control signal SEL according to the fractional part PHRf[k] of the reference phase signal PHR[k], so that the adder 50 can convert the value difference ( PHR[k]-PHV[k]) is added to the numerical sum (PHF1[k]+PHF2[k]) to provide signal PHE[k]. The phase shifter 76 is coupled to the shift controller 72 for changing the phase of the variable clock CKV or the frequency reference clock FREF, and the signals TDC_in0 and REF_in0 are respectively provided according to the variable clock CKV and the frequency reference clock FREF. Power management circuit 74 is coupled to variable clock input 78a and frequency reference input 78b, and outputs signals REF_in and TDC_in; wherein signal TDC_in is provided as a single pulse in signal TDC_in0 that precedes the next key transition of signal REF_in place.

一实施例中,平移控制器72与相位平移器76的协同运作类似于平移控制器42与相位平移器46(图3)的协同运作;相位平移器76响应平移控制信号SEL而将变量时钟CKV的相位改变一相位平移量PHoffset,并据此提供平移变量时钟CKV’作为信号TDC_in0。平移控制器72注入小数误差修正信号PHF2[k]以补偿相位平移量PHoffset,而频率参考时钟FREF则被供应至功率管理电路74以作为信号REF_in0。In one embodiment, the cooperative operation of the translation controller 72 and the phase shifter 76 is similar to the cooperative operation of the translation controller 42 and the phase shifter 46 ( FIG. 3 ); the phase shifter 76 responds to the translation control signal SEL to change the variable clock CKV The phase of is changed by a phase shift amount PHoffset, and accordingly a shift variable clock CKV' is provided as the signal TDC_in0. The shift controller 72 injects the fractional error correction signal PHF2[k] to compensate the phase shift PHoffset, and the frequency reference clock FREF is supplied to the power management circuit 74 as the signal REF_in0 .

另一实施例中,平移控制器72与相位平移器76的协同运作则类似于平移控制器62与相位平移器66(图7)的协同运作;相位平移器76依据平移控制信号SEL而将频率参考时钟FREF延迟一相位平移量PHdelay,据此提供一平移参考时钟FREF’以作为信号REF_in0。平移控制器72注入小数误差修正信号PHF2[k]以补偿相位平移量PHdelay,而变量时钟CKV则被提供至功率管理电路74以作为信号TDC_in0。In another embodiment, the cooperative operation of the translation controller 72 and the phase shifter 76 is similar to the cooperative operation of the translation controller 62 and the phase shifter 66 ( FIG. 7 ); the phase shifter 76 changes the frequency according to the translation control signal SEL The reference clock FREF is delayed by a phase shift amount PHdelay, thereby providing a shifted reference clock FREF' as the signal REF_in0. The shift controller 72 injects the fractional error correction signal PHF2[k] to compensate the phase shift PHdelay, and the variable clock CKV is provided to the power management circuit 74 as the signal TDC_in0 .

经由平移控制器72与相位平移器76的协同运作,信号TDC_in0与REF_in0间的时间差(即误差-e’[k])便会分布在一个小于完整周期Tv的范围内。Through the cooperative operation of the translation controller 72 and the phase shifter 76, the time difference between the signals TDC_in0 and REF_in0 (that is, the error -e'[k]) is distributed within a range less than a complete period Tv.

请参考图10,其所示意的是依据本发明一实施例的功率管理电路74A,其可用以实现图9所示的功率管理电路74。功率管理电路74A包括两逻辑门82a与82b,以及一延迟器(延迟元件)82c。逻辑门82a于两输入端耦接信号REF_in0与REF_in,用以依据信号REF_in0与REF_in间逻辑运算(如对信号REF_in0与信号REF_in的反相作及运算)的结果提供一门闩(gating)信号CON。延迟器82c耦接信号REF_in0与逻辑门82a,用以将信号REF_in0延迟一延迟时间Tdelay而提供信号REF_in。逻辑门82b于其两输入端分别耦接门闩信号CON与信号TDC_in0,用以依据信号TDC_in0与门闩信号CON间及运算的结果而提供信号TDC_in。Please refer to FIG. 10 , which shows a power management circuit 74A according to an embodiment of the present invention, which can be used to implement the power management circuit 74 shown in FIG. 9 . The power management circuit 74A includes two logic gates 82a and 82b, and a delayer (delay element) 82c. The logic gate 82 a is coupled to the signals REF_in0 and REF_in at two input terminals, and is used for providing a gating signal CON according to the result of a logical operation between the signals REF_in0 and REF_in (such as an inverse AND operation on the signal REF_in0 and the signal REF_in). The delayer 82c is coupled to the signal REF_in0 and the logic gate 82a for delaying the signal REF_in0 for a delay time Tdelay to provide the signal REF_in. The two input ends of the logic gate 82b are respectively coupled to the latch signal CON and the signal TDC_in0 for providing the signal TDC_in according to the result of the sum operation between the signal TDC_in0 and the latch signal CON.

当信号REF_in0在一重点转态处84a由逻辑0转态至逻辑1,逻辑门82a用以将门闩信号CON设定为逻辑1;当信号REF_in在重点转态处84b由逻辑0转态至逻辑1,逻辑门82a用以将门闩信号CON设定回逻辑0。如此,门闩信号CON就会在重点转态处84a与84b之间的延迟时间Tdelay中维持一逻辑1的窗口。当门闩信号CON为逻辑0时,逻辑门82b用以抑制信号TDC_in0中的脉冲;当门闩信号CON为逻辑1时,逻辑门82b用以追随信号TDC_in0而为信号TDC_in提供单一脉冲86a,其会领先于次一重点转态处84b。换言之,当依据信号TDC_in0提供信号TDC_in时,只有单一脉冲86a会保留在信号TDC_in中,信号TDC_in0中的其他非必要脉冲,例如脉冲86b与86c,均会被门闩信号CON抑制。信号REF_in与TDC_in会被传输至时间数字转换器80,而当时间数字转换器80针对脉冲86a的重点转态处84c与信号REF_in的次一重点转态处84b间的时间间隔THA侦测(量化)对应的时间差时,即可取得误差-e’[k]。When the signal REF_in0 transitions from logic 0 to logic 1 at a key transition point 84a, the logic gate 82a is used to set the latch signal CON to logic 1; when the signal REF_in transitions from logic 0 to logic 1 at the key transition point 84b 1. The logic gate 82a is used to set the latch signal CON back to logic 0. In this way, the latch signal CON will maintain a window of logic 1 during the delay time Tdelay between key transitions 84a and 84b. When the latch signal CON is logic 0, the logic gate 82b is used to suppress the pulse in signal TDC_in0; when the latch signal CON is logic 1, the logic gate 82b is used to follow the signal TDC_in0 to provide a single pulse 86a for the signal TDC_in, which will lead At 84b at the next key transition. In other words, when the signal TDC_in is provided according to the signal TDC_in0, only the single pulse 86a remains in the signal TDC_in, and other unnecessary pulses in the signal TDC_in0, such as pulses 86b and 86c, are suppressed by the latch signal CON. The signals REF_in and TDC_in are transmitted to the time-to-digital converter 80, and when the time-to-digital converter 80 detects (quantizes) the time interval THA between the key transition 84c of the pulse 86a and the next key transition 84b of the signal REF_in ) corresponding to the time difference, the error -e'[k] can be obtained.

借着抑制非必要脉冲并在信号REF_in的次一重点转态处之前保留单一脉冲,即可避免对时间数字转换器80的高速触变,亦不会影响时间数字转换器80的正常功能;因此,功率消耗可以有效降低,时间数字转换的线性度也会因供电干扰被抑制而随之提高。在信号REF_in的重点转态处84b之后,不论信号TDC_in中是否出现另一(或数个)其他脉冲(例如脉冲86d),时间数字转换器80的正确运作都不会受影响,因为时间间隔THA会在重点转态处86d之前就被测量(更新)。不过,信号TDC_in中的其他脉冲,会对电压供应网路的运作造成负面影响,故这些脉冲是非理想而应尽量闸除的。By suppressing unnecessary pulses and retaining a single pulse before the next important transition of the signal REF_in, high-speed thixotropy to the time-to-digital converter 80 can be avoided, and the normal function of the time-to-digital converter 80 will not be affected; therefore , the power consumption can be effectively reduced, and the linearity of time-to-digital conversion will also be improved due to the suppression of power supply interference. Whether or not another pulse (or several) other pulses (such as pulse 86d) appear in signal TDC_in after the key transition 84b of signal REF_in, the correct operation of time-to-digital converter 80 will not be affected because time interval THA Will be measured (updated) before key transition 86d. However, other pulses in the signal TDC_in will have a negative impact on the operation of the voltage supply network, so these pulses are not ideal and should be blocked as much as possible.

由于平移控制器72与相位平移器76的协同运作,信号TDC_in0与REF_in0间误差-e’[k]的长短会落在比一周期Tv还短的时间数字转换范围内,而延迟时间Tdelay可被设定为小于周期Tv。反之,若误差-e’[k]的长短分布在一个完整周期Tv中,延迟时间Tdelay就必须比周期Tv还长,以确保延迟时间Tdelay的窗口能在误差-e’[k]较长的持续时间状况下仍可在信号TDC_in中捕捉到至少一个重点转态处。然而,若延迟时间Tdelay长于周期Tv,其窗口会倾向于在信号TDC_in中捕捉多个脉冲,而时间数字转换的线性度也就因此而降低,因为重点转态处84b之前的多余脉冲会在测量时间间隔THA时导致较高的供电干扰。Due to the coordinated operation of the translation controller 72 and the phase shifter 76, the length of the error -e'[k] between the signals TDC_in0 and REF_in0 will fall within the time-to-digital conversion range shorter than one cycle Tv, and the delay time Tdelay can be determined by It is set to be smaller than the period Tv. Conversely, if the length of the error-e'[k] is distributed in a complete cycle Tv, the delay time Tdelay must be longer than the cycle Tv, so as to ensure that the window of the delay time Tdelay can be longer in the error-e'[k] At least one key transition can still be captured in the signal TDC_in under the duration condition. However, if the delay time Tdelay is longer than the period Tv, its window will tend to catch multiple pulses in the signal TDC_in, and the linearity of the time-to-digital conversion will thus be reduced, because the redundant pulse before the important transition 84b will be in the measurement The time interval THA results in higher power supply disturbances.

对于延迟时间Tdelay的适当设定值,延迟时间Tdelay的下限是时间数字转换范围,而其上限的设定则是要在重点转态处84b之前避免过多脉冲。因此,延迟时间Tdelay的可容许变异是正负(Tv/2-Tc)/2,其中Tc即代表时间数字转换范围。For an appropriate setting value of the delay time Tdelay, the lower limit of the delay time Tdelay is the time-to-digital conversion range, and the upper limit is set to avoid excessive pulses before the critical transition point 84b. Therefore, the allowable variation of the delay time Tdelay is plus or minus (Tv/2-Tc)/2, where Tc represents the time-to-digital conversion range.

请参考图11与图12;图11示意的是依据本发明一实施例的另一功率管理电路74B,而图12示意的则是功率管理电路74B在两种不同状况下的运作。功率管理电路74B可用以实现图9所示的功率管理电路74。功率管理电路74B包括两个逻辑门82a与82b、一延迟器82c与一电平感测电路82d。逻辑门82a的两输入端分别耦接信号REF_in0与REF_in,用以依据信号REF_in0与REF_in间逻辑运算的结果提供一门闩信号CON。延迟器82c耦接信号REF_in0与逻辑门82a,用以将信号REF_in0延迟一延迟时间Tdelay而提供信号REF_in。电平感测电路82d的两输入端耦接信号TDC_in0与门闩信号CON,用以依据信号TDC_in0与门闩信号CON而提供另一门闩信号CON’。逻辑门82b的两输入端耦接门闩信号CON’与信号TDC_in0,用以依据信号TDC_in0与门闩信号CON’间与运算的结果提供信号TDC_in。Please refer to FIG. 11 and FIG. 12 ; FIG. 11 illustrates another power management circuit 74B according to an embodiment of the present invention, and FIG. 12 illustrates the operation of the power management circuit 74B under two different conditions. The power management circuit 74B can be used to implement the power management circuit 74 shown in FIG. 9 . The power management circuit 74B includes two logic gates 82a and 82b, a delayer 82c and a level sensing circuit 82d. The two input terminals of the logic gate 82a are respectively coupled to the signals REF_in0 and REF_in for providing a latch signal CON according to the result of the logic operation between the signals REF_in0 and REF_in. The delayer 82c is coupled to the signal REF_in0 and the logic gate 82a for delaying the signal REF_in0 for a delay time Tdelay to provide the signal REF_in. Two input terminals of the level sensing circuit 82d are coupled to the signal TDC_in0 and the latch signal CON for providing another latch signal CON' according to the signal TDC_in0 and the latch signal CON. The two input terminals of the logic gate 82b are coupled to the latch signal CON' and the signal TDC_in0 for providing the signal TDC_in according to the result of an AND operation between the signal TDC_in0 and the latch signal CON'.

如图12所示,当信号REF_in0在重点转态处84a由逻辑0转态为逻辑1,逻辑门82a用以将门闩信号CON设定为逻辑1;当信号REF_in在重点转态处84b由逻辑0转态为逻辑1,逻辑门82a用以将门闩信号CON设定回逻辑0。如图12的状况1所示,当门闩信号CON在转态处90a由逻辑0转态为逻辑1时,若信号TDC_in0为逻辑0,则电平感测电路82d用以在转态处90b将门闩信号CON’设定为逻辑1。另一方面,如图12的状况2所示,当门闩信号CON在转态处90a由逻辑0转态为逻辑1时,若信号TDC_in0为逻辑1,则电平感测电路82d会等信号TDC_in0在稍后转态回逻辑0时才在转态处90c将门闩信号CON’设定为逻辑1。电平感测电路82d更用以在门闩信号CON转态回逻辑0时将门闩信号CON’设定回逻辑0。换言之,在门闩信号CON在延迟时间Tdelay开通的窗口中,当信号TDC_in0为逻辑0时,电平感测电路82d会在门闩信号CON’中开通一第二窗口。As shown in FIG. 12, when the signal REF_in0 changes from a logic 0 to a logic 1 at the key transition point 84a, the logic gate 82a is used to set the latch signal CON to a logic 1; 0 is turned into a logic 1, and the logic gate 82a is used to set the latch signal CON back to a logic 0. As shown in situation 1 of FIG. 12, when the latch signal CON changes from logic 0 to logic 1 at the transition point 90a, if the signal TDC_in0 is logic 0, the level sensing circuit 82d is used to set The latch signal CON' is set to logic 1. On the other hand, as shown in situation 2 of FIG. 12, when the latch signal CON changes from logic 0 to logic 1 at the transition point 90a, if the signal TDC_in0 is logic 1, the level sensing circuit 82d will wait for the signal TDC_in0 The latch signal CON' is set to a logic 1 at transition 90c only at a later transition back to a logic 0. The level sensing circuit 82d is further used to set the latch signal CON' back to logic 0 when the latch signal CON transitions back to logic 0. In other words, in the window when the latch signal CON is turned on during the delay time Tdelay, when the signal TDC_in0 is logic 0, the level sensing circuit 82d turns on a second window in the latch signal CON'.

当门闩信号CON’为逻辑0,逻辑门82b用以抑制信号TDC_in0中的脉冲,如脉冲88a与88b。当门闩信号CON’为逻辑1,逻辑门82b则用以追随信号TDC_in0而为信号TDC_in提供一单一脉冲86a,使信号TDC_in在信号REF_in的重点转态处84b之前只会有脉冲86a的单一重点转态处84c。时间数字转换器80可测量重点转态处84c与84b间的时段而侦测出误差-e’[k]。在信号TDC_in中,因为重点转态处84b之前只有单一脉冲86a,故可避免时间数字转换器80的非必要触变,并提升时间数字转换器80的线性度。When the latch signal CON' is logic 0, logic gate 82b is used to suppress pulses in signal TDC_in0, such as pulses 88a and 88b. When the latch signal CON' is logic 1, the logic gate 82b is used to follow the signal TDC_in0 to provide a single pulse 86a for the signal TDC_in, so that the signal TDC_in will only have a single key transition of the pulse 86a before the key transition point 84b of the signal REF_in State at 84c. The time-to-digital converter 80 can measure the time period between key transitions 84c and 84b to detect the error -e'[k]. In the signal TDC_in, since there is only a single pulse 86a before the critical transition point 84b, unnecessary tripping of the time-to-digital converter 80 can be avoided, and the linearity of the time-to-digital converter 80 can be improved.

如图12的状况2所示,若以门闩信号CON栅除(gate)信号TDC_in0中的脉冲,在重点转态处90a与降缘转态处90d之间会有一多余脉冲被包括在信号TDC_in中,而此多余脉冲就会降低时间数字转换器80的线性度。然而,由于电平感测电路82d会适应性地避开信号TDC_in0为逻辑1的时段,故可用门闩信号CON’的较窄窗口排除多余脉冲;如此,便可确保重点转态处84b之前只有单一脉冲,以维护线性度。在电平感测电路82d的运作下,功率管理电路74B会更强健,对延迟器82c的延迟时间变异有较佳的抗扰性,因为延迟时间Tdelay的可容许延迟变异会被扩大为正负(Tv-Tc)/2。As shown in situation 2 of FIG. 12 , if the pulse in the signal TDC_in0 is gated by the gate signal CON, there will be an extra pulse included in the signal TDC_in between the critical transition point 90a and the falling edge transition point 90d , and this extra pulse will degrade the linearity of the time-to-digital converter 80 . However, since the level sensing circuit 82d will adaptively avoid the period when the signal TDC_in0 is logic 1, the narrower window of the gate signal CON' can be used to eliminate redundant pulses; in this way, it can be ensured that there is only a single pulse to maintain linearity. Under the operation of the level sensing circuit 82d, the power management circuit 74B will be more robust and have better immunity to the delay time variation of the delay device 82c, because the allowable delay variation of the delay time Tdelay will be enlarged to be positive or negative (Tv-Tc)/2.

请参考图13,其所示意的是电平感测电路82d的一个例子,其包括有一反相器94与一SR锁存器,该SR锁存器由两个与非门92a与92b形成。与非门92a的两输入端与一输出端分别耦接信号TDC_in0、节点n0与节点n1。与非门92b的两输入端与一输出端则分别耦接门闩信号CON、节点n1与节点n0。反相器94耦接于与非门92b与逻辑门82b之间。当信号TDC_in0为逻辑1时,门闩信号CON’会被锁存为逻辑0,而当信号TDC_in0为逻辑0时,门闩信号CON’便会被释放而得以追随门闩信号CON。Please refer to FIG. 13 , which shows an example of the level sensing circuit 82d, which includes an inverter 94 and an SR latch formed by two NAND gates 92a and 92b. Two input terminals and an output terminal of the NAND gate 92 a are respectively coupled to the signal TDC_in0 , the node n0 and the node n1 . Two input terminals and an output terminal of the NAND gate 92b are respectively coupled to the latch signal CON, the node n1 and the node n0. The inverter 94 is coupled between the NAND gate 92b and the logic gate 82b. When the signal TDC_in0 is logic 1, the latch signal CON' is latched as logic 0, and when the signal TDC_in0 is logic 0, the latch signal CON' is released to follow the latch signal CON.

总结而言,本发明为数字频率合成器中的时间数字转换器提供了相关的支援周边。当在以数字频率合成器监控变量时钟与频率参考时钟间的时间差(相位误差)时,变量时钟与频率参考时钟其中之一的相位会依据频率指令字符的累计值适应性地平移,以使所述时间差可被维持在变量时钟的部分周期之内,时间数字转换范围也就能设定成短于变量时钟的完整周期。再者,馈向至时间数字转换器的非必要高频触变脉冲也能被闸除,而不影响时间数字转换的正常功能。较小的时间数字转换范围与触变的闸除可为频率合成器带来许多优点,例如使时间数字转换的线性度改善、降低硬件复杂度、减少功率消耗、缩减布局面积、降低去耦电容的需求,并可抑制供电干扰。In conclusion, the present invention provides related supporting peripherals for the time-to-digital converter in the digital frequency synthesizer. When the time difference (phase error) between the variable clock and the frequency reference clock is monitored by a digital frequency synthesizer, the phase of one of the variable clock and the frequency reference clock will be shifted adaptively according to the accumulated value of the frequency command character, so that all The time difference can be maintained within a partial period of the variable clock, and the time-to-digital conversion range can be set shorter than a full period of the variable clock. Furthermore, unnecessary high-frequency thixotropic pulses fed to the time-to-digital converter can also be gated out without affecting the normal function of the time-to-digital converter. Smaller time-to-digital conversion range and thixotropic gate removal can bring many advantages to the frequency synthesizer, such as improving the linearity of time-to-digital conversion, reducing hardware complexity, reducing power consumption, reducing layout area, and reducing decoupling capacitance requirements and suppress power supply disturbances.

Claims (26)

1. a frequency synthesizer, it is characterised in that this frequency synthesizer comprises:
One frequency reference input, in order to receive a frequency reference clock;
One trimmed agitator, in order to provide a radio frequency clock;
One phase shifter, couples this frequency reference input, in order to change the phase place of this frequency reference clock; And
One time-to-digit converter, in order to produce a numeral conversion output, this time-to-digit converter is coupled to This phase shifter and this trimmed agitator;
Wherein, a time figure conversion range of this time-to-digit converter is complete less than the one of this radio frequency clock Cycle.
2. frequency synthesizer as claimed in claim 1, it is characterised in that wherein this time-to-digit converter In order to the frequency reference clock after receiving this change phase place with this radio frequency clock to produce the conversion output of this numeral, And the conversion output of this numeral is at a transition of the frequency reference clock after quantifying this change phase place and this radio frequency A time difference between the previous transition of clock and obtain.
3. frequency synthesizer as claimed in claim 1, it is characterised in that wherein this phase shifter is Digit time, transducer, digital control and postpone this frequency reference clock in order to respond a conversion.
4. frequency synthesizer as claimed in claim 3, it is characterised in that wherein this conversion is digital control is Respond the aggregate-value of a frequency instruction character and be set.
5. frequency synthesizer as claimed in claim 3, it is characterised in that this frequency synthesizer further includes:
One translational controller, couples this phase shifter, in order to responding the aggregate-value of a frequency instruction character and There is provided this conversion digital control.
6. frequency synthesizer as claimed in claim 5, it is characterised in that wherein this translational controller is more used There is provided an auxiliary decimal error correction signal to respond the aggregate-value of this frequency instruction character, and this is trimmed When agitator more adjusts this radio frequency in order to respond the conversion output of this numeral and this auxiliary decimal error correction signal The cycle of clock.
7. frequency synthesizer as claimed in claim 1, it is characterised in that this frequency synthesizer further includes:
One translational controller, couples this phase shifter, in order to responding the aggregate-value of a frequency instruction character and One auxiliary decimal error correction signal is provided;
Wherein, this trimmed agitator is more in order to according to the conversion output of this numeral and this auxiliary decimal error correction Signal and adjust the cycle of this radio frequency clock.
8. frequency synthesizer as claimed in claim 7, it is characterised in that wherein this translational controller is more used There is provided a conversion digital control to respond the aggregate-value of this frequency instruction character, and this phase shifter in order to Respond this conversion digital control and change the phase place of this frequency reference clock.
9. frequency synthesizer as claimed in claim 1, it is characterised in that this frequency synthesizer further includes:
One variable phase accumulation device, couples this trimmed agitator, in order to the periodicity of this radio frequency clock accumulative And a variable phase signal is provided according to this;And
One fixed phase integrating instrument, adds up a frequency instruction in order to respond each cycle of this frequency reference clock Character also provides the aggregate-value of this frequency instruction character according to this;
Wherein, this phase shifter changes this frequency reference in order to respond the aggregate-value of this frequency instruction character The phase place of clock, and this trimmed agitator in order to according to this numeral conversion output, this variable phase signal and The aggregate-value of this frequency instruction character and adjust the cycle of this radio frequency clock.
10. frequency synthesizer as claimed in claim 9, it is characterised in that this frequency synthesizer further includes:
One retimer, in order to retime to carry to this frequency reference clock at the transition of this radio frequency clock Reference clock when resetting for one;
Wherein, add up this frequency at this fixed phase integrating instrument transition in order to the reference clock when this resets to refer to Make character.
11. frequency synthesizers as claimed in claim 9, it is characterised in that this frequency synthesizer further includes:
One translational controller, couples this phase shifter, in order to responding the aggregate-value of this frequency instruction character and One auxiliary decimal error correction signal is provided;
Wherein, this trimmed agitator more adjusts this radio frequency clock according to this auxiliary decimal error correction signal Cycle.
12. frequency synthesizers as claimed in claim 1, it is characterised in that wherein this phase shifter changes The phase place of this frequency reference clock offer according to this translation reference clock, make one turn of this translation reference clock Time difference at state and between the previous transition of this radio frequency clock is less than a complete week of this radio frequency clock Phase.
13. frequency synthesizers as claimed in claim 1, it is characterised in that wherein this phase shifter is used for The phase place changing this frequency reference clock translates reference clock with offer one, and this time-to-digit converter is to work as Occur at this time figure conversion range with at the transition of this translation reference clock at the transition of this radio frequency clock Respond time at proximity, and do not send out at the transition of this translation reference clock at the transition of this radio frequency clock Then it is not responding to when life is at the proximity of this time figure conversion range.
14. frequency synthesizers as claimed in claim 1, it is characterised in that wherein this phase shifter in order to Respond the decimal part of the aggregate-value of a frequency instruction character and offset the phase place of this frequency reference clock.
15. 1 frequency synthesizers, it is characterised in that this frequency synthesizer comprises:
One agitator, in order to provide a variable clock;
One phase shifter, in order to provide a translation reference clock, makes the phase place and of this translation reference clock The phase one phase shift amount of frequency reference clock, wherein this phase shift amount makes this translation reference clock A transition at and the previous transition of this variable clock between a time difference less than of this variable clock Cycle;
One time-to-digit converter, couples this phase shifter, in order to quantify this time difference to provide one first Decimal error correction signal;And
One variable phase accumulation device, couples this agitator, in order to add up the periodicity of this variable clock to provide One variable phase signal;
Wherein, this agitator adjusts the cycle of this variable clock according to this variable phase signal.
16. frequency synthesizers as claimed in claim 15, it is characterised in that this frequency synthesizer further includes:
One fixed phase integrating instrument, for responding each cycle of this frequency reference clock with an accumulative frequency instruction Character, and a reference phase signal is provided according to this;
Wherein, this phase shifter is in order to respond this reference phase signal to set this phase shift amount, and this shakes Swing device and more adjust the cycle of this variable clock according to this reference phase signal.
17. frequency synthesizers as claimed in claim 16, it is characterised in that this frequency synthesizer further includes:
One translational controller, couples this phase shifter, provides one in order to respond this reference phase signal Two decimal error correction signals;
Wherein, this agitator is more in order to repair with this second decimal error according to this first decimal error correction signal Positive signal and adjust the cycle of this variable clock.
18. 1 frequency synthesizers, it is characterised in that this frequency synthesizer comprises:
One agitator, in order to provide a variable clock;
One time-to-digit converter, in order to quantify time difference between a translation reference clock and this variable clock also One first decimal error correction signal, the wherein phase place of this translation reference clock and a frequency reference are provided according to this The phase one phase shift amount of clock;One translational controller, in order to respond a frequency instruction character Aggregate-value and one second decimal error correction signal is provided;And
One variable phase accumulation device, couples this agitator, in order to the periodicity according to this of this variable clock accumulative One variable phase signal is provided;
Wherein this agitator is more in order to according to this first decimal error correction signal and this second decimal error correction The aggregate-value of signal, this variable phase signal and this frequency instruction character adjusts the cycle of this variable clock.
19. frequency synthesizers as claimed in claim 18, it is characterised in that this frequency synthesizer further includes:
One phase shifter, couples this frequency reference clock, in order to change the phase place of this frequency reference clock with This translation reference clock is provided.
20. frequency synthesizers as claimed in claim 18, it is characterised in that this frequency synthesizer further includes:
One fixed phase integrating instrument, adds up this frequency instruction in order to respond each cycle of this frequency reference clock Character, and the aggregate-value of this frequency instruction character is provided according to this.
21. 1 kinds of frequency combining methods, it is characterised in that this frequency combining method comprises:
Respond an agitator to adjust signal and produce a variable clock;
By the phase offset one phase shift amount of a frequency reference clock to obtain a translation reference clock;And
By the time difference digitized between this variable clock and this translation reference clock, this time difference digitized One scope is less than a cycle of this variable clock.
22. frequency combining methods as claimed in claim 21, it is characterised in that this time difference is this translation Time difference at reference clock one transition and between the previous transition of this variable clock.
23. frequency combining methods as claimed in claim 22, it is characterised in that this frequency combining method is more Comprise:
Adjust this phase shift amount, make this time difference be less than or equal at a transition of this frequency reference clock and be somebody's turn to do Time difference between the previous transition of variable clock.
24. frequency combining methods as claimed in claim 23, it is characterised in that this frequency combining method is more Comprise:
A frequency instruction character is added up to obtain this frequency instruction character according to each cycle of this frequency reference clock Aggregate-value;And
This phase shift amount is adjusted according to the decimal part of the aggregate-value of this frequency instruction character.
25. frequency combining methods as claimed in claim 24, it is characterised in that this frequency combining method is more Comprise:
One first decimal error correction signal is obtained according to this digitized;And
Adjust this agitator according to this first decimal error correction signal and adjust signal.
26. frequency combining methods as claimed in claim 25, it is characterised in that this frequency combining method is more Comprise:
One second decimal error correction signal is measured to obtain according to this phase shift;
More adjust this agitator according to this second decimal error correction signal and adjust signal.
CN201210393827.4A 2011-10-17 2012-10-17 Frequency Synthesizer and Frequency Synthesis Method Expired - Fee Related CN103051336B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201161548096P 2011-10-17 2011-10-17
US61/548,096 2011-10-17
US13/450,225 2012-04-18
US13/450,225 US8749280B2 (en) 2011-10-17 2012-04-18 Frequency synthesizer and associated method

Publications (2)

Publication Number Publication Date
CN103051336A CN103051336A (en) 2013-04-17
CN103051336B true CN103051336B (en) 2016-08-31

Family

ID=48063852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210393827.4A Expired - Fee Related CN103051336B (en) 2011-10-17 2012-10-17 Frequency Synthesizer and Frequency Synthesis Method

Country Status (1)

Country Link
CN (1) CN103051336B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8810286B1 (en) * 2013-05-02 2014-08-19 Mstar Semiconductor, Inc. Method and apparatus for synthesizing a low phase noise frequency with wide tuning range
US10018970B2 (en) * 2015-09-30 2018-07-10 Mediatek Inc. Time-to-digital system and associated frequency synthesizer
CN110612752B (en) * 2017-05-12 2023-01-17 高通股份有限公司 NR PHR Design for mmWave Deployment
CN109379175B (en) * 2018-12-13 2021-06-29 中国科学院国家授时中心 Device and method for correcting phase of frequency signal in optical fiber time-frequency transmission
CN116015285B (en) * 2022-12-31 2024-03-12 成都电科星拓科技有限公司 Method and device for correcting TDC delay stepping based on stepping LDO

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1973438A (en) * 2004-04-26 2007-05-30 模拟设备股份有限公司 Frequency synthesizer and method
CN102111149A (en) * 2009-12-24 2011-06-29 Nxp股份有限公司 Digital phase locked loop

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7714665B2 (en) * 2006-02-16 2010-05-11 Texas Instruments Incorporated Harmonic characterization and correction of device mismatch

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1973438A (en) * 2004-04-26 2007-05-30 模拟设备股份有限公司 Frequency synthesizer and method
CN102111149A (en) * 2009-12-24 2011-06-29 Nxp股份有限公司 Digital phase locked loop

Also Published As

Publication number Publication date
CN103051336A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
US8749280B2 (en) Frequency synthesizer and associated method
CN103051340B (en) Time-to-Digital Conversion System and Frequency Synthesizer
US8193963B2 (en) Method and system for time to digital conversion with calibration and correction loops
US8797203B2 (en) Low-power high-resolution time-to-digital converter
US11817868B2 (en) Apparatus for digital frequency synthesizer with sigma-delta modulator and associated methods
US10063247B2 (en) Multiple-loop fractional-N PLL with hitless switching
US9170564B2 (en) Time-to-digital converter and PLL circuit using the same
US10763869B2 (en) Apparatus for digital frequency synthesizers and associated methods
US20200192301A1 (en) Apparatus for Time-to-Digital Converters and Associated Methods
CN103051336B (en) Frequency Synthesizer and Frequency Synthesis Method
CN107294530B (en) Calibration method and apparatus for high time To Digital Converter (TDC) resolution
US8106808B1 (en) Successive time-to-digital converter for a digital phase-locked loop
KR102123901B1 (en) All digital phase locked loop, semiconductor apparatus, and portable information device
US8618854B2 (en) Adaptive clock switching to capture asynchronous data within a phase-to-digital converter
WO2011161737A1 (en) Digital phase difference detection device and frequency synthesizer equipped with same
CN103051335B (en) Frequency Synthesizer and Frequency Synthesis Method
Staszewski et al. Time-to-digital converter for RF frequency synthesis in 90 nm CMOS
KR101866241B1 (en) Phase locked loop using phase-locked direct digital synthesizer
US8014487B2 (en) High-frequency counter
JP2013005050A (en) Clock generation device and electronic apparatus
Huang et al. A time-to-digital converter based AFC for wideband frequency synthesizer
JP5225229B2 (en) PLL circuit
WO2012137268A1 (en) Time-digital converter and pll frequency synthesizer using same
JP2024527094A (en) Metastability correction for ring oscillators with embedded time-to-digital converters
CN110677154A (en) Digital phase-locked loop without frequency overshoot

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160831

Termination date: 20191017

CF01 Termination of patent right due to non-payment of annual fee