TW201909550A - Oscillator and control method - Google Patents
Oscillator and control method Download PDFInfo
- Publication number
- TW201909550A TW201909550A TW107116850A TW107116850A TW201909550A TW 201909550 A TW201909550 A TW 201909550A TW 107116850 A TW107116850 A TW 107116850A TW 107116850 A TW107116850 A TW 107116850A TW 201909550 A TW201909550 A TW 201909550A
- Authority
- TW
- Taiwan
- Prior art keywords
- oscillation frequency
- frequency
- target
- value
- signal
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03B—GENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS
- H03B5/00—Generation of oscillations using amplifier with regenerative feedback from output to input
- H03B5/30—Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element being electromechanical resonator
- H03B5/32—Generation of oscillations using amplifier with regenerative feedback from output to input with frequency-determining element being electromechanical resonator being a piezoelectric resonator
Landscapes
- Inductance-Capacitance Distribution Constants And Capacitance-Resistance Oscillators (AREA)
Abstract
Description
本揭示中所述實施例內容是有關於一種振盪器,且特別是有關於一種壓控振盪電路與控制其振盪頻率的方法。 The embodiments described in this disclosure are related to an oscillator, and more particularly to a voltage-controlled oscillator circuit and a method for controlling its oscillation frequency.
振盪器的振盪頻率是依據諧振槽的電感值以及電容值所決定。一般而言,可以透過控制電容值來調整振盪器的振盪頻率。然而,當環境條件(例如:溫度、電壓)改變時,需耗費大量的時間才能決定出適當的控制訊號來設定電容值,以使振盪器運作於預期的振盪頻率。 The oscillation frequency of the oscillator is determined by the inductance and capacitance of the resonant tank. Generally speaking, the oscillation frequency of the oscillator can be adjusted by controlling the capacitor value. However, when the environmental conditions (such as temperature and voltage) change, it takes a lot of time to determine the appropriate control signal to set the capacitor value, so that the oscillator operates at the expected oscillation frequency.
本揭示內容之一實施方式係關於一種振盪器。振盪器包含一壓控振盪電路以及一處理電路。壓控振盪電路用以依據一數位訊號產生一振盪頻率。當數位訊號為一第一訊號值時,振盪頻率為一第一振盪頻率。處理電路用以依據第一振盪頻率以及一目標振盪頻率決定數位訊號的一第二訊號值,以調整振盪頻率至一第二振盪頻率。處理電路更用 以一第一頻率差值與一第二頻率差值進行一內插運算以決定該數位訊號之一目標訊號值,以調整該振盪頻率至該目標振盪頻率,其中該第一頻率差值為該目標振盪頻率與該第一振盪頻率之間的差,且該第二頻率差值為該第二振盪頻率與該第一振盪頻率之間的差。 One embodiment of the present disclosure relates to an oscillator. The oscillator includes a voltage-controlled oscillation circuit and a processing circuit. The voltage-controlled oscillation circuit is used to generate an oscillation frequency according to a digital signal. When the digital signal is a first signal value, the oscillation frequency is a first oscillation frequency. The processing circuit is configured to determine a second signal value of the digital signal according to the first oscillation frequency and a target oscillation frequency to adjust the oscillation frequency to a second oscillation frequency. The processing circuit further performs an interpolation operation between a first frequency difference and a second frequency difference to determine a target signal value of the digital signal to adjust the oscillation frequency to the target oscillation frequency, wherein the first frequency The difference is a difference between the target oscillation frequency and the first oscillation frequency, and the second frequency difference is a difference between the second oscillation frequency and the first oscillation frequency.
本揭示內容之一實施方式係關於一種控制方法。控制方法包含:依據一數位訊號產生一壓控振盪電路的一振盪頻率,其中當數位訊號為一第一訊號值時,振盪頻率為一第一振盪頻率;依據第一振盪頻率以及一目標振盪頻率決定數位訊號的一第二訊號值,以調整振盪頻率至一第二振盪頻率;以及依據一第一頻率差值與一第二頻率差值進行一內插運算以決定該數位訊號之一目標訊號值,以調整該振盪頻率至該目標振盪頻率,其中該第一頻率差值為該目標振盪頻率與該第一振盪頻率之間的差,且該第二頻率差值為該第二振盪頻率與該第一振盪頻率之間的差。 One embodiment of the present disclosure relates to a control method. The control method includes: generating an oscillation frequency of a voltage controlled oscillation circuit according to a digital signal, wherein when the digital signal is a first signal value, the oscillation frequency is a first oscillation frequency; according to the first oscillation frequency and a target oscillation frequency Determining a second signal value of the digital signal to adjust the oscillation frequency to a second oscillation frequency; and performing an interpolation operation based on a first frequency difference and a second frequency difference to determine a target signal of the digital signal Value to adjust the oscillation frequency to the target oscillation frequency, wherein the first frequency difference is a difference between the target oscillation frequency and the first oscillation frequency, and the second frequency difference is the second oscillation frequency and The difference between the first oscillation frequencies.
綜上所述,透過上述至少一實施例,處理電路可快速決定目標訊號值,以控制壓控振盪電路運作於目標振盪頻率。 In summary, through the at least one embodiment described above, the processing circuit can quickly determine the target signal value to control the voltage-controlled oscillation circuit to operate at the target oscillation frequency.
100‧‧‧振盪器 100‧‧‧ Oscillator
102‧‧‧壓控振盪電路 102‧‧‧Voltage Controlled Oscillation Circuit
104‧‧‧處理電路 104‧‧‧Processing circuit
106‧‧‧暫存器 106‧‧‧Register
202‧‧‧可變電容陣列 202‧‧‧Variable capacitor array
500‧‧‧控制方法 500‧‧‧Control method
S520、S540、S560、S580‧‧‧步驟 S520, S540, S560, S580 ‧‧‧ steps
LUT‧‧‧查找表 LUT‧‧‧ Lookup Table
CVAR1、CVAR2、C1、C2、C3、C4、C5、C6、C7‧‧‧電容器 C VAR 1, C VAR 2, C1, C2, C3, C4, C5, C6, C7‧‧‧ capacitors
N1、N2、N3‧‧‧節點 N1, N2, N3‧‧‧ nodes
M1、M2、M3、SW1、SW2、SW3‧‧‧開關 M1, M2, M3, SW1, SW2, SW3‧‧‧ switches
VSW‧‧‧數位訊號 V SW ‧‧‧ Digital Signal
SSW1、SSW2‧‧‧訊號值 S SW 1, S SW 2‧‧‧ Signal value
SSW3‧‧‧目標訊號值 S SW 3‧‧‧ Target signal value
S[1]、S[2]、S[3]‧‧‧位元 S [1], S [2], S [3] ‧‧‧bits
VTUNE、VB‧‧‧控制電壓 V TUNE , V B ‧‧‧ Control voltage
VDD‧‧‧供應電壓 V DD ‧‧‧ Supply voltage
F、F1、F2‧‧‧振盪頻率 F, F1, F2‧‧‧oscillation frequency
FDES‧‧‧目標振盪頻率 F DES ‧‧‧Target Oscillation Frequency
△F1、△F2‧‧‧頻率差值 △ F1, △ F2‧‧‧ Frequency difference
L1‧‧‧電感器 L1‧‧‧Inductor
為讓本揭示之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之說明如下:第1圖是依照本揭示一些實施例所繪示的一種振盪器的示意圖; 第2圖是依照本揭示一些實施例所繪示的第1圖的壓控振盪電路的示意圖;第3圖是依照本揭示一些實施例所繪示的第2圖的可變電容陣列的示意圖;第4圖是依照本揭示一些實施例所繪示的第一振盪頻率、第二振盪頻率以及目標振盪頻率的關係的示意圖;以及第5圖是依照本揭示一些實施例所繪示的一種控制方法的流程圖。 In order to make the above and other objects, features, advantages, and embodiments of the present disclosure more comprehensible, the description of the drawings is as follows: FIG. 1 is a schematic diagram of an oscillator according to some embodiments of the present disclosure; FIG. 2 is a schematic diagram of the voltage-controlled oscillation circuit of FIG. 1 according to some embodiments of the present disclosure; FIG. 3 is a schematic diagram of the variable capacitor array of FIG. 2 according to some embodiments of the present disclosure; FIG. 4 is a schematic diagram showing the relationship between the first oscillation frequency, the second oscillation frequency, and the target oscillation frequency according to some embodiments of the present disclosure; and FIG. 5 is a control method according to some embodiments of the present disclosure. Flowchart.
下文係舉實施例配合所附圖式作詳細說明,但所提供之實施例並非用以限制本揭示所涵蓋的範圍,而結構運作之描述非用以限制其執行之順序,任何由元件重新組合之結構,所產生具有均等功效的裝置,皆為本揭示所涵蓋的範圍。此外,圖式僅以說明為目的,並未依照原尺寸作圖。為使便於理解,下述說明中相同元件或相似元件將以相同之符號標示來說明。 The following is a detailed description with examples and the accompanying drawings, but the examples provided are not intended to limit the scope covered by this disclosure, and the description of the structure operation is not intended to limit the order of its execution, and any recombination of components The structure of the device and the device with the same effect are all covered by the present disclosure. In addition, the drawings are for illustration purposes only, and are not drawn to the original dimensions. In order to facilitate understanding, the same elements or similar elements in the following description will be described with the same symbols.
在本文中所使用的用詞『耦接』亦可指『電性耦接』,且用詞『連接』亦可指『電性連接』。『耦接』及『連接』亦可指二個或多個元件相互配合或相互互動。 The term "coupling" used in this article can also refer to "electrical coupling", and the term "connection" can also mean "electrical connection". "Coupled" and "connected" can also mean that two or more components cooperate or interact with each other.
第1圖是依照本揭示一些實施例所繪示的一種振盪器100的示意圖。在一些實施例中,振盪器100包含壓控振盪電路102、處理電路104以及暫存器106。處理電路104耦接壓控振盪電路102以及暫存器106。處理電路104 可提供數位訊號VSW給壓控振盪電路102。壓控振盪電路102依據數位訊號VSW產生對應的振盪頻率F。處理電路104可偵測壓控振盪電路102基於數位訊號VSW運作時的振盪頻率F。舉例而言,在一些實施例中,處理電路104包含計數器。此計數器用以依據壓控振盪電路102所產生具有振盪頻率F的訊號進行計數,以產生不同的數值。如此,處理電路104可依據此數值偵測振盪頻率F。 FIG. 1 is a schematic diagram of an oscillator 100 according to some embodiments of the present disclosure. In some embodiments, the oscillator 100 includes a voltage-controlled oscillation circuit 102, a processing circuit 104, and a register 106. The processing circuit 104 is coupled to the voltage-controlled oscillation circuit 102 and the register 106. The processing circuit 104 can provide a digital signal V SW to the voltage-controlled oscillation circuit 102. The voltage-controlled oscillation circuit 102 generates a corresponding oscillation frequency F according to the digital signal V SW . The processing circuit 104 can detect the oscillation frequency F when the voltage-controlled oscillation circuit 102 operates based on the digital signal V SW . For example, in some embodiments, the processing circuit 104 includes a counter. This counter is used for counting according to the signal with the oscillation frequency F generated by the voltage-controlled oscillation circuit 102 to generate different values. In this way, the processing circuit 104 can detect the oscillation frequency F according to the value.
暫存器106用以記錄數位訊號VSW的不同訊號值與振盪頻率F之間的對應關係。舉例而言,上述這些對應關係可由查找表(look-up table)LUT等方式實現於暫存器106。在一些實施例中,當處理電路104偵測到振盪頻率F,處理電路104可從查找表LUT中讀取對應於振盪頻率F的數位訊號VSW的訊號值。舉例而言,處理電路104可依據計數器所產生的數值而至查找表LUT的對應位址讀取數位訊號VSW的訊號值。上述關於處理電路104與暫存器106的設置方式僅為示例,本揭示內容並不以此為限。 The register 106 is used to record the correspondence between different signal values of the digital signal V SW and the oscillation frequency F. For example, the above-mentioned corresponding relationships may be implemented in the register 106 by a look-up table (LUT) or the like. In some embodiments, when the processing circuit 104 detects the oscillation frequency F, the processing circuit 104 may read the signal value of the digital signal V SW corresponding to the oscillation frequency F from the look-up table LUT. For example, the processing circuit 104 may read the signal value of the digital signal V SW to the corresponding address of the lookup table LUT according to the value generated by the counter. The above-mentioned arrangement manners of the processing circuit 104 and the register 106 are merely examples, and the present disclosure is not limited thereto.
第2圖是依照本揭示一些實施例所繪示的第1圖的壓控振盪電路102的示意圖。在一些實施例中,壓控振盪電路102包含可變電容陣列202、電感器L1、電容器CVAR1、電容器CVAR2、開關M1、開關M2以及開關M3。電感器L1接收供應電壓VDD。可變電容陣列202與電感器L1耦接於節點N1以及節點N2。可變電容陣列202接收數位訊號VSW,並依據數位訊號VSW決定可變電容陣列202的電容值。電容器CVAR1耦接於節點N1與節點N3之間。電容器CVAR2耦接 於節點N3與節點N2之間。節點N3接收控制電壓VTUNE,以決定電容器CVAR1以及電容器CVAR2的電容值。舉例而言,在一些實施例中,電容器CVAR1以及電容器CVAR2可由變容器(varactor)實現。在一些實施例中,變容器可由電晶體實現。在此例中,用於實現變容器的電晶體之閘極接收控制電壓VTUNE。如此,控制電壓VTUNE改變,電容器CVAR1以及電容器CVAR2的電容值會相應改變。上述關於電容器CVAR1以及電容器CVAR2的實現方式僅為示例,本揭示內容並不以此為限。 FIG. 2 is a schematic diagram of the voltage-controlled oscillation circuit 102 of FIG. 1 according to some embodiments of the present disclosure. In some embodiments, the voltage-controlled oscillation circuit 102 includes a variable capacitor array 202, an inductor L1, a capacitor C VAR 1, a capacitor C VAR 2, a switch M1, a switch M2, and a switch M3. The inductor L1 receives a supply voltage V DD . The variable capacitor array 202 and the inductor L1 are coupled to a node N1 and a node N2. The variable capacitor array 202 receives a digital signal V SW and determines the capacitance of the variable capacitor array 202 according to the digital signal V SW . The capacitor C VAR 1 is coupled between the node N1 and the node N3. The capacitor C VAR 2 is coupled between the node N3 and the node N2. The node N3 receives the control voltage V TUNE to determine the capacitance values of the capacitors C VAR 1 and C VAR 2. For example, in some embodiments, capacitor C VAR 1 and capacitor C VAR 2 may be implemented by a varactor. In some embodiments, the varactor can be implemented by a transistor. In this example, the gate of the transistor used to implement the transformer receives the control voltage V TUNE . As such, the control voltage V TUNE changes, and the capacitance values of the capacitors C VAR 1 and C VAR 2 change accordingly. The above implementations of the capacitor C VAR 1 and the capacitor C VAR 2 are merely examples, and the present disclosure is not limited thereto.
開關M1~M2交叉耦接(cross-coupled)。即開關M1的控制端與開關M2之一端耦接於節點N2,且開關M2的控制端與開關M1之一端耦接於節點N1。開關M3耦接於開關M1與地之間,且耦接於開關M2與地之間。開關M3接收控制電壓VB且用以作為定電流源。在一些實施例中,可變電容陣列202、電感器L1、電容器CVAR1、電容器CVAR2設置為一諧振電路。開關M1~M2設置以產生一負阻抗以抵消此諧振電路的寄生電阻。如此,壓控振盪電路102可開始產生具有振盪頻率F的訊號。 The switches M1 ~ M2 are cross-coupled. That is, a control terminal of the switch M1 and one terminal of the switch M2 are coupled to the node N2, and a control terminal of the switch M2 and one terminal of the switch M1 are coupled to the node N1. The switch M3 is coupled between the switch M1 and the ground, and is coupled between the switch M2 and the ground. The switch M3 receives the control voltage V B and is used as a constant current source. In some embodiments, the variable capacitance array 202, the inductor L1, the capacitor C VAR 1, and the capacitor C VAR 2 are configured as a resonant circuit. The switches M1 ~ M2 are set to generate a negative impedance to cancel the parasitic resistance of the resonant circuit. In this way, the voltage-controlled oscillation circuit 102 can start to generate a signal having an oscillation frequency F.
在一些實施例中,壓控振盪電路102的振盪頻率F可由以下公式(1)得到:
其中C是可變電容陣列202、電容器CVAR1以及電容器CVAR2的等效電容值,且L是電感L1的電感值。 Wherein C is the equivalent capacitance value of the variable capacitance array 202, the capacitor C VAR 1 and the capacitor C VAR 2, and L is the inductance value of the inductance L1.
如先前所述,可變電容陣列202的電容值依據 數位訊號VSW決定。當可變電容陣列202的電容值改變,公式(1)中的C將會相應地改變,藉以相應地改變壓控振盪電路102的振盪頻率F。換言之,壓控振盪電路102的振盪頻率F可透過數位訊號VSW而被改變。 As described previously, the capacitance of the variable capacitor array 202 is determined based on the digital signal V SW . When the capacitance value of the variable capacitor array 202 is changed, C in the formula (1) will be changed accordingly, thereby changing the oscillation frequency F of the voltage-controlled oscillation circuit 102 accordingly. In other words, the oscillation frequency F of the voltage-controlled oscillation circuit 102 can be changed through the digital signal V SW .
上述壓控振盪電路102僅用於示例,其他各種壓控振盪電路102的設置方式亦為本揭示內容所涵蓋的範圍。 The above-mentioned voltage-controlled oscillation circuit 102 is only used as an example, and the arrangement of other various voltage-controlled oscillation circuits 102 is also within the scope of the present disclosure.
第3圖是依照本揭示一些實施例所繪示的第2圖的可變電容陣列202的示意圖。在一些實施例中,可變電容陣列202為N位元可變電容陣列。N為正整數。可變電容陣列202的第n個位元對應於2(n-1)個電容器。n為正整數且小於或等於N。 FIG. 3 is a schematic diagram of the variable capacitor array 202 shown in FIG. 2 according to some embodiments of the present disclosure. In some embodiments, the variable capacitor array 202 is an N-bit variable capacitor array. N is a positive integer. The n-th bit of the variable capacitance array 202 corresponds to 2 (n-1) capacitors. n is a positive integer and is less than or equal to N.
在一些實施例中,數位訊號VSW的訊號值由多個位元組成,其分別對應於N位元可變電容陣列。以第3圖示例而言,數位訊號VSW的訊號值的第1個位元S[1]對應於電容器C1。數位訊號VSW的訊號值的第2個位元S[2]對應於電容器C2~C3。數位訊號VSW的訊號值的第3個位元S[3]對應於電容器C4~C7。 In some embodiments, the signal value of the digital signal V SW is composed of multiple bits, which respectively correspond to an N-bit variable capacitor array. Taking the example in FIG. 3, the first bit S [1] of the signal value of the digital signal V SW corresponds to the capacitor C1. The second bit S [2] of the signal value of the digital signal V SW corresponds to the capacitors C2 to C3. The third bit S [3] of the signal value of the digital signal V SW corresponds to the capacitors C4 to C7.
具體而言,電容器C1與開關SW1串聯於節點N1與節點N2之間,其中開關SW1受數位訊號VSW的訊號值的第1個位元S[1]控制。電容器C2與電容器C3並聯,且電容器C2~C3與開關SW2串聯於節點N1與節點N2之間,其中開關SW2受數位訊號VSW的訊號值的第2個位元S[2]控制。電容器C4~C7彼此並聯,且電容器C4~C7與開關SW3 串聯於節點N1與節點N2之間,其中開關SW3受數位訊號VSW的訊號值的第3個位元S[3]控制。以此類推,可推得N位元可變電容陣列與數位訊號VSW之間的設置方式。 Specifically, the capacitor C1 and the switch SW1 are connected in series between the node N1 and the node N2, where the switch SW1 is controlled by the first bit S [1] of the signal value of the digital signal V SW . Capacitor C2 and capacitor C3 are connected in parallel, and capacitors C2 ~ C3 and switch SW2 are connected in series between node N1 and node N2. Switch SW2 is controlled by the second bit S [2] of the signal value of digital signal V SW . Capacitors C4 ~ C7 are connected in parallel with each other, and capacitors C4 ~ C7 and switch SW3 are connected in series between node N1 and node N2. Switch SW3 is controlled by the third bit S [3] of the signal value of digital signal V SW . By analogy, the setting manner between the N-bit variable capacitor array and the digital signal V SW can be derived.
藉由上述配置,可變電容陣列202的電容值可透過調整數位訊號VSW而改變。當可變電容陣列202的電容值改變,可變電容陣列202、電容器CVAR1以及電容器CVAR2的等效電容值將相應地改變。基於上述公式(1),當等效電容值改變時,壓控振盪電路102的振盪頻率F將相應地改變。上述可變電容陣列202僅為示例,其他各種可變電容陣列202的設置方式亦為本揭示內容所涵蓋的範圍。 With the above configuration, the capacitance value of the variable capacitor array 202 can be changed by adjusting the digital signal V SW . When the capacitance value of the variable capacitance array 202 changes, the equivalent capacitance values of the variable capacitance array 202, the capacitor C VAR 1 and the capacitor C VAR 2 will change accordingly. Based on the above formula (1), when the equivalent capacitance value changes, the oscillation frequency F of the voltage-controlled oscillation circuit 102 will change accordingly. The above-mentioned variable capacitor array 202 is merely an example, and various other ways of setting the variable capacitor array 202 are also covered by the present disclosure.
第4圖是依照本揭示一些實施例所繪示的振盪頻率F1、振盪頻率F2以及目標振盪頻率FDES的關係的示意圖。第5圖是依照本揭示一些實施例所繪示的一種控制方法500的流程圖。以下請一併參考第1圖至第5圖。 FIG. 4 is a schematic diagram showing the relationship between the oscillation frequency F1, the oscillation frequency F2, and the target oscillation frequency F DES according to some embodiments of the present disclosure. FIG. 5 is a flowchart of a control method 500 according to some embodiments of the present disclosure. Please refer to Figures 1 to 5 below.
在步驟S520中,處理電路104偵測壓控振盪電路102基於數位訊號VSW的訊號值SSW1運作時的振盪頻率F1。在一些實施例中,當振盪器100上電時,壓控振盪電路102依據數位訊號VSW的訊號值SSW1產生初始振盪頻率(例如:振盪頻率F1)。在一些實施例中,處理電路104依據振盪頻率F1從暫存器106中的查找表LUT中讀取對應振盪頻率F1的數位訊號VSW的訊號值SSW1。 In step S520, the processing circuit 104 detects the oscillation frequency F1 when the voltage-controlled oscillation circuit 102 operates based on the signal value S SW1 of the digital signal V SW . In some embodiments, when the oscillator 100 is powered on, the voltage-controlled oscillation circuit 102 generates an initial oscillation frequency (for example, the oscillation frequency F1) according to the signal value S SW 1 of the digital signal V SW . In some embodiments, the processing circuit 104 reads the signal value S SW 1 of the digital signal V SW corresponding to the oscillation frequency F 1 from the look-up table LUT in the register 106 according to the oscillation frequency F 1.
在步驟S540中,處理電路104依據振盪頻率F1以及目標振盪頻率FDES將數位訊號VSW由訊號值SSW1調整為訊號值SSW2。在一些實施例中,處理電路104包含一頻率 偵測器,其用以比較振盪頻率F1以及目標振盪頻率FDES。當振盪頻率F1與目標振盪頻率FDES不相同時,處理電路104依據一預設值M將訊號值SSW1調整為訊號值SSW2。 In step S540, the processing circuit 104 adjusts the digital signal V SW from the signal value S SW 1 to the signal value S SW 2 according to the oscillation frequency F1 and the target oscillation frequency F DES . In some embodiments, the processing circuit 104 includes a frequency detector for comparing the oscillation frequency F1 and the target oscillation frequency F DES . When the oscillation frequency F1 is different from the target oscillation frequency F DES , the processing circuit 104 adjusts the signal value S SW 1 to the signal value S SW 2 according to a preset value M.
舉例而言,當振盪頻率F1小於目標振盪頻率FDES時,處理電路104產生訊號值SSW2以降低可變電容陣列202的電容值。如此,振盪頻率F1可被提升至較高的振盪頻率。或者,當振盪頻率F1大於目標振盪頻率FDES時,處理電路104產生訊號值SSW2以提高可變電容陣列202的電容值。如此,可降低振盪頻率F1。 For example, when the oscillation frequency F1 is smaller than the target oscillation frequency F DES , the processing circuit 104 generates a signal value S SW 2 to reduce the capacitance value of the variable capacitor array 202. In this way, the oscillation frequency F1 can be increased to a higher oscillation frequency. Alternatively, when the oscillation frequency F1 is greater than the target oscillation frequency F DES , the processing circuit 104 generates a signal value S SW 2 to increase the capacitance value of the variable capacitor array 202. In this way, the oscillation frequency F1 can be reduced.
若可變電容陣列202的開關SW1~SW3是由N型電晶體實現,當振盪頻率F1小於(大於)目標振盪頻率FDES時,處理電路104將訊號值SSW1與預設值M相減(相加)以產生訊號值SSW2。假設訊號值SSW1為111(亦即S[3]=1,S[2]=1,S[1]=1)。在這種情況下,開關SW1~SW3皆導通。此時電容器C1~C7彼此串聯。可變電容陣列202的電容值實質上等於電容器C1~C7的電容值的加總。若振盪頻率F1小於目標振盪頻率FDES(如第4圖所示),處理電路104將數位訊號VSW1減去預設值M(例如,M=6,其對應的位元為110)以產生訊號值SSW2為001。在這種情況下,開關SW1導通,但開關SW2以及開關SW3截止。此時,可變電容陣列202的電容值實質上等於電容器C1的電容值。換言之,可變電容陣列202的電容值降低,以將振盪頻率F1提升至振盪頻率F2。 If the switches SW1 to SW3 of the variable capacitor array 202 are implemented by N-type transistors, when the oscillation frequency F1 is less than (greater than) the target oscillation frequency F DES , the processing circuit 104 subtracts the signal value S SW 1 from the preset value M. (Addition) to produce a signal value S SW 2. Assume that the signal value S SW 1 is 111 (that is, S [3] = 1, S [2] = 1, S [1] = 1). In this case, the switches SW1 to SW3 are all turned on. At this time, the capacitors C1 to C7 are connected in series with each other. The capacitance value of the variable capacitance array 202 is substantially equal to the sum of the capacitance values of the capacitors C1 to C7. If the oscillation frequency F1 is smaller than the target oscillation frequency F DES (as shown in FIG. 4), the processing circuit 104 subtracts the digital signal V SW 1 from the preset value M (for example, M = 6, and the corresponding bit is 110) to The generated signal value S SW 2 is 001. In this case, the switch SW1 is turned on, but the switches SW2 and SW3 are turned off. At this time, the capacitance value of the variable capacitance array 202 is substantially equal to the capacitance value of the capacitor C1. In other words, the capacitance value of the variable capacitor array 202 decreases to increase the oscillation frequency F1 to the oscillation frequency F2.
或者,在其他的例子中,若可變電容陣列202 的開關SW1~SW3是由P型電晶體實現,當振盪頻率F1小於(大於)目標振盪頻率FDES時,處理電路104將數位訊號VSW1與預設值M相加(相減)以產生數位訊號VSW2。此處之操作可依據上述段落相應類推,故不再重複說明。 Or, in other examples, if the switches SW1 to SW3 of the variable capacitor array 202 are implemented by P-type transistors, when the oscillation frequency F1 is less than (greater than) the target oscillation frequency F DES , the processing circuit 104 sends a digital signal V SW 1 is added (subtracted) to a preset value M to generate a digital signal V SW 2. The operations here can be deduced by analogy according to the above paragraphs, so the description will not be repeated.
在一些實施例中,電容器C1~C7的電容值為相同或部分相同。在一些實施例中,上述預設值M可依據電容器C1~C7的電容值調整。舉例而言,當電容器C1~C7的電容值為相同且此電容值越大時,預設值M可設定成越小。在一些實施例中,預設值M亦可依據振盪器100的線性度要求而定。藉由考量振盪器的線性度要求來設定預設值M,可以得到較精確的振盪頻率F2,以提高後面所提及的內插運算之準確度。 In some embodiments, the capacitance values of the capacitors C1 to C7 are the same or partially the same. In some embodiments, the preset value M can be adjusted according to the capacitance values of the capacitors C1 to C7. For example, when the capacitance values of the capacitors C1 to C7 are the same and the larger the capacitance value, the preset value M can be set smaller. In some embodiments, the preset value M may also be determined according to the linearity requirement of the oscillator 100. By considering the linearity requirement of the oscillator to set the preset value M, a more accurate oscillation frequency F2 can be obtained, so as to improve the accuracy of the interpolation operation mentioned later.
在步驟S560中,處理電路104偵測壓控振盪電路102基於數位訊號VSW的訊號值SSW2運作時的振盪頻率F2。在一些實施例中,當數位訊號VSW的訊號值由SSW1調整為SSW2後,可變電容陣列202基於數位訊號VSW的訊號值SSW2產生振盪頻率F2。而處理電路104的計數器可據此偵測可變電容陣列202所產生振盪頻率F2。 In step S560, the processing circuit 104 detects the oscillation frequency F2 when the voltage-controlled oscillation circuit 102 operates based on the signal value S SW 2 of the digital signal V SW . In some embodiments, when the signal value of the digital signal V SW is adjusted from S SW 1 to S SW 2, the variable capacitor array 202 generates an oscillation frequency F2 based on the signal value S SW 2 of the digital signal V SW . The counter of the processing circuit 104 can detect the oscillation frequency F2 generated by the variable capacitor array 202 accordingly.
在步驟S580中,處理電路104依據頻率差值△F2與頻率差值△F1進行內插運算,以決定對應於目標振盪頻率FDES的一目標訊號值SSW3。 In step S580, the processing circuit 104 performs an interpolation operation according to the frequency difference value ΔF2 and the frequency difference value ΔF1 to determine a target signal value S SW 3 corresponding to the target oscillation frequency F DES .
在一些實施例中,處理電路104計算振盪頻率F2與振盪頻率F1之間的差以決定頻率差值△F1,且計算目標振盪頻率FDES與振盪頻率F1之間的差以決定頻率差值 △F2。如第3圖所示,在一些實施例中,處理電路104可根據頻率差值△F1以及頻率差值△F2進行內插運算,以有效率地決定目標振盪頻率FDES所對應的目標訊號值SSW3。 In some embodiments, the processing circuit 104 calculates the difference between the oscillation frequency F2 and the oscillation frequency F1 to determine the frequency difference value ΔF1, and calculates the difference between the target oscillation frequency F DES and the oscillation frequency F1 to determine the frequency difference value Δ F2. As shown in FIG. 3, in some embodiments, the processing circuit 104 may perform an interpolation operation according to the frequency difference value ΔF1 and the frequency difference value ΔF2 to efficiently determine the target signal value corresponding to the target oscillation frequency F DES S SW 3.
舉例而言,處理電路104可依據頻率差值△F1、頻率差值△F2以及上述預設值M計算出目標調整值P。在一些實施例中,目標調整值P可由以下公式(2)得到:
基於上述公式(2),處理電路104依據頻率差值△F2與頻率差值△F1之間的比例以及預設值M來計算數位訊號VSW的訊號值須調整的量值(亦即目標調整值P)為何。接著,處理電路104依據目標調整值P以及訊號值SSW1產生目標訊號值SSW3。在一些實施例中,目標訊號值SSW3可由以下公式(3)得到:SSW3=SSW1+P…(3) Based on the above formula (2), the processing circuit 104 calculates the magnitude of the signal value of the digital signal V SW to be adjusted according to the ratio between the frequency difference ΔF2 and the frequency difference ΔF1 and the preset value M (that is, the target adjustment Value P). Next, the processing circuit 104 generates a target signal value S SW 3 according to the target adjustment value P and the signal value S SW 1. In some embodiments, the target signal value S SW 3 can be obtained by the following formula (3): S SW 3 = S SW 1 + P ... (3)
舉例而言,若訊號值SSW1為001且P為3(其對應位元為011),目標訊號值SSW3則為100。據此,處理電路104傳送具有目標訊號值SSW3的數位訊號VSW給可變電容陣列202,以決定可變電容陣列202中該些開關的狀態(例如:導通或截止)。透過決定該些開關的狀態,可變電容陣列202的電容值可被調整。如此,可變電容陣列202、電容器CVAR1以及電容器CVAR2的等效電容值可被調整以實質上等於目標電容值。據此,此目標電容值與電感器L1的電感值L可使得壓控振盪電路102的振盪頻率為目標振盪頻率FDES。 For example, if the signal value S SW 1 is 001 and P is 3 (its corresponding bit is 011), the target signal value S SW 3 is 100. According to this, the processing circuit 104 transmits a digital signal V SW having a target signal value S SW 3 to the variable capacitor array 202 to determine the states of the switches in the variable capacitor array 202 (for example, on or off). By determining the states of the switches, the capacitance of the variable capacitor array 202 can be adjusted. As such, the equivalent capacitance values of the variable capacitance array 202, the capacitor C VAR 1 and the capacitor C VAR 2 can be adjusted to be substantially equal to the target capacitance value. According to this, the target capacitance value and the inductance value L of the inductor L1 can make the oscillation frequency of the voltage-controlled oscillation circuit 102 be the target oscillation frequency F DES .
換言之,藉由上述式(2)~(3),在取得兩個振盪頻率F1與F2後,處理電路104可根據此些振盪頻率F1與F2以及其相對應的訊號值Ssw1與Ssw2快速地內插出目標訊號值SSW3。於一些相關技術中,當環境條件(例如為操作溫度、電壓等等)改變時,需重新建立查找表。這將會耗費大量時間。相較於上述相關技術,處理電路104可快速決定目標訊號值SSW3。在一些實施例中,控制方法500可重覆執行多次,以增加目標訊號值SSW3的精確度。 In other words, by using the above equations (2) to (3), after obtaining the two oscillation frequencies F1 and F2, the processing circuit 104 may use these oscillation frequencies F1 and F2 and their corresponding signal values S sw 1 and S sw 2 Quickly interpolate the target signal value S SW 3. In some related technologies, when environmental conditions (for example, operating temperature, voltage, etc.) change, a look-up table needs to be re-established. This will take a lot of time. Compared with the related art, the processing circuit 104 can quickly determine the target signal value S SW 3. In some embodiments, the control method 500 may be repeatedly executed multiple times to increase the accuracy of the target signal value S SW 3.
上述控制方法500的多個步驟僅為示例,並非限定需依照此示例中的順序執行。在不違背本揭示內容的各實施例的操作方式與範圍下,在控制方法500下的各種操作當可適當地增加、替換、省略或以不同順序執行。 The multiple steps of the above control method 500 are merely examples, and are not limited to be performed in the order in this example. Without departing from the operation mode and scope of the embodiments of the present disclosure, various operations under the control method 500 can be appropriately added, replaced, omitted, or performed in a different order.
綜上所述,透過上述至少一實施例,處理電路可快速決定目標訊號值,以控制壓控振盪電路運作於目標振盪頻率。 In summary, through the at least one embodiment described above, the processing circuit can quickly determine the target signal value to control the voltage-controlled oscillation circuit to operate at the target oscillation frequency.
雖然本揭示已以實施方式揭露如上,然其並非用以限定本揭示,任何本領域具通常知識者,在不脫離本揭示之精神和範圍內,當可作各種之更動與潤飾,因此本揭示之保護範圍當視後附之申請專利範圍所界定者為準。 Although this disclosure has been disclosed as above in the form of implementation, it is not intended to limit this disclosure. Any person with ordinary knowledge in the field can make various changes and modifications without departing from the spirit and scope of this disclosure. Therefore, this disclosure The scope of protection shall be determined by the scope of the attached patent application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/029,943 US10574182B2 (en) | 2017-07-14 | 2018-07-09 | Oscillator and control method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201762532376P | 2017-07-14 | 2017-07-14 | |
US62/532,376 | 2017-07-14 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201909550A true TW201909550A (en) | 2019-03-01 |
TWI698084B TWI698084B (en) | 2020-07-01 |
Family
ID=65050687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107116850A TWI698084B (en) | 2017-07-14 | 2018-05-17 | Oscillator and control method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109257019A (en) |
TW (1) | TWI698084B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI789080B (en) * | 2021-10-27 | 2023-01-01 | 瑞昱半導體股份有限公司 | Method of building oscillator frequency adjustment lookup table and associated transceiver |
US11831278B2 (en) | 2021-12-21 | 2023-11-28 | Industrial Technology Research Institute | Voltage-controlled oscillator device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114978043B (en) * | 2022-07-27 | 2022-11-22 | 深圳市英特瑞半导体科技有限公司 | Method, device, equipment and storage medium for improving oscillator linearity |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101069231B1 (en) * | 2004-02-20 | 2011-10-04 | 지씨티 세미컨덕터 인코포레이티드 | System and method for tuning a frequency generator using an lc oscillator |
WO2007055870A2 (en) * | 2005-11-04 | 2007-05-18 | Skyworks Solutions, Inc. | High resolution auto-tuning for a voltage controlled oscillator |
US7301415B2 (en) * | 2005-12-12 | 2007-11-27 | Airoha Technology Corp. | Automatic frequency tuning in a phase lock loop |
US7382199B2 (en) * | 2006-02-03 | 2008-06-03 | Nanoamp Solutions, Inc. | Methods for auto-calibration and fast tuning of voltage controlled oscillators in phase-lock loops |
CN101483434A (en) * | 2008-01-11 | 2009-07-15 | 上海锐协微电子科技有限公司 | Voltage control oscillator with low tuning gain variance |
US8004367B2 (en) * | 2009-04-22 | 2011-08-23 | Freescale Semiconductor, Inc. | VCO control and methods therefor |
CN102522984B (en) * | 2011-12-31 | 2014-02-19 | 杭州士兰微电子股份有限公司 | Phase-locked loop and voltage-controlled oscillating circuit thereof |
US9048850B2 (en) * | 2012-07-02 | 2015-06-02 | Qualcomm Incorporated | Frequency synthesizer apparatus and methods for improving capacitor code search accuracy using LSB modulation |
-
2018
- 2018-05-17 TW TW107116850A patent/TWI698084B/en active
- 2018-05-23 CN CN201810503928.XA patent/CN109257019A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI789080B (en) * | 2021-10-27 | 2023-01-01 | 瑞昱半導體股份有限公司 | Method of building oscillator frequency adjustment lookup table and associated transceiver |
US11831278B2 (en) | 2021-12-21 | 2023-11-28 | Industrial Technology Research Institute | Voltage-controlled oscillator device |
Also Published As
Publication number | Publication date |
---|---|
TWI698084B (en) | 2020-07-01 |
CN109257019A (en) | 2019-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102420193B1 (en) | Relaxation oscillator, and wireless apparatus with relaxation oscillator | |
US7884655B2 (en) | Control circuitry | |
TWI698084B (en) | Oscillator and control method | |
TWI684327B (en) | Device and method for adjusting duty cycle in clock signals | |
JP4929306B2 (en) | Bias generation circuit and voltage controlled oscillator | |
JP2004320721A (en) | Oscillation circuit and method for controlling the oscillation circuit | |
JP2010278491A5 (en) | ||
CN101409530B (en) | VCO | |
KR101208565B1 (en) | Voltage controlled oscillator capable of reducing phase noise and jitter with high startup gain and method thereof | |
CN110011644B (en) | Ring oscillator | |
TW201914215A (en) | Method of controlling digitally controlled oscillator | |
US20070008042A1 (en) | Oscillator circuit and method for adjusting oscillation frequency of same | |
EP3442118A1 (en) | Voltage waveform shaping oscillator | |
JP2017108443A (en) | Temperature compensated crystal oscillator | |
CN106130483A (en) | A kind of variable capacitance circuit in voltage controlled oscillator tuning circuit | |
CN211352180U (en) | Oscillation circuit and clock circuit | |
WO2018216148A1 (en) | Pll frequency synthesizer | |
JP5034772B2 (en) | Temperature compensated piezoelectric oscillator | |
CN113640776B (en) | A high-precision frequency locking circuit based on negative feedback | |
JP2009182584A (en) | Pll circuit | |
US9722536B2 (en) | Digital controlled oscillator and switchable varactor for high frequency low noise operation | |
JP6228770B2 (en) | Charge / discharge oscillation circuit | |
US10574182B2 (en) | Oscillator and control method | |
JP5119826B2 (en) | Compensation voltage circuit and temperature compensated piezoelectric oscillator | |
CN111769832A (en) | An adaptive ring oscillator |