TWI302202B - Signal generation circuit for measuring capacitor - Google Patents

Signal generation circuit for measuring capacitor Download PDF

Info

Publication number
TWI302202B
TWI302202B TW95124286A TW95124286A TWI302202B TW I302202 B TWI302202 B TW I302202B TW 95124286 A TW95124286 A TW 95124286A TW 95124286 A TW95124286 A TW 95124286A TW I302202 B TWI302202 B TW I302202B
Authority
TW
Taiwan
Prior art keywords
signal
clock
frequency
test signal
test
Prior art date
Application number
TW95124286A
Other languages
Chinese (zh)
Other versions
TW200804833A (en
Inventor
Jen Chi Chuang
Chun Lung Yang
Yu Chieh Liao
Hsing Chih Wu
Original Assignee
Powerchip Semiconductor Corp
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 Powerchip Semiconductor Corp filed Critical Powerchip Semiconductor Corp
Priority to TW95124286A priority Critical patent/TWI302202B/en
Publication of TW200804833A publication Critical patent/TW200804833A/en
Application granted granted Critical
Publication of TWI302202B publication Critical patent/TWI302202B/en

Links

Landscapes

  • Measurement Of Resistance Or Impedance (AREA)

Description

1302202 pt.ap699 19791 twf.doc/g 九、發明說明: '【發明所屬之技術領域】 本發明是關於-種信號產生電路,且特別是關於一種 用於量測電容之信號產生器。 【先前技術】 • 利用電容充電原理進行電容值量測時,通常需要兩組 週期相同,但極性不同的信號,用來控制電容充電與放電 • ㈣間,其信號週期愈短,也就是頻率愈高,所能測量到 的電容值愈小,測量結果也愈準確。 然而,在傳統的測量技術中,通常需要藉由信號產生 儀器,如安捷倫(Agilent) 81110A的信號產生器,來產生 所需要的量測信號。但一般的信號產生儀器所能產生的信 號頻率不高,當電容的電容值較小時,即無法準確量測: 而頻率愈高的信號產生器,其價格也愈高,且在使用高頻 信號量測晶片上的電容(如MIM電容)時,通常需=高' 頻傳輸線、高頻接頭,甚或需要高頻的量測探針與量測平 台等,皆造成量測上的不便與量測成本的上升。 【發明内容】 本發明的目的其中之一是在提供一種信號產生帝 路,結合振盪電路與邏輯運算電路,以電路取代儀哭, 生里測電容所需的量測信號,增加量測方便性。 本發明的目的其中之-是在提供一贿號產生帝 路,可直接將信號產生電路與待測電容整合在同一晶^ 上,藉以產生更高頻的量測信號,以便量測更小的電容曰^ 5 1302202 pt.ap699 19791twf.doc/g 並使量測結果更準確。 本發明的目的其中之一是在提供一 路’不需外接錢產生!I即可直接產生#廷容量測電 號,並可將此電容量測電路直接與待測的量_ 片上、,降低量測成本與增加量測方便性。&於同-晶 路,用為===:本:=-種信號產生電 測試信號與第二測試信號。上述之信= 產生單元、除,以及邏輯運算單元。其中,時 兀,用U產生時脈信號,而除頻器耦接於 早 號進行除頻,並輸出除頻信號。以單 至時脈產生單元與除頻器’用以對時脈信號: 行邏輯運算,並輸出上述之第—測試信號與第二 ,達成上述與其他目的,本發明提出—種信號產生電 —田匕括時脈產生單元、除以及反_。時脈產生單 兀=產生時脈信號,而除頻器耦接於時脈產生單元,用 脈信號進行除頻,並輸出—除頻信號。反或間則耗 日守脈產生單元與除頻H,用以對時脈信號與除頻作號 進仃反或邏輯運算,並輸出一第一測試信號。 為達f上述與其他目的,本發明提出一種信號產生電 ,包括時脈產生單元、除頻器、反相器以及反或閘(N0R 。其中,時脈產生單元用以產生一時脈信號。除頻 禺接於日守脈產生單元,用以對時脈信號進行除頻,並輸 1302202 pt.ap699 19791 twf.doc/g 以于、頻㈣。反㈣、耦接至除頻器,用以反相上述之 並輸出反相除齡號。反或㈣接至反相器與時= ^早π ’用以,反相除頻信號與時脈信號進行反或 運异,並經由輸出反相器輪出第二測試信號。 輯 ,達成上述與其他目的,本發明提^種電 =於量測一電容之,值,上述之電容量測電= 以生電路與充放電早70。上述之信號產生電路,用 測試信號與第二測試信號。而放電單 =產^路,根據第二測試信號,產生—充 ^ 電之動作。其中,第一測試信號與 丁放 之時脈週期,上狀電容量測電路根具有相同 時脈週期,計算該f容之電容值。 上述之 在本發明一實施例中,上述 產生單元、除頻器以及邏輯運駿ί生電路包括時脈 ^用以產生時脈信號,除頻器耦接於;' :’日:脈產生單 對時脈信號進行除頻,並輸出除頻信^ ^早用以 接至時脈產生單元與除,用運算單元輕 仃,運异’並輸出第一測試信號 :,虎 ^執接至時脈產生單元與除_,用^早二包括士反或 除頻信號進行反或邏輯運算 ρ Μ之Η邊信 信號。 輪出上述之第一測試 在本發明—實施例中上述之邏輯運算單元包括反相1302202 pt.ap699 19791 twf.doc/g IX. Description of the invention: '[Technical field to which the invention pertains] The present invention relates to a signal generating circuit, and more particularly to a signal generator for measuring capacitance. [Prior Art] • When measuring the capacitance value using the principle of capacitance charging, it is usually necessary to use two sets of signals with the same period but different polarities to control the charging and discharging of the capacitor. (4) The shorter the signal period, that is, the higher the frequency. High, the smaller the capacitance value that can be measured, the more accurate the measurement results. However, in conventional measurement techniques, it is often necessary to generate a desired measurement signal by means of a signal generating instrument, such as the Agilent 81110A signal generator. However, the frequency of the signal generated by the general signal generating instrument is not high. When the capacitance value of the capacitor is small, the accurate measurement cannot be performed: The higher the frequency, the higher the price of the signal generator, and the higher frequency is used. When measuring the capacitance on the chip (such as MIM capacitor), it usually needs to be = high frequency transmission line, high frequency connector, or even high frequency measurement probe and measurement platform, etc., which cause inconvenience and quantity in measurement. Measuring the rise in costs. SUMMARY OF THE INVENTION One of the objects of the present invention is to provide a signal generating circuit, combined with an oscillating circuit and a logic operation circuit, replacing the instrument with a circuit, and measuring the signal required for measuring the capacitance, thereby increasing the convenience of measurement. . The purpose of the present invention is to provide a bribe to generate a road, and directly integrate the signal generating circuit and the capacitor to be tested on the same crystal, thereby generating a higher frequency measurement signal, so as to measure less. Capacitance 曰^ 5 1302202 pt.ap699 19791twf.doc/g and make the measurement results more accurate. One of the objects of the present invention is to provide a way of 'no need for external money to be generated! I can directly generate the #Ten capacity measurement number, and can directly measure the capacitance measurement circuit with the amount to be measured, reduce the measurement cost and increase the measurement convenience. & in the same - crystal circuit, used as ===: this: =- type of signal to generate electrical test signal and second test signal. The above letter = generation unit, division, and logic operation unit. Wherein, the clock signal is generated by U, and the frequency divider is coupled to the early signal to perform frequency division, and outputs the frequency division signal. The single-to-clock generation unit and the frequency divider 'for the clock signal: row logic operation, and output the above-mentioned first test signal and the second, to achieve the above and other purposes, the present invention proposes a signal to generate electricity - Tian Wei includes the clock generation unit, divide and reverse _. The clock generation unit 兀= generates a clock signal, and the frequency divider is coupled to the clock generation unit, performs frequency division by the pulse signal, and outputs a frequency-divided signal. The inverse or the circumstance consumes the day-to-day pulse generating unit and the frequency-dividing frequency H to perform a reverse or logical operation on the clock signal and the frequency-dividing signal, and outputs a first test signal. For the above and other purposes, the present invention provides a signal generating circuit including a clock generating unit, a frequency divider, an inverter, and an inverse OR gate (N0R, wherein the clock generating unit is configured to generate a clock signal. The frequency is connected to the day-defining pulse generating unit for frequency-dividing the clock signal, and input 1302202 pt.ap699 19791 twf.doc/g for the frequency (four). The inverse (four) is coupled to the frequency divider for Invert the above and output the inverse phase number. The inverse or (4) is connected to the inverter and the time = ^ early π ', the inverted frequency-divided signal is inversely or different from the clock signal, and inverted via the output. The second test signal is rotated by the device. In order to achieve the above and other purposes, the present invention provides a method for measuring the value of a capacitor, and the capacitance of the above-mentioned capacitance is measured by the circuit and charging and discharging 70. The signal generating circuit uses the test signal and the second test signal, and the discharge single = the production circuit, according to the second test signal, generates the action of charging and charging, wherein the first test signal and the clock cycle of the Ding The capacitance measuring circuit root has the same clock cycle, and the electric power of the f capacity is calculated. In one embodiment of the present invention, the generating unit, the frequency divider, and the logic circuit comprise a clock to generate a clock signal, and the frequency divider is coupled to the ':' day: pulse Generate a single pair of clock signals for frequency division, and output the frequency-removed signal ^ ^ used to connect to the clock generation unit and divide, use the operation unit to flick, transport the same 'and output the first test signal:, tiger ^ To the clock generation unit and the _, the second or the second signal including the inverse or the frequency division signal is used for the inverse or logical operation ρ Μ the edge signal. The first test is taken out in the present invention - the above logic in the embodiment Arithmetic unit includes inversion

1302202 pt.ap699 19791 twf.d〇c/g 器以及反或閘。其中,上述之反㈣ 反相上述之_錢,並輸出—反相除頻信’用以 或閘麵接至反相器之輸出端與時脈產生單/用以 之反相除頻錢與時脈信號進行反或軸運*、,、以 輸出反相器輸出第二測試信號。 #,亚經由一 本發明因直接以電路方式,產生量測 曰、 信號’因此,可直接與待測電容整合於同—:的里^ 1卜ί信號產生儀,便可進行電容量測,不僅“電容3 成本,更增加了量測方便性。 、 為讓本發明之上述和其他目的、特徵和優點能更明顯 易丨重,下文特舉本發明之較佳實施例,並配合 作詳細說明如下。 _圖式’ 【實施方式】 圖1為根據本發明一實施例之電容量測電路之方塊 圖。如圖1所示,電容量測電路110包括信號產生電路12〇 與充放電單元130。信號產生電路120輸出第一測試信號 SN (以下簡稱測試信號Sn)與第二測試信號sP (以^ 稱測試信號sp)至充放電單元no,而充放電單元13〇則 耗接於電容140,根據測試信號SP產生一充電電流,用以 對電容140進行充電,並根據測試信號sn對電容進行放 電之動作。進而利用其充放電的電流與測試信號SN、SP 的週期,計算電容140之電容值。 接下來,進一步說明本實施例細部之電路架構,圖2 為根據本實施例之信號產生電路之電路圖。信號產生電路 8 1302202 pt.ap699 19791 twf.doc/g 120包括時脈產生單元210、除頻器22〇與邏輯運算單元 230。時脈產生單元210耦接於除頻器22〇的輸入端,並輸 出一時脈信號CKS至除頻器22〇,而經由除頻動作後,除 頻态220產生一除頻信號DKS。在本實施例中,除頻器220 將時脈信號CKS除以2,進而產生頻率僅有時脈信號CKS1 一半的除頻信號DKS。 邏輯運算單元230則耦接至時脈產生單元21〇與除頻 ,220,用以對時脈信號CKS與除頻信號MS進行邏輯運 异’並輸出測试k號SN與測試信號sp。邏輯運算單元230 包括反或閘232、236以及反相!| 234、輸出反相器娜。 其中’反或閘232耦接至時脈產生單元21〇與除頻哭22〇, 用以對時脈信號CKS與除頻信號DKS進行反或邏輯°運算, 亚輸出測試信號SN。反相器234輕接至除頻器22〇,用以 反相除頻錢DKS,並輸出-反相除頻錢聰。反 236則耦接至反相器234與時脈產生單元21〇,用以對反相 除頻信號IDKS與時脈信號CKS進行反或邏輯運算 一輸出反相器238輸出測試信號SP。 ^ ω 接下來,配合波形圖說明本實施例之信號波形 為根據本實_之信號波形圖。以下說崎 2’時脈產生單元2Η)所產生的時脈信號CKS則如圖^圖 為-時脈,經由除頻器22〇進行除頻後(本:= 2半)。,則產生除頻信號DKS,其頻率僅為時脈信號 由於測試信號SN是經由反或閘咖進行反或邏輯運 1302202 ptap699 19791twf.doc/g 异之結果,因此,僅有當時脈信號CKS與除頻信號DKS皆 處於邏輯低電位時,測試信號SN才產生邏輯高電位之信號 一(如時間T1所示),其波形圖則如圖3之測試信號邠所 =°而反相除頻信號IDKS則是除頻信號DKS經由反相而 知。由於測試信號sp是經由反相除頻信號IDKS與時脈信 號CKS進行反或邏輯運算後,再將其反相而產生。因此, ,有當反相除頻信號IDKS與時脈信號CKS皆為邏輯低電位 犄,測试信號sp才會產生邏輯低電位之信號(如時間T2 所示)。 因此,經由圖3可明顯得知,在本實施例中,測試信 號SN^之負半週期ΤΝ-大於正半週期ΤΝ+,而測試信號sp 之正半週期TP+大於正半週期Tp—。且測試信號SN與測試 信號SP具有相同之時脈週期。 圖4為根據本實施例之時脈產生單元之電路圖,在本 實施例^,利用一環形振盪器之電路架構,產生時脈信號 CKf。當然,本發明之時脈信號cKS之產生方式並不限定 於%形振盈之架構,只要能提供穩定時脈信號之電路皆 可’在本技術領域具有通常知識者,經由本發明之揭露應 可輕易+推知其餘產生時脈信號之電路架構,在此不加累述。 日守脈產生單元210中主要包括奇數個反相單元401〜 401S[。甘 τφ?,1 /、τ 在本貫施例中之反相單元401可為反及閘 jNANDgate) ’可藉由一致能信號εν,來控制時脈產生 單兀^1〇的振盪與否。當致能信號EN為邏輯高電位時, 反相單兀401的功效與反相器相似,因而使時脈產生單元 10 1302202 pt.ap699 19791twf.doc/g 210開始振盪,並輸出時脈 ^ 邏輯低電位時,則停止於cks,右致能信號EN為 圖5為根據本實號⑽。 包括反相器510〜550 Wp*如之電路圖。除頻器220 一開關元件525〜555皆j關元件525〜555。其中,每 本實施例中,當it接收端—正接收端與—負接收端。在 輯低電位時,則導通c電位,而負接收端為邏 呈現關閉狀態。當缺,在之,則開關元件525〜555 設計需求,設定為1正2另—實施例中,亦可依照 為邏輯高電位時,則導通門:為邏輯低電位,而負接收端 奶呈現關閉狀態通開關,反之,則開關元件仍〜 =圖5所示’時脈信號CKs = = 其信號極性與時脈邮^ 而丄:接跄山、555的正接收端耦接反相時脈信號順, fCKs ° ^ 535' 相時脈時脈信號CKS,而其負接麵接至反 a* , 。因此’ #魏錢CKS為邏輯高電位 二=1 545'535?’進而造成除頻信號DKS的 ^短供1改交(如由邏輯1位變為邏輯低電位,或是由 邏輯低電位變為邏輯高電位)。 ,時脈錢CKS為邏輯低電位時,則開關元件525、 山V通’反相s 52〇的輸入端輕接至反相器、555之輸出 =因此’反相态520輸出與除頻信號DKS相同之邏輯信 〜而昌時脈信號CKS再次為邏輯高電位日夺,則除頻信號 1302202 pt.ap699 19791 twf.doc/g UKS的邏輯位準改變 脈信號CKS的兩倍,即頻率為1/2倍 的週期為時 圖5僅為本發明一貫施例之除頻器之電路圖,本發 並不以此為限,亦可使用其他電路結構之除頻器,如^ 正反器(D flip flop)等。在本技術領域具有通常知識 經由本發明之揭露,應可以輕易推知其餘適用之電 與貫施細節,在此不加累述。 >、 經由上述圖2、3、4、5之說明,已經明確說明本每 施例中測試信號SN、SP之電路架構與信號波形。接下來具 進刀步說明本實施例之充放電單元13〇,以下說明請 參照圖1。圖6為根據本實施例之充放電單元之電路圖。 ,放電單元130包括第一 P型電晶體卩丨(以下簡稱p二三 =體P1 )、第二P型電晶體P2(以下簡稱p型電晶體P2 )、 第N型電晶體N1 (以下簡稱n型電晶體ν〗)、第二 型電晶體N2(以下簡稱N型電晶體n2)。其中p型^曰 =第N型電晶體串聯柄接於工作電壓獅與接地:: 、, 心其中P型電晶體P1之閘極耦接於測試信號卯, 二一二參考電流11 ’而N型電晶體N1之閘極耦接至測 試化戚SN。 型電晶體P2與N型電晶體N2串聯耦接於工作電壓 η、接,,VSS之間。而電容140 (在本實施例中以一 之黾谷為例作為說明)|馬接於p型電晶體P2與n 型包曰曰體N2之共用節點與接地端vss 帝曰 zf# 1 J /、 1 土 包曰曰1之祕聽於賴信號sp,並減測試信號 12 19791twf.doc/g 1302202 pt.ap699 SP,產生充電電流12。而N型電晶體N2之閘極耦接至測 試信號SN,並根據測試信號SN,對電容140進行放電之 動作,電容量測電路110根據充電電流12、參考電流Ιι與 上述之測試信號SN、SP之時脈週期,計算電容140之電 容值。其計算公式如下: Q = (工2 _ 工1 ) VDD X Fre C :電容值 Ιι :參考電流 工2 ·充電電流 VDD :工作電壓 Fre :測試信號之頻率 由於電容所儲存的電荷量與其兩端的電壓差成正 比,而所儲存的電荷量則與單位時間流入電容的電流成正 比。而單位時間流入電容的電流則可以充電電流12與參考 電流I!的差,並除以測試信號之頻率來表示。而電容值乘 以電容兩端之電壓則等於電容内所儲存之電荷量。因此, 可藉由上式公式求得待測電容之電容值。 綜合上述,本發明因直接設計信號產生電路,用以產 生量測電容時所需之量測信號,因此,不只可直接與量測 電路或是待測電容整合於同一晶片上,增加量測方便性。 更可在不需要信號產生儀器的情況下量測電容,且可提供 更高之量測信號頻率,以取得更準確之電容值量測數據。 131302202 pt.ap699 19791 twf.d〇c/g and reverse or gate. Wherein, the above-mentioned inverse (four) inverts the above-mentioned _ money, and outputs - the inverted-phase-removed signal ' is used to connect the gate to the output of the inverter and the clock generation single/use reverse frequency-free frequency and The clock signal is reversed or axially operated*, and the second inverter is outputted by the output inverter. #,亚 via a invention, because of the direct circuit, the measurement of the 曰, signal 'Therefore, it can be directly integrated with the capacitance to be tested in the same -: ^ 卜 信号 signal generator, you can carry out capacitance measurement, The above-mentioned and other objects, features and advantages of the present invention will become more apparent and more obvious. The preferred embodiments of the present invention are described in detail below. 1 is a block diagram of a capacitance measuring circuit according to an embodiment of the present invention. As shown in FIG. 1, the capacitance measuring circuit 110 includes a signal generating circuit 12 and a charge and discharge unit. 130. The signal generating circuit 120 outputs a first test signal SN (hereinafter referred to as a test signal Sn) and a second test signal sP (to be referred to as a test signal sp) to the charge and discharge unit no, and the charge and discharge unit 13A is consumed by the capacitor 140, generating a charging current according to the test signal SP for charging the capacitor 140, and discharging the capacitor according to the test signal sn. The current of the charging and discharging and the period of the test signals SN, SP are utilized. Calculating the capacitance value of the capacitor 140. Next, the circuit structure of the detail of the embodiment is further explained, and Fig. 2 is a circuit diagram of the signal generating circuit according to the embodiment. The signal generating circuit 8 1302202 pt.ap699 19791 twf.doc/g 120 includes The clock generation unit 210, the frequency divider 22 and the logic operation unit 230. The clock generation unit 210 is coupled to the input end of the frequency divider 22A, and outputs a clock signal CKS to the frequency divider 22A, and After the frequency action, a frequency division signal DKS is generated in addition to the frequency state 220. In the present embodiment, the frequency divider 220 divides the clock signal CKS by 2, thereby generating a frequency division signal DKS having a frequency only half of the clock signal CKS1. The logic operation unit 230 is coupled to the clock generation unit 21 and the frequency division 220 for logically differentiating the clock signal CKS from the frequency division signal MS and outputting the test k number SN and the test signal sp. The operation unit 230 includes an inverse OR gate 232, 236 and an inversion!| 234, and an output inverter Na. wherein the 'reverse or gate 232 is coupled to the clock generation unit 21 and the frequency division cry 22, for the clock. The signal CKS is inverse or logically operated with the frequency-divided signal DKS The sub-output test signal SN. The inverter 234 is lightly connected to the frequency divider 22A for inverting the frequency-removing DKS, and outputting the --phase de-clocking frequency. The anti-236 is coupled to the inverter 234. The pulse generating unit 21A is configured to perform an inverse or logical operation on the inverted frequency-divided signal IDKS and the clock signal CKS. The output inverter 238 outputs the test signal SP. ^ ω Next, the signal of the embodiment is described in conjunction with the waveform diagram. The waveform is a signal waveform diagram according to the actual _. The clock signal CKS generated by the following 2' clock generation unit 2 Η) is as shown in the figure - the clock is divided by the frequency divider 22 ( ( Ben: = 2 and a half). , the frequency signal DKS is generated, and the frequency is only the clock signal. Since the test signal SN is reversed or logically transmitted by the inverse or the gate, the result is only the current pulse signal CKS and When the frequency-divided signal DKS is at a logic low level, the test signal SN generates a signal of a logic high potential (as indicated by time T1), and its waveform diagram is as shown in the test signal of FIG. The IDKS is known by the inversion of the frequency-divided signal DKS. Since the test signal sp is inversely or logically operated by the inverted frequency-divided signal IDKS and the clock signal CKS, it is inverted by inverting it. Therefore, when the inverted frequency-divided signal IDKS and the clock signal CKS are both logic low, the test signal sp will generate a logic low signal (as indicated by time T2). Therefore, it is apparent from Fig. 3 that in the present embodiment, the negative half period ΤΝ of the test signal SN^ is greater than the positive half period ΤΝ+, and the positive half period TP+ of the test signal sp is greater than the positive half period Tp_. And the test signal SN has the same clock cycle as the test signal SP. Fig. 4 is a circuit diagram of a clock generating unit according to the present embodiment. In the present embodiment, a clock signal CKf is generated using a circuit configuration of a ring oscillator. Of course, the manner in which the clock signal cKS of the present invention is generated is not limited to the structure of the %-shaped vibration. As long as the circuit capable of providing a stable clock signal can be generally known in the art, the disclosure by the present invention should be The circuit architecture of the remaining clock signals can be easily and inferred, and will not be described here. The day-of-day pulse generation unit 210 mainly includes an odd number of inverting units 401 to 401S [. Gan τφ?, 1 /, τ In the present embodiment, the inverting unit 401 can be the inverse gate jNANDgate)' can control the oscillation of the clock to generate a single 兀^1〇 by the uniform energy signal εν. When the enable signal EN is at a logic high level, the effect of the inverted single-turn 401 is similar to that of the inverter, thus causing the clock generation unit 10 1302202 pt.ap699 19791twf.doc/g 210 to start oscillating and output the clock ^ logic At low potential, it stops at cks, and the right enable signal EN is as shown in Fig. 5 according to the actual number (10). Including the inverter 510 ~ 550 Wp * as shown in the circuit diagram. Frequency divider 220 A switching element 525-555 is used to turn off elements 525-555. In each of the embodiments, when it is the receiving end - the receiving end and the - receiving end. When the low potential is programmed, the c potential is turned on, and the negative receiving terminal is turned off. When it is missing, the switching elements 525~555 are designed to be set to 1 positive 2 and another. In the embodiment, when the logic is high, the gate is turned on: the logic is low, and the negative receiving milk is presented. Turn off the state switch, otherwise, the switch component is still ~ = Figure 5 shows the clock signal CKs = = its signal polarity and clock signal ^ and 丄: the positive receiver of the 555, 555 is coupled with the inverting clock The signal is smooth, fCKs ° ^ 535' phase clock signal CKS, and its negative junction is connected to the inverse a*. Therefore, '#魏钱CKS is logic high potential two = 1 545 '535?' and thus causes the short-circuit 1 of the frequency-divided signal DKS to be changed (such as from logic 1 to logic low or from logic low) Is logic high). When the clock money CKS is logic low, the input terminal of the switching element 525, the mountain V-pass 'inverting s 52 轻 is lightly connected to the inverter, the output of 555 = thus the 'inverted state 520 output and the frequency-divided signal DKS the same logic letter ~ and the clock signal CKS is again a logic high potential, then the frequency signal 1302202 pt.ap699 19791 twf.doc / g UKS logic level change pulse signal CKS twice, that is, the frequency is 1/2 times the cycle time is shown in FIG. 5 is only a circuit diagram of the frequency divider of the consistent embodiment of the present invention, and the present invention is not limited thereto, and other circuit structure dividers such as a positive/reactor can also be used. D flip flop) and so on. GENERAL INFORMATION OF THE INVENTION In the art, the remaining applicable electrical and pertinent details should be readily inferred from the disclosure of the present invention, and are not described herein. >, through the above description of Figs. 2, 3, 4, and 5, the circuit architecture and signal waveforms of the test signals SN, SP in each of the embodiments have been clearly explained. Next, the charging/discharging unit 13A of the present embodiment will be described with reference to the steps. Referring to Fig. 1, the following description will be given. Fig. 6 is a circuit diagram of a charge and discharge unit according to the embodiment. The discharge unit 130 includes a first P-type transistor 卩丨 (hereinafter referred to as p 2-3 = body P1 ), a second P-type transistor P 2 (hereinafter referred to as a p-type transistor P 2 ), and an N-type transistor N1 (hereinafter referred to as The n-type transistor ν ′′, the second type transistor N 2 (hereinafter referred to as the N-type transistor n 2 ). Where p-type ^ 曰 = N-type transistor series shank connected to the working voltage lion and ground::,, the heart of the P-type transistor P1 gate is coupled to the test signal 卯, 221 reference current 11 ' and N The gate of the transistor N1 is coupled to the test transistor SN. The transistor P2 and the N-type transistor N2 are coupled in series between the operating voltages η, 接, and VSS. The capacitor 140 (in the present embodiment, a valley is taken as an example) | The horse is connected to the common node of the p-type transistor P2 and the n-type package body N2 and the ground terminal vss 曰zf# 1 J / 1 The secret of the earthen bag 听1 listens to the signal sp and reduces the test signal 12 19791twf.doc/g 1302202 pt.ap699 SP to generate the charging current 12. The gate of the N-type transistor N2 is coupled to the test signal SN, and discharges the capacitor 140 according to the test signal SN. The capacitance measuring circuit 110 according to the charging current 12, the reference current Ι and the test signal SN, The clock period of the SP is calculated by calculating the capacitance value of the capacitor 140. The calculation formula is as follows: Q = (Work 2 _ work 1) VDD X Fre C : Capacitance value Ιι : Reference current 2 · Charge current VDD : Operating voltage Fre : The frequency of the test signal due to the amount of charge stored by the capacitor The voltage difference is proportional, and the amount of stored charge is proportional to the current flowing into the capacitor per unit time. The current flowing into the capacitor per unit time can be expressed as the difference between the charging current 12 and the reference current I! divided by the frequency of the test signal. The capacitance value multiplied by the voltage across the capacitor is equal to the amount of charge stored in the capacitor. Therefore, the capacitance value of the capacitor to be tested can be obtained by the above formula. In summary, the present invention directly designs a signal generating circuit for generating a measuring signal required for measuring a capacitor. Therefore, not only can the measuring circuit or the capacitor to be tested be directly integrated on the same wafer, thereby increasing the measurement convenience. Sex. It also measures the capacitance without the need for a signal-generating instrument and provides a higher measurement signal frequency for more accurate capacitance measurement data. 13

1302202 pt.ap699 19791twf.doc/g 雖然本發明已以較佳實施例揭露如上,然其並非用r 限定本發明,任何熟習此技藝者,在不脫離本發明之铲ζ 和範圍内’當可作些許之更動與潤飾’因此本 = 範圍當視後附之申請專利範圍所界定者為準。 【圖式簡單說明】 圖1為根據本發明一實施例之電容量測電路之方塊 圖2為根據本實施例之信號產生電路之電路 圖3為根據本實施例之信號波形圖。 回 圖4為根據本實施例之時脈產生單元之電路 圖5為根據本實施例之除頻器之電路圖。回 圖6為根據本實施例之充放電單元 【主要元件符號說明】 圖。 DD :工作電壓 VSS ·接地端 CKS :時脈信號 DKS :除頻信號 IDKS :反相除頻信號 TN+、TP+ :正半週期 TP-、TP-:負半週期 ΤΙ、T2 :時間 SN、SP :測試信號 EN :致能信號 ICKS ·反相時脈信號 14 19791twf.doc/g 1302202 pt.ap699 Π、P2 : P型電晶體 N1、N2 : N型電晶體 11 :參考電流 12 :充電電流 110 :電容量測電路 120 :信號產生單電路 130 :充放電單元 140 :電容 210 :時脈產生單元 220 :除頻器 232、236 :或反閘 234 :反相器 238 :輸出反相器 401〜40N :反相單元 520〜550 :反相器 525〜555 :開關元件 151302202 pt.ap699 19791 twf.doc/g Although the present invention has been disclosed in the preferred embodiments as above, it is not intended to limit the invention, and any skilled person will be able to do so without departing from the scope and scope of the invention. Make a few changes and refinements' Therefore, the scope of this application is subject to the definition of the scope of the patent application. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a capacitance measuring circuit according to an embodiment of the present invention. FIG. 2 is a circuit diagram of a signal generating circuit according to the present embodiment. FIG. 3 is a signal waveform diagram according to the present embodiment. 4 is a circuit diagram of a clock generating unit according to the present embodiment. FIG. 5 is a circuit diagram of a frequency divider according to the present embodiment. 6 is a diagram of a charge and discharge unit according to the present embodiment. DD : Operating voltage VSS · Ground terminal CKS : Clock signal DKS : Frequency dividing signal IDKS : Reverse frequency dividing signal TN+, TP+ : Positive half cycle TP-, TP-: Negative half cycle ΤΙ, T2 : Time SN, SP: Test signal EN: Enable signal ICKS · Inverted clock signal 14 19791twf.doc/g 1302202 pt.ap699 Π, P2: P-type transistor N1, N2: N-type transistor 11: Reference current 12: Charging current 110: Capacitance measuring circuit 120: signal generating single circuit 130: charging and discharging unit 140: capacitor 210: clock generating unit 220: frequency divider 232, 236: or reverse gate 234: inverter 238: output inverter 401~40N : Inverting units 520 to 550: inverters 525 to 555: switching element 15

Claims (1)

1302202 iQ 曰修(更)正本 97、〇6、〇9 十、申請專利範圍·· 電容量測生!路’用以產生-電容量測信號,謗 信號產生電試信號與一第二測試信號,讀 -::ί生f元,用以產生-時脈信號; 器,用單輕接至該時脈產生單元與該除類 出令第、Ρί:Γ爾言號與該除頻信號進行邏輯運算’並輪 出試信號與該第二職信號。 卫輪 該時脈ΐ^Γ?1項所述之信號產生電路,其中 早70包括一環形振盪器。 trl·如申請專利範圍第1項所述之信號產生電路,Α中 該邏輯運算單元包括·· _ j ㈣’輕接至該時脈產生單元與該_器,用以 第與該除頻信號進行反或邏輯運算,並輸出該 該邏圍第1項所述之信號產生電路’其中 计浐屮反?Γ ’耦接至該除頻器,用以反相該除頻信號, 亚輸出一反相除頻信號; 一反或閘,耦接至該反相器與該時脈產生單元,用以 對該反相除頻信號與該時脈信號進行反或邏輯運管,並經 由一輸出反相器輸出該第二測試信號。 才、二 16 (,Β ) ^ 1302202 97-06-09 該第!1項所述之信號產生電路,其中 期。 、+週功大於該第一測試信號之正半週 ,第1上^她圍第1項所述之信號產生電路’並中 =-測私號之正半週期大於該第二測試信號之負半週 測試f軸小於第一 8·一種仏號產生電路,包括: —時脈產生單元’用以產生-時脈信號; π—ί頻器,接於該時脈產生單元,用以對該時脈信 號進行除頻,並輸出-除頻信號;以及 斟辞R士,H輕接至該時脈產生單元與該除頻器,用以 笛^ 賊除触號進行反或邏輯 弟一測試信號。 9·如㈣專·圍第8項所述之信號產生電路,其中 糾脈產生單元包括—環形振盪器。 10·如申請專利範圍第8項ς述之信號產生電路,其 中該第-顺錢貞切期切該第—職錢之正半週 期0 11·一種信號產生電路,包括: —時脈f生單元’用以產生-時脈信號; —除頻器’_接_時脈產生單元,用崎該時脈信1302202 iQ 曰修 (more) original 97, 〇6, 〇9 10, the scope of application for patents · · capacitance measurement! Road 'used to generate - capacitance measurement signal, 谤 signal to generate electrical test signal and a second test signal , read -:: ί raw f yuan, used to generate - clock signal; the device, with a single light to the clock generation unit and the division of the order, Ρ Γ: Γ 言 言 and the frequency signal The logic operation 'and rotates the test signal and the second job signal. Guard wheel The signal generation circuit described in the above paragraph, wherein the early 70 includes a ring oscillator. The signal generating circuit of claim 1, wherein the logical operation unit comprises: · _ j (four) 'lightly connected to the clock generating unit and the _ for the first and the frequency dividing signal Performing an inverse or logical operation, and outputting the signal generating circuit described in the first item of the logic. Γ 'coupled to the frequency divider for inverting the frequency-divided signal, sub-outputting an inverted frequency-divided signal; an inverse thyristor coupled to the inverter and the clock generating unit for The inverted frequency-divided signal is inversely or logically operated with the clock signal, and the second test signal is output via an output inverter.才,二16 (,Β) ^ 1302202 97-06-09 The signal generation circuit described in item !1, term. , + Zhou Gong is greater than the positive half of the first test signal, the first upper ^ she around the signal generation circuit of the first item 'and the middle = - the positive half cycle of the measured private number is greater than the negative of the second test signal The half-cycle test f-axis is smaller than the first one. An apostrophe generating circuit includes: - a clock generating unit for generating a - clock signal; and a π-frequency buffer connected to the clock generating unit for The clock signal is divided by frequency, and the output-de-frequency signal is output; and the 斟 R R ,, H is lightly connected to the clock generating unit and the frequency eliminator, and is used for the flute thief except for the touch number to perform the reverse or logic test. signal. 9. The signal generating circuit of (4), wherein the correction pulse generating unit comprises a ring oscillator. 10. The signal generation circuit as described in item 8 of the patent application scope, wherein the first-hundred money cut-off period cuts the positive half cycle of the first job. 0 11. A signal generation circuit, comprising: - clock f Unit ' is used to generate - clock signal; - frequency divider '_ connected_ clock generation unit, using the clock signal 17 1302202 97-06-09 號進行除頻’並輸出一除頻信號· if於:反=二接至該除頻器’用以反相該除頻信號, 亚輸出一反相除頻信號;以及 反或閘輕接至该反相器與 =除頻信號與該時脈信號進行反或經 由-輸出反相器輸出—第二_信號。 _ U销叙錄纽電路,其 中撕脈產生早兀包括―環形振盡哭。 中職㈣U销述之信鼓生電路,其 ^ 核域正半週期大於該第二_信號之負半週 14.-種電容量測電路,適用於 該電容量測電路包括: 电谷之私谷值 一信號產生電路,包括·· 一二脈Ϊ生單^ ’用以產生-時脈信號; 一示頻器,耦接於該時脈產 脈信號進行_,並輸出―除頻錢;2對柄 相-田—邏輯運算單元,輪至該時脈產生單元血該除 =時脈信號與該除頻信號 算,並 輸出1 —測試信號與-第二測試信號;以及-工 測試二 根據該第一測試信號,對該電容進行放電t動’亚 其中’該第-測試信號與該第二測試信號具有相同之 18 1302202 97-06-09 時脈週期,該電容量測電路轉祕電電錢上述之時脈 週期,計算該電容之電容值。 15·如申明專利範圍第μ項所述之電容量测電路,发 中該時脈產生單元包括-環形振鮮。 〃 6.如申明專利範圍弟14項所述之電容量测電路, 中該邏輯運算單元包括: /、17 1302202 97-06-09 performs frequency division 'and outputs a frequency division signal · if in: reverse = two connected to the frequency divider' to invert the frequency division signal, sub-output an inverted frequency-divided signal; And the inverse or gate is lightly connected to the inverter and the =divided signal is inverted with the clock signal or output via the output inverter - the second signal. _ U sales narrative circuit, in which the tearing pulse produced early and then included - ring to burst into tears. In the secondary vocational school (four) U sales of the letter drum circuit, its ^ nuclear domain positive half cycle is greater than the negative half cycle of the second _ signal 14. - a capacitance measuring circuit, suitable for the capacitance measuring circuit including: a valley-one signal generating circuit, comprising: a second pulse generating unit ^' for generating a clock signal; an frequency converter coupled to the clock pulse signal for performing _, and outputting "dividing frequency"; 2 pairs of shank phase-field-logic operation unit, it is the clock generation unit blood to divide the clock signal and the frequency division signal, and output 1 - test signal and - second test signal; and - test 2 And discharging the capacitor according to the first test signal, wherein the first test signal and the second test signal have the same 18 1302202 97-06-09 clock cycle, and the capacitance measuring circuit is transferred to the second test signal. The electric energy money has the above-mentioned clock cycle, and the capacitance value of the capacitor is calculated. 15. The capacitance measuring circuit according to the item [51] of the patent scope, wherein the clock generating unit comprises a ring-shaped ring. 〃 6. The capacitance calculation unit described in claim 14 of the patent scope, wherein the logic operation unit comprises: 一反或閘,耦接至該時脈產生單元與該除頻器, 對該時脈信號與該除頻信號進行反或邏輯運算^以 第一測試信號。 兀輸出該An inverse OR gate is coupled to the clock generation unit and the frequency divider, and inversely or logically operates the clock signal with the frequency division signal to obtain a first test signal.兀 output this π·如申請專利範圍第14項所述之電容 中該邏輯運算單元包括: 』兒路,其 …反相f,耦接至該除頻器,用以反相該除頻h 並輸出一反相除頻信號; 唬, 上一反或閘,耦接至該反相器與該時脈產生 對該反相賴信賴該時脈錢進行反或輯’用以 由—輪出反相器輸出該第二測試传赛。 昇,迷緩 18. 如申請專利範圍第14項所述之電容 =第—測試信號之負半週期大於該第—測試信❽ 19. 如申請專利範圍第u 中該第二測試信號之正半週期大於該第! 週期。 列4^銳之 |0.如申請>專利範圍第14項所述之電容 其半 中該第一測試信號與該第二測試信號之:二:電:: 其第 19 1302202 97-06-09 一測試信號之正半週期小於該第二測試信號之負半週期。 21. 如申請專利範圍第14項所述之電容量測電路,其 中該充放電單元包括: 一第一 P型電晶體,與一第一 N型電晶體串聯耦接於 一工作電壓與一接地端之間; 其中,該第一 P型電晶體之閘極耦接於該第二測試信 號,並產生一參考電流,而該第一N型電晶體之閘極耦接 至該第一測試信號。 22. 如申請專利範圍第21項所述之電容量測電路,其 中該充放電單元包括: 一第二P型電晶體,與一第二N型電晶體串聯耦接於 該工作電壓與該接地端之間,該電容耦接於該第二P型電 晶體與該第二N型電晶體之共用節點與該接地端之間; 其中,該第二P型電晶體之閘極耦接於該第二測試信 號,並根據該第二測試信號,產生該充電電流,該第二N 型電晶體之閘極耦接於該第一測試信號,並根據該第一測 試信號對該電容進行放電之動作,該電容量測電路根據該 充電電流、參考電流與上述之時脈週期,計算該電容之電 容值。 20The logic operation unit of the capacitor described in claim 14 includes: a child path, an inversion f thereof, coupled to the frequency divider for inverting the frequency division h and outputting a reverse a phase-divided signal; 唬, a reverse or thyristor coupled to the inverter and the clock generating the counter-reliant reliance on the clock money to reverse or compile the 'in turn-out inverter output The second test was passed. l, slow down 18. As described in claim 14 of the scope of the capacitor = the negative half cycle of the first test signal is greater than the first test letter 19. As in the scope of the patent application, the second half of the second test signal The period is greater than the first! period. Column 4^锐之|0. As claimed in the application > Patent Range No. 14, the first test signal and the second test signal are in the middle of the capacitor: two: electricity:: its 191302202 97-06- 09 The positive half cycle of a test signal is less than the negative half cycle of the second test signal. 21. The capacitance measuring circuit of claim 14, wherein the charging and discharging unit comprises: a first P-type transistor coupled in series with a first N-type transistor to an operating voltage and a ground The gate of the first P-type transistor is coupled to the second test signal and generates a reference current, and the gate of the first N-type transistor is coupled to the first test signal . 22. The capacitance measuring circuit of claim 21, wherein the charging and discharging unit comprises: a second P-type transistor coupled in series with the second N-type transistor to the operating voltage and the ground Between the terminals, the capacitor is coupled between the common node of the second P-type transistor and the second N-type transistor and the ground; wherein the gate of the second P-type transistor is coupled to the gate a second test signal, and generating a charging current according to the second test signal, a gate of the second N-type transistor is coupled to the first test signal, and discharging the capacitor according to the first test signal In operation, the capacitance measuring circuit calculates the capacitance value of the capacitor according to the charging current, the reference current, and the clock cycle described above. 20
TW95124286A 2006-07-04 2006-07-04 Signal generation circuit for measuring capacitor TWI302202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95124286A TWI302202B (en) 2006-07-04 2006-07-04 Signal generation circuit for measuring capacitor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95124286A TWI302202B (en) 2006-07-04 2006-07-04 Signal generation circuit for measuring capacitor

Publications (2)

Publication Number Publication Date
TW200804833A TW200804833A (en) 2008-01-16
TWI302202B true TWI302202B (en) 2008-10-21

Family

ID=44765936

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95124286A TWI302202B (en) 2006-07-04 2006-07-04 Signal generation circuit for measuring capacitor

Country Status (1)

Country Link
TW (1) TWI302202B (en)

Also Published As

Publication number Publication date
TW200804833A (en) 2008-01-16

Similar Documents

Publication Publication Date Title
JP4016394B2 (en) Internal clock signal generation circuit and method
WO2007069102A2 (en) Current measurement circuit and method
CN111624469A (en) Propagation delay test circuit of digital isolator
TWI502896B (en) Oscillator module and reference circuit thereof
JP2002140891A (en) Synchronous type semiconductor memory
TW449957B (en) Oscillatory circuit having built-in test circuit for checking oscillating signal for duty factor
TW201243364A (en) Device measurement circuit and method thereof
TWI302202B (en) Signal generation circuit for measuring capacitor
RU156560U1 (en) FREQUENCY STAND DEVICE FOR Zeeman LASER GYROSCOPES
TW586271B (en) Semiconductor integrated circuit
CN100547407C (en) The signal generating circuit of electric capacitance measurement
JPH07280857A (en) Pulse width measuring circuit
TWI229441B (en) Semiconductor integrated circuit and functional block thereof
TW201136168A (en) Flip flop circuit and leakage current suppression circuit
TW200818708A (en) Oscillation circuit
US7977995B2 (en) Configurable pulse generator
JP2760691B2 (en) Electronic circuit having mode-changeable internal circuit
US20180294801A1 (en) Integrated ring oscillator clock generator
US7456675B2 (en) Semiconductor integrated circuit device for preventing generation of irregular clock signal
JPH0247637Y2 (en)
JP2699522B2 (en) Time measurement device
JP2655165B2 (en) Synchronization method of synchronous inverter, synchronous signal generation circuit and synchronous inverter device
JP3011047B2 (en) Phase comparison circuit
JP2756462B2 (en) Electronic clock
KR20100076630A (en) Circuit and method for measuring capacitance of capacitor