TW201310189A - Dynamic bias circuit and associated method - Google Patents
Dynamic bias circuit and associated method Download PDFInfo
- Publication number
- TW201310189A TW201310189A TW100130763A TW100130763A TW201310189A TW 201310189 A TW201310189 A TW 201310189A TW 100130763 A TW100130763 A TW 100130763A TW 100130763 A TW100130763 A TW 100130763A TW 201310189 A TW201310189 A TW 201310189A
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- current
- clock
- comparison
- coupled
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 239000003990 capacitor Substances 0.000 claims description 17
- 230000003247 decreasing effect Effects 0.000 claims description 6
- 238000013459 approach Methods 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 4
- 239000013643 reference control Substances 0.000 claims description 2
- 230000008859 change Effects 0.000 description 24
- 230000007423 decrease Effects 0.000 description 14
- 230000000630 rising effect Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Manipulation Of Pulses (AREA)
Abstract
Description
本發明是有關於一種動態偏壓電路與相關方法,且特別是有關於一種在依據時脈提供偏壓時可藉由數位調整而在偏壓中隔絕時脈雜訊以省去雜訊低通濾波器且可在低頻時脈下維持適當最小偏壓的動態偏壓電路與相關方法。The present invention relates to a dynamic bias circuit and related method, and more particularly to a method for isolating clock noise in a bias voltage by digital adjustment when biasing according to a clock is provided to eliminate low noise. A dynamic bias circuit and associated method that pass filters and maintain an appropriate minimum bias voltage at low frequency clocks.
各種各樣的電子電路,尤其是基於時脈運作的電路,已經成為現代資訊社會最重要的硬體基礎。對於各種時脈運作電路而言,時脈的頻率高低與其所需的功率有關;當時脈的頻率較高時,時脈運作電路需要較大的偏壓(如較大的偏壓電流)以提供較多的功率。反之,當時脈的頻率較低時,時脈運作電路所需的功率也較低,較低的偏壓即可滿足其功率需求。A variety of electronic circuits, especially those based on clock operation, have become the most important hardware foundation of the modern information society. For various clock operation circuits, the frequency of the clock is related to the power required; when the frequency of the pulse is high, the clock operation circuit requires a large bias (such as a large bias current) to provide More power. Conversely, when the frequency of the current pulse is low, the power required by the clock operation circuit is also low, and the lower bias voltage can satisfy its power requirement.
因此,為提昇時脈運作電路的功率運用效能,動態偏壓電路即應運而生。動態偏壓電路可依據時脈來為時脈運作電路調整其偏壓(如偏壓電流)的大小。舉例而言,當頻率較高時,動態偏壓電路可提供較高的偏壓以傳遞較高的功率給時脈運作電路;反之,當時脈運作電路運作於較低頻率時,動態偏壓電路就會適應性地動態降低偏壓。Therefore, in order to improve the power utilization performance of the clock operation circuit, a dynamic bias circuit emerges as the times require. The dynamic bias circuit adjusts the bias voltage (such as bias current) of the clock operation circuit according to the clock. For example, when the frequency is high, the dynamic bias circuit can provide a higher bias voltage to transmit higher power to the clock operation circuit; otherwise, when the pulse operation circuit operates at a lower frequency, the dynamic bias voltage The circuit adaptively reduces the bias voltage.
請參考第1圖,其所示意的是一習知技術的動態偏壓電路10,如Andersen等人於2005年7月發表於IEEE Journal of solid-state circuits,vol. 40,no. 7,的論文「A Cost-Efficient High-Speed 12-bit Pipeline ADC in 0.18-μm Digital CMOS」。習知動態偏壓電路10中設有一放大器12、兩電晶體PL與PR(p通道金氧半電晶體)、一負載14及一低通濾波器LPF,以依據一時脈CK來調整其所提供的偏壓電流Io1。動態偏壓電路10運作於工作電壓Vcc與G之間。Referring to Figure 1, a dynamic bias circuit 10 of the prior art is illustrated, as disclosed by Andersen et al., July 2005, IEEE Journal of solid-state circuits, vol. 40, no. The paper "A Cost-Efficient High-Speed 12-bit Pipeline ADC in 0.18-μm Digital CMOS". The conventional dynamic bias circuit 10 is provided with an amplifier 12, two transistors PL and PR (p-channel MOS transistors), a load 14 and a low-pass filter LPF to adjust the position according to a clock CK. The bias current Io1 is provided. The dynamic bias circuit 10 operates between the operating voltages Vcc and G.
在動態偏壓電路10中,放大器12的正負兩輸入端分別耦接節點nb與一參考電壓VBG,輸出端於節點na耦接電晶體PL的閘極,使節點nb的電壓因虛擬接地而等於電壓VBG。電壓VBG可以是一個常數的定電壓,例如說是由一帶隙電路(bandgap circuit)所產生的電壓,使電壓VBG的電壓值可抵抗溫度、工作電壓與製程的漂移/變異。In the dynamic bias circuit 10, the positive and negative input terminals of the amplifier 12 are respectively coupled to the node nb and a reference voltage VBG, and the output terminal is coupled to the gate of the transistor PL at the node na, so that the voltage of the node nb is virtual grounded. Equal to voltage VBG. The voltage VBG can be a constant constant voltage, for example, a voltage generated by a bandgap circuit, such that the voltage value of the voltage VBG is resistant to temperature, operating voltage, and drift/variation of the process.
負載14中設有一電容Cp與兩開關SpB、Sp;開關SpB與Sp分別受控於時脈CK與CKB,時脈CKB則為時脈CK的反相。也就是說,當開關SpB將節點nb導通至節點nc時,開關Sp不會在節點nc與工作電壓G之間導通;此時,節點nb的電流會向電容Cp充電。當時脈CKB使開關SpB不導通時,開關Sp將節點nc導通至工作電壓G,使電容Cp向工作電壓G放電。因此,在時脈CK的一個週期Ts中,電容Cp的電荷變化量為Cp*VBG,平均電流為Cp*VBG/Ts;換言之,負載14可等效為一電阻Req,其阻值為VBG/Ix=Ts/Cp=1/(Cp*Fck),其中Fck為時脈CK的頻率,其值為1/Ts。The capacitor 14 is provided with a capacitor Cp and two switches SpB and Sp; the switches SpB and Sp are controlled by the clocks CK and CKB, respectively, and the clock CKB is the inversion of the clock CK. That is, when the switch SpB turns on the node nb to the node nc, the switch Sp does not conduct between the node nc and the operating voltage G; at this time, the current of the node nb charges the capacitor Cp. When the current pulse CKB causes the switch SpB to be non-conducting, the switch Sp turns on the node nc to the operating voltage G, and discharges the capacitor Cp to the operating voltage G. Therefore, in one period Ts of the clock CK, the charge change amount of the capacitor Cp is Cp*VBG, and the average current is Cp*VBG/Ts; in other words, the load 14 can be equivalent to a resistor Req whose resistance is VBG/ Ix=Ts/Cp=1/(Cp*Fck), where Fck is the frequency of the clock CK and its value is 1/Ts.
由上述討論可知,負載14的等效電阻Req會隨時脈CK的頻率Fck改變。當時脈CK較快(頻率Fck較高)時,電阻Req的阻值會較低,流經負載14的等效電流Ix則較高(因節點nb的電壓固定);經由電晶體PL與PR的電流鏡配置,電晶體PR提供的偏壓電流Io1也就隨之提高。相對地,當時脈CK較慢時,電阻Req的阻值較高,電流Ix較低,故動態偏壓電路10提供的電流Io1也隨之降低。如此,習知動態偏壓電路10就能實現動態偏壓的功能。As can be seen from the above discussion, the equivalent resistance Req of the load 14 changes at the frequency Fck of the pulse CK. When the pulse CK is faster (the frequency Fck is higher), the resistance of the resistor Req will be lower, and the equivalent current Ix flowing through the load 14 is higher (because the voltage of the node nb is fixed); via the transistors PL and PR In the current mirror configuration, the bias current Io1 provided by the transistor PR is also increased. In contrast, when the pulse CK is slow, the resistance of the resistor Req is high, and the current Ix is low, so the current Io1 provided by the dynamic bias circuit 10 is also reduced. As such, the conventional dynamic bias circuit 10 can implement the function of dynamic bias.
不過,習知動態偏壓電路10也有缺點。首先,由於開關SpB與Sp會隨時脈CK週期性地在導通/不導通間切換,故會在負載14中造成週期性的暫態變化,進而導致時脈雜訊(clock noise)。此時脈雜訊會經由電晶體PL而耦合至節點na,並進一步耦合至電晶體PR的閘極,使偏壓電流Io1也會受時脈雜訊影響。因此,習知動態偏壓電路10必須在節點na與電晶體PR的閘極間設置低通濾波器LPF,以抑制節點na的時脈雜訊,減輕時脈雜訊對電晶體PR的影響。However, the conventional dynamic bias circuit 10 also has disadvantages. First, since the switches SpB and Sp periodically switch between on/off during the pulse CK, a periodic transient change is caused in the load 14, which in turn causes clock noise. At this time, the pulse noise is coupled to the node na via the transistor PL, and further coupled to the gate of the transistor PR, so that the bias current Io1 is also affected by the clock noise. Therefore, the conventional dynamic bias circuit 10 must provide a low-pass filter LPF between the node na and the gate of the transistor PR to suppress the clock noise of the node na and reduce the influence of the clock noise on the transistor PR. .
然而,低通濾波器LPF的設置又衍生其他問題。由於低通濾波器LPF為類比電路(如電阻-電容的類比電路),會佔用額外的布局面積;若時脈CK的頻率變動範圍具有較低的下限頻率,為了濾除低頻的時脈雜訊,低通濾波器LPF的布局面積就要更大,終至難以實現。However, the setting of the low pass filter LPF derives other problems. Since the low-pass filter LPF is an analog circuit (such as a resistor-capacitor analog circuit), it will occupy an extra layout area; if the frequency variation range of the clock CK has a lower lower limit frequency, in order to filter out low-frequency clock noise The layout area of the low-pass filter LPF is even larger, which is difficult to achieve.
再者,當時脈CK的頻率低於下限頻率時,負載14的等效阻值會過高而使電流Ix過低,連帶地使偏壓電流Io1也過低,無法提供適當的偏壓。對於仰賴電流Io1的時序運作電路(未示於第1圖)而言,若偏壓電流Io1過低,其電晶體的運作就無法維持在正常的操作區(如飽和區);這樣一來,時序運作電路也就無法正常運作。Furthermore, when the frequency of the pulse CK is lower than the lower limit frequency, the equivalent resistance of the load 14 is too high and the current Ix is too low, and the bias current Io1 is too low to provide an appropriate bias voltage. For the timing operation circuit (not shown in Figure 1) that depends on the current Io1, if the bias current Io1 is too low, the operation of the transistor cannot be maintained in the normal operating region (such as the saturation region); thus, The timing operation circuit will not work properly.
為克服習知技術的缺點,本發明的目的之一係提供一種動態偏壓電路,依據一第一時脈提供一偏壓(如偏壓電流)。此動態偏壓電路包含一第一參考產生器、一比較器與一調整電路。第一參考產生器依據一回授訊號提供一第一參考訊號。比較器比較第一參考訊號與一第二參考訊號,並提供一比較結果。調整電路則依據比較結果提供回授訊號並產生偏壓。其中,第一參考訊號係動態關聯於第一時脈。To overcome the shortcomings of the prior art, one object of the present invention is to provide a dynamic bias circuit that provides a bias voltage (e.g., bias current) in accordance with a first clock. The dynamic bias circuit includes a first reference generator, a comparator and an adjustment circuit. The first reference generator provides a first reference signal according to a feedback signal. The comparator compares the first reference signal with a second reference signal and provides a comparison result. The adjustment circuit provides a feedback signal and generates a bias voltage based on the comparison result. The first reference signal is dynamically associated with the first clock.
本發明的又一目的係提供一種動態地依據一第一時脈而提供一偏壓(如偏壓電流)的方法,包括:依據一回授訊號與第一時脈提供一第一參考訊號;比較第一參考訊號與一第二參考訊號,並提供一比較結果;以及,依據比較結果提供回授訊號並產生偏壓。A further object of the present invention is to provide a method for dynamically providing a bias voltage (such as a bias current) according to a first clock, comprising: providing a first reference signal according to a feedback signal and the first clock; Comparing the first reference signal with a second reference signal and providing a comparison result; and providing a feedback signal and generating a bias according to the comparison result.
為了對本發明之上述及其他方面有更佳的瞭解,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下:In order to better understand the above and other aspects of the present invention, the preferred embodiments are described below, and in conjunction with the drawings, the detailed description is as follows:
請參考第2圖,其所示意的是依據本發明一實施例的動態偏壓電路20;動態偏壓電路20可依據一第一時脈而為一時脈運作電路(未圖示)提供一偏壓(如偏壓電流Io),此時脈運作電路即基於第一時脈的觸發而運作。動態偏壓電路20設有一第一參考產生器22a、一第二參考產生器22b、一比較器24與一調整電路26;其中,比較器24耦接於第一參考產生器22a、第二參考產生器22b與調整電路26之間,第一參考產生器22a亦另行耦接調整電路26。Please refer to FIG. 2, which illustrates a dynamic bias circuit 20 according to an embodiment of the present invention; the dynamic bias circuit 20 can provide a clock operation circuit (not shown) according to a first clock. A bias voltage (such as bias current Io), when the pulse operation circuit operates based on the trigger of the first clock. The dynamic bias circuit 20 is provided with a first reference generator 22a, a second reference generator 22b, a comparator 24 and an adjustment circuit 26; wherein the comparator 24 is coupled to the first reference generator 22a, the second Between the reference generator 22b and the adjustment circuit 26, the first reference generator 22a is also coupled to the adjustment circuit 26.
在動態偏壓電路20中,第一參考產生器22a是一動態參考產生器,依據一訊號Sf(即一回授訊號)提供一訊號Sr1作為第一參考訊號。第二參考產生器22b是另一參考產生器,提供一訊號Sr2作為第二參考訊號。訊號Sr1可以是一個關聯於第一時脈的參考訊號,其訊號值隨第一時脈改變;舉例而言,訊號Sr1可以是一個隨第一時脈改變電壓值的電壓訊號,以及/或者是一個隨第一時脈改變電流值的電流訊號。訊號Sr2則可以是一常數值(定值)的訊號,例如說是一個定電壓值的電壓訊號,以及/或者是一個定電流值的電流訊號。In the dynamic bias circuit 20, the first reference generator 22a is a dynamic reference generator, and provides a signal Sr1 as a first reference signal according to a signal Sf (ie, a feedback signal). The second reference generator 22b is another reference generator that provides a signal Sr2 as a second reference signal. The signal Sr1 may be a reference signal associated with the first clock, and the signal value changes with the first clock; for example, the signal Sr1 may be a voltage signal that changes the voltage value with the first clock, and/or A current signal that changes the current value with the first clock. The signal Sr2 can be a constant value (fixed value) signal, for example, a voltage signal of a constant voltage value, and/or a current signal of a constant current value.
比較器24接收訊號Sr1與Sr2,比較兩者的訊號大小,並向調整電路26提供一訊號CMP以反映比較結果。舉例而言,比較器24可在一比較時脈(未圖示)的觸發下取樣、閂鎖訊號Sr1與訊號Sr2的比較結果,並以數位的訊號CMP來代表比較結果,因此,訊號CMP的時序會關聯於比較時脈的週期。其中,比較時脈係關聯於第一時脈;舉例而言,第一時脈的頻率可以是比較時脈的K倍,K可以是大於1、等於1或小於1的整數或有理數。也就是說,比較時脈的頻率可隨第一時脈的頻率升高而升高,並隨第一時脈的頻率降低而降低。The comparator 24 receives the signals Sr1 and Sr2, compares the signal sizes of the two, and provides a signal CMP to the adjustment circuit 26 to reflect the comparison result. For example, the comparator 24 can sample the trigger of a comparison clock (not shown), compare the result of the latch signal Sr1 and the signal Sr2, and represent the comparison result by the digital signal CMP. Therefore, the signal CMP Timing is associated with the period of the comparison clock. Wherein, the comparison clock system is associated with the first clock; for example, the frequency of the first clock may be K times the comparison clock, and K may be an integer or rational number greater than 1, equal to 1 or less than 1. That is to say, the frequency of the comparison clock can be increased as the frequency of the first clock increases, and decreases as the frequency of the first clock decreases.
調整電路26可以是一個基於數位電路的調整電路,其可依據訊號CMP中的比較結果提供回授訊號Sf並產生偏壓電流Io。回授訊號Sf可以是一個攜載數位數值的數位訊號;在一實施例中,調整電路26可依據訊號CMP中的比較結果產生訊號Sf,使訊號Sf的時序亦關聯於比較時脈。The adjustment circuit 26 can be an adjustment circuit based on the digital circuit, which can provide the feedback signal Sf and generate the bias current Io according to the comparison result in the signal CMP. The feedback signal Sf can be a digital signal carrying a digit value. In an embodiment, the adjustment circuit 26 can generate the signal Sf according to the comparison result in the signal CMP, so that the timing of the signal Sf is also associated with the comparison clock.
在一實施例中,當第一參考產生器22a依據訊號Sf產生訊號Sr1時,是依據訊號Sf的數值調整訊號Sr1的改變率(即單位時間內的訊號值改變量);調整電路26則依據訊號Sf的數值提供電流Io。舉例而言,當訊號Sf的數值增強訊號Sr1的改變率,調整電路26也會相應地增強電流Io;反之,當訊號Sf的數值減少訊號Sr1的改變率,調整電路26也會相應地降低電流Io。In an embodiment, when the first reference generator 22a generates the signal Sr1 according to the signal Sf, the change rate of the signal Sr1 is adjusted according to the value of the signal Sf (ie, the signal value change amount per unit time); the adjustment circuit 26 is based on The value of the signal Sf provides the current Io. For example, when the value of the signal Sf enhances the rate of change of the signal Sr1, the adjustment circuit 26 also enhances the current Io accordingly; conversely, when the value of the signal Sf decreases the rate of change of the signal Sr1, the adjustment circuit 26 also reduces the current accordingly. Io.
在比較時脈的某一週期中,若訊號CMP反映訊號Sr1大於訊號Sr2,訊號Sf的數值會使第一參考產生器22a在此週期中以一較低的改變率改變訊號Sr1的訊號值,以減抑訊號Sr1。反之,在此週期中,若訊號CMP反映訊號Sr1小於訊號Sr2時,訊號Sf則使第一參考產生器22a以較高的改變率改變訊號Sr1的訊號值,以增強訊號Sr1。經由訊號Sf的回授,訊號Sr1的訊號值會逐漸鎖定至訊號Sr2的訊號值。In a certain period of the comparison clock, if the signal CMP reflects that the signal Sr1 is greater than the signal Sr2, the value of the signal Sf causes the first reference generator 22a to change the signal value of the signal Sr1 at a lower rate of change during the period. To suppress the signal Sr1. On the other hand, if the signal CMP reflects the signal Sr1 is smaller than the signal Sr2, the signal Sf causes the first reference generator 22a to change the signal value of the signal Sr1 at a higher rate of change to enhance the signal Sr1. After the feedback of the signal Sf, the signal value of the signal Sr1 is gradually locked to the signal value of the signal Sr2.
若第一時脈較慢,比較時脈的週期也較長;因此,在比較時脈的各週期中,即使訊號Sf的數值使訊號Sr1的改變率較低,訊號Sr1還是能累積足夠的改變量而鎖定至定值的訊號Sr2,故電流Io也會較低,以因應低頻的第一時脈。若第一時脈的頻率較高,比較時脈的週期會隨之縮短,訊號Sf的數值要使訊號Sr1的改變率升高才能快速累積足夠的改變量來鎖定訊號Sr2,故電流Io也會提高。如此,便能實現動態偏壓的功能。If the first clock is slower, the period of the comparison clock is longer; therefore, even in the periods of the comparison clock, even if the value of the signal Sf causes the rate of change of the signal Sr1 to be low, the signal Sr1 can still accumulate enough changes. The amount is locked to the fixed value signal Sr2, so the current Io will also be lower to respond to the first clock of the low frequency. If the frequency of the first clock is higher, the period of the comparison clock will be shortened. The value of the signal Sf should increase the rate of change of the signal Sr1 to quickly accumulate enough change amount to lock the signal Sr2, so the current Io will also improve. In this way, the function of dynamic bias can be realized.
請參考第3圖與第4圖;第3圖所示意的是依據本發明一實施例的動態偏壓電路30,第4圖則示意第3圖中相關訊號的波形時序。動態偏壓電路30依據一時脈CK(第一時脈)而為一時脈運作電路56提供一偏壓,例如說一偏壓電流Io;時脈運作電路56即是基於時脈CK的觸發而運作。舉例而言,時脈運作電路56中可包括一n通道金氧半電晶體N1;電晶體N1必須能得到充足的汲極偏壓電流,才能維持正常運作(例如說是運作於電晶體的飽和區)。一實施例中,時脈運作電路56可以是一管線式(pipeline)類比至數位轉換器。Please refer to FIG. 3 and FIG. 4; FIG. 3 is a schematic diagram of a dynamic bias circuit 30 according to an embodiment of the invention, and FIG. 4 is a diagram showing the waveform timing of the associated signal in FIG. The dynamic bias circuit 30 provides a bias voltage for the clock operation circuit 56 according to a clock CK (first clock), for example, a bias current Io; the clock operation circuit 56 is based on the trigger of the clock CK. Operation. For example, the clock operation circuit 56 can include an n-channel MOS transistor N1; the transistor N1 must be able to obtain sufficient drain bias current to maintain normal operation (for example, operation of the saturation of the transistor). Area). In one embodiment, the clock operation circuit 56 can be a pipeline analog to digital converter.
動態偏壓電路30運作於工作電壓Vcc與G之間,如節點n0與n4即分別耦接工作電壓Vcc與G。舉例而言,工作電壓G可以是一地端電壓,工作電壓Vcc則是一個高於地端電壓的正電壓。The dynamic bias circuit 30 operates between the operating voltages Vcc and G. For example, the nodes n0 and n4 are respectively coupled to the operating voltages Vcc and G. For example, the operating voltage G can be a ground terminal voltage, and the operating voltage Vcc is a positive voltage higher than the ground terminal voltage.
動態偏壓電路30中包括有一第一參考產生器32a、一第二參考產生器32b、一比較器34與一調整電路36。第一參考產生器32a依據一訊號Df(即一回授訊號)提供一電壓VC以作為第一參考訊號。第二參考產生器32b則提供一電壓VR以作為第二參考訊號。The dynamic bias circuit 30 includes a first reference generator 32a, a second reference generator 32b, a comparator 34 and an adjustment circuit 36. The first reference generator 32a provides a voltage VC as a first reference signal according to a signal Df (ie, a feedback signal). The second reference generator 32b then provides a voltage VR as a second reference signal.
比較器34可以是一電壓模式(voltage mode)的比較器,以比較兩電壓訊號。比較器34具有一第一比較輸入端、一第二比較輸入端與一比較輸出端;第一比較輸入端與第二比較輸入端(在第3圖中分別以「+」、「-」標示)分別於節點n3與n2耦接第一參考產生器32a與第二參考產生器32b,在一時脈CKcmp(比較時脈)的觸發下比較電壓VR與VC並取樣比較結果,以由節點n6的比較輸出端提供一訊號CMP來反映比較結果。舉例而言,當時脈CKcmp由低位準轉換為高位準時,其升緣就可觸發比較器34對電壓VC與VR的比較結果進行取樣閂鎖:若電壓VC大於電壓VR,比較器34在訊號CMP中維持(閂鎖)一邏輯1,直到下一個升緣;反之,當升緣觸發時,若電壓VC小於電壓VR,比較器34則在訊號CMP中維持一邏輯0,直到次一升緣。其中,時脈CKcmp係關聯於時脈CK;舉例而言,時脈CK的頻率可以是時脈CKcmp的K倍,K可以是大於1、等於1或小於1的整數或有理數。也就是說,時脈CKcmp的頻率可隨時脈CK的頻率升高而升高,並隨第一時脈的頻率降低而降低。Comparator 34 can be a voltage mode comparator to compare the two voltage signals. The comparator 34 has a first comparison input terminal, a second comparison input terminal and a comparison output terminal; the first comparison input terminal and the second comparison input terminal (indicated by "+" and "-" respectively in FIG. The first reference generator 32a and the second reference generator 32b are coupled to the nodes n3 and n2 respectively, and the voltages VR and VC are compared under the trigger of a clock CKcmp (comparison clock) and the comparison result is sampled to be compared by the node n6. The comparison output provides a signal CMP to reflect the comparison. For example, when the current pulse CKcmp is converted from the low level to the high level, the rising edge can trigger the comparator 34 to sample and latch the comparison result of the voltage VC and the VR: if the voltage VC is greater than the voltage VR, the comparator 34 is in the signal CMP. The logic is maintained (latched) until the next rising edge; conversely, when the rising edge is triggered, if the voltage VC is less than the voltage VR, the comparator 34 maintains a logic 0 in the signal CMP until the next rising edge. Wherein, the clock CKcmp is associated with the clock CK; for example, the frequency of the clock CK may be K times the clock CKcmp, and K may be an integer or rational number greater than 1, equal to 1 or less than 1. That is to say, the frequency of the clock CKcmp can rise as the frequency of the pulse CK rises, and decreases as the frequency of the first clock decreases.
調整電路36於節點n6耦接比較器34的比較輸出端,依據訊號CMP提供訊號Df與另一訊號Do(即一輸出訊號),並依據訊號Do產生偏壓電流Io。訊號Df與Do可以是攜載多位元數值的數位訊號。The adjusting circuit 36 is coupled to the comparison output of the comparator 34 at the node n6, and provides a signal Df and another signal Do (ie, an output signal) according to the signal CMP, and generates a bias current Io according to the signal Do. The signals Df and Do can be digital signals carrying multi-bit values.
第一參考產生器32a中包括有兩電流源48a、50a與一負載54。電流源48a為一可變電流源(第一可變電流源),耦接於節點n0與n3之間,並設有一受控端58a(第一受控端)與一電流端(第一電流端),前者耦接訊號Df,後者於節點n3耦接比較器34的第一比較輸入端。電流源48a依據訊號Df中的資料數值而於節點n3提供電流Itune1;當訊號Df的數值改變,電流Itune1的電流大小也隨之改變。The first reference generator 32a includes two current sources 48a, 50a and a load 54. The current source 48a is a variable current source (first variable current source) coupled between the nodes n0 and n3, and is provided with a controlled terminal 58a (first controlled terminal) and a current terminal (first current) The former is coupled to the signal Df, and the latter is coupled to the first comparison input of the comparator 34 at the node n3. The current source 48a supplies the current Itune1 to the node n3 according to the data value in the signal Df; when the value of the signal Df changes, the current of the current Itune1 also changes.
舉例而言,訊號Df中的資料可以是一N位元數值,其數值可以是由0至(2^N-1);對應地,電流源48a提供的電流Itune1也可以是由0至(2^N-1)個單位的電流。一實施例中,電流源48a中可包括(2^N-1)個可提供相同電流的電流源單元,各電流源可依據訊號Df選擇性地導通至節點n3;訊號Df的數值越大,被導通至節點n3的電流源單元越多,使電流Itune1也隨之增加。舉例而言,每個電流源單元可提供Iu1/(2^N)的電流(其中Iu1為一常數),而電流Itune1則可以是:Itune1=Df*Iu1/(2^N)。For example, the data in the signal Df may be an N-bit value, and the value may be from 0 to (2^N-1); correspondingly, the current provided by the current source 48a, Itune1 may also be from 0 to (2). ^N-1) current per unit. In one embodiment, the current source 48a may include (2^N-1) current source units that can provide the same current, and each current source can be selectively turned on to the node n3 according to the signal Df; the larger the value of the signal Df, The more current source cells that are turned on to node n3, the more the current Itune1 increases. For example, each current source unit can provide a current of Iu1/(2^N) (where Iu1 is a constant), and the current Itune1 can be: Itune1=Df*Iu1/(2^N).
另一電流源50a為一定電流源(第一定電流源),亦耦接於節點n0與n3之間,於節點n3耦接比較器34的第一比較輸入端,並提供一電流值固定的電流Ifx1。電流Itune1與Ifx1會在節點n3匯合成電流Ix1,注入負載54。The other current source 50a is a constant current source (first constant current source), and is also coupled between the nodes n0 and n3. The node n3 is coupled to the first comparison input of the comparator 34 and provides a fixed current value. Current Ifx1. The currents Itune1 and Ifx1 merge into the current Ix1 at node n3 and inject into the load 54.
負載54(第一負載)於節點n3耦接比較器34的第一比較輸入端,並於節點n4耦接工作電壓G。負載54依據時脈CK與第一比較輸入端(節點n3)的電流Ix1而在節點n3建立電壓VC(第一電壓)。負載54中包括有一電容C(第一電容)與一開關S。電容C耦接於節點n3與n4之間。開關S亦耦接於節點n3與n4之間,依據一時脈CKc(開關時脈)而選擇性地使節點n3導通至工作電壓G。舉例而言,當時脈CKc為低位準時,開關S停止在節點n3與n4間導通,使電流Ix1可對電容C充電;相對地,當時脈CKc為高位準時,開關S則將節點n3導通至節點n4的工作電壓G,使電流Ix1旁路於電容C,電容C也可被重設為節點n4的電壓。其中,時脈CKc係關聯於時脈CKcmp,故也關聯於時脈CK。時脈CKcmp與時脈CKc的頻率可以是相同的,但兩者間的相位相差90度。The load 54 (the first load) is coupled to the first comparison input of the comparator 34 at the node n3, and coupled to the operating voltage G at the node n4. The load 54 establishes a voltage VC (first voltage) at the node n3 in accordance with the current Ix1 of the clock CK and the first comparison input (node n3). The load 54 includes a capacitor C (first capacitor) and a switch S. The capacitor C is coupled between the nodes n3 and n4. The switch S is also coupled between the nodes n3 and n4 to selectively turn on the node n3 to the operating voltage G according to a clock CKc (switching clock). For example, when the current pulse CKc is low, the switch S stops conducting between the nodes n3 and n4, so that the current Ix1 can charge the capacitor C; relatively, when the current pulse CKc is high, the switch S turns the node n3 to the node. The operating voltage G of n4 bypasses the current Ix1 to the capacitor C, and the capacitor C can also be reset to the voltage of the node n4. Among them, the clock CKc is associated with the clock CKcmp, so it is also associated with the clock CK. The frequency of the clock CKcmp and the clock CKc may be the same, but the phase between them is 90 degrees out of phase.
第二參考產生器32b中包括有一放大器52(如一差動放大器)、一電晶體P1與一電阻Rset。放大器52具有一第一放大器輸入端、一第二放大器輸入端(第3圖中分別以「+」、「-」標示)與一放大器輸出端;第二放大器輸入端耦接一電壓VBG(即一參考電壓),第一放大器輸入端則耦接節點n2。在一實施例中,電壓VBG係由一帶隙電路(未圖示)所提供的帶隙(bandgap)參考電壓。The second reference generator 32b includes an amplifier 52 (such as a differential amplifier), a transistor P1 and a resistor Rset. The amplifier 52 has a first amplifier input terminal, a second amplifier input terminal (indicated by "+" and "-" in FIG. 3) and an amplifier output terminal; the second amplifier input terminal is coupled to a voltage VBG (ie, A reference voltage), the first amplifier input is coupled to node n2. In one embodiment, voltage VBG is a bandgap reference voltage provided by a bandgap circuit (not shown).
電晶體P1可以是一p通道金氧半電晶體,其可等效為一受控電流源。電晶體P1於節點n1的閘極可視為一參考控制端,耦接放大器52的放大器輸出端。電晶體P1的源極於節點n0耦接工作電壓Vcc,汲極則可作為一參考電流端,於節點n2耦接第一放大器輸入端。The transistor P1 can be a p-channel MOS transistor, which can be equivalent to a controlled current source. The gate of the transistor P1 at the node n1 can be regarded as a reference control terminal, and is coupled to the amplifier output of the amplifier 52. The source of the transistor P1 is coupled to the operating voltage Vcc at the node n0, and the drain is used as a reference current terminal, and coupled to the first amplifier input terminal at the node n2.
電阻Rset可視為一參考負載,耦接於節點n2與n4之間,依據電晶體P1於節點n2提供的電流Ix2而提供電壓VR。一實施例中,電阻Rset為一外接的精確電阻。也就是說,除電阻Rset之外,動態偏壓電路30與時脈運作電路56可整合於同一晶片中,電阻Rset則經由此晶片的外接接腳而耦接至晶片中的節點n2(與n4)。The resistor Rset can be regarded as a reference load, coupled between the nodes n2 and n4, and provides a voltage VR according to the current Ix2 provided by the transistor P1 at the node n2. In one embodiment, the resistor Rset is an external precision resistor. That is, in addition to the resistor Rset, the dynamic bias circuit 30 and the clock operation circuit 56 can be integrated in the same wafer, and the resistor Rset is coupled to the node n2 in the wafer via the external pin of the chip (and N4).
在第3圖實施例中,調整電路36包括一判斷電路38與兩電流源48b與50b。判斷電路38於節點n6耦接比較器34的比較輸出端,以依據訊號CMP中的比較結果提供訊號Df與訊號Do。電流源48b可視為一第二可變電流源,耦接於節點n0與n7之間,具有一受控端58b(第二受控端)與一電流端(第二電流端),前者耦接訊號Do,後者則耦接節點n7。電流源48b依據訊號Do而於節點n7提供電流Itune2;當訊號Do的數值改變,電流Itune2的電流大小也隨之改變。舉例而言,訊號Do中的資料可以是一N位元數值,其數值可以是由0至(2^N-1);對應地,電流源48b提供的電流Itune2也可以是由0至(2^N-1)個單位的電流。舉例而言,類似於電流源48a,電流源48b的電流Itune2也可以是:Itune2=Do*Iu2/(2^N),其中Iu2為一常數。In the embodiment of Figure 3, the adjustment circuit 36 includes a decision circuit 38 and two current sources 48b and 50b. The determining circuit 38 is coupled to the comparison output of the comparator 34 at the node n6 to provide the signal Df and the signal Do according to the comparison result in the signal CMP. The current source 48b can be regarded as a second variable current source coupled between the nodes n0 and n7, and has a controlled end 58b (second controlled end) and a current end (second current end) coupled to the former. Signal Do, the latter is coupled to node n7. The current source 48b supplies the current Itune2 to the node n7 according to the signal Do; when the value of the signal Do changes, the current of the current Itune2 also changes. For example, the data in the signal Do may be an N-bit value, and the value may be from 0 to (2^N-1); correspondingly, the current Itune2 provided by the current source 48b may also be from 0 to (2) ^N-1) current per unit. For example, similar to the current source 48a, the current Itune2 of the current source 48b may also be: Itune2=Do*Iu2/(2^N), where Iu2 is a constant.
另一電流源50b則可作為一第二定電流源,亦耦接於節點n0與n7之間,並於節點n7提供電流Ifx2。電流Itune2與Ifx2會在節點n7匯合成電流Io,也就是要供應至時脈運作電路56的偏壓電流。The other current source 50b can be used as a second constant current source, and is also coupled between the nodes n0 and n7, and provides a current Ifx2 at the node n7. The currents Itune2 and Ifx2 combine to sink the current Io at node n7, that is, the bias current to be supplied to the clock operation circuit 56.
在第3圖實施例中,判斷電路38設有一計數器40、一溢位偵測器42與一鎖定偵測器46,三者可以是數位邏輯電路。計數器40於節點n6耦接比較器34,依據訊號CMP中的比較結果而選擇性地增加與減少一筆數位的計數值Dv。舉例而言,計數值Dv可以是一N位元的數值,故其數值可以是0至(2^N-1)。若訊號CMP為邏輯0(即電壓VR小於VC),則計數器40的計數值Dv會增加1;相對地,若訊號CMP為邏輯1(電壓VR大於VC),計數值Dv則會減少1。調整電路36就是依據記數值Dv提供訊號Df、Do與電流Io。舉例而言,當計數值Dv增加時,調整電路36使訊號Df的數值也隨之增加;反之,當計數值Dv減少時,調整電路36也使訊號Df的數值減少。In the embodiment of FIG. 3, the determining circuit 38 is provided with a counter 40, an overflow detector 42 and a lock detector 46, which may be digital logic circuits. The counter 40 is coupled to the comparator 34 at the node n6 to selectively increase and decrease the count value Dv of one digit according to the comparison result in the signal CMP. For example, the count value Dv may be a value of one N-bit, so the value may be 0 to (2^N-1). If the signal CMP is logic 0 (ie, the voltage VR is less than VC), the counter value Dv of the counter 40 is increased by 1; in contrast, if the signal CMP is logic 1 (voltage VR is greater than VC), the count value Dv is decreased by one. The adjustment circuit 36 provides the signals Df, Do and the current Io based on the value Dv. For example, when the count value Dv increases, the adjustment circuit 36 also increases the value of the signal Df; conversely, when the count value Dv decreases, the adjustment circuit 36 also reduces the value of the signal Df.
鎖定偵測器46於節點n5與n6分別耦接計數器40與比較器34,並另耦接於溢位偵測器42與電流源48b的受控端58b。鎖定偵測器46依據訊號CMP中的比較結果偵測計數值Dv是否已趨近一穩態值,並據以提供訊號Do。舉例而言,當計數值Dv隨時間變化的幅度仍然很大時,鎖定偵測器46不會改變訊號Do的數值。反之,當計數值Dv於一穩態值上增減的幅度已小於一容忍範圍並持續一段預設時間,可判斷計數值Dv已經趨近於該穩態值,故鎖定偵測器46會依據該穩態值設定訊號Do的數值,而調整電路36即可依據訊號Do控制電流源48b以產生偏壓電流Io。The lock detector 46 is coupled to the counter 40 and the comparator 34 at nodes n5 and n6, respectively, and is coupled to the overflow detector 42 and the controlled terminal 58b of the current source 48b. The lock detector 46 detects whether the count value Dv has approached a steady state value according to the comparison result in the signal CMP, and accordingly provides the signal Do. For example, when the magnitude of the count value Dv changes with time is still large, the lock detector 46 does not change the value of the signal Do. On the contrary, when the increase or decrease of the count value Dv on a steady state value is less than a tolerance range for a predetermined period of time, it can be determined that the count value Dv has approached the steady state value, so the lock detector 46 will be based on The steady state value sets the value of the signal Do, and the adjustment circuit 36 controls the current source 48b according to the signal Do to generate the bias current Io.
溢位偵測器42耦接於計數器40與鎖定偵測器46,並另耦接於電流源48a的受控端58a,向電流源48a提供訊號Df。溢位偵測器42偵測計數值Dv是否將超過一預設範圍;若是,則使計數值Dv保持不變。舉例而言,對N位元計數值Dv而言,前述預設範圍可以由0與(2^N-1)定義。若N位元計數值Dv已經等於0,但訊號CMP仍要使計數值Dv減少,則計數值Dv會因欠位(underflow)而使其數循環至(2^N-1);為防止此種情形發生,當計數值Dv將要由0繼續減少時,溢位偵測器42會使計數值Dv維持為0。當計數值Dv維持不變,訊號Df的數值也維持不變。對應於數值0的計數值Dv,訊號Df會使電流源48a的電流Itune1的電流值為零,訊號Do則使電流源48b的電流Itune2為零;不過,由於電流源50a與50b皆會持續提供電流Ifx1與Ifx2,故電流Io會持續維持一最小值,即電流Ifx2。The overflow detector 42 is coupled to the counter 40 and the lock detector 46, and is coupled to the controlled terminal 58a of the current source 48a to provide a signal Df to the current source 48a. The overflow detector 42 detects whether the count value Dv will exceed a predetermined range; if so, the count value Dv remains unchanged. For example, for the N-bit count value Dv, the aforementioned preset range may be defined by 0 and (2^N-1). If the N-bit count value Dv is already equal to 0, but the signal CMP still has to decrease the count value Dv, the count value Dv will be cycled to (2^N-1) due to underflow; to prevent this A situation occurs when the count value Dv is to continue to decrease by 0, the overflow detector 42 maintains the count value Dv at zero. When the count value Dv remains unchanged, the value of the signal Df remains unchanged. Corresponding to the count value Dv of the value 0, the signal Df will make the current value of the current Itune1 of the current source 48a zero, and the signal Do will make the current Itune2 of the current source 48b zero; however, since the current sources 50a and 50b will continue to provide The currents Ifx1 and Ifx2, the current Io will continue to maintain a minimum value, that is, current Ifx2.
相對地,當訊號CMP要使計數值Dv由(2^N-1)持續增加時,溢位偵測器42會將計數值Dv維持於(2^N-1),避免計數值Dv在遞增1後反而循環回到0。In contrast, when the signal CMP is to continuously increase the count value Dv from (2^N-1), the overflow detector 42 maintains the count value Dv at (2^N-1), preventing the count value Dv from being incremented. After 1, it loops back to 0.
動態偏壓電路30的運作原理可用第4圖來說明。在第4圖的例子中,時脈CKc與CKcmp的頻率為時脈CK的1/2,也就是說,若時脈CK的週期為Ts,時脈CKc與CKcmp的週期則為2*Ts。時脈CKcmp的相位可以領先於時脈CKc的相位,兩者差異90度,即在時間軸上有Ts/2的差異。The principle of operation of the dynamic bias circuit 30 can be illustrated in FIG. In the example of Fig. 4, the frequency of the clocks CKc and CKcmp is 1/2 of the clock CK, that is, if the period of the clock CK is Ts, the period of the clocks CKc and CKcmp is 2*Ts. The phase of the clock CKcmp can be ahead of the phase of the clock CKc, which differs by 90 degrees, that is, there is a difference in Ts/2 on the time axis.
由於電壓VR是基於電壓值固定的電壓VBG而建立的,故電壓VR也是一個定值電壓,不隨時間改變,在第4圖呈一水平線。在時點t1m至t1p之間,時脈CKc的低位準使開關S不導通,電流Ix1對電容C充電,使電壓VC由節點n4的工作電壓G開始上升。在時點t1,時脈CKcmp的升緣觸發比較器34;由於比較器34取樣到的比較結果是電壓VC小於電壓VR,故訊號CMP會在時點t1至t2中維持邏輯0,而計數器40會使計數值Dv增加1,連帶增加訊號Df的數值,使電流Itune1增加,而電流Ix1也隨之增加。不過,在時點t1p至t2m之間,訊號CKc的高位準使開關S導通,電容Cf放電,電壓VC會被重設至節點n4的電壓。在時點t2m至t2p之間,訊號CKc的低位準再度使開關S不導通,電流Ix1就會再度向電容C充電而使電壓VC升高。由於電流Ix1已在時點t1後增加,故在時點t2m至t2p之間,電壓VC的改變率(電壓隨時間上升的速度)會增加,使電壓VC更快速地遞增。Since the voltage VR is established based on the voltage VBG with a fixed voltage value, the voltage VR is also a constant voltage and does not change with time, and is shown as a horizontal line in FIG. Between the time points t1m and t1p, the low level of the clock CKc causes the switch S to be non-conducting, and the current Ix1 charges the capacitor C, so that the voltage VC starts to rise from the operating voltage G of the node n4. At time t1, the rising edge of the clock CKcmp triggers the comparator 34; since the comparison result sampled by the comparator 34 is that the voltage VC is less than the voltage VR, the signal CMP will maintain a logic 0 at the time point t1 to t2, and the counter 40 will The count value Dv is increased by 1, which in turn increases the value of the signal Df, causing the current Itune1 to increase and the current Ix1 to increase. However, between the time points t1p and t2m, the high level of the signal CKc turns on the switch S, the capacitor Cf discharges, and the voltage VC is reset to the voltage of the node n4. Between the time points t2m and t2p, the low level of the signal CKc again causes the switch S to be non-conducting, and the current Ix1 will again charge the capacitor C to raise the voltage VC. Since the current Ix1 has increased after the time point t1, the rate of change of the voltage VC (the speed at which the voltage rises with time) increases between the time points t2m and t2p, causing the voltage VC to increase more rapidly.
到了時點t2,時脈CKcmp的升緣再度觸發比較器34,假設訊號CMP仍反映電壓VC小於電壓VR。因此,計數值Dv會在時點t2後再度遞增,並經由訊號Df的數值增加而使電流源48a提供的電流Itune1進一步加大,電流Ix1也隨之增大。At time t2, the rising edge of the clock CKcmp triggers the comparator 34 again, assuming that the signal CMP still reflects that the voltage VC is less than the voltage VR. Therefore, the count value Dv is incremented again after the time point t2, and the current Itune1 supplied from the current source 48a is further increased by the value of the signal Df, and the current Ix1 is also increased.
經由時點t2p至t3m間的重設,電壓VC於時點t3m至t3p之間再度因電流Ix1的充電而上升,而電壓VC的改變率會因電流Ix1的增加而進一步增強,使電壓VC的電壓值更快速地累積。假設增強的電流Ix1會使電壓VC在時點t3超越電壓VR(如第4圖所示),當時脈CKcmp在時點t3的升緣再度觸發比較器34後,比較器34的訊號CMP就會在時點t3後改變為邏輯1。連帶地,在時點t3之後,計數值Dv會減少1,訊號Df的數值也減少,而電流Itune1與Ix1也相應減少。Through the reset between the time points t2p and t3m, the voltage VC rises again due to the charging of the current Ix1 between the time points t3m and t3p, and the rate of change of the voltage VC is further enhanced by the increase of the current Ix1, so that the voltage value of the voltage VC is increased. Accumulate more quickly. Assume that the enhanced current Ix1 causes the voltage VC to exceed the voltage VR at time t3 (as shown in Fig. 4). When the rising edge of the pulse CKcmp triggers the comparator 34 again at the time point t3, the signal CMP of the comparator 34 is at the time point. Change to logic 1 after t3. Incidentally, after the time point t3, the count value Dv is decreased by 1, the value of the signal Df is also decreased, and the currents Itune1 and Ix1 are also reduced accordingly.
等到時點t4m至t4p之間,由於電流Ix1減少,故電壓VC在時點t4時又會小於電壓VR;經由比較器34與計數器40的運作,訊號Df會使電流Ix1再度增加。故在時點t5m至t5p之間與時點t7m至t7p之間,電壓VC會重複時點t3m與t3p間的波形。同理,在時點t6m至t6p之間,電壓VC會重複時點t4m至t4p間的波形,以此類推。換言之,在時點t3m之後,電壓VC在時脈CKcmp的每個升緣會交替地大於與小於電壓VR,訊號CMP會交替於邏輯1與邏輯0,計數值Dv也會交替地減少1與增加1。這代表計數值Dv已經趨於穩態值並達成鎖定,而鎖定偵測器46便可依據該穩態值設定訊號Do的數值,進而使電流源48b產生對應的偏壓電流Io。一實施例中,鎖定偵測器46可計算訊號CMP在邏輯0與邏輯1間發生交替的連續次數是否已經大於一預設次數,若是,則判斷已經達成穩態鎖定,並依據計數值Dv的穩態值設定訊號Do的數值。Waiting until the time point t4m to t4p, since the current Ix1 is reduced, the voltage VC is again smaller than the voltage VR at the time point t4; the signal Df causes the current Ix1 to increase again via the operation of the comparator 34 and the counter 40. Therefore, between the time point t5m to t5p and the time point t7m to t7p, the voltage VC repeats the waveform between the points t3m and t3p. Similarly, between time t6m and t6p, the voltage VC will repeat the waveform between the points t4m and t4p, and so on. In other words, after the time point t3m, the voltage VC is alternately greater than and less than the voltage VR at each rising edge of the clock CKcmp, the signal CMP is alternated between logic 1 and logic 0, and the count value Dv is alternately decreased by 1 and incremented by 1. . This means that the count value Dv has reached a steady state value and a lock is achieved, and the lock detector 46 can set the value of the signal Do according to the steady state value, thereby causing the current source 48b to generate a corresponding bias current Io. In one embodiment, the lock detector 46 can calculate whether the consecutive number of consecutive times between the logic 0 and the logic 1 of the signal CMP has been greater than a predetermined number of times, and if so, it is determined that the steady state lock has been achieved, and according to the count value Dv The steady state value sets the value of the signal Do.
若時脈CK較快,週期Ts會較短,需要數值較大的計數Dv與訊號Df才能以較高的電流Ix1來使電壓VC在短週期內快速累積到足以超越電壓VR;因此,到達穩態鎖定後,高速的時脈CK會對應數值較高的訊號Do,電流Io也較大,以因應時脈運作電路56的較大偏壓需求。相對地,若時脈CK的頻率較低,週期Ts較長,以數值較低的計數值Dv與訊號Df即可達成穩態鎖定,故訊號Do的數值也較低,電流Io也變小。If the clock CK is faster, the period Ts will be shorter, and the larger value Dv and the signal Df are required to enable the voltage VC to rapidly accumulate in the short period enough to exceed the voltage VR with a higher current Ix1; After the state is locked, the high speed clock CK will correspond to the signal Do having a higher value, and the current Io is also larger to meet the larger bias demand of the clock operation circuit 56. In contrast, if the frequency of the clock CK is low and the period Ts is long, the steady state lock can be achieved by the lower value of the count value Dv and the signal Df, so that the value of the signal Do is also lower, and the current Io is also smaller.
由穩態鎖定的條件可知,在穩態鎖定時,電流Ix1對電容C充電Ts/2週期後所得的電壓VC會趨近於電壓VR;此時,電壓VC=(Ix1/C)*Ts/2,定值電壓VR=Ix2*Rset(請參考第3圖)。令電壓VC=VR,可得到C*Rset=(Ix1/Ix2)*Ts/2=(Kfix+Df*KR/(2^N))*Ts/2;其中,Ix1=Itune1+Ifx1,Itune1=Df*Iu1/(2^N),Kfix=(Ifx1/Ix2),KR=(Iu1/Ix2)。一實施例中,電流源48a與48b為互相匹配、互為複製(replica),電流源50a與50b亦互為複製;達到鎖定時,由於訊號Do的數值可以等於訊號Df,故電流Itune1=Itune2,且電流Ifx1=Ifx2。因此,完成鎖定時,時脈CK的頻率Fck可計算為:It can be seen from the steady-state locking condition that, during steady-state locking, the voltage VC obtained by charging the capacitor C for Ts/2 cycles after the current Ix1 is charged will approach the voltage VR; at this time, the voltage VC=(Ix1/C)*Ts/ 2. The fixed voltage VR=Ix2*Rset (please refer to Figure 3). Let the voltage VC=VR, get C*Rset=(Ix1/Ix2)*Ts/2=(Kfix+Df*KR/(2^N))*Ts/2; where Ix1=Itune1+Ifx1,Itune1= Df*Iu1/(2^N), Kfix=(Ifx1/Ix2), KR=(Iu1/Ix2). In one embodiment, the current sources 48a and 48b are mutually matched and mutually replicated, and the current sources 50a and 50b are also mutually replicated; when the lock is reached, since the value of the signal Do can be equal to the signal Df, the current Itune1=Itune2 And the current Ifx1 = Ifx2. Therefore, when the lock is completed, the frequency Fck of the clock CK can be calculated as:
Fck=1/Ts=(Kfix+Do*KR/(2^N))/(2*C*Rset) --(式1)。Fck=1/Ts=(Kfix+Do*KR/(2^N))/(2*C*Rset) -- (Formula 1).
由(式1)可知,時脈CK的頻率越高,訊號Do的數值也越大,使偏壓電流Io也對應地變大,以實現時脈動態偏壓的功能。It can be seen from (Formula 1) that the higher the frequency of the clock CK is, the larger the value of the signal Do is, and the bias current Io is correspondingly increased to realize the function of the clock dynamic bias.
時脈運作電路56的時脈CK會在一頻率變動範圍中變動,也就是說,時脈CK的頻率Fck會在此頻率變動範圍的上限頻率與下限頻率間變動。為了因應時脈CK的變動而動態調整偏壓電流Io,訊號Do的數值上限與下限應分別對應頻率變動範圍上限頻率與下限頻率。因此,將訊號Do的數值上限與下限代入至(式1)中,就能得知動態偏壓電路30所能支援的頻率變動範圍。The clock CK of the clock operation circuit 56 varies in a frequency variation range, that is, the frequency Fck of the clock CK varies between the upper limit frequency and the lower limit frequency of the frequency variation range. In order to dynamically adjust the bias current Io in response to the fluctuation of the clock CK, the upper and lower limits of the signal Do should correspond to the upper limit frequency and the lower limit frequency of the frequency variation range, respectively. Therefore, by substituting the upper and lower numerical limits of the signal Do into (Formula 1), the frequency variation range that the dynamic bias circuit 30 can support can be known.
在(式1)中,假設N=5(即訊號Do與Df同為5位元資料,其數值可以是由0至31),Kfix=1/8,KR=1,Rset*C=6.25奈秒(nanosecond),則當訊號Do的數值為0時,時脈CK的頻率Fck為10MHz(1MHz為一百萬赫茲);當訊號Do為31時,時脈CK的頻率Fck則為87.5MHz。換言之,在此例中,動態偏壓電路30可支援的頻率變動範圍是由10MHz至87.5MHz。In (Formula 1), assume N=5 (ie, the signals Do and Df are 5 bits of data, the value can be from 0 to 31), Kfix=1/8, KR=1, Rset*C=6.25 Second (nanosecond), when the value of the signal Do is 0, the frequency Fck of the clock CK is 10 MHz (1 MHz is 1 megahertz); when the signal Do is 31, the frequency Fck of the clock CK is 87.5 MHz. In other words, in this example, the range of frequency variation that the dynamic bias circuit 30 can support is from 10 MHz to 87.5 MHz.
在一種實施例中,電流源48a與48b互為複製,電流源50a與50b亦互相複製。另一種實施例中,電流源48a的電流驅動能力可以是電流源48b的M倍,電流源50a的電流驅動能力也可以是電流源50b的M倍。In one embodiment, current sources 48a and 48b are replicated with each other and current sources 50a and 50b are also replicated. In another embodiment, the current driving capability of the current source 48a may be M times that of the current source 48b, and the current driving capability of the current source 50a may be M times that of the current source 50b.
相較於第1圖習知動態偏壓電路10,本發明動態偏壓電路30的優點可討論如下。由於本發明動態偏壓電路能以數位調整技術來抑制時脈雜訊,因此,本發明不需要低通濾波器,也不會因低通濾波器的布局面積考量而無法因應較低的下限頻率。舉例而言,當數位的判斷電路38運作時,計數值Dv與訊號Df可能會在時脈CKcmp的每個週期中增減改變其數值,但在達成鎖定前,判斷電路38不會改變訊號Do的數值。因此,訊號Df的增減不會影響訊號Do的穩定,而時脈雜訊也就不會經由訊號Do而耦合至偏壓電流Io。再者,即使時脈運作電路56的頻率Fck低於下限頻率時,偏壓電流Io也不會隨之降低,其可維持一適當的最小值,即電流Ifx2。適當的電流最小值可確保時脈運作電路56在低頻下仍能得到足夠的偏壓電流,以維持其正常運作。The advantages of the dynamic bias circuit 30 of the present invention can be discussed as follows, as compared to the conventional dynamic bias circuit 10 of FIG. Since the dynamic bias circuit of the present invention can suppress the clock noise by the digital adjustment technique, the present invention does not require a low-pass filter, and does not depend on the layout area of the low-pass filter to meet the lower limit. frequency. For example, when the digital judgment circuit 38 operates, the count value Dv and the signal Df may increase or decrease in each period of the clock CKcmp to change its value, but before the lock is reached, the judgment circuit 38 does not change the signal Do. The value. Therefore, the increase or decrease of the signal Df does not affect the stability of the signal Do, and the clock noise is not coupled to the bias current Io via the signal Do. Furthermore, even if the frequency Fck of the clock operation circuit 56 is lower than the lower limit frequency, the bias current Io does not decrease, and an appropriate minimum value, that is, the current Ifx2 can be maintained. The appropriate current minimum ensures that the clock operation circuit 56 still receives sufficient bias current at low frequencies to maintain proper operation.
本發明亦提供一種動態偏壓技術,其施行可由動態偏壓電路30的運作來舉例說明。當要動態地依據時脈CK而提供偏壓電流Io時,可依據訊號Df與時脈CK而提供電壓(電壓訊號)VR,比較電壓VR與VC並提供訊號CMP反映比較結果,並依據訊號CMP中的比較結果提供訊號Df並產生偏壓電流Io。如判斷電路38的運作,其係依據訊號CMP中的比較結果選擇性地增加與減少計數值Dv,並依據計數值Dv提供訊號Df與Do。判斷電路38亦依據訊號CMP進行一鎖定偵測,以判斷計數值Dv是否趨近一穩態值;若是,則依據該穩態值提供訊號Do,使調整電路36依據訊號Do產生偏壓電流Io。再者,判斷電路38也會進行一溢位偵測,以偵測計數值Dv是否將超過一預設範圍;若是,則使計數值Dv保持不變。The present invention also provides a dynamic biasing technique that can be exemplified by the operation of the dynamic biasing circuit 30. When the bias current Io is dynamically provided according to the clock CK, the voltage (voltage signal) VR may be supplied according to the signal Df and the clock CK, and the voltage VR and the VC are compared to provide a signal CMP to reflect the comparison result, and according to the signal CMP The comparison result in the signal provides the signal Df and generates a bias current Io. If the operation of the circuit 38 is judged, it selectively increases and decreases the count value Dv according to the comparison result in the signal CMP, and provides the signals Df and Do according to the count value Dv. The determining circuit 38 also performs a lock detection according to the signal CMP to determine whether the count value Dv approaches a steady state value; if so, the signal Do is provided according to the steady state value, so that the adjusting circuit 36 generates the bias current Io according to the signal Do. . Moreover, the judging circuit 38 also performs an overflow detection to detect whether the count value Dv will exceed a predetermined range; if so, the count value Dv is kept unchanged.
請參考第5圖,其所示意的是依據本發明又一實施例的動態偏壓電路60,以依據時脈CK的頻率提供偏壓,如偏壓電流Io。動態偏壓電路60包括一第一參考產生器62a、一第二參考產生器62b、一比較器64與一調整電路66。Referring to FIG. 5, illustrated is a dynamic bias circuit 60 for providing a bias voltage, such as bias current Io, in accordance with the frequency of the clock CK, in accordance with yet another embodiment of the present invention. The dynamic bias circuit 60 includes a first reference generator 62a, a second reference generator 62b, a comparator 64 and an adjustment circuit 66.
第一參考產生器62a包括兩電流源70a與74a,電流源70a可以是一可變電流源,具有一受控端72a與一電流端,分別耦接訊號Df(回授訊號)與節點n3;電流源70a會依據訊號Df的數值而於節點n3提供電流Itune1。電流源74a可以是一個定電流源,耦接節點n3,並於節點n3端提供一電流值固定的定值電流Ifx1。電流Itune1與Ifx1在節點n3匯合為電流Ix1,以作為一第一參考訊號。The first reference generator 62a includes two current sources 70a and 74a, and the current source 70a can be a variable current source having a controlled terminal 72a and a current terminal coupled to the signal Df (return signal) and the node n3; Current source 70a provides current Itune1 at node n3 based on the value of signal Df. The current source 74a can be a constant current source coupled to the node n3 and provide a fixed current value Ifx1 with a fixed current value at the node n3. The currents Itune1 and Ifx1 merge at node n3 into current Ix1 as a first reference signal.
第二參考產生器62b中設有一電流源76,例如說是一個定電流源,提供一電流值固定的預設定電流Ifx0以作為一第二參考訊號。The second reference generator 62b is provided with a current source 76, for example, a constant current source, and a predetermined current Ifx0 having a fixed current value is provided as a second reference signal.
比較器64可以是一電流模式的比較器,用以比較電流Ix1與Ifx0這兩個電流訊號,並提供一訊號CMP以反映比較結果。比較器64具有一第一比較輸入端、一第二比較輸入端與一比較輸出端,前兩者分別耦接於節點n3、n2以接收電流Ix1與Ifx0。Comparator 64 can be a current mode comparator for comparing current signals Ix1 and Ifx0 and providing a signal CMP to reflect the comparison. The comparator 64 has a first comparison input, a second comparison input and a comparison output. The first two are respectively coupled to the nodes n3 and n2 to receive the currents Ix1 and Ifx0.
調整電路66設有一判斷電路68與兩電流源70b及74b。判斷電路68可以是一數位電路,耦接比較器64的比較輸出端,依據訊號CMP反映的比較結果提供訊號Df與另一訊號Do(即一輸出訊號)。電流源70b可以是一可變電流源,具有一受控端72b與一電流端,分別耦接訊號Do與節點n7,以依據訊號Do的數值大小而於節點n7提供電流Itune2。電流源74b可以是一個提供定值電流的定電流源,耦接節點n7,提供一個定電流Ifx2。電流Itune2與Ifx2於節點n7匯合為電流Io。The adjustment circuit 66 is provided with a determination circuit 68 and two current sources 70b and 74b. The determining circuit 68 can be a digital circuit coupled to the comparison output of the comparator 64 to provide a signal Df and another signal Do (ie, an output signal) according to the comparison result reflected by the signal CMP. The current source 70b can be a variable current source having a controlled terminal 72b and a current terminal coupled to the signal Do and the node n7 respectively to provide a current Itune2 at the node n7 according to the magnitude of the signal Do. Current source 74b can be a constant current source that provides a constant current, coupled to node n7, to provide a constant current Ifx2. The currents Itune2 and Ifx2 converge at node n7 as current Io.
動態偏壓電路60的運作可由動態偏壓電路30的運作類推。舉例而言,當第一參考產生器62a產生電流Ix1時,可以依據訊號Df的數值大小設定電流Ix1的改變率(單位時間內的電流改變量),並以其累積的改變量反映時脈CK的頻率。電流Ifx0則是電流值固定的定電流。電流模式的比較器64比較電流Ix1與Ifx0的電流大小,判斷電路68則依據比較結果更新訊號Df的數值,以回授改變電流Ix1的改變率,進而使電流Ix1的大小能鎖定至電流Ifx0的電流大小。達成鎖定後,判斷電路68依據訊號Df設定訊號Do的數值,使偏壓電流Io能因應時脈CK的頻率。The operation of the dynamic bias circuit 60 can be analogized to the operation of the dynamic bias circuit 30. For example, when the first reference generator 62a generates the current Ix1, the rate of change of the current Ix1 (the amount of current change per unit time) can be set according to the magnitude of the signal Df, and the clock CK is reflected by the accumulated change amount thereof. Frequency of. The current Ifx0 is a constant current with a fixed current value. The current mode comparator 64 compares the currents of the currents Ix1 and Ifx0, and the determining circuit 68 updates the value of the signal Df according to the comparison result to feedback the change rate of the changing current Ix1, thereby enabling the current Ix1 to be locked to the current Ifx0. Current size. After the lock is reached, the judging circuit 68 sets the value of the signal Do according to the signal Df so that the bias current Io can respond to the frequency of the clock CK.
總結來說,相較於習知技術,本發明時脈動態偏壓技術可以用數位技術隔離、減抑時脈雜訊,不需使用低通濾波器,並可避免時脈頻率過低時偏壓不足。In summary, compared with the prior art, the clock dynamic bias technology of the present invention can use digital technology to isolate and suppress clock noise, eliminate the need for a low-pass filter, and avoid bias when the clock frequency is too low. Insufficient pressure.
綜上所述,雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明。本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾。因此,本發明之保護範圍當視後附之申請專利範圍所界定者為準。In conclusion, the present invention has been disclosed in the above preferred embodiments, and is not intended to limit the present invention. A person skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.
10、20、30、60...動態偏壓電路10, 20, 30, 60. . . Dynamic bias circuit
12、52...放大器12, 52. . . Amplifier
14、54...負載14, 54. . . load
22a、32a、62a...第一參考產生器22a, 32a, 62a. . . First reference generator
22b、32b、62b...第二參考產生器22b, 32b, 62b. . . Second reference generator
24、34、64...比較器24, 34, 64. . . Comparators
26、36、66...調整電路26, 36, 66. . . Adjustment circuit
38、68...判斷電路38, 68. . . Judging circuit
40...計數器40. . . counter
42...溢位偵測器42. . . Overflow detector
46...鎖定偵測器46. . . Lock detector
48a-48b、50a-50b、70a-70b、74a-74b、76...電流源48a-48b, 50a-50b, 70a-70b, 74a-74b, 76. . . Battery
56...時脈運作電路56. . . Clock operation circuit
58a-58b、72a-72b...受控端58a-58b, 72a-72b. . . Controlled end
Sr1、Sr2、CMP、Sf、Df、Do...訊號Sr1, Sr2, CMP, Sf, Df, Do. . . Signal
Dv...記數值Dv. . . Value
LPF...低通濾波器LPF. . . Low pass filter
PL、PR、P1、N1...電晶體PL, PR, P1, N1. . . Transistor
Ix、Io1、Io、Ix2、Ix1、Ifx0-Ifx2、Itune1-Itune2...電流Ix, Io1, Io, Ix2, Ix1, Ifx0-Ifx2, Itune1-Itune2. . . Current
Vx、VBG、VR、VC...電壓Vx, VBG, VR, VC. . . Voltage
Vcc、G...工作電壓Vcc, G. . . Operating Voltage
Cp、C...電容Cp, C. . . capacitance
Req、Rset...電阻Req, Rset. . . resistance
na-nc、n1-n7...節點Na-nc, n1-n7. . . node
Sp、SpB、S...開關Sp, SpB, S. . . switch
CK、CKB、CKc、CKcmp...時脈CK, CKB, CKc, CKcmp. . . Clock
Ts...週期Ts. . . cycle
t1-t7、t1m-t7m、t1p-t7p...時點T1-t7, t1m-t7m, t1p-t7p. . . Time
第1圖示意一習知動態偏壓電路。Figure 1 illustrates a conventional dynamic bias circuit.
第2圖示意的是依據本發明一實施例的動態偏壓電路。Figure 2 illustrates a dynamic bias circuit in accordance with an embodiment of the present invention.
第3圖示意的是依據本發明一實施例的動態偏壓電路。Figure 3 illustrates a dynamic bias circuit in accordance with an embodiment of the present invention.
第4圖示意第3圖中各相關訊號的波形時序。Figure 4 is a diagram showing the waveform timing of each of the related signals in Figure 3.
第5圖示意的是依據本發明又一實施例的動態偏壓電路。Figure 5 illustrates a dynamic bias circuit in accordance with yet another embodiment of the present invention.
20...動態偏壓電路20. . . Dynamic bias circuit
22a...第一參考產生器22a. . . First reference generator
22b...第二參考產生器22b. . . Second reference generator
24...比較器twenty four. . . Comparators
26...調整電路26. . . Adjustment circuit
Sr1、Sr2、CMP、Sf...訊號Sr1, Sr2, CMP, Sf. . . Signal
Io...電流Io. . . Current
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW100130763A TWI448874B (en) | 2011-08-26 | 2011-08-26 | Dynamic bias circuit and associated method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW100130763A TWI448874B (en) | 2011-08-26 | 2011-08-26 | Dynamic bias circuit and associated method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201310189A true TW201310189A (en) | 2013-03-01 |
| TWI448874B TWI448874B (en) | 2014-08-11 |
Family
ID=48481967
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW100130763A TWI448874B (en) | 2011-08-26 | 2011-08-26 | Dynamic bias circuit and associated method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI448874B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104777869A (en) * | 2015-03-27 | 2015-07-15 | 西安华芯半导体有限公司 | Quickly responded low dropout regulator capable of dynamically adjusting reference voltage |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7446517B2 (en) * | 2006-01-26 | 2008-11-04 | Semiconductor Components Industries L.L.C. | Power supply controller and method therefor |
| US8044654B2 (en) * | 2007-05-18 | 2011-10-25 | Analog Devices, Inc. | Adaptive bias current generator methods and apparatus |
| TWI371158B (en) * | 2007-12-13 | 2012-08-21 | Elite Semiconductor Esmt | Control circuit and method for controling switching regulator in buck-boost mode |
-
2011
- 2011-08-26 TW TW100130763A patent/TWI448874B/en not_active IP Right Cessation
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104777869A (en) * | 2015-03-27 | 2015-07-15 | 西安华芯半导体有限公司 | Quickly responded low dropout regulator capable of dynamically adjusting reference voltage |
| CN104777869B (en) * | 2015-03-27 | 2016-08-17 | 西安紫光国芯半导体有限公司 | A kind of low pressure difference linear voltage regulator of the quickly response of dynamic adjustment reference voltage |
Also Published As
| Publication number | Publication date |
|---|---|
| TWI448874B (en) | 2014-08-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9099994B2 (en) | Relaxation oscillator | |
| JP4357538B2 (en) | Semiconductor integrated circuit device | |
| US7659760B2 (en) | PLL circuit and semiconductor integrated device | |
| US6411142B1 (en) | Common bias and differential structure based DLL with fast lockup circuit and current range calibration for process variation | |
| US7961055B2 (en) | PLL circuit and oscillator device | |
| US8884676B2 (en) | Clock generator with duty cycle control and method | |
| KR100785721B1 (en) | Delay control circuit | |
| KR100861919B1 (en) | Multiphase signal generator and its method | |
| US9450588B2 (en) | Phase lock loop, voltage controlled oscillator of the phase lock loop, and method of operating the voltage controlled oscillator | |
| CN106911330A (en) | A kind of stable duty ratio circuit | |
| JP2014075744A (en) | Oscillator circuit | |
| US8836435B2 (en) | Oscillator with frequency determined by relative magnitudes of current sources | |
| KR20120012386A (en) | Lock Detection Circuits and Phase-Locked Loops Comprising the Same | |
| CN104956591B (en) | Phase locked loop and method for operating the same | |
| TWI448874B (en) | Dynamic bias circuit and associated method | |
| KR100510504B1 (en) | Differential charge pump and phase locked loop having the same | |
| TWI302058B (en) | Power management for low-jitter phase-locked loop in portable application | |
| JPH10209828A (en) | Internal clock generation circuit and variable delay circuit used therefor | |
| JP5751101B2 (en) | PLL circuit | |
| JP4828560B2 (en) | Triangular wave generation circuit and trapezoidal wave generation circuit | |
| Zhang et al. | A process compensated 3-GHz ring oscillator | |
| CN216451288U (en) | Dual-mode switching frequency control circuit | |
| JP2009005214A (en) | Clock phase controller | |
| JP2008193524A (en) | Voltage control delay device and DLL circuit | |
| RU2467473C1 (en) | Device for correcting pulse ratio of input signal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |