TWI495266B - Ring oscillator - Google Patents

Ring oscillator Download PDF

Info

Publication number
TWI495266B
TWI495266B TW101139122A TW101139122A TWI495266B TW I495266 B TWI495266 B TW I495266B TW 101139122 A TW101139122 A TW 101139122A TW 101139122 A TW101139122 A TW 101139122A TW I495266 B TWI495266 B TW I495266B
Authority
TW
Taiwan
Prior art keywords
signal
delay
input
output
ring oscillator
Prior art date
Application number
TW101139122A
Other languages
Chinese (zh)
Other versions
TW201417508A (en
Inventor
Gene Lin
Original Assignee
Solid State System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Solid State System Co Ltd filed Critical Solid State System Co Ltd
Priority to TW101139122A priority Critical patent/TWI495266B/en
Priority to CN201310087521.0A priority patent/CN103780257B/en
Publication of TW201417508A publication Critical patent/TW201417508A/en
Application granted granted Critical
Publication of TWI495266B publication Critical patent/TWI495266B/en

Links

Description

環型振盪器電路Ring oscillator circuit

本發明是有關於一種環型振盪器電路,且特別是有關於一種具有時脈計數延遲線電路的數位控制環型振盪器電路。This invention relates to a ring oscillator circuit and, more particularly, to a digitally controlled ring oscillator circuit having a clock count delay line circuit.

許多電子裝置需要時脈程序用之振盪信號或時脈信號,以達成裝置內的同步。隨著電子裝置變得更為複雜,因而產生能夠用於低成本電子裝置內的低成本時脈信號產生裝置的需求。大部份的電子裝置使用相位鎖定迴路以產生內部時脈信號。Many electronic devices require an oscillating signal or a clock signal for the clock program to achieve synchronization within the device. As electronic devices become more complex, there is a need to be able to use low cost clock signal generating devices within low cost electronic devices. Most electronic devices use a phase locked loop to generate an internal clock signal.

一般而言,相位鎖定迴路(phase lock loop;PLL)由相位比較器(phase comparator)、迴路濾波器(loop filter)以及壓控振盪器(voltage control oscillator,VOC)組成。相位鎖定迴路或是數位鎖定迴路(digital phase lock loop,DPLL)都需要有個振盪器以產生時脈信號。其中,環型振盪器是一種簡易又普遍的時脈信號產生器,傳統的環型振盪器可由組合邏輯閘延遲線電路來達到時間延遲的功能。例如,圖1所示的習知的環型振盪器100。環型振盪器100包括奇數個延遲作用的反向器INV1串接而成的延遲線電路。若藉由一組控制訊號,來設定所串接的延遲線反向器的個數,亦即設定延遲單元的個數,即可改變其延遲時間,進而控制其振盪頻率。一般而言,當延遲線包含較多個數的延遲單元時,其可提供時脈信號的振盪頻率範圍會較寬,但卻也 因包含較多的延遲單元,而使得其電路愈龐大、成本也愈高。In general, a phase lock loop (PLL) consists of a phase comparator, a loop filter, and a voltage control oscillator (VOC). A phase locked loop or a digital phase lock loop (DPLL) requires an oscillator to generate a clock signal. Among them, the ring oscillator is a simple and common clock signal generator, and the conventional ring oscillator can realize the time delay function by combining the logic gate delay line circuit. For example, the conventional ring oscillator 100 shown in FIG. The ring oscillator 100 includes a delay line circuit in which an odd number of delay acting inverters INV1 are connected in series. If a set of control signals is used to set the number of cascaded delay line inverters, that is, the number of delay units is set, the delay time can be changed, and then the oscillation frequency can be controlled. In general, when the delay line contains more than a number of delay units, it can provide a wide range of oscillation frequencies of the clock signal, but it also Due to the inclusion of more delay units, the larger the circuit and the higher the cost.

本發明提出多種環型振盪器電路,有效增大其振盪出的頻率範圍。The present invention proposes a plurality of ring oscillator circuits to effectively increase the frequency range in which they oscillate.

本發明提出一種環型振盪器,包括時脈計數延遲器、信號傳遞同步器以及組合邏輯閘延遲電路。時脈計數延遲器接收輸入信號、時脈信號及第一延遲控制信號,並依據第一延遲控制信號及時脈信號延遲輸入信號以產生第一延遲信號。信號傳遞同步器耦接時脈計數延遲器,接收輸入訊號,並依據輸入信號之轉態點來產生第二延遲信號。組合邏輯閘延遲電路耦接信號傳遞同步器,接收第二延遲信號,依據第二延遲控制信號來延遲第二延遲信號以產生輸出信號,其中,時脈計數延遲器接收輸入信號的端點耦接至組合邏輯閘延遲電路產生輸出信號的端點。The present invention provides a ring oscillator comprising a clock count delay, a signal transfer synchronizer, and a combined logic gate delay circuit. The clock count delayer receives the input signal, the clock signal and the first delay control signal, and delays the input signal according to the first delay control signal and the pulse signal to generate the first delayed signal. The signal transmission synchronizer is coupled to the clock count delay device, receives the input signal, and generates a second delayed signal according to the transition point of the input signal. The combination logic gate delay circuit is coupled to the signal transfer synchronizer, receives the second delay signal, and delays the second delay signal to generate an output signal according to the second delay control signal, wherein the clock count delay device receives the end point coupling of the input signal The combination logic gate delay circuit produces an endpoint of the output signal.

本發明另提出一種環型振盪器,包括同步時脈計數延遲器以及組合邏輯閘延遲電路。同步時脈計數延遲器接收輸入信號以及延遲控制信號,並依據第一延遲控制信號及時脈信號延遲輸入信號以產生第一延遲信號。組合邏輯閘延遲電路接收第一延遲信號,並依據第二延遲控制信號將延遲信號延遲以產生輸出信號,其中,同步時脈計數延遲器接收輸入信號的端點耦接至組合邏輯閘延遲電路產生輸出信號的端點。The present invention further provides a ring oscillator comprising a synchronous clock count delay and a combined logic gate delay circuit. The synchronous clock count delayer receives the input signal and the delay control signal, and delays the input signal according to the first delay control signal and the pulse signal to generate the first delayed signal. The combined logic gate delay circuit receives the first delayed signal and delays the delayed signal to generate an output signal according to the second delay control signal, wherein the end of the synchronous clock count delay receiving input signal is coupled to the combined logic gate delay circuit to generate The endpoint of the output signal.

本發明更提出一種環型振盪器電路,包括時脈計數延遲器以及組合邏輯閘延遲電路。時脈計數延遲器,接收輸入信號、時脈信號及延遲控制信號,並依據延遲控制信號及時脈信號延遲輸入信號以產生延遲信號。組合邏輯閘延遲電路耦接時脈計數延遲器,接收延遲信號,依據延遲控制信號來延遲該延遲信號以產生輸出信號,其中,時脈計數延遲器接收輸入信號的端點耦接至組合邏輯閘延遲電路產生輸出信號的端點。The present invention further provides a ring oscillator circuit including a clock count delay and a combined logic gate delay circuit. The clock counting delay device receives the input signal, the clock signal and the delay control signal, and delays the input signal according to the delay control signal and the pulse signal to generate a delayed signal. The combined logic gate delay circuit is coupled to the clock count delay device, receives the delay signal, and delays the delay signal according to the delay control signal to generate an output signal, wherein the end of the clock count delay receiver receiving the input signal is coupled to the combined logic gate The delay circuit produces an endpoint of the output signal.

綜上所述,本發明所提出的環型振盪器電路具有組合邏輯閘延遲電路。此組合邏輯閘延遲電路延遲線電路則具有利用時脈來計數延遲量的功能。透過利用時脈信號的週期為單位來設定組合邏輯閘延遲電路延遲線電路所產生的延遲時間。藉此,不須使用過多的組合邏輯閘延遲單元,即可輕易增大其振盪出的頻率範圍。In summary, the ring oscillator circuit proposed by the present invention has a combined logic gate delay circuit. The combined logic gate delay circuit delay line circuit has a function of counting the amount of delay using the clock. The delay time generated by the combined logic gate delay circuit delay line circuit is set by using the period of the clock signal as a unit. Thereby, the frequency range of the oscillation can be easily increased without using too many combined logic gate delay units.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

請參考圖2,圖2為本發明一實施例之環型振盪器電路200的示意圖。環型振盪器200包括三個部分,分別是時脈計數延遲器210、信號傳遞同步器220以及組合邏輯閘延遲電路230。Please refer to FIG. 2. FIG. 2 is a schematic diagram of a ring oscillator circuit 200 according to an embodiment of the present invention. The ring oscillator 200 includes three parts, a clock count delay 210, a signal transfer synchronizer 220, and a combined logic gate delay circuit 230.

時脈計數延遲器210用以接收輸入信號In、時脈信號Tune_clk及延遲控制信號CK_delay[19:0],並依據延遲控 制信號CK_delay[19:0]延遲輸入信號In,時脈計數延遲器210延遲輸入信號In的延遲量等於時脈信號Tune_clk一個或多個週期,以產生延遲信號In_ck_d。其中,延遲量並由延遲控制信號CK_delay[19:0]所決定。在本發明一實施例中,延遲控制信號CK_delay[19:0]為長度為20位元的數位信號,而使得設定值的範圍為0至(220-1)。值得注意地,延遲控制信號CK_delay的長度並不以此為限,本發明技術領域中具有通常知識者應明白此長度可依不同需求做調整。在實際運用上,例如將本實施例的環型振盪器200運用在數位的鎖相迴路(Digital Phase Lock Loop,DPLL)電路上時,設計者可以根據目標頻率先估算出一個延遲控制信號CK_delay[19:0]數值,並當作CK_delay[19:0]的初始值,如此一來,就可以加速DPLL的鎖頻時間(tracking time/lock time)。The clock count delay unit 210 is configured to receive the input signal In, the clock signal Tune_clk, and the delay control signal CK_delay[19:0], and according to the delay control The signal CK_delay[19:0] delays the input signal In, and the clock count delay 210 delays the delay of the input signal In by one or more cycles of the clock signal Tune_clk to generate the delayed signal In_ck_d. The delay amount is determined by the delay control signal CK_delay[19:0]. In an embodiment of the invention, the delay control signal CK_delay[19:0] is a digital signal of length 20 bits such that the set value ranges from 0 to (220-1). It should be noted that the length of the delay control signal CK_delay is not limited thereto. It should be understood by those skilled in the art that the length can be adjusted according to different requirements. In practical applications, for example, when the ring oscillator 200 of the present embodiment is applied to a digital phase lock loop (DPLL) circuit, the designer can first estimate a delay control signal CK_delay according to the target frequency. The value of 19:0] is taken as the initial value of CK_delay[19:0], so that the DPLL's tracking time/lock time can be accelerated.

圖3為本發明一實施例中輸入信號In、時脈信號Tune_clk以及延遲信號In_ck_d時序圖的一個例子。在此一實施例中,時脈計數延遲器針對輸入信號In延遲了例如八個延遲時脈Tune_clk信號的週期來產生延遲信號In_ck_d。3 is an example of a timing chart of an input signal In, a clock signal Tune_clk, and a delay signal In_ck_d according to an embodiment of the present invention. In this embodiment, the clock count delayer delays the period of, for example, eight delay clock Tune_clk signals for the input signal In to generate the delayed signal In_ck_d.

圖4為信號傳遞同步器220的實施方式的示意圖,信號傳遞同步器220由複數個信號傳遞同步器單元410~4N0串接而成。每一個信號傳遞同步器單元接收輸入信號I、延遲信號In_ck_d並輸出輸出信號OUT。每一個信號傳遞同步器單元包含(以信號傳遞同步器單元410為範例)延遲 邏輯閘411、多工器413及相位比對器412。其中,延遲邏輯閘411閘將所接收的輸入信號I進行延遲並輸出至多工器413的輸入信號端I2,多工器413的另一輸入信號端I1接收信號In_ck_d。多工器413則於輸入信號I1及輸入信號I2之間,擇一以產生輸出信號OUT。且多工器413所接收的選擇信號sel[0]是由相位比對器412的輸出來產生。相位比對器412比對輸入信號I和輸出信號OUT的相位,如果輸入信號I和輸出信號OUT同相位,則多工器選擇輸入信號I作為輸出信號OUT。相反的,如果輸入信號I和輸出信號OUT的相位不同,則多工器413選擇延遲信號In_ck_d來作為輸出信號OUT。在本發明一實施例中,信號傳遞同步器220由64個信號傳遞同步器單元410~4N0串接而成,值得注意地,信號傳遞同步器單元410~4N0的個數並不以此為限,本發明技術領域中具有通常知識者應明白此長度可依不同需求做調整。以下舉例說明本實施例之時序圖。4 is a schematic diagram of an embodiment of a signal transfer synchronizer 220 that is formed by concatenating a plurality of signal transfer synchronizer units 410~4N0. Each of the signal passing synchronizer units receives the input signal I, the delayed signal In_ck_d, and outputs the output signal OUT. Each signal passing synchronizer unit includes (with the signal passing synchronizer unit 410 as an example) a delay The logic gate 411, the multiplexer 413, and the phase comparator 412. The delay logic gate 411 gate delays the received input signal I and outputs it to the input signal terminal I2 of the multiplexer 413, and the other input signal terminal I1 of the multiplexer 413 receives the signal In_ck_d. The multiplexer 413 is selected between the input signal I1 and the input signal I2 to generate an output signal OUT. And the selection signal sel[0] received by the multiplexer 413 is generated by the output of the phase comparator 412. The phase comparator 412 compares the phases of the input signal I and the output signal OUT. If the input signal I and the output signal OUT are in phase, the multiplexer selects the input signal I as the output signal OUT. Conversely, if the phases of the input signal I and the output signal OUT are different, the multiplexer 413 selects the delay signal In_ck_d as the output signal OUT. In an embodiment of the present invention, the signal transmission synchronizer 220 is formed by concatenating 64 signal transmission synchronizer units 410~4N0. Notably, the number of signal transmission synchronizer units 410~4N0 is not limited thereto. Those having ordinary knowledge in the technical field of the present invention should understand that this length can be adjusted according to different needs. The timing chart of this embodiment will be exemplified below.

如圖5所示,延伸圖3所述之時序圖。以時序信號Tune_clk為取樣時脈來取樣輸入信號In,同樣以信號傳遞同步器單元410為範例,當輸入信號In由邏輯高準位轉態為邏輯低準位或由邏輯低準位轉態為邏輯高準位時,相位比對器412會比對輸入信號I和輸出信號OUT的相位。如果輸入信號I和輸出信號OUT同相位,則相位比對器412輸出邏輯低準位的選擇信號sel[0]以控制多工器413選擇輸入信號I以作為輸出信號OUT。相反的,如果輸入信號 I和輸出信號OUT相位不同,則相位比對器輸出邏輯高準位的選擇信號sel[0]以控制多工器413選擇延遲信號In_ck_d以作為輸出信號OUT。原則上,每次輸入信號In的相位改變時,只有一個信號傳遞同步器單元的多工器的選擇控制信號會在邏輯高準位。這個時候,延遲信號In_clk_d由選擇控制信號等於邏輯高準位的這組多工器被插入,延遲信號In_clk_d並被往後傳遞,直到延遲信號In_clk_d被延遲的週期數足夠了,這時清除多工器的選擇信號為邏輯低準位,讓多工器選擇輸入信號I以產生輸出信號OUT。在圖5繪示之例子中,在一開始輸入信號In由邏輯低準位轉態為邏輯高準位時,信號傳遞同步器的第四個單元的選擇信號(sel[3])為邏輯高準位,此時延遲信號In_clk_d由第四級的信號傳遞同步單元插入。接著,輸入信號In由邏輯高準位轉態為邏輯低準位時,信號傳遞同步器的第八級的信號傳遞同步單元的選擇信號(sel[7])為邏輯高準位,此時延遲信號In_clk_d由第八級的信號傳遞同步單元插入。當輸入信號In再次由邏輯低準位轉態為邏輯高準位時,選擇信號sel[3]和sel[7]均為邏輯低準位,此時延遲信號In_clk_d則可由其他級的信號傳遞同步單元插入。請參考圖6,圖6繪示本發明實施例的組合邏輯閘延遲電路230的實施方式。組合邏輯閘延遲電路230系由多個延遲單元610-6M0所串接而成的,每一延遲單元包括一緩衝器以及一個二選一的多工器,以延遲單元610為範例,延遲單元610包括緩衝器611以及二選一的多工器 612。多工器612將所接收到的輸入信號輸出到其輸出端,或將經過緩衝器611延遲後的輸入信號經過延遲後,輸出到多工器612的輸出端。多工器612的該輸出信號的選擇動作是依據所接收的一控制信號Ck_nn[0]來決定之。透過控制信號Ck_nn[0]~Ck_nn[6]的設定,輸入信號CK1被延遲單元610-6M0依序進行延遲後輸出到組合邏輯閘延遲電路230的輸出端產生輸出信號CK_out。在本發明一實施例中,組合邏輯閘延遲電路230由64個延遲單元610-6M0串接而成,值得注意地,延遲單元610-6M0的個數並不以此為限,本發明技術領域中具有通常知識者應明白此長度可依不同需求做調整。As shown in FIG. 5, the timing chart described in FIG. 3 is extended. The input signal In is sampled by using the timing signal Tune_clk as the sampling clock. Similarly, the signal synchronizing unit 410 is used as an example. When the input signal In transitions from a logic high level to a logic low level or from a logic low level to At the logic high level, phase comparator 412 compares the phase of input signal I and output signal OUT. If the input signal I and the output signal OUT are in phase, the phase comparator 412 outputs a logic low level selection signal sel[0] to control the multiplexer 413 to select the input signal I as the output signal OUT. Conversely, if the input signal The phase of the I and the output signal OUT are different, and the phase comparator outputs a logic high level selection signal sel[0] to control the multiplexer 413 to select the delay signal In_ck_d as the output signal OUT. In principle, each time the phase of the input signal In changes, only the selection control signal of the multiplexer of the signal transmission synchronizer unit will be at a logic high level. At this time, the delay signal In_clk_d is inserted by the set of multiplexers whose selection control signal is equal to the logic high level, and the delay signal In_clk_d is transmitted backward until the number of cycles in which the delay signal In_clk_d is delayed is sufficient, and the multiplexer is cleared at this time. The selection signal is a logic low level, allowing the multiplexer to select the input signal I to produce the output signal OUT. In the example shown in FIG. 5, the selection signal (sel[3]) of the fourth unit of the signal transmission synchronizer is logic high when the input signal In transitions from the logic low level to the logic high level at the beginning. At the time, the delay signal In_clk_d is inserted by the signal transmission synchronization unit of the fourth stage. Then, when the input signal In transitions from the logic high level to the logic low level, the selection signal (sel[7]) of the signal transmission synchronization unit of the eighth stage of the signal transmission synchronizer is a logic high level, and the delay is performed. The signal In_clk_d is inserted by the signal transmission synchronization unit of the eighth stage. When the input signal In is again transitioned from the logic low level to the logic high level, the selection signals sel[3] and sel[7] are both logic low levels, and the delay signal In_clk_d can be synchronized by other stages of signal transmission. The unit is inserted. Please refer to FIG. 6. FIG. 6 illustrates an embodiment of a combined logic gate delay circuit 230 in accordance with an embodiment of the present invention. The combinational logic gate delay circuit 230 is formed by a plurality of delay units 610-6M0. Each delay unit includes a buffer and an alternative multiplexer. The delay unit 610 is taken as an example. The delay unit 610 is used. Includes a buffer 611 and an alternative multiplexer 612. The multiplexer 612 outputs the received input signal to its output terminal, or delays the input signal delayed by the buffer 611, and outputs it to the output terminal of the multiplexer 612. The selection action of the output signal of the multiplexer 612 is determined according to the received control signal Ck_nn[0]. Through the setting of the control signals Ck_nn[0]~Ck_nn[6], the input signal CK1 is sequentially delayed by the delay unit 610-6M0 and output to the output terminal of the combined logic gate delay circuit 230 to generate an output signal CK_out. In an embodiment of the present invention, the combined logic gate delay circuit 230 is formed by connecting 64 delay units 610-6M0. Notably, the number of delay units 610-6M0 is not limited thereto, and the technical field of the present invention Those with ordinary knowledge should understand that this length can be adjusted according to different needs.

如圖2所示,輸入信號In是回授自組合邏輯閘延遲電路230的輸出端上的輸出信號CK_out。由環型振盪器之原則本發明技術領域中具有通常知識者應明白,此處輸入信號In經過時脈計數延遲器210、信號傳遞同步器220,並經過組合邏輯閘延遲電路230後得到與原始的輸入信號In反向的輸出信號Ck_out。As shown in FIG. 2, the input signal In is fed back to the output signal CK_out at the output of the combined logic gate delay circuit 230. The principle of the ring oscillator is known to those skilled in the art. Here, the input signal In passes through the clock count delay unit 210, the signal transfer synchronizer 220, and is combined with the original logic gate delay circuit 230. The input signal In reverses the output signal Ck_out.

請參考圖7,圖7繪示本發明另一實施例的環型振盪器700之示意圖。環型振盪器700包括同步時脈計數延遲器710以及組合邏輯閘延遲電路720。圖7中的組合邏輯閘延遲電路720與圖2中的組合邏輯閘延遲電路230相同,而同步時脈計數延遲器710功能上等效於圖2中的時脈計數延遲器210及信號傳遞同步器220。Please refer to FIG. 7. FIG. 7 is a schematic diagram of a ring oscillator 700 according to another embodiment of the present invention. The ring oscillator 700 includes a synchronous clock count delay 710 and a combined logic gate delay circuit 720. The combined logic gate delay circuit 720 of FIG. 7 is identical to the combinational logic gate delay circuit 230 of FIG. 2, while the synchronous clock count delay 710 is functionally equivalent to the clock count delay 210 and signal transfer synchronization of FIG. 220.

以下請參照圖8,圖8繪示本發明實施例的同步時脈 計數延遲器710的一實施方式。同步時脈計數延遲器710包括波緣偵測器820、振盪器830以及計數器840。同步時脈計數延遲器710依據延遲控制信號CK_delay[19:0]將輸入信號In延遲一個延遲量以產生一延遲信號In_ck_d。其中的延遲量等於振盪器830所產生的時脈信號Tune_clk的一個或多個週期,。換言之,同步時脈計數延遲器710透過波緣偵測器820偵測到輸入信號In的上升緣或下降緣時,立即藉由啟動信號En啟動振盪器830以產生時脈信號Tune_clk。計數器840收到Tune_clk信號並開始計算Tune_clk個數,而當計數器840計數的結果等於相對應延遲控制信號CK_delay[19:0]所設定個數時,振盪器830對應被關閉。上述關於振盪器830的關閉動作,是藉由計數器840傳送重置信號CLR至波緣偵測器820。波緣偵測器820則依據所接收到的重置信號CLR來關閉啟動信號En,並藉此關閉振盪器830。Please refer to FIG. 8 , which illustrates a synchronization clock according to an embodiment of the present invention. An embodiment of counting delay 710. The sync clock count delay 710 includes a edge detector 820, an oscillator 830, and a counter 840. The sync clock count delay 710 delays the input signal In by a delay amount in accordance with the delay control signal CK_delay[19:0] to generate a delay signal In_ck_d. The amount of delay therein is equal to one or more cycles of the clock signal Tune_clk generated by the oscillator 830. In other words, when the sync pulse count delay 710 detects the rising edge or the falling edge of the input signal In through the edge detector 820, the oscillator 830 is immediately activated by the start signal En to generate the clock signal Tune_clk. The counter 840 receives the Tune_clk signal and starts counting the number of Tune_clk, and when the counter 840 counts the result equal to the number set by the corresponding delay control signal CK_delay[19:0], the oscillator 830 is correspondingly turned off. The above-mentioned shutdown operation of the oscillator 830 is performed by the counter 840 transmitting the reset signal CLR to the edge detector 820. The edge detector 820 turns off the enable signal En according to the received reset signal CLR, and thereby turns off the oscillator 830.

如圖10所示。振盪器830用以依據致能信號En,而振盪產生時脈信號Tune_clk。計數器840用以接收輸入信號In、時脈信號Tune_clk及延遲控制信號CK_delay[19:0],並依據延遲控制信號CK_delay[19:0]將輸入信號In延遲上述的時脈信號Tune_clk相對應個週期,以產生第一延遲信號In_ck_d。並且在依據時脈信號Tune_clk所進行的計數動作數到相對應個週期時,輸出重置信號CLR來關閉振盪器830的致能信號En。As shown in Figure 10. The oscillator 830 is configured to oscillate according to the enable signal En to generate a clock signal Tune_clk. The counter 840 is configured to receive the input signal In, the clock signal Tune_clk, and the delay control signal CK_delay[19:0], and delay the input signal In according to the delay control signal CK_delay[19:0] by the corresponding clock signal Tune_clk. To generate a first delayed signal In_ck_d. And when the number of counting operations performed according to the clock signal Tune_clk reaches a corresponding period, the reset signal CLR is output to turn off the enable signal En of the oscillator 830.

請參考圖9,圖9為本發明一實施例中波緣偵測器820 的示意圖。在本實施例中,波緣偵測器820包括延遲器922、反互斥或閘924以及SR閂鎖器(SR latch)926。延遲器922用以延遲上述的輸入信號In,以產生延遲輸入信號In_d。輸入信號In及延遲輸入信號In_d經過互斥反或閘924得到輸出前置信號S1。正反器926可以是一個SR正反器,前置信號S1接到SR閂鎖器926的設定端S,而SR閂鎖器926的重置端R接收重置信號CLR。Please refer to FIG. 9. FIG. 9 is a diagram of a wave edge detector 820 according to an embodiment of the invention. Schematic diagram. In the present embodiment, the edge detector 820 includes a delay 922, an anti-mutation or gate 924, and a SR latch 926. The delay 922 is configured to delay the input signal In described above to generate a delayed input signal In_d. The input signal In and the delayed input signal In_d pass through the exclusive reversal OR gate 924 to obtain an output preamble S1. The flip flop 926 can be an SR flip flop, the preamble S1 is coupled to the set terminal S of the SR latch 926, and the reset terminal R of the SR latch 926 receives the reset signal CLR.

上述的振盪器830可為壓控振盪器、環型振盪器或是其他類型的振盪器。The oscillator 830 described above can be a voltage controlled oscillator, a ring oscillator or other type of oscillator.

綜上所述,本發明的延遲線電路基於時脈信號調整其輸入信號之延遲,設定延遲控制信號以決定將輸入信號延遲相對應個時脈信號週期。藉此,延遲線電路不須使用過多的延遲單元,即可將輸入信號延遲至所需的長度,進而將振盪時脈調整至所須的頻率。In summary, the delay line circuit of the present invention adjusts the delay of its input signal based on the clock signal, and sets the delay control signal to decide to delay the input signal by the corresponding clock signal period. Thereby, the delay line circuit can delay the input signal to the required length without using too many delay units, thereby adjusting the oscillation clock to the required frequency.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

100‧‧‧環型振盪器100‧‧‧ ring oscillator

INV1‧‧‧反向器INV1‧‧‧ reverser

200、700‧‧‧環型振盪電路200, 700‧‧‧ ring type oscillation circuit

210‧‧‧時脈計數延遲器210‧‧‧clock count retarder

710‧‧‧同步時脈計數延遲器710‧‧‧Synchronous Clock Count Delayer

220‧‧‧信號傳遞同步器220‧‧‧Signal Synchronizer

230、720‧‧‧組合邏輯閘延遲電路230, 720‧‧‧ combination logic gate delay circuit

In‧‧‧輸入信號In‧‧‧ input signal

Tune_clk‧‧‧時脈信號Tune_clk‧‧‧ clock signal

CK_delay[19:0]‧‧‧延遲控制信號CK_delay[19:0]‧‧‧ Delay control signal

In_ck_d‧‧‧延遲信號In_ck_d‧‧‧delay signal

410~4N0‧‧‧信號傳遞同步器單元410~4N0‧‧‧Signal transmission synchronizer unit

I‧‧‧輸入信號I‧‧‧ input signal

OUT、CK_out‧‧‧輸出信號OUT, CK_out‧‧‧ output signal

411‧‧‧延遲邏輯閘411‧‧‧delay logic gate

413‧‧‧多工器413‧‧‧Multiplexer

412‧‧‧相位比對器412‧‧‧ phase comparator

I1、I2‧‧‧輸入信號端I1, I2‧‧‧ input signal terminal

sel[0]、sel[3]、sel[7]‧‧‧選擇信號Sel[0], sel[3], sel[7]‧‧‧ selection signal

610-6M0‧‧‧延遲單元610-6M0‧‧‧ delay unit

611‧‧‧緩衝器611‧‧‧buffer

612‧‧‧多工器612‧‧‧Multiplexer

Ck_nn[0]~Ck_nn[6]‧‧‧控制信號Ck_nn[0]~Ck_nn[6]‧‧‧Control signals

820‧‧‧波緣偵測器820‧‧‧ Wave edge detector

830‧‧‧振盪器830‧‧‧Oscillator

840‧‧‧計數器840‧‧‧ counter

En‧‧‧啟動信號En‧‧‧ start signal

CLR‧‧‧重置信號CLR‧‧‧Reset signal

In_d‧‧‧延遲輸入信號In_d‧‧‧Delayed input signal

922‧‧‧延遲器922‧‧‧ retarder

924‧‧‧互斥或閘924‧‧‧mutual exclusion or gate

926‧‧‧SR閂鎖器926‧‧‧SR latch

S‧‧‧設定端S‧‧‧Setting end

R‧‧‧重置端R‧‧‧Reset end

圖1所示的習知的環型振盪器100。A conventional ring oscillator 100 shown in FIG.

圖2為本發明一實施例之環型振盪器電路200的示意 圖。2 is a schematic diagram of a ring oscillator circuit 200 in accordance with an embodiment of the present invention; Figure.

圖3為本發明一實施例中輸入信號In、時脈信號Tune_clk以及延遲信號In_ck_d時序圖的一個例子。3 is an example of a timing chart of an input signal In, a clock signal Tune_clk, and a delay signal In_ck_d according to an embodiment of the present invention.

圖4為信號傳遞同步器220的實施方式的示意圖。4 is a schematic diagram of an embodiment of a signal transfer synchronizer 220.

圖5為延伸圖3所述之時序圖的另一時序圖。FIG. 5 is another timing diagram for extending the timing diagram described in FIG.

圖6繪示本發明實施例的組合邏輯閘延遲電路230的實施方式。FIG. 6 illustrates an embodiment of a combined logic gate delay circuit 230 in accordance with an embodiment of the present invention.

圖7繪示本發明另一實施例的環型振盪器700之示意圖。FIG. 7 is a schematic diagram of a ring oscillator 700 according to another embodiment of the present invention.

圖8繪示本發明實施例的同步時脈計數延遲器710的一實施方式。FIG. 8 illustrates an embodiment of a synchronous clock count delay 710 in accordance with an embodiment of the present invention.

圖9為本發明一實施例中波緣偵測器820的示意圖。FIG. 9 is a schematic diagram of a wave edge detector 820 according to an embodiment of the invention.

圖10繪示本發明圖7的環型振盪器700的動作波形圖。FIG. 10 is a diagram showing the operation waveforms of the ring oscillator 700 of FIG. 7 of the present invention.

200‧‧‧環型振盪電路200‧‧‧ring type oscillation circuit

210‧‧‧時脈計數延遲器210‧‧‧clock count retarder

220‧‧‧信號傳遞同步器220‧‧‧Signal Synchronizer

230‧‧‧組合邏輯閘延遲電路230‧‧‧Combined logic gate delay circuit

In‧‧‧輸入信號In‧‧‧ input signal

Tune_clk‧‧‧時脈信號Tune_clk‧‧‧ clock signal

CK_delay[19:0]‧‧‧延遲控制信號CK_delay[19:0]‧‧‧ Delay control signal

Claims (12)

一種環型振盪器電路,包括:一時脈計數延遲器,接收一輸入信號、一時脈信號及一第一延遲控制信號,並依據該第一延遲控制信號及該時脈信號延遲該輸入信號以產生一第一延遲信號;一信號傳遞同步器,耦接該時脈計數延遲器,接收該輸入訊號,並依據該輸入信號之轉態點來產生一第二延遲信號;以及一組合邏輯閘延遲電路,耦接該信號傳遞同步器,接收該第二延遲信號,依據該第二延遲控制信號來延遲該第二延遲信號以產生一輸出信號,其中,該時脈計數延遲器接收該輸入信號的端點耦接至該組合邏輯閘延遲電路產生該輸出信號的端點。A ring oscillator circuit includes: a clock count delayer that receives an input signal, a clock signal, and a first delay control signal, and delays the input signal according to the first delay control signal and the clock signal to generate a first delay signal; a signal transmission synchronizer coupled to the clock count delayer, receiving the input signal, and generating a second delay signal according to a transition point of the input signal; and a combined logic gate delay circuit And coupling the signal transmission synchronizer to receive the second delay signal, delaying the second delay signal according to the second delay control signal to generate an output signal, wherein the clock count delay device receives the end of the input signal A point is coupled to the combined logic gate delay circuit to generate an endpoint of the output signal. 如申請專利範圍第1項所述之環型振盪器電路,其中該信號傳遞同步器包括:多數個第一延遲單元,該些第一延遲單元相互串接,各該第一延遲單元具有第一輸入端、第二輸入端以及輸出端,第一級的第一延遲單元的第二輸入端接收該輸入信號,各該第一延遲單元的輸出端耦接至其後一級的第一延遲單元的第二輸入端,該些第一延遲單元的第一輸入端並共同接收該第一延遲信號,其中各該第一延遲單元依據比較其第二輸入端所接收的信號及輸出端的信號的相位,來選擇該第一延遲信號 及各該第一延遲單元的第二輸入端所接收的信號的其中之一以輸出至其輸出端。The ring oscillator circuit of claim 1, wherein the signal transmission synchronizer comprises: a plurality of first delay units, the first delay units are connected in series, and each of the first delay units has a first An input end, a second input end, and an output end, the second input end of the first delay unit of the first stage receives the input signal, and the output end of each of the first delay units is coupled to the first delay unit of the subsequent stage a first input end of the first delay unit and receiving the first delay signal, wherein each of the first delay units compares a signal received by the second input end with a phase of a signal of the output end. To select the first delayed signal And one of the signals received by the second input of each of the first delay units is output to its output. 如申請專利範圍第2項所述之環型振盪器電路,其中各該第一延遲單元包括:一緩衝器,其輸入端耦接各該第一延遲單元的第二輸入端;一相位比對器,耦接各該第一延遲單元的第二輸入端及其輸出端,依據比較其第二輸入端所接收的信號及輸出端的信號的相位來產生一選擇信號;以及一多工器,耦接該緩衝器的輸出端以及該相位比對器,該多工器依據該選擇信號來選擇該第一延遲信號及各該第一延遲單元的第二輸入端所接收的信號的其中之一以輸出至各該第一延遲單元的輸出端。The ring oscillator circuit of claim 2, wherein each of the first delay units comprises: a buffer, the input end of which is coupled to the second input end of each of the first delay units; a phase comparison The second input end of each of the first delay units and the output end thereof are coupled to generate a selection signal according to the signal received by the second input terminal and the phase of the signal at the output end; and a multiplexer coupled An output of the buffer and the phase comparator, the multiplexer selecting one of the first delay signal and the signal received by the second input of each of the first delay units according to the selection signal Output to the output of each of the first delay units. 如申請專利範圍第1項所述之環型振盪器電路,其中,該組合邏輯閘延遲線包括多數個串接的第二延遲單元,各該些第二延遲單元包括輸入端、控制端及輸出端,各該些第二延遲單元依據其控制端所接收的該第二延遲控制信號直接將其輸入端所接收的信號輸出至其輸出端或使各該些第二延遲單元的輸入端所接收的信號傳至至少一邏輯閘以進行延遲,再將延遲後的信號輸出至各該些第二延遲單元的輸出端。The ring oscillator circuit of claim 1, wherein the combined logic gate delay line comprises a plurality of serially connected second delay units, each of the second delay units including an input end, a control end, and an output. The second delay unit directly outputs the signal received by the input terminal to the output terminal or the input terminal of each of the second delay units according to the second delay control signal received by the control terminal. The signal is transmitted to at least one logic gate for delay, and the delayed signal is output to the output ends of each of the second delay units. 如申請專利範圍第4項所述之環型振盪器電路,其中各該些第二延遲單元包括:一緩衝器,其輸入端耦接至各該第二延遲單元的輸入 端;以及一多工器,耦接該緩衝器的輸出端以及輸入端,並接收該第二延遲控制信號的一位元,該多工器依據所接收的該第二延遲控制信號的一位元來選擇輸出該緩衝器的輸出端或輸入端上的信號至各該第二延遲單元的輸出端。The ring oscillator circuit of claim 4, wherein each of the second delay units comprises: a buffer, the input end of which is coupled to the input of each of the second delay units And a multiplexer coupled to the output end of the buffer and the input end, and receiving a bit of the second delay control signal, the multiplexer according to the received one of the second delay control signal The element selects to output a signal on the output or input of the buffer to the output of each of the second delay units. 一種環型振盪器電路,包括:一同步時脈計數延遲器,用以接收一輸入信號以及一延遲控制信號,並依據該第一延遲控制信號及一時脈信號延遲該輸入信號以產生一第一延遲信號;以及一組合邏輯閘延遲電路,用以接收該第一延遲信號,並依據一第二延遲控制信號將該第一延遲信號延遲以產生一輸出信號,其中,該同步時脈計數延遲器接收該輸入信號的端點耦接至該組合邏輯閘延遲電路產生該輸出信號的端點。A ring oscillator circuit includes: a synchronous clock count delayer for receiving an input signal and a delay control signal, and delaying the input signal according to the first delay control signal and a clock signal to generate a first a delay signal; and a combination logic gate delay circuit for receiving the first delay signal and delaying the first delay signal to generate an output signal according to a second delay control signal, wherein the synchronous clock count delay An endpoint receiving the input signal is coupled to the combined logic gate delay circuit to generate an endpoint of the output signal. 如申請專利範圍第6項所述之環型振盪器電路,其中該同步時脈計數延遲器包括:一波緣偵測器,用以偵測該輸入信號的至少一波緣,並藉以輸出一致能信號,其中該輸入信號的該波緣與該致能信號的至少一轉態點在時序上同步;一振盪器,耦接該波緣偵測器,該振盪器依據該致能信號以產生該時脈信號;以及一計數器,用以接收該輸入信號、該時脈信號及該延遲控制信號,並依據該延遲控制信號延遲該輸入信號多數個該時脈信號的週期以產生該延遲信號。The ring oscillator circuit of claim 6, wherein the synchronous clock counter retarder comprises: a wave edge detector for detecting at least one edge of the input signal, and thereby outputting the same The energy signal, wherein the edge of the input signal is synchronized with at least one transition point of the enable signal; an oscillator coupled to the edge detector, the oscillator is generated according to the enable signal The clock signal; and a counter for receiving the input signal, the clock signal and the delay control signal, and delaying a period of the plurality of clock signals of the input signal according to the delay control signal to generate the delayed signal. 如申請專利範圍第6項所述之環型振盪器電路,其中該振盪器為環形振盪器。The ring oscillator circuit of claim 6, wherein the oscillator is a ring oscillator. 如申請專利範圍第6項所述之環型振盪器電路,其中該波緣偵測器包括:一延遲器,接收該輸入信號,並延遲該輸入信號以產生一延遲輸入信號;一互斥或閘,其一輸入端接收該輸入信號,其另一輸入端接收該延遲輸入信號;以及一SR閂鎖器,其設定端耦接該互斥或閘的輸出端,其重置端接收一重置信號。The ring oscillator circuit of claim 6, wherein the edge detector comprises: a delay device that receives the input signal and delays the input signal to generate a delayed input signal; a gate having an input receiving the input signal and another input receiving the delayed input signal; and an SR latch having a set end coupled to the output of the mutex or gate, the reset end receiving a weight Set the signal. 一種環型振盪器電路,包括:一時脈計數延遲器,接收一輸入信號、一時脈信號及一延遲控制信號,並依據該延遲控制信號及該時脈信號延遲該輸入信號以產生一延遲信號;以及一組合邏輯閘延遲電路,耦接該時脈計數延遲器,接收該延遲信號,依據該延遲控制信號來延遲該延遲信號以產生一輸出信號,其中,該時脈計數延遲器接收該輸入信號的端點耦接至該組合邏輯閘延遲電路產生該輸出信號的端點。A ring oscillator circuit includes: a clock count delayer, receiving an input signal, a clock signal, and a delay control signal, and delaying the input signal according to the delay control signal and the clock signal to generate a delay signal; And a combination logic gate delay circuit coupled to the clock count delay device, receiving the delay signal, delaying the delay signal according to the delay control signal to generate an output signal, wherein the clock count delay device receives the input signal The end point is coupled to the combination logic gate delay circuit to generate an endpoint of the output signal. 如申請專利範圍第10項所述之環型振盪器電路,其中,該組合邏輯閘延遲線包括多數個串接的延遲單元,各該些延遲單元包括輸入端、控制端及輸出端,各該些延遲單元依據其控制端所接收的該延遲控制信號直接將其輸入端所接收的信號輸出至其輸出端或使各該些延遲單 元的輸入端所接收的信號傳至至少一邏輯閘以進行延遲,再將延遲後的信號輸出至各該些延遲單元的輸出端。The ring oscillator circuit of claim 10, wherein the combined logic gate delay line comprises a plurality of serially connected delay units, each of the delay units including an input end, a control end, and an output end, each of which The delay unit directly outputs the signal received at the input end thereof to the output terminal according to the delay control signal received by the control terminal thereof or causes each of the delay orders The signal received at the input of the element is passed to at least one logic gate for delay, and the delayed signal is output to the output of each of the delay units. 如申請專利範圍第11項所述之環型振盪器電路,其中各該些延遲單元包括:一緩衝器,其輸入端耦接至各該延遲單元的輸入端;以及一多工器,耦接該緩衝器的輸出端以及輸入端,並接收該延遲控制信號的一位元,該多工器依據所接收的該延遲控制信號的一位元來選擇輸出該緩衝器的輸出端或輸入端上的信號至各該延遲單元的輸出端。The ring oscillator circuit of claim 11, wherein each of the delay units comprises: a buffer, an input end of which is coupled to an input end of each of the delay units; and a multiplexer coupled An output end of the buffer and an input end, and receiving a bit of the delay control signal, the multiplexer selectively outputting the output or the input end of the buffer according to the received one bit of the delay control signal The signal is sent to the output of each of the delay units.
TW101139122A 2012-10-23 2012-10-23 Ring oscillator TWI495266B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW101139122A TWI495266B (en) 2012-10-23 2012-10-23 Ring oscillator
CN201310087521.0A CN103780257B (en) 2012-10-23 2013-03-19 ring oscillator circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101139122A TWI495266B (en) 2012-10-23 2012-10-23 Ring oscillator

Publications (2)

Publication Number Publication Date
TW201417508A TW201417508A (en) 2014-05-01
TWI495266B true TWI495266B (en) 2015-08-01

Family

ID=50572164

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101139122A TWI495266B (en) 2012-10-23 2012-10-23 Ring oscillator

Country Status (2)

Country Link
CN (1) CN103780257B (en)
TW (1) TWI495266B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11855637B2 (en) 2022-02-10 2023-12-26 Changxin Memory Technologies, Inc. Ring oscillator
CN116633320A (en) * 2022-02-10 2023-08-22 长鑫存储技术有限公司 Ring oscillator

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020097098A1 (en) * 2000-11-01 2002-07-25 Benjamim Tang High speed voltage-controlled ring oscillator
TW200407863A (en) * 2002-11-08 2004-05-16 Media Tek Inc Full digital fine-delay signal generator
TW200408197A (en) * 2002-11-15 2004-05-16 Renesas Tech Corp Clock generating circuit including memory for regulating delay amount of variable delay circuit in ring oscillator
TW200952344A (en) * 2008-06-05 2009-12-16 Realtek Semiconductor Corp Timing error detecting device and method thereof
TW201112716A (en) * 2009-09-11 2011-04-01 Sony Corp Synchronous oscillator, clock recovery apparatus, clock distribution circuit, and multi-mode injection circuit
US20120044024A1 (en) * 2010-08-20 2012-02-23 International Business Machines Corporation Latched ring oscillator device for on-chip measurement of clock to output delay in a latch
US20120182054A1 (en) * 2011-01-13 2012-07-19 Texas Instruments Incorporated Programmable ring oscillator used as a temperature sensor

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2908398B1 (en) * 1998-01-14 1999-06-21 日本電気アイシーマイコンシステム株式会社 Digital PLL circuit and oscillator delay element
CN101141129B (en) * 2007-10-26 2010-12-22 威盛电子股份有限公司 Voltage controlled oscillator circuit
CN101944908A (en) * 2010-09-28 2011-01-12 中国人民解放军国防科学技术大学 Multiplexing delay unit circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020097098A1 (en) * 2000-11-01 2002-07-25 Benjamim Tang High speed voltage-controlled ring oscillator
TW200407863A (en) * 2002-11-08 2004-05-16 Media Tek Inc Full digital fine-delay signal generator
TW200408197A (en) * 2002-11-15 2004-05-16 Renesas Tech Corp Clock generating circuit including memory for regulating delay amount of variable delay circuit in ring oscillator
TW200952344A (en) * 2008-06-05 2009-12-16 Realtek Semiconductor Corp Timing error detecting device and method thereof
TW201112716A (en) * 2009-09-11 2011-04-01 Sony Corp Synchronous oscillator, clock recovery apparatus, clock distribution circuit, and multi-mode injection circuit
US20120044024A1 (en) * 2010-08-20 2012-02-23 International Business Machines Corporation Latched ring oscillator device for on-chip measurement of clock to output delay in a latch
US20120182054A1 (en) * 2011-01-13 2012-07-19 Texas Instruments Incorporated Programmable ring oscillator used as a temperature sensor

Also Published As

Publication number Publication date
TW201417508A (en) 2014-05-01
CN103780257A (en) 2014-05-07
CN103780257B (en) 2017-05-17

Similar Documents

Publication Publication Date Title
US6710726B2 (en) Serializer-deserializer circuit having increased margins for setup and hold time
JP4196657B2 (en) Data recovery method and digitally controlled clock data recovery circuit
EP1605594B1 (en) Clock frequency divider and trigger signal generation circuit for same
US8315349B2 (en) Bang-bang phase detector with sub-rate clock
TWI488440B (en) Delay locked loop circuit and memory device having the same
US7453297B1 (en) Method of and circuit for deskewing clock signals in an integrated circuit
KR20090074412A (en) Circuit of dividing the frequency and phase locked loop using the same
WO2008012928A1 (en) Phase comparator, phase comparison device, and clock data recovery system
TW201112225A (en) Data transmission apparatus
JP5097573B2 (en) Frequency divider circuit
US20190339650A1 (en) Time-to-digital converter circuit
CN103516355A (en) Delay control circuit and clock generation circuit including the same
US7157953B1 (en) Circuit for and method of employing a clock signal
KR102140117B1 (en) Circuit for adjusting clock phase and semiconductor device including the same
TWI495266B (en) Ring oscillator
JP2005338619A (en) Dot clock synchronous generating circuit
CN102045042A (en) Frequency signal generating method for testing of semiconductor element
TWI685200B (en) Synchronous mirror delay circuit and operation method for synchronous mirror delay
US8132039B1 (en) Techniques for generating clock signals using counters
US7535278B1 (en) Circuits and methods of using parallel counter controlled delay lines to generate a clock signal
JP2007053685A (en) Semiconductor integrated circuit device
US7453301B1 (en) Method of and circuit for phase shifting a clock signal
EP1336270B1 (en) An arrangement for capturing data
KR20120027850A (en) Duty correcting circuit having a duty detector, delay-locked loop circuit having the duty correcting circuit and method of duty correction
Liu et al. 180.5 Mbps-8Gbps DLL-based clock and data recovery circuit with low jitter performance