TWI811128B - Oscillator with pvt variation suppression - Google Patents

Oscillator with pvt variation suppression Download PDF

Info

Publication number
TWI811128B
TWI811128B TW111137917A TW111137917A TWI811128B TW I811128 B TWI811128 B TW I811128B TW 111137917 A TW111137917 A TW 111137917A TW 111137917 A TW111137917 A TW 111137917A TW I811128 B TWI811128 B TW I811128B
Authority
TW
Taiwan
Prior art keywords
voltage
signal
pmos
variation detection
output
Prior art date
Application number
TW111137917A
Other languages
Chinese (zh)
Other versions
TW202416664A (en
Inventor
王朝欽
何詠媛
樓邦彥
陳穎萱
Original Assignee
國立中山大學
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 國立中山大學 filed Critical 國立中山大學
Priority to TW111137917A priority Critical patent/TWI811128B/en
Application granted granted Critical
Publication of TWI811128B publication Critical patent/TWI811128B/en
Publication of TW202416664A publication Critical patent/TW202416664A/en

Links

Images

Landscapes

  • Oscillators With Electromechanical Resonators (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

An oscillator with PVT variation suppression includes a voltage variation detection circuit, a temperature variation detection circuit, a process variation detection circuit, an operation unit and an oscillator. The operation unit is electrically connected to the voltage variation detection circuit, the temperature variation detection circuit and the process variation detection circuit, and the operation unit outputs an output selection control signal according to the process variation detection signal, the voltage variation detection signal and the temperature variation detection signal. A plurality of delay units of the oscillator are connected in series with each other, and each of the delay elements output a delay signal. A plurality of multiplexers of the oscillator are electrically connected to each of the delay units to receive each of the delay signals, and the multiplexers are controlled by the output selection control signal to output one of the delay signals as an oscillation signal.

Description

抑制製程、電壓、溫度變異之振盪器Oscillators that suppress process, voltage, and temperature variations

本發明是關於一種振盪器,特別是關於一種抑制製程、電壓、溫度變異之振盪器。The present invention relates to an oscillator, in particular to an oscillator that suppresses process, voltage, and temperature variations.

許多電子電路中皆須設置有振盪器提供參考頻率,讓電子電路中的各個元件同步,例如處理器中將振盪器輸出之振盪訊號作為時脈訊號,以同步記憶體中資料的存取及運算,又例如在通訊系統中將振盪器作為本地振盪源,以利用本地振盪源輸出之固定頻率進行無線訊號的收發。但由於目前半導體製程不斷縮小,積體電路將多個系統整合於單一基板上,這使得先進整合製程容易產生溫度升高及電壓落差的問題,導致振盪器輸出之頻率受到電壓、溫度及製程變異的影響而無法輸出預期之頻率。Many electronic circuits must be equipped with an oscillator to provide a reference frequency to synchronize the various components in the electronic circuit. For example, in the processor, the oscillation signal output by the oscillator is used as a clock signal to synchronize the access and operation of data in the memory. , and for example, in the communication system, the oscillator is used as the local oscillation source to use the fixed frequency output by the local oscillation source to transmit and receive wireless signals. However, due to the continuous shrinking of the current semiconductor manufacturing process, integrated circuits integrate multiple systems on a single substrate, which makes the advanced integrated manufacturing process prone to temperature rise and voltage drop problems, resulting in the output frequency of the oscillator being affected by voltage, temperature and process variation. The expected frequency cannot be output due to the influence.

本發明的主要目的在於藉由電壓變異偵測電路、溫度變異偵測電路及製程變異偵測電路分別偵測之電壓變異偵測訊號、溫度變異偵測訊號及製程變異偵測訊號調整振盪器輸出之振盪訊號的頻率,而可得到抑制電壓、溫度及製程變異,輸出頻率穩定之振盪器。The main purpose of the present invention is to adjust the oscillator output through the voltage variation detection signal, temperature variation detection signal and process variation detection signal respectively detected by the voltage variation detection circuit, temperature variation detection circuit and process variation detection circuit The frequency of the oscillating signal can suppress voltage, temperature and process variations, and an oscillator with stable output frequency can be obtained.

本發明一種抑制製程、電壓、溫度變異之振盪器包含一電壓變異偵測電路、一溫度變異偵測電路、一製程變異偵測電路、一運算單元及一振盪器,該電壓變異偵測電路輸出一電壓變異偵測訊號,該溫度變異偵測電路輸出一溫度變異偵測訊號,該製程變異偵測電路輸出一製程變異偵測訊號,該運算單元電性連接該電壓變異偵測電路、該溫度變異偵測電路及該製程變異偵測電路以接收該電壓變異偵測訊號、該溫度變異偵測訊號及該製程變異偵測訊號,且該運算單元根據該製程變異偵測訊號、該電壓變異偵測訊號及溫度變異偵測訊號輸出一輸出選擇控制訊號,該振盪器具有複數個延遲元件及複數個多工器,該些延遲單元相互串接,且各該延遲元件輸出一延遲訊號,各該多工器電性連接各該延遲單元以接收各該延遲訊號,且該些多工器受該輸出選擇控制訊號控制而輸出其中之一該延遲訊號為一振盪訊號。An oscillator for suppressing process, voltage, and temperature variations of the present invention includes a voltage variation detection circuit, a temperature variation detection circuit, a process variation detection circuit, a computing unit, and an oscillator. The voltage variation detection circuit outputs A voltage variation detection signal, the temperature variation detection circuit outputs a temperature variation detection signal, the process variation detection circuit outputs a process variation detection signal, the computing unit is electrically connected to the voltage variation detection circuit, the temperature The variation detection circuit and the process variation detection circuit are used to receive the voltage variation detection signal, the temperature variation detection signal and the process variation detection signal, and the calculation unit according to the process variation detection signal, the voltage variation detection The measurement signal and the temperature variation detection signal output an output selection control signal. The oscillator has a plurality of delay elements and a plurality of multiplexers. The delay units are connected in series, and each of the delay elements outputs a delay signal. The multiplexers are electrically connected to the delay units to receive the delayed signals, and the multiplexers are controlled by the output selection control signal to output one of the delayed signals as an oscillation signal.

本發明藉由該運算單元根據該電壓變異偵測電路之該電壓變異偵測訊號、該溫度變異偵測電路之該溫度變異偵測訊號及該製程變異偵測電路之該製程變異偵測訊號輸出該輸出選擇控制訊號Sel控制該振盪器,使該振盪器輸出能夠抑制電壓、溫度及製程變異。According to the present invention, the calculation unit outputs the voltage variation detection signal of the voltage variation detection circuit, the temperature variation detection signal of the temperature variation detection circuit and the process variation detection signal of the process variation detection circuit The output selection control signal Sel controls the oscillator so that the oscillator output can suppress voltage, temperature and process variation.

請參閱第1圖,其為本發明之一實施例,一種抑制製程、電壓、溫度變異之振盪器100的功能方塊圖,抑制製程、電壓、溫度變異之振盪器100具有一電壓變異偵測電路110、一溫度變異偵測電路120、一製程變異偵測電路130、一運算單元140及一振盪器150。 Please refer to FIG. 1, which is an embodiment of the present invention, a functional block diagram of an oscillator 100 that suppresses variations in process, voltage, and temperature. The oscillator 100 that suppresses variations in process, voltage, and temperature has a voltage variation detection circuit 110 . A temperature variation detection circuit 120 , a process variation detection circuit 130 , an arithmetic unit 140 and an oscillator 150 .

請參閱第1及2圖,該電壓變異偵測電路110用以偵測電壓變異而輸出一電壓變異偵測訊號V[4:0],在本實施例中,該電壓變異偵測電路110具有一延遲線111、一可控制延遲電路112、一暫存單元113及一邏輯閘組114。該延遲線111接收一時脈訊號clk,該延遲線111具有複數個延遲器111a,該些延遲器111a用以對該時脈訊號clk進行延遲,且該些延遲器111a輸出複數個延遲訊號D1~D6,該可控制延遲電路112接收一電源電壓VDD、一正端控制電壓Vc+、一負端控制電壓Vc-及其中之一該延遲器111a輸出之該延遲訊號D6,該可控制延遲電路112依據該電源電壓VDD、該正端控制電壓Vc+及該負端控制電壓Vc-延遲該延遲訊號clk而輸出一延遲時脈訊號Dclk,該暫存單元113電性該延遲線111及該可控制延遲電路112以接收該些延遲訊號D1~D6及該延遲時脈訊號Dclk,且該暫存單元 113被該延遲時脈訊號Dclk觸發而儲存該些延遲訊號D1~D6,該電壓變異偵測電路110將該些延遲訊號D1~D6輸出為一電壓變異偵測訊號V[4:0]。 Please refer to Figures 1 and 2, the voltage variation detection circuit 110 is used to detect voltage variation and output a voltage variation detection signal V[4:0]. In this embodiment, the voltage variation detection circuit 110 has A delay line 111 , a controllable delay circuit 112 , a temporary storage unit 113 and a logic gate group 114 . The delay line 111 receives a clock signal clk, the delay line 111 has a plurality of delayers 111a, and the delayers 111a are used to delay the clock signal clk, and the delayers 111a output a plurality of delay signals D1~ D6, the controllable delay circuit 112 receives a power supply voltage VDD, a positive terminal control voltage Vc+, a negative terminal control voltage Vc- and the delay signal D6 output by one of the delayer 111a, the controllable delay circuit 112 according to The power supply voltage VDD, the positive terminal control voltage Vc+ and the negative terminal control voltage Vc− delay the delay signal clk to output a delayed clock signal Dclk. The temporary storage unit 113 is electrically connected to the delay line 111 and the controllable delay circuit. 112 to receive the delayed signals D1~D6 and the delayed clock signal Dclk, and the temporary storage unit 113 is triggered by the delayed clock signal Dclk to store the delayed signals D1-D6, and the voltage variation detection circuit 110 outputs the delayed signals D1-D6 as a voltage variation detection signal V[4:0].

請參閱第3圖,該可控制延遲電路112由複數個延遲單元112a串聯而成,各該延遲單元112a具有一正端負載112b、一負端負載112c及一反向器112d。該正端負載112b接收該電源電壓VDD及該正端控制電壓Vc+,該負端負載112c接收該負端控制電壓Vc-及接地,該反向器112d電性連接該正端負載112b及該負端負載112c並對輸入訊號進行反向。在本實施例中,該正端負載112b具有一第一PMOS高壓電晶體Mp1及一第二PMOS高壓電晶體Mp2,該第一、二PMOS高壓電晶體Mp1、Mp2之源極接收該電源電壓VDD,該第一PMOS高壓電晶體Mp1之閘極接收該正端控制電壓Vc+,該第一PMOS高壓電晶體Mp1之汲極、該第二PMOS高壓電晶體Mp2之閘極及汲極電性連接該反向器112d之一第三PMOS高壓電晶體Mp3。該負端負載112c具有一第一NMOS高壓電晶體Mn1及一第二NMOS高壓電晶體Mn2,該第一、二NMOS高壓電晶體Mn1、Mn2之源極接地,該第一NMOS高壓電晶體Mn1之閘極接收該負端控制電壓Vc-,該第一NMOS高壓電晶體Mn1之汲極、該第二NMOS高壓電晶體Mn2之閘極及汲極電性連接該反向器112d之一第三NMOS高壓電晶體Mn3。本實施例是由第一位元之該延遲單元112a接收該延遲訊號D6,再經由各該延遲單元112a的依序延遲後由最後一位元之該延遲單元112a輸出該延遲時脈訊號Dclk,此外,由於本實施例藉由該正端控制電壓Vc+及該負端控制電壓Vc-控制該正端負載112b及該負端負載112c的阻抗大小,可避免因為製程飄移導致該延遲時脈訊號Dclk的錯誤,讓電壓變異之偵測能夠更加準確。 Please refer to FIG. 3, the controllable delay circuit 112 is composed of a plurality of delay units 112a connected in series, and each delay unit 112a has a positive load 112b, a negative load 112c and an inverter 112d. The positive end load 112b receives the power supply voltage VDD and the positive end control voltage Vc+, the negative end load 112c receives the negative end control voltage Vc- and is grounded, and the inverter 112d is electrically connected to the positive end load 112b and the negative end load 112b. end load 112c and inverts the input signal. In this embodiment, the positive end load 112b has a first PMOS high voltage transistor Mp1 and a second PMOS high voltage transistor Mp2, and the sources of the first and second PMOS high voltage transistors Mp1 and Mp2 receive the The power supply voltage VDD, the gate of the first PMOS high voltage transistor Mp1 receives the positive terminal control voltage Vc+, the drain of the first PMOS high voltage transistor Mp1, the gate of the second PMOS high voltage transistor Mp2 and The drain is electrically connected to a third PMOS high voltage transistor Mp3 of the inverter 112d. The negative terminal load 112c has a first NMOS high voltage transistor Mn1 and a second NMOS high voltage transistor Mn2, the sources of the first and second NMOS high voltage transistors Mn1, Mn2 are grounded, and the first NMOS high voltage The gate of the transistor Mn1 receives the negative terminal control voltage Vc-, the drain of the first NMOS high voltage transistor Mn1, the gate and the drain of the second NMOS high voltage transistor Mn2 are electrically connected to the inverter One of 112d is a third NMOS high voltage transistor Mn3. In this embodiment, the delay unit 112a of the first bit receives the delayed signal D6, and then the delay unit 112a of the last bit outputs the delayed clock signal Dclk after being sequentially delayed by each of the delay units 112a, In addition, since the present embodiment uses the positive terminal control voltage Vc+ and the negative terminal control voltage Vc− to control the impedances of the positive terminal load 112b and the negative terminal load 112c, the delayed clock signal Dclk due to process drift can be avoided. errors, so that the detection of voltage variation can be more accurate.

請參閱第2圖,該暫存單元113電性該延遲線111及該可控制延遲電路112以接收該些延遲訊號D1-D6及該延遲時脈訊號Dclk,且該暫存單元113被該延遲時脈訊號Dclk觸發而儲存該些延遲訊號D1-D6。在本實施例中,該暫存單元113具有複數個暫存器113a,各該暫存器113a電性連接各該緩衝器111a以接收並由該延遲時脈訊號Dclk的觸發暫存各該延遲訊號D1-D6。由於該電源電壓VDD的電壓變異會改變該可控制延遲電路112輸出之該延遲時脈訊號Dclk的觸發時間,因此,在不同電壓變異下之該些暫存器113a所儲存的該些延遲訊號D1-D6的電位並不相同,而可藉由該些暫存器113a儲存之該些延遲訊號D1-D6的電位判斷該電源電壓VDD的電壓變異。Please refer to FIG. 2, the temporary storage unit 113 is electrically connected to the delay line 111 and the controllable delay circuit 112 to receive the delayed signals D1-D6 and the delayed clock signal Dclk, and the temporary storage unit 113 is delayed by the The clock signal Dclk is triggered to store the delayed signals D1-D6. In this embodiment, the temporary storage unit 113 has a plurality of temporary registers 113a, and each of the temporary registers 113a is electrically connected to each of the buffers 111a to receive and temporarily store the delays triggered by the delayed clock signal Dclk. Signals D1-D6. Since the voltage variation of the power supply voltage VDD will change the triggering time of the delayed clock signal Dclk output by the controllable delay circuit 112, the delayed signals D1 stored in the registers 113a under different voltage variations - The potentials of D6 are different, and the voltage variation of the power supply voltage VDD can be judged by the potentials of the delay signals D1-D6 stored in the registers 113a.

該邏輯閘組114具有複數個邏輯閘114a,該些邏輯閘114a電性連接該些暫存器113a以接收暫存之該些延遲訊號D1-D6,且該些邏輯閘114a輸出該電壓變異偵測訊號V[4:0],在本實施例中,該些邏輯閘114a皆為互斥或閘。雖然藉由該些邏輯閘114a儲存之該些延遲訊號D1-D6的電位可判斷該電源電壓VDD的電壓變異,但些邏輯閘114a儲存之該些延遲訊號D1-D6的電位變化可能較無規律性,較佳的,本實施例藉由該延遲線111及該可控制延遲電路112之延遲量的設計,讓該些邏輯閘114a輸出之該電壓變異偵測訊號V[4:0]在不同電壓變異下有著規律性的變化,以便於後端電路針對電壓變異進行控制。The logic gate group 114 has a plurality of logic gates 114a, the logic gates 114a are electrically connected to the registers 113a to receive the temporarily stored delayed signals D1-D6, and the logic gates 114a output the voltage variation detection The test signal V[4:0], in this embodiment, the logic gates 114a are mutually exclusive OR gates. Although the voltage variation of the power supply voltage VDD can be judged by the potentials of the delayed signals D1-D6 stored in the logic gates 114a, the potential changes of the delayed signals D1-D6 stored in the logic gates 114a may be relatively irregular. Preferably, in this embodiment, through the design of the delay line 111 and the delay amount of the controllable delay circuit 112, the voltage variation detection signal V[4:0] output by the logic gates 114a is different There are regular changes under the voltage variation, so that the back-end circuit can control the voltage variation.

請參閱第1圖,該溫度變異偵側電路120用以偵測溫度變異而輸出一溫度變異偵測訊號T[12:8],請參閱第4圖,在本實施例中,該溫度變異偵側電路120具有一電流產生器121、一充放電電路122、一窗口型比較器123及一編碼器124,該電流產生器121用以輸出一輸出電流Io。該充放電電路122電性連接該電流產生器121以接收該輸出電流Io並輸出一充電電壓Vc。該窗口型比較器123電性連接該充放電電路122以接收該充電電壓Vc,且該窗口型比較器123輸出一輸出電壓Vo至該充放電電路122,該充放電電路122依據該輸出電壓Vo進行充電或放電。該編碼器124電性連接該窗口型比較器123以接收該輸出電壓Vo並將該輸出電壓Vo輸出為該溫度變異偵測訊號T[12:8]。Please refer to Figure 1, the temperature variation detection circuit 120 is used to detect temperature variation and output a temperature variation detection signal T[12:8], please refer to Figure 4, in this embodiment, the temperature variation detection The side circuit 120 has a current generator 121 , a charging and discharging circuit 122 , a window comparator 123 and an encoder 124 , and the current generator 121 is used to output an output current Io. The charging and discharging circuit 122 is electrically connected to the current generator 121 to receive the output current Io and output a charging voltage Vc. The window comparator 123 is electrically connected to the charging and discharging circuit 122 to receive the charging voltage Vc, and the window comparator 123 outputs an output voltage Vo to the charging and discharging circuit 122, and the charging and discharging circuit 122 is based on the output voltage Vo to charge or discharge. The encoder 124 is electrically connected to the window comparator 123 to receive the output voltage Vo and output the output voltage Vo as the temperature variation detection signal T[12:8].

請參閱第5圖,該電流產生器121具有一第一電流鏡121a、一電阻121b及一第二電流鏡121c,該電阻121b電性連接該第一電流鏡121a及該第二電流鏡121c,該電阻121b用以產生該輸出電流Io,該第二電流鏡121c電性連接該充放電電路122,該第二電流鏡121c用以將該輸出電流Io映射至該充放電電路122,較佳的,該輸出電流Io的電流值與溫度呈線性關係。Please refer to FIG. 5, the current generator 121 has a first current mirror 121a, a resistor 121b and a second current mirror 121c, the resistor 121b is electrically connected to the first current mirror 121a and the second current mirror 121c, The resistor 121b is used to generate the output current Io, the second current mirror 121c is electrically connected to the charging and discharging circuit 122, and the second current mirror 121c is used to map the output current Io to the charging and discharging circuit 122, preferably , the current value of the output current Io has a linear relationship with the temperature.

請參閱第5圖,該充放電電路122具有一充電電流鏡122a、一充放電電容122b、一充放電開關122c及一放電電流鏡122d。該充電電流鏡122a電性連接該第二電流鏡121c及該充放電電容122b,該充電電流鏡122a用以將該第二電流鏡121c的電流映射至該充放電電容122b。該充放電開關122c電性連接該充放電電容122b及該放電電流鏡122d,該充放電開關122c受該輸出電壓Vo的控制導通或截止該放電電流鏡122d與該充放電電容122b之間的電性連接,以切換該充電電流鏡122a對該充放電電容122b充電,或讓該充放電電容122b經由該放電電流鏡122d放電,該充放電電容122b的端電壓則輸出為該充電電壓Vc。在本實施例中,該輸出電壓Vo為高電位時,該充放電開關122c截止該放電電流鏡122d與該充放電電容122b之間的電性連接而進入充電模式,該輸出電壓Vo為低電位時,該充放電開關122c導通該放電電流鏡122d與該充放電電容122b之間的電性連接而進入放電模式。Please refer to FIG. 5, the charging and discharging circuit 122 has a charging current mirror 122a, a charging and discharging capacitor 122b, a charging and discharging switch 122c and a discharging current mirror 122d. The charging current mirror 122a is electrically connected to the second current mirror 121c and the charging and discharging capacitor 122b, and the charging current mirror 122a is used for mapping the current of the second current mirror 121c to the charging and discharging capacitor 122b. The charge and discharge switch 122c is electrically connected to the charge and discharge capacitor 122b and the discharge current mirror 122d, and the charge and discharge switch 122c is controlled by the output voltage Vo to turn on or off the voltage between the discharge current mirror 122d and the charge and discharge capacitor 122b. To switch the charging current mirror 122a to charge the charging and discharging capacitor 122b, or to let the charging and discharging capacitor 122b discharge through the discharging current mirror 122d, the terminal voltage of the charging and discharging capacitor 122b is output as the charging voltage Vc. In this embodiment, when the output voltage Vo is at a high potential, the charging and discharging switch 122c cuts off the electrical connection between the discharging current mirror 122d and the charging and discharging capacitor 122b to enter the charging mode, and the output voltage Vo is at a low potential. , the charge and discharge switch 122c conducts the electrical connection between the discharge current mirror 122d and the charge and discharge capacitor 122b to enter the discharge mode.

其中,藉由該充電電流鏡122a及該放電電流鏡122d之電晶體尺寸差異的設計,可讓該放電電流鏡122d之電流大小為該充電電流鏡122a之電流大小的兩倍,因此,當該輸出電壓Vo控制該充放電開關122c讓該放電電流鏡122d與該充放電電容122b之間截止時,該充電電流鏡122a之電流會對該充放電電容122b進行充電使該充電電壓Vc上升。反之,當該輸出電壓Vo控制該充放電開關122c讓該放電電流鏡122d與該充放電電容122b之間導通時,雖然該充電電流鏡122a會持續提供電流,但由於該放電電流鏡122d之電流大小為該充電電流鏡122a之電流大小的兩倍,使得該充電電流鏡122a的電流會流向該放電電流鏡122d,且該充放電電容122b也會朝該放電電流鏡122d放電而讓充電電壓Vc下降。 Wherein, by the design of the transistor size difference between the charging current mirror 122a and the discharging current mirror 122d, the current of the discharging current mirror 122d can be twice the current of the charging current mirror 122a. Therefore, when the When the output voltage Vo controls the charging and discharging switch 122c to cut off the connection between the discharging current mirror 122d and the charging and discharging capacitor 122b, the current of the charging current mirror 122a will charge the charging and discharging capacitor 122b to increase the charging voltage Vc. On the contrary, when the output voltage Vo controls the charging and discharging switch 122c to conduct between the discharging current mirror 122d and the charging and discharging capacitor 122b, although the charging current mirror 122a will continue to provide current, due to the current of the discharging current mirror 122d The magnitude is twice the current magnitude of the charging current mirror 122a, so that the current of the charging current mirror 122a will flow to the discharging current mirror 122d, and the charging and discharging capacitor 122b will also discharge toward the discharging current mirror 122d to make the charging voltage Vc decline.

請參閱第5及6圖,該窗口型比較器123具有一第一比較器123a、一第二比較器123b、一比較器切換開關123c、一初始電壓開關123d及一VWC(voltage windows comparator)反向器123e。該第一比較器123a電性連接該充放電電容122b以接收該充電電壓Vc及該高電位參考電壓VH進行比較而輸出一第一比較訊號op1。該第二比較器123b電性連接該充放電電容122b以接收該充電電壓Vc及該低電位參考電壓VL進行比較而輸出一第二比較訊號op2。該比較器切換開關123c電性連接該該第一、二比較器123a、123b及該VWC反向器123e,該比較器切換開關123c受該輸出電壓Vo的控制以選擇性地將該第一比較訊號op1或該第二比較訊號op2傳送至該VWC反向器123e進行反向,該初始電壓開關123d電性連接該VWC反向器123e及接地,該VWC反向器123e輸出該輸出電壓Vo。其中,該初始電壓開關123d受一初始電壓控制訊號In控制,用以在導通時將該VWC反向器123e接地,使該VWC反向器123e輸出之該輸出電壓Vo為高電位。其中,當該輸出電壓Vo為高電位時,該比較器切換開關123c切換至該第一比較器123a,以將該第一比較訊號op1傳送至該VWC反向器123e進行反向,相對地,當該輸出電壓Vo為低電位時,該比較器切換開關123c切換至該第二比較器123b,以將該 第二比較訊號op2傳送至該VWC反向器123e進行反向。 Please refer to Figures 5 and 6, the window comparator 123 has a first comparator 123a, a second comparator 123b, a comparator switch 123c, an initial voltage switch 123d and a VWC (voltage windows comparator) inverter. to the device 123e. The first comparator 123a is electrically connected to the charging and discharging capacitor 122b to receive the charging voltage Vc and the high potential reference voltage VH for comparison and output a first comparison signal op1. The second comparator 123b is electrically connected to the charging and discharging capacitor 122b to receive the charging voltage Vc and the low potential reference voltage VL for comparison and output a second comparison signal op2. The comparator switch 123c is electrically connected to the first and second comparators 123a, 123b and the VWC inverter 123e, the comparator switch 123c is controlled by the output voltage Vo to selectively the first comparator The signal op1 or the second comparison signal op2 is sent to the VWC inverter 123e for inversion. The initial voltage switch 123d is electrically connected to the VWC inverter 123e and ground, and the VWC inverter 123e outputs the output voltage Vo. Wherein, the initial voltage switch 123d is controlled by an initial voltage control signal In, and is used to ground the VWC inverter 123e when turned on, so that the output voltage Vo output by the VWC inverter 123e is at a high potential. Wherein, when the output voltage Vo is at a high potential, the comparator switching switch 123c is switched to the first comparator 123a, so as to transmit the first comparison signal op1 to the VWC inverter 123e for inversion, relatively, When the output voltage Vo is low, the comparator switching switch 123c is switched to the second comparator 123b, so that the The second comparison signal op2 is sent to the VWC inverter 123e for inversion.

請參閱第4圖,該編碼器124電性連接該窗口型比較器123以接收該輸出電壓Vo,該編碼器124依據該輸出電壓Vo輸出該溫度變異偵測訊號T[12:8]。該編碼器124用以將該輸出電壓Vo的電位變化轉換為數位訊號,以利後端電路針對溫度變異進行控制。 Please refer to FIG. 4 , the encoder 124 is electrically connected to the window comparator 123 to receive the output voltage Vo, and the encoder 124 outputs the temperature variation detection signal T[12:8] according to the output voltage Vo. The encoder 124 is used to convert the potential change of the output voltage Vo into a digital signal, so as to facilitate the back-end circuit to control the temperature variation.

該溫度變異偵側電路120的電路作動為:該電流產生器121輸出之該輸出電流Io映射至該充放電電路122讓該充電電流鏡122a及該放電電流鏡122d產生電流;該初始電壓控制訊號In導通該初始電壓開關123d,使該輸出電壓Vo為高電位,此時進入充電模式,該充放電開關122c截止該充放電電容122b與該放電電流鏡122d之間的電性連接,該充電電流鏡122a對該充放電電容122b充電,使該充電電壓Vc上升,當該充電電壓Vc上升至大於該高電位參考電壓VH時,該第一比較訊號op1上升至高電位而讓該VWC反向器123e輸出之該輸出電壓Vo轉為低電位;此時進入放電模式,該充放電開關122c導通該充放電電容122b與該放電電流鏡122d之間的電性連接,該充放電電容122b放電,使該充電電壓Vc下降,當該充電電壓Vc下降至小於該低電位參考電壓VL時,該第二比較訊號op2上升至低電位而讓該VWC反向器123e輸出之該輸出電壓Vo轉為高電位,又重新進入充電模式。該充放電電容122b反覆的充放電使得該輸出電壓Vo在高低電位之間振盪,且由於輸出電流Io的大小能改變充放電的速度,讓該輸出電壓Vo的振盪頻率與該輸出電流Io的大小呈線性關係,也由於該輸出電流Io與溫度為線性關係,而可讓該輸出電壓Vo的頻率與溫度為線性關係並測得溫度變異。 The circuit operation of the temperature variation detection circuit 120 is as follows: the output current Io output by the current generator 121 is mapped to the charge and discharge circuit 122 so that the charge current mirror 122a and the discharge current mirror 122d generate current; the initial voltage control signal In turns on the initial voltage switch 123d, so that the output voltage Vo is at a high potential, and enters the charging mode at this time, the charging and discharging switch 122c cuts off the electrical connection between the charging and discharging capacitor 122b and the discharging current mirror 122d, and the charging current The mirror 122a charges the charging and discharging capacitor 122b to increase the charging voltage Vc. When the charging voltage Vc rises to be higher than the high potential reference voltage VH, the first comparison signal op1 rises to a high potential to make the VWC inverter 123e The output voltage Vo of the output turns to a low potential; at this time, it enters the discharge mode, and the charge and discharge switch 122c conducts the electrical connection between the charge and discharge capacitor 122b and the discharge current mirror 122d, and the charge and discharge capacitor 122b is discharged to make the The charging voltage Vc drops, and when the charging voltage Vc drops below the low potential reference voltage VL, the second comparison signal op2 rises to a low potential to make the output voltage Vo output by the VWC inverter 123e turn to a high potential, Re-enter charging mode. The repeated charging and discharging of the charging and discharging capacitor 122b causes the output voltage Vo to oscillate between high and low potentials, and since the magnitude of the output current Io can change the speed of charging and discharging, the oscillation frequency of the output voltage Vo is related to the magnitude of the output current Io It has a linear relationship, and because the output current Io has a linear relationship with the temperature, the frequency of the output voltage Vo can have a linear relationship with the temperature and the temperature variation can be measured.

請參閱第1圖,該製程變異偵測電路130用以偵測製程變異而輸出一製程變異偵測訊號P,在本實施例中,該製程變異偵測電路130具有一NMOS製 程變異偵測器131及PMOS製程變異偵測器132,該製程變異偵測訊號P包含一NMOS製程變異訊號PN及一PMOS製程變異訊號PP,該NMOS製程變異偵測器131用以偵測NMOS製程變異而輸出該NMOS製程變異偵測訊號PN,該PMOS製程變異偵測器132用以偵測PMOS製程變異而輸出該PMOS製程變異偵測訊號PP。 Please refer to FIG. 1, the process variation detection circuit 130 is used to detect process variation and output a process variation detection signal P. In this embodiment, the process variation detection circuit 130 has an NMOS Process variation detector 131 and PMOS process variation detector 132, the process variation detection signal P includes an NMOS process variation signal PN and a PMOS process variation signal PP, the NMOS process variation detector 131 is used to detect NMOS The NMOS process variation detection signal PN is outputted for the process variation, and the PMOS process variation detector 132 is used to detect the PMOS process variation and output the PMOS process variation detection signal PP.

請參閱第7圖,該NMOS製程變異偵測器131具有複數個NMOS反向電路131a、複數個CMOS反向電路131b、一及閘131c及一計數器131d,該些NMOS反向電路131a及該些CMOS反向電路131b交叉串接為一環形振盪單元RO,該環形振盪單元RO輸出一製程變異振盪訊號POs,該及閘131c電性連接該環形振盪單元RO及該振盪器150以接收該製程變異振盪訊號POs及一製程時脈訊號clkP,該及閘131c輸出一及閘訊號and,該及閘訊號and並迴授為該環形振盪單元RO的輸入訊號,該計數器131d經由反向器電性連接該及閘以131c接收反向之該及閘訊號and,該計數器131d用以計數該及閘訊號and的突波次數而輸出一計數訊號。 Please refer to FIG. 7, the NMOS process variation detector 131 has a plurality of NMOS inversion circuits 131a, a plurality of CMOS inversion circuits 131b, an AND gate 131c and a counter 131d, the NMOS inversion circuits 131a and the The CMOS reverse circuit 131b is cross-connected to form a ring oscillator unit RO, the ring oscillator unit RO outputs a process variation oscillation signal POs, and the AND gate 131c is electrically connected to the ring oscillator unit RO and the oscillator 150 to receive the process variation Oscillation signal POs and a process clock signal clkP, the AND gate 131c outputs an AND gate signal and, and the AND gate signal and is fed back as the input signal of the ring oscillator unit RO, and the counter 131d is electrically connected through an inverter The AND gate 131c receives the reverse AND gate signal and, and the counter 131d is used to count the number of surges of the AND gate signal and to output a count signal.

其中,由於該環形振盪單元RO的該NMOS反向電路131a會受到製程變異的影響,使該環形振盪單元RO之該製程變異振盪訊號POs在該製程時脈訊號clkP之一週期中的振盪次數發生變化,且該製程時脈訊號ClkP於訊號上緣會重置該計數器131d,讓該計數器131d所計數之該及閘訊號and的突波次數即為該製程變異振盪訊號POs在該製程時脈訊號clkP之一週期中的振盪次數,因此,本實施例可藉此測得NMOS的製程角落。 Wherein, since the NMOS inverting circuit 131a of the ring oscillator unit RO is affected by process variations, the oscillation times of the process variation oscillation signal POs of the ring oscillator unit RO in one cycle of the process clock signal clkP are generated change, and the process clock signal ClkP will reset the counter 131d at the signal upper edge, so that the number of pulses of the gate signal and counted by the counter 131d is the process variation oscillation signal POs in the process clock signal The number of oscillations in one period of clkP, therefore, this embodiment can measure the process corner of NMOS.

較佳的,在本實施例中,該計數訊號的最高兩位元Ct1、Ct2儲存於兩暫存器R1、R2中,該兩暫存器R1、R2所儲存之數據則輸出為該NMOS製程變異偵測訊號PN。 Preferably, in this embodiment, the highest two bits Ct1 and Ct2 of the counting signal are stored in two registers R1 and R2, and the data stored in the two registers R1 and R2 are output as the NMOS process The variation detection signal PN.

請參閱第8圖,該PMOS製程變異偵測器132具有一反向器132a、一第一PMOS串132b、一第二PMOS串132c、一第一比較器132d及一第二比較器132e。該反向器132a接收一重置訊號rP並輸出一反向重置訊號rPb。該第一PMOS串132b具有一第一PMOSMp11及一第二PMOSMp12,該第一PMOSMp11電性連接該反向器132a並受該反向重置訊號rPb控制,該第二PMOSMp12電性連接該第一PMOSMp11,且該第二PMOSMp12接收該重置訊號rP並受其控制,該第一PMOS串132b輸出一第一電位Vp1。該第二PMOS串132c具有一第三PMOSMp13及一第四PMOSMp14,該第三PMOSMp13電性連接該反向器132a並受該反向重置訊號rPb控制,該第四PMOSMp14電性連接該第一PMOS串132b,且該第四PMOSMp14接收該第一電位Vp1並受其控制,該第二PMOS串132c輸出一第二電位Vp2。該第一比較器132d及該第二比較器132e電性連接該第二PMOS串132c,該第一比較器132d接收該第二電位Vp2及一第一門檻電壓Vb1鏡進行比較而輸出一第一比較訊號C1,該第二比較器122e接收該第二電位Vp2及一第二門檻電壓Vb2並進行比較而輸出一第二比較訊號C2。 Please refer to FIG. 8, the PMOS process variation detector 132 has an inverter 132a, a first PMOS string 132b, a second PMOS string 132c, a first comparator 132d and a second comparator 132e. The inverter 132a receives a reset signal rP and outputs an inverted reset signal rPb. The first PMOS string 132b has a first PMOS Mp11 and a second PMOS Mp12, the first PMOS Mp11 is electrically connected to the inverter 132a and is controlled by the reverse reset signal rPb, the second PMOS Mp12 is electrically connected to the first The PMOS Mp11, and the second PMOS Mp12 receive and are controlled by the reset signal rP, and the first PMOS string 132b outputs a first potential Vp1. The second PMOS string 132c has a third PMOS Mp13 and a fourth PMOS Mp14, the third PMOS Mp13 is electrically connected to the inverter 132a and is controlled by the reverse reset signal rPb, and the fourth PMOS Mp14 is electrically connected to the first The PMOS string 132b, and the fourth PMOS Mp14 receives and is controlled by the first potential Vp1, and the second PMOS string 132c outputs a second potential Vp2. The first comparator 132d and the second comparator 132e are electrically connected to the second PMOS string 132c, the first comparator 132d receives the second potential Vp2 and a first threshold voltage Vb1 for comparison and outputs a first For the comparison signal C1, the second comparator 122e receives and compares the second potential Vp2 and a second threshold voltage Vb2 to output a second comparison signal C2.

其中,當該重置訊號rP為高電位時,該反向重置訊號rPb為低電位,該第一PMOSMp11及該第三PMOSMp13導通,此時該第一電位Vp1及該第二電位Vp2上升至高電位。當該重置訊號rP為低電位時,該第二PMOSMp12及該第四PMOSMp14導通,該第一電位Vp1會放電至PMOS之臨界電壓,該第二電位Vp2會放電至兩倍之PMOS之臨界電壓,因此,藉由該第一比較器132d及該第二比較器132e將該第二電位Vp2與該第一門檻電壓Vb1及該第二門檻電壓Vb2比較後,即可藉由該第一比較訊號C1及該第二比較訊號C2判斷PMOS的製程角落。 Wherein, when the reset signal rP is at a high potential, the reverse reset signal rPb is at a low potential, the first PMOS Mp11 and the third PMOS Mp13 are turned on, and at this time the first potential Vp1 and the second potential Vp2 rise to high potential. When the reset signal rP is low, the second PMOS Mp12 and the fourth PMOS Mp14 are turned on, the first potential Vp1 is discharged to the critical voltage of the PMOS, and the second potential Vp2 is discharged to twice the critical voltage of the PMOS. Therefore, after comparing the second potential Vp2 with the first threshold voltage Vb1 and the second threshold voltage Vb2 by the first comparator 132d and the second comparator 132e, the first comparison signal can C1 and the second comparison signal C2 determine the process corner of the PMOS.

較佳的,在本實施例中,該第一比較訊號C1及該第二比較訊號C2 暫存於兩暫存器R3、R4中,該兩暫存器R3、R4所儲存之數據則輸出為該PMOS製程變異偵測訊號PP。 Preferably, in this embodiment, the first comparison signal C1 and the second comparison signal C2 Temporarily stored in the two registers R3 and R4, the data stored in the two registers R3 and R4 are output as the PMOS process variation detection signal PP.

請參閱第1圖,該NMOS製程變異偵測訊號PN及該PMOS製程變異偵測訊號PP送至一編碼器160中重新編碼為3位元之該製程變異偵測訊號P[7:5]。 Please refer to FIG. 1 , the NMOS process variation detection signal PN and the PMOS process variation detection signal PP are sent to an encoder 160 to be recoded into 3-bit process variation detection signals P[7:5].

請參閱第1圖,該運算單元140電性連接該電壓變異偵測電路110、該溫度變異偵測電路120及該製程變異偵測電路130以接收該電壓變異偵測訊號V[4:0]、該溫度變異偵測訊號T[12:8]及該製程變異偵測訊號,且該運算單元140根據該製程變異偵測訊號P[7:5]、該電壓變異偵測訊號V[4:0]及該溫度變異偵測訊號T[12:8]輸出一輸出選擇控制訊號Sel。在本實施例中,該運算單元140為一FPGA晶片,該輸出選擇控制訊號Sel為6位元之數位訊號,在其他實施例中,該運算單元140可為其他微處理器,本發明並不在此限。 Please refer to FIG. 1, the computing unit 140 is electrically connected to the voltage variation detection circuit 110, the temperature variation detection circuit 120 and the process variation detection circuit 130 to receive the voltage variation detection signal V[4:0] , the temperature variation detection signal T[12:8] and the process variation detection signal, and the computing unit 140 according to the process variation detection signal P[7:5], the voltage variation detection signal V[4: 0] and the temperature variation detection signal T[12:8] output an output selection control signal Sel. In this embodiment, the computing unit 140 is an FPGA chip, and the output selection control signal Sel is a 6-bit digital signal. In other embodiments, the computing unit 140 can be other microprocessors. This limit.

請參閱第1及9圖,該振盪器150具有複數個延遲元件151、複數個多工器152及一解碼器153,該解碼器153接收6位元之該輸出選擇控制訊號Sel並將其解碼為64位元。該些延遲單元151相互串接,且各該延遲元件151輸出一延遲訊號。各該多工器152電性連接各該延遲單元151以接收各該延遲訊號,且該些多工器152受該解碼器153解碼之64位元的該輸出選擇控制訊號Sel控制而輸出其中之一該延遲訊號為一振盪訊號Os。在本實施例中,各該延遲元件151為雙輸入及雙輸出之延遲器,因此,該些多工器152為兩個為一組,同一組之該些多工器分別電性連接各該延遲元件之正端輸出及負端輸出,且同一組之該些多工器受同一位元之該輸出選擇控制訊號Sel控制。 Please refer to Figures 1 and 9, the oscillator 150 has a plurality of delay elements 151, a plurality of multiplexers 152 and a decoder 153, the decoder 153 receives the 6-bit output selection control signal Sel and decodes it for 64-bit. The delay units 151 are connected in series, and each delay unit 151 outputs a delay signal. Each of the multiplexers 152 is electrically connected to each of the delay units 151 to receive each of the delayed signals, and the multiplexers 152 are controlled by the 64-bit output selection control signal Sel decoded by the decoder 153 to output one of them. A delayed signal is an oscillating signal Os. In this embodiment, each of the delay elements 151 is a dual-input and dual-output delay device, therefore, the multiplexers 152 form a group of two, and the multiplexers in the same group are electrically connected to each of the multiplexers. The positive terminal output and the negative terminal output of the delay element, and the multiplexers in the same group are controlled by the output selection control signal Sel of the same bit.

本實施例共有64組之該些多工器152,由右至左分別為第0位元及第63位元,第63位元之該些多工器152分別接收高電位及低電位,當該64位元的 該輸出選擇控制訊號Sel選擇開啟第63位元之該些多工器152即可啟動該些延遲元件151進行振盪。其中,當該64位元的該輸出選擇控制訊號Sel的選擇碼越大時,參與振盪之該些延遲元件151越多,這將使得輸出之該振盪訊號Os的頻率越慢,反之,當該64位元的該輸出選擇控制訊號Sel的選擇碼越小時,參與振盪之該些延遲元件151越少,這將使得輸出之該振盪訊號Os的頻率越快,藉此可調整輸出之該振盪訊號Os的頻率。 In this embodiment, there are 64 groups of these multiplexers 152, which are the 0th bit and the 63rd bit from right to left, and the 63rd bit of these multiplexers 152 receive high potential and low potential respectively. The 64-bit The output selection control signal Sel selects and turns on the multiplexers 152 of the 63rd bit to enable the delay elements 151 to oscillate. Wherein, when the selection code of the 64-bit output selection control signal Sel is larger, there are more delay elements 151 participating in the oscillation, which will make the frequency of the output oscillation signal Os slower; on the contrary, when the The smaller the selection code of the 64-bit output selection control signal Sel, the fewer the delay elements 151 involved in the oscillation, which will make the frequency of the output oscillation signal Os faster, thereby adjusting the output oscillation signal Frequency of Os.

本實施例預先測得在不同之電壓、溫度及製程變異下,參與振盪之該些延遲元件151的數量多寡能夠抑制電壓、溫度及製程變異,而決定該輸出選擇控制訊號Sel的編碼規則。因此在實際使用中,讓該運算單元140根據該製程變異偵測訊號P[7:5]、該電壓變異偵測訊號V[4:0]及該溫度變異偵測訊號T[12:8]輸出之該輸出選擇控制訊號Sel能夠使該振盪器150輸出之該振盪訊號Os抑制電壓、溫度及製程變異,而達到所設定之頻率大小。 In this embodiment, under different voltage, temperature and process variations, the quantity of the delay elements 151 participating in the oscillation can suppress the voltage, temperature and process variations, and determine the encoding rule of the output selection control signal Sel. Therefore, in actual use, let the calculation unit 140 detect signal P[7:5] according to the process variation, the voltage variation detection signal V[4:0] and the temperature variation detection signal T[12:8] The output selection control signal Sel can make the oscillating signal Os output by the oscillator 150 suppress voltage, temperature and process variations, and achieve a set frequency.

本發明藉由該運算單元140根據該電壓變異偵測電路110之該電壓變異偵測訊號V[4:0]、該溫度變異偵測電路120之該溫度變異偵測訊號T[12:8]及該製程變異偵測電路130之該製程變異偵測訊號P[7:5]輸出該輸出選擇控制訊號Sel控制該振盪器150,使該振盪器150能夠抑制電壓、溫度及製程變異。 According to the voltage variation detection signal V[4:0] of the voltage variation detection circuit 110 and the temperature variation detection signal T[12:8] of the temperature variation detection circuit 120 by the computing unit 140 in the present invention And the process variation detection signal P[7:5] of the process variation detection circuit 130 outputs the output selection control signal Sel to control the oscillator 150 so that the oscillator 150 can suppress voltage, temperature and process variation.

本發明之保護範圍當視後附之申請專利範圍所界定者為準,任何熟知此項技藝者,在不脫離本發明之精神和範圍內所作之任何變化與修改,均屬於本發明之保護範圍。The scope of protection of the present invention should be defined by the scope of the appended patent application. Any changes and modifications made by anyone who is familiar with this technology without departing from the spirit and scope of the present invention belong to the scope of protection of the present invention. .

100:抑制製程、電壓、溫度變異之振盪器 100: Oscillators that suppress process, voltage, and temperature variations

110:電壓變異偵測電路 110: Voltage variation detection circuit

111:延遲線 111: Delay line

111a:延遲器 111a: delayer

112:可控制延遲電路 112: Controllable delay circuit

112a:延遲單元 112a: delay unit

112b:正端負載 112b: Positive terminal load

112c:負端負載 112c: Negative terminal load

112d:反向器 112d: Inverter

113:暫存單元 113: temporary storage unit

113a:暫存器 113a: scratchpad

114:邏輯閘組 114: logic gate group

114a:邏輯閘 114a: logic gate

120:溫度變異偵測電路 120: Temperature variation detection circuit

In:初始電壓控制訊號 In: initial voltage control signal

121:電流產生器 121: Current generator

121a:第一電流鏡 121a: the first current mirror

121b:電阻 121b: resistance

121c:第二電流鏡 121c: second current mirror

122:充放電電路 122: Charge and discharge circuit

122a:充電電流鏡 122a: charging current mirror

122b:充放電電容 122b: charging and discharging capacitor

122c:充放電開關 122c: Charge and discharge switch

122d:放電電流鏡 122d: Discharge current mirror

123:窗口型比較器 123: window comparator

123a:第一比較器 123a: first comparator

123b:第二比較器 123b: second comparator

123c:比較器切換開關 123c: Comparator switch

123d:初始電壓開關 123d: Initial voltage switch

123e:VWC反向器 123e: VWC inverter

124:編碼器 124: Encoder

130:製程變異偵測電路 130: Process variation detection circuit

131:NMOS製程變異偵測器 131: NMOS process variation detector

131a:NMOS反向電路 131a: NMOS reverse circuit

131b:CMOS反向電路 131b: CMOS reverse circuit

131c:及閘 131c: and gate

131d:計數器 131d: counter

132:PMOS製程變異偵測器 132:PMOS Process Variation Detector

132a:反向器 132a: Inverter

132b:第一PMOS串 132b: the first PMOS string

132c:第二PMOS串 132c: the second PMOS string

132d:第一比較器 132d: first comparator

132e:第二比較器 132e: second comparator

140:運算單元 140: Operation unit

150:振盪器 150: Oscillator

151:延遲元件 151: delay element

152:多工器 152: multiplexer

153:解碼器 153: Decoder

160:編碼器 160: Encoder

RO:環形振盪單元 RO: ring oscillator unit

VDD:電源電壓 VDD: power supply voltage

P[7:5]:製程變異偵測訊號 P[7:5]: process variation detection signal

PN:NMOS製程變異偵測訊號 PN: NMOS process variation detection signal

PP:PMOS製程變異偵測訊號 PP: PMOS process variation detection signal

V[4:0]:電壓變異偵測訊號 V[4:0]: voltage variation detection signal

T[12:8]:溫度變異偵測訊號 T[12:8]: temperature variation detection signal

Sel:輸出選擇控制訊號 Sel: output selection control signal

Os:振盪訊號 Os: Oscillating signal

Vb1:第一門檻電壓 Vb1: the first threshold voltage

Vb2:第二門檻電壓 Vb2: the second threshold voltage

clk:時脈訊號 clk: clock signal

D1~D6:延遲訊號 D1~D6: delay signal

Vc+:正端控制電壓 Vc+: Positive terminal control voltage

Vc-:負端控制電壓 Vc-: negative terminal control voltage

Dclk:延遲時脈訊號 Dclk: delayed clock signal

Mp1:第一PMOS高壓電晶體 Mp1: the first PMOS high voltage transistor

Mp2:第二PMOS高壓電晶體 Mp2: The second PMOS high voltage transistor

Mp3:第三PMOS高壓電晶體 Mp3: The third PMOS high voltage transistor

Mn1:第一NMOS高壓電晶體 Mn1: the first NMOS high voltage transistor

Mn2:第二NMOS高壓電晶體 Mn2: the second NMOS high voltage transistor

Mn3:第三NMOS高壓電晶體 Mn3: the third NMOS high voltage transistor

Io:輸出電流 Io: output current

Vc:充電電壓 Vc: charging voltage

Vo:輸出電壓 Vo: output voltage

VH:高電位參考電壓 VH: high potential reference voltage

op1:第一比較訊號 op1: the first comparison signal

VL:低電位參考電壓 VL: low potential reference voltage

op2:第二比較訊號 op2: the second comparison signal

clkP:製程時脈訊號 clkP: process clock signal

POs:製程變異振盪訊號 POs: process variation oscillation signal

rP:重置訊號 rP: reset signal

rPb:反向重置訊號 rPb: reverse reset signal

Vp1:第一電位 Vp1: the first potential

Vp2:第二電位 Vp2: second potential

C1:第一比較訊號 C1: The first comparison signal

C2:第二比較訊號 C2: The second comparison signal

and:及閘訊號 and: and gate signal

Mp11:第一PMOS Mp11: First PMOS

Mp12:第二PMOS Mp12: Second PMOS

Mp13:第三PMOS Mp13: The third PMOS

Mp14:第四PMOS Mp14: Fourth PMOS

R1~R4:暫存器 R1~R4: temporary register

第1圖:依據本發明之一實施例,一抑制製程、電壓、溫度變異之振盪器的功能方塊圖。 第2圖:依據本發明之一實施例,一電壓變異偵測電路的電路圖。 第3圖:依據本發明之一實施例,一可控制延遲電路的電路圖。Figure 1: According to an embodiment of the present invention, a functional block diagram of an oscillator that suppresses process, voltage, and temperature variations. Fig. 2: According to an embodiment of the present invention, a circuit diagram of a voltage variation detection circuit. Fig. 3: According to an embodiment of the present invention, a circuit diagram of a controllable delay circuit.

第4圖:依據本發明之一實施例,一溫度變異偵測電路的功能方塊圖。 Fig. 4: According to an embodiment of the present invention, a functional block diagram of a temperature variation detection circuit.

第5圖:依據本發明之一實施例,該溫度變異偵測電路的電路圖。 Fig. 5: a circuit diagram of the temperature variation detection circuit according to an embodiment of the present invention.

第6圖:依據本發明之一實施例,一窗口型比較器的電路圖。 Fig. 6: A circuit diagram of a window comparator according to an embodiment of the present invention.

第7圖:依據本發明之一實施例,一NMOS製程變異偵測器的電路圖。 FIG. 7 is a circuit diagram of an NMOS process variation detector according to an embodiment of the present invention.

第8圖:依據本發明之一實施例,一PMOS製程變異偵測器的電路圖。 Fig. 8: A circuit diagram of a PMOS process variation detector according to an embodiment of the present invention.

第9圖:依據本發明之一實施例,一振盪器的電路圖。 Fig. 9: A circuit diagram of an oscillator according to an embodiment of the present invention.

100:抑制製程、電壓、溫度變異之振盪器 100: Oscillators that suppress process, voltage, and temperature variations

110:電壓變異偵測電路 110: Voltage variation detection circuit

120:溫度變異偵測電路 120: Temperature variation detection circuit

130:製程變異偵測電路 130: Process variation detection circuit

131:NMOS製程變異偵測器 131: NMOS process variation detector

132:PMOS製程變異偵測器 132:PMOS Process Variation Detector

140:運算單元 140: Operation unit

150:振盪器 150: Oscillator

Os:振盪訊號 Os: Oscillating signal

Vc+:正端控制電壓 Vc+: Positive terminal control voltage

Vc-:負端控制電壓 Vc-: negative terminal control voltage

clk:時脈訊號 clk: clock signal

VH:高電位參考電壓 VH: high potential reference voltage

VL:低電位參考電壓 VL: low potential reference voltage

In:初始電壓控制訊號 In: initial voltage control signal

clkP:製程時脈訊號 clkP: process clock signal

Vb1:第一門檻電壓 Vb1: the first threshold voltage

Vb2:第二門檻電壓 Vb2: the second threshold voltage

rP:重置訊號 rP: reset signal

PN:NMOS製程變異偵測訊號 PN: NMOS process variation detection signal

PP:PMOS製程變異偵測訊號 PP: PMOS process variation detection signal

P[7:5]:製程變異偵測訊號 P[7:5]: process variation detection signal

T[12:8]:溫度變異偵測訊號 T[12:8]: temperature variation detection signal

V[4:0]:電壓變異偵測訊號 V[4:0]: voltage variation detection signal

Sel:輸出選擇控制訊號 Sel: output selection control signal

Claims (9)

一種抑制製程、電壓、溫度變異之振盪器,其包含:一電壓變異偵測電路,輸出一電壓變異偵測訊號;一溫度變異偵測電路,輸出一溫度變異偵測訊號;一製程變異偵測電路,輸出一製程變異偵測訊號,其中該製程變異偵測電路具有一NMOS製程變異偵測器及PMOS製程變異偵測器,該製程變異偵測訊號包含一NMOS製程變異訊號及一PMOS製程變異訊號,該NMOS製程變異偵測器用以偵測NMOS製程變異而輸出該NMOS製程變異偵測訊號,該PMOS製程變異偵測器用以偵測PMOS製程變異而輸出該PMOS製程變異偵測訊號;一運算單元,電性連接該電壓變異偵測電路、該溫度變異偵測電路及該製程變異偵測電路以接收該電壓變異偵測訊號、該溫度變異偵測訊號及該製程變異偵測訊號,且該運算單元根據該製程變異偵測訊號、該電壓變異偵測訊號及溫度變異偵測訊號輸出一輸出選擇控制訊號;以及一振盪器,具有複數個延遲元件及複數個多工器,該些延遲單元相互串接,且各該延遲元件輸出一延遲訊號,各該多工器電性連接各該延遲單元以接收各該延遲訊號,且該些多工器受該輸出選擇控制訊號控制而輸出其中之一該延遲訊號為一振盪訊號。 An oscillator that suppresses process, voltage, and temperature variations, which includes: a voltage variation detection circuit that outputs a voltage variation detection signal; a temperature variation detection circuit that outputs a temperature variation detection signal; a process variation detection A circuit that outputs a process variation detection signal, wherein the process variation detection circuit has an NMOS process variation detector and a PMOS process variation detector, and the process variation detection signal includes an NMOS process variation signal and a PMOS process variation signal signal, the NMOS process variation detector is used to detect the NMOS process variation and output the NMOS process variation detection signal, and the PMOS process variation detector is used to detect the PMOS process variation and output the PMOS process variation detection signal; an operation A unit electrically connected to the voltage variation detection circuit, the temperature variation detection circuit and the process variation detection circuit to receive the voltage variation detection signal, the temperature variation detection signal and the process variation detection signal, and the The computing unit outputs an output selection control signal according to the process variation detection signal, the voltage variation detection signal and the temperature variation detection signal; and an oscillator with a plurality of delay elements and a plurality of multiplexers, the delay units connected in series, and each of the delay elements outputs a delay signal, each of the multiplexers is electrically connected to each of the delay units to receive each of the delay signals, and these multiplexers are controlled by the output selection control signal to output one of them A delayed signal is an oscillating signal. 如請求項1之抑制製程、電壓、溫度變異之振盪器,其中該溫度變異偵測電路具有一電流產生器、一充放電電路及一窗口型比較器,該電流產生器用以輸出一輸出電流,該充放電電路電性連接該電流產生器以接收該輸出電流並輸出一充電電壓,該窗口型比較器電性連接該充放電電路以接收該充電電壓,且該窗口型比較器輸出一輸出電壓至該充放電電路,該充放電電路依據該輸 出電壓進行充電或放電,其中該溫度變異偵測電路將該輸出電壓輸出為一溫度變異偵測訊號。 An oscillator for suppressing variations in process, voltage, and temperature as claimed in item 1, wherein the temperature variation detection circuit has a current generator, a charging and discharging circuit, and a window comparator, and the current generator is used to output an output current, The charging and discharging circuit is electrically connected to the current generator to receive the output current and output a charging voltage, the window comparator is electrically connected to the charging and discharging circuit to receive the charging voltage, and the window comparator outputs an output voltage to the charge and discharge circuit, the charge and discharge circuit according to the input The output voltage is charged or discharged, wherein the temperature variation detection circuit outputs the output voltage as a temperature variation detection signal. 如請求項2之抑制製程、電壓、溫度變異之振盪器,其中該電流產生器具有一第一電流鏡、一電阻及一第二電流鏡,該電阻電性連接該第一電流鏡及該第二電流鏡,該電阻用以產生該輸出電流,該第二電流鏡電性連接該充放電電路,該第二電流鏡用以將該輸出電流映射至該充放電電路。 An oscillator for suppressing process, voltage, and temperature variations as claimed in claim 2, wherein the current generator has a first current mirror, a resistor, and a second current mirror, and the resistor is electrically connected to the first current mirror and the second A current mirror, the resistor is used to generate the output current, the second current mirror is electrically connected to the charging and discharging circuit, and the second current mirror is used to map the output current to the charging and discharging circuit. 如請求項3之抑制製程、電壓、溫度變異之振盪器,其中該充放電電路具有一充電電流鏡、一充放電電容、一充放電開關及一放電電流鏡,該充電電流鏡電性連接該第二電流鏡,該充放電電容電性連接該充電電流鏡,該充放電開關電性連接該充放電電容及該放電電流鏡,該充放電開關受該輸出電壓的控制導通或截止該放電電流鏡與該充放電電容之間的電性連接,以切換該充電電流鏡對該充放電電容充電或讓該充放電電容經由該放電電流鏡放電,該充放電電容的端電壓為該充電電壓。 An oscillator that suppresses variations in manufacturing process, voltage, and temperature as claimed in claim 3, wherein the charging and discharging circuit has a charging current mirror, a charging and discharging capacitor, a charging and discharging switch, and a discharging current mirror, and the charging current mirror is electrically connected to the The second current mirror, the charge and discharge capacitor is electrically connected to the charge current mirror, the charge and discharge switch is electrically connected to the charge and discharge capacitor and the discharge current mirror, and the charge and discharge switch is controlled by the output voltage to turn on or off the discharge current The electrical connection between the mirror and the charging and discharging capacitor is used to switch the charging current mirror to charge the charging and discharging capacitor or to let the charging and discharging capacitor discharge through the discharging current mirror, and the terminal voltage of the charging and discharging capacitor is the charging voltage. 如請求項4之抑制製程、電壓、溫度變異之振盪器,其中該窗口型比較器具有一第一比較器、一第二比較器、一比較器切換開關、一初始電壓開關及一VWC(voltage windows comparator)反向器,該第一比較器電性連接該充放電電容以接收該充電電壓及一高電位參考電壓進行比較而輸出一第一比較訊號,該第二比較器電性連接該充放電電容以接收該充電電壓及一低電位參考電壓進行比較而輸出一第二比較訊號,該比較器切換開關電性連接該該第一、二比較器及該VWC反向器,該比較器切換開關受該輸出電壓控制以選擇性地將該第一比較訊號或該第二比較訊號傳送至該VWC反向器,該初始電壓開關電性連接該VWC反向器及接地,該VWC反向器輸出該輸出電壓。 Such as the oscillator for suppressing process, voltage and temperature variation of claim 4, wherein the window type comparator has a first comparator, a second comparator, a comparator switching switch, an initial voltage switch and a VWC (voltage windows comparator) inverter, the first comparator is electrically connected to the charging and discharging capacitor to receive the charging voltage and a high potential reference voltage for comparison and output a first comparison signal, the second comparator is electrically connected to the charging and discharging The capacitor receives the charging voltage and a low potential reference voltage for comparison and outputs a second comparison signal. The comparator switching switch is electrically connected to the first and second comparators and the VWC inverter. The comparator switching switch Controlled by the output voltage to selectively transmit the first comparison signal or the second comparison signal to the VWC inverter, the initial voltage switch is electrically connected to the VWC inverter and ground, and the VWC inverter outputs the output voltage. 如請求項1之抑制製程、電壓、溫度變異之振盪器,其中該溫度變異偵測電路具有一編碼器,該編碼器電性連接該窗口型比較器以接收該輸出電壓,該編碼器依據該輸出電壓輸出該溫度變異偵測訊號。 An oscillator for suppressing process, voltage, and temperature variations as claimed in claim 1, wherein the temperature variation detection circuit has an encoder, the encoder is electrically connected to the window comparator to receive the output voltage, and the encoder is based on the The output voltage outputs the temperature variation detection signal. 如請求項1之抑制製程、電壓、溫度變異之振盪器,其中該NMOS製程變異偵測器具有複數個NMOS反向電路、複數個CMOS反向電路、一及閘及一計數器,該些NMOS反向電路及該些CMOS反向電路交叉串接為一環形振盪單元,該環形振盪單元輸出一製程變異振盪訊號,該及閘電性連接該環形振盪單元以接收該製程變異振盪訊號及一製程時脈訊號,該及閘輸出一及閘訊號,該及閘訊號並迴授為該環形振盪單元的輸入訊號,該計數器電性連接該及閘以接收該及閘訊號,該計數器用以計數該及閘訊號的突波次數並輸出為該NMOS製程變異偵測訊號。 An oscillator for suppressing process, voltage, and temperature variation as claimed in claim 1, wherein the NMOS process variation detector has a plurality of NMOS inverting circuits, a plurality of CMOS inverting circuits, an AND gate and a counter, and the NMOS inverting circuits The circuit and the CMOS reverse circuits are cross-connected to form a ring oscillation unit, the ring oscillation unit outputs a process variation oscillation signal, and the gate is electrically connected to the ring oscillation unit to receive the process variation oscillation signal and a process time pulse signal, the AND gate outputs an AND gate signal, and the AND gate signal is fed back as the input signal of the ring oscillator unit, and the counter is electrically connected to the AND gate to receive the AND gate signal, and the counter is used to count the AND gate signal. The number of bursts of the gate signal is output as the NMOS process variation detection signal. 如請求項1之抑制製程、電壓、溫度變異之振盪器,其中該PMOS製程變異偵測器具有一反向器、一第一PMOS串、一第二PMOS串、一第一比較器及一第二比較器,該反向器接收一重置訊號並輸出一反向重置訊號,該第一PMOS串具有一第一PMOS及一第二PMOS,該第一PMOS電性連接該反向器並受該反向重置訊號控制,該第二PMOS電性連接該第一PMOS,且該第二PMOS接收該重置訊號並受其控制,該第一PMOS串輸出一第一電位,該第二PMOS串具有一第三PMOS及一第四PMOS,該第三PMOS電性連接該反向器並受該反向重置訊號控制,該第四PMOS電性連接該第一PMOS串,且該第四PMOS接收該第一電位並受其控制,該第二PMOS串輸出一第二電位,該第一比較器及該第二比較器電性連接該第二PMOS串,該第一比較器接收該第二電位及一第一門檻電壓近進行比較而輸出一第一比較訊號,該第二比較器接收該第二電位及一第二門 檻電壓並進行比較而輸出一第二比較訊號,該PMOS製程變異偵測器將該第一比較訊號及該第二比較訊號輸出為該PMOS製程變異偵測訊號。 An oscillator for suppressing process, voltage, and temperature variations as claimed in item 1, wherein the PMOS process variation detector has an inverter, a first PMOS string, a second PMOS string, a first comparator, and a second A comparator, the inverter receives a reset signal and outputs an inverted reset signal, the first PMOS string has a first PMOS and a second PMOS, the first PMOS is electrically connected to the inverter and received The reverse reset signal is controlled, the second PMOS is electrically connected to the first PMOS, and the second PMOS receives the reset signal and is controlled by it, the first PMOS string outputs a first potential, and the second PMOS The string has a third PMOS and a fourth PMOS, the third PMOS is electrically connected to the inverter and is controlled by the reverse reset signal, the fourth PMOS is electrically connected to the first PMOS string, and the fourth The PMOS receives the first potential and is controlled by it, the second PMOS string outputs a second potential, the first comparator and the second comparator are electrically connected to the second PMOS string, the first comparator receives the first Two potentials and a first threshold voltage are compared to output a first comparison signal, and the second comparator receives the second potential and a second gate The threshold voltage is compared to output a second comparison signal, and the PMOS process variation detector outputs the first comparison signal and the second comparison signal as the PMOS process variation detection signal. 如請求項1之抑制製程、電壓、溫度變異之振盪器,其中該電壓變異偵測電路具有一延遲線、一可控制延遲電路、一暫存單元及一邏輯閘組,該延遲線接收一時脈訊號,該延遲線具有複數個延遲器,該些延遲器用以對該時脈訊號進行延遲,且該些延遲器輸出複數個延遲訊號,該可控制延遲電路接收一電源電壓、一正端控制電壓、一負端控制電壓及其中之一該延遲器輸出之該延遲訊號,該可控制延遲電路依據該電源電壓、該正端控制電壓及該負端控制電壓延遲該延遲訊號而輸出一延遲時脈訊號,該暫存單元電性該延遲線及該可控制延遲電路以接收該些延遲訊號及該延遲時脈訊號,且該暫存單元被該延遲時脈訊號觸發而儲存該些延遲訊號,該邏輯閘組電性連接該暫存單元以接收暫存之該些延遲訊號,且該邏輯閘組將暫存之該些延遲訊號輸出為該電壓變異偵測訊號。 An oscillator for suppressing process, voltage, and temperature variations as claimed in item 1, wherein the voltage variation detection circuit has a delay line, a controllable delay circuit, a temporary storage unit and a logic gate group, and the delay line receives a clock signal, the delay line has a plurality of delayers, these delayers are used to delay the clock signal, and these delayers output a plurality of delay signals, the controllable delay circuit receives a power supply voltage, a positive terminal control voltage , a negative terminal control voltage and the delayed signal output by one of the delayers, the controllable delay circuit delays the delayed signal according to the power supply voltage, the positive terminal control voltage and the negative terminal control voltage to output a delayed clock pulse signal, the temporary storage unit is electrically connected to the delay line and the controllable delay circuit to receive the delayed signals and the delayed clock signal, and the temporary storage unit is triggered by the delayed clock signal to store the delayed signals, the The logic gate group is electrically connected to the temporary storage unit to receive the temporarily stored delayed signals, and the logic gate group outputs the temporarily stored delayed signals as the voltage variation detection signal.
TW111137917A 2022-10-05 2022-10-05 Oscillator with pvt variation suppression TWI811128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111137917A TWI811128B (en) 2022-10-05 2022-10-05 Oscillator with pvt variation suppression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111137917A TWI811128B (en) 2022-10-05 2022-10-05 Oscillator with pvt variation suppression

Publications (2)

Publication Number Publication Date
TWI811128B true TWI811128B (en) 2023-08-01
TW202416664A TW202416664A (en) 2024-04-16

Family

ID=88585451

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111137917A TWI811128B (en) 2022-10-05 2022-10-05 Oscillator with pvt variation suppression

Country Status (1)

Country Link
TW (1) TWI811128B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080284530A1 (en) * 2007-05-14 2008-11-20 Stefano Pellerano Phase noise minimized phase/frequency-locked voltage-controlled oscillator circuit
CN101689071B (en) * 2005-10-31 2013-06-12 高通股份有限公司 Adaptive voltage scaling for an electronics device
US20140266290A1 (en) * 2013-03-14 2014-09-18 Bhavin Odedara Process detection circuit
CN105159374A (en) * 2015-08-31 2015-12-16 东南大学 Online monitoring unit oriented to ultrawide voltage and monitoring window self-adaptive adjusting system
CN109672441A (en) * 2017-10-13 2019-04-23 三星电子株式会社 Clock control in semiconductor system
US20200350893A1 (en) * 2018-01-25 2020-11-05 Csem Centre Suisse D'electronique Et De Microtechnique Sa - Recherche Et Developpement Electronic device
US20210226612A1 (en) * 2020-01-22 2021-07-22 Arizona Board Of Regents On Behalf Of Arizona State University System and method for improved rf pulse width modulation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101689071B (en) * 2005-10-31 2013-06-12 高通股份有限公司 Adaptive voltage scaling for an electronics device
US20080284530A1 (en) * 2007-05-14 2008-11-20 Stefano Pellerano Phase noise minimized phase/frequency-locked voltage-controlled oscillator circuit
US20140266290A1 (en) * 2013-03-14 2014-09-18 Bhavin Odedara Process detection circuit
CN105159374A (en) * 2015-08-31 2015-12-16 东南大学 Online monitoring unit oriented to ultrawide voltage and monitoring window self-adaptive adjusting system
CN109672441A (en) * 2017-10-13 2019-04-23 三星电子株式会社 Clock control in semiconductor system
US20200350893A1 (en) * 2018-01-25 2020-11-05 Csem Centre Suisse D'electronique Et De Microtechnique Sa - Recherche Et Developpement Electronic device
US20210226612A1 (en) * 2020-01-22 2021-07-22 Arizona Board Of Regents On Behalf Of Arizona State University System and method for improved rf pulse width modulation

Also Published As

Publication number Publication date
TW202416664A (en) 2024-04-16

Similar Documents

Publication Publication Date Title
US7057427B2 (en) Power on reset circuit
JP5262630B2 (en) Clock generation circuit having self-test circuit
US7653170B2 (en) Electrical circuit for measuring times and method for measuring times
WO2015196772A1 (en) Process corner detection circuit based on self-timing oscillation ring
US20090058483A1 (en) Duty cycle correcting circuit and method
US7332937B2 (en) Dynamic logic with adaptive keeper
Gu et al. All-digital wide range precharge logic 50% duty cycle corrector
US6747500B2 (en) Compact delay circuit for CMOS integrated circuits used in low voltage low power devices
CN111030647A (en) Double-side delay circuit
Chan et al. A deep sub-micron timing measurement circuit using a single-stage Vernier delay line
US20220166431A1 (en) Method for mitigation of droop timing errors including a droop detector and dual mode logic
TWI811128B (en) Oscillator with pvt variation suppression
US8878616B2 (en) Inverting difference oscillator
US10396769B2 (en) Apparatus and method for clock signal frequency division using self-resetting, low power, linear feedback shift register (LFSR)
Savaliya et al. A 0.3 V, 12nW, 47fJ/conv, fully digital capacitive sensor interface in 0.18 µm CMOS
TWI804338B (en) Voltage and temperature variation sensing detector
US11909399B2 (en) System and semiconductor device therein
US20110279149A1 (en) Method, apparatus, and system for measuring analog voltages on die
TWI642273B (en) Process and temperature variation detector
CN113364432A (en) Reference clock signal loss detection circuit
Luo et al. A novel trimming circuit based on D type flip-flop
Oh et al. Design and verification of an all-digital on-chip process variation sensor
TWI521880B (en) Soft error protection device
Preethi et al. Efficient Implementations of Delay Elements for Digitally Controlled Delay Lines
JP2556038B2 (en) Hybrid integrated circuit