TW200803170A - Input circuits and methods thereof - Google Patents
Input circuits and methods thereof Download PDFInfo
- Publication number
- TW200803170A TW200803170A TW96122496A TW96122496A TW200803170A TW 200803170 A TW200803170 A TW 200803170A TW 96122496 A TW96122496 A TW 96122496A TW 96122496 A TW96122496 A TW 96122496A TW 200803170 A TW200803170 A TW 200803170A
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- voltage
- input
- level
- enable signal
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims 3
- 238000006243 chemical reaction Methods 0.000 claims description 7
- 210000004243 sweat Anatomy 0.000 claims 1
- 206010011469 Crying Diseases 0.000 description 3
- 241000255925 Diptera Species 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 101710178035 Chorismate synthase 2 Proteins 0.000 description 2
- 101710152694 Cysteine synthase 2 Proteins 0.000 description 2
- 239000000428 dust Substances 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 1
- 241000282376 Panthera tigris Species 0.000 description 1
- 241001122767 Theaceae Species 0.000 description 1
- 241001125929 Trisopterus luscus Species 0.000 description 1
- 229910052802 copper Inorganic materials 0.000 description 1
- 239000010949 copper Substances 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- APTZNLHMIGJTEW-UHFFFAOYSA-N pyraflufen-ethyl Chemical compound C1=C(Cl)C(OCC(=O)OCC)=CC(C=2C(=C(OC(F)F)N(C)N=2)Cl)=C1F APTZNLHMIGJTEW-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/0175—Coupling arrangements; Interface arrangements
- H03K19/017509—Interface arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Logic Circuits (AREA)
- Electronic Switches (AREA)
Abstract
Description
200803170 九、發明說明: 【發明所屬之技術領域】 本發明係有關於一種輸入電路,特別是有關於一種 輸入電路,用以判斷於輸入腳位(input pin)上的兩或:心 I At 【先前技術】 一般而言,根據輸入信號,積體電路之邏輯輸入 位(pad)具有兩個邏輯狀態,勤高邏輯狀態與低鼓 狀悲。在一些應用中,邏輯輪入腳位可能具有浮接狀能 (floating state),其表示邏輯輸入腳位沒有接收任二 號。因此,習知的輸入電路可用來判斷輸入腳位上二έ 個狀態’例如浮接狀態與高邏輯狀態,或者浮接狀能: 低邏輯狀態。習知的輸入電路更可用來判斷輪入腳:? 的三個狀態,例如浮接狀態、高邏輯狀態、與低邏 態。當輸人腳位處於浮接狀態時,f知輸人電路透= 個電阻器將輸人腳位之位準拉高或拉低。例如,卷= 腳位具有浮接狀態與高邏輯狀態,且輸人㈣ 接狀態時,習知的輸入電路透過麵接於輸入腳位與接: 之間的電阻n ’將輸人腳位之位準拉低,且輪 判斷輸入腳位之位準為低邏輯位準。當輸入腳 : 高邏輯狀態時’前述習知的輸人電路判斷輸人腳位Z 準為高邏輯位準。然而’介於輪入腳位與接地之電阻: 所形成的路徑上會產生漏電流。因此,期望提供〜種ς 0758-A32293TWF;MTKI-06-l 12;Yvonne 6 200803170 二二Π:斷輸入腳位之浮接狀態,且當輸入腳位 處於低或㊄邏輯狀態時,其可減少漏電流的產生。 【發明内容】 本發明提供-種輪人電路,包括位準決定單元以及 二二:定單元由輸入電路之輸入端接收輸入 ::二一致能信號控制的第-期間,決定輸入信 卡徇出早兀耦接輪入端。在第一期間,輪 出單兀由輸入電路之輸出端輪 準之鈐入n 广出&輸出具有已決定之電壓位 f之輪入㈣,以作為輸出信號。在接續期間之 輸出單元根據第二致能信號以拾鎖(lateh)輸入 ㈣^已衫之電壓位準,且由輸出端輸出具有已決定 之電壓位準之輸人信號,以作為輸出信號。 本發明另提供一種輸入電路,其包括位準決 ί、類比數位轉換單元、以及拾鎖(latch)模、組。位準決定 單兀由輸入電路之輸入端接收輸入信號,且在第一、期 間’根據第-致能信號來蚊輸人信號之電壓位準。類 比數位轉換單元接收具有已決定之電壓位準之輪入p 號’且在-第一期間’根據輸入信號之已決定之電壓: 準,將輸入信號轉換為數位信號。拴鎖模紕在接續於第 一期間之-第二期間’由第二致能信號控制,以拾 位信號作為輸出信號。 、 ^為使本發明之上述目的、特徵和優點能更明顯易 1,下文特舉一較佳實施例,並配合所附圖式,作詳細 0758-A32293TWF;MTKI-06-l 12;YV0nne 7 200803170 說明如下。 【實施方式】 第1圖係表示本發明實施例之輸入電路 、 輸出單元n。輸入端可以是積體電路之 f輯輪入腳位。位準決定單元1。由輸入電路? PIN接收輸入信號IN,且在致能信號抓 信號-之電厂叫在此第-期Γ中: 的輸一,以做為輸出信號二^ E^、2弟:ί:,間之弟二期間中,輪出單元11根據致能信號 有6決定的電壓位準的輪人信號ΙΝ, -輸虎OUT。根據輸出信號0U 入端PIN之狀態。 j獲件輸 在本發明實施例中,作狹 、1JT枱說之電屋位準根據一參考位 、刀為㉟電Μ位準與低電屢位準,在數位邏輯上, 为別對應邏輯高位準與邏輯低位準。 在本發明中,輸入端ΡΙΝ之兩個狀態可 j尚邏触態,或者是浮錄態與低邏減態。在下 輸入端〜之浮接狀態與低邏輯狀態為 1夕J木呪明弟1圖之實施例。 如第1圖所示,輸入電路1更包括位準維持單元 〇758-A32293TWF;MTKI-06-112;Yvonne 200803170 準維持單元12由致能信請2 17 “ ί人端PlN之電塵值。位準維持I元 雜二=人端處於浮接狀態時,輸人端PIN之電壓值受到 :::板。輸入電路i也包括時序產生單元(tlming 二1〇n Umt) 13,用以產生致能信號EN_1與EN 2。 致能信號E N— i與致能信號E N—2具有相反之㈣位準, 例如二者為高電壓位準,另一者為低電壓位準。200803170 IX. Description of the Invention: [Technical Field] The present invention relates to an input circuit, and more particularly to an input circuit for determining two or two inputs on an input pin: Prior Art In general, according to the input signal, the logic input pad of the integrated circuit has two logic states, a high logic state and a low drum state. In some applications, the logical wheel pin may have a floating state indicating that the logic input pin does not receive any two. Thus, conventional input circuits can be used to determine two states on the input pin, such as a floating state and a high logic state, or a floating state: a low logic state. The conventional input circuit can be used to judge the wheel:? Three states, such as a floating state, a high logic state, and a low state. When the input pin is in the floating state, the input circuit of the input circuit is a resistor that pulls the position of the input pin high or low. For example, when the volume=pin has a floating state and a high logic state, and the input (four) is connected, the conventional input circuit is connected to the input pin and the resistance between the input: The level is pulled low, and the wheel determines that the level of the input pin is a low logic level. When the input pin: high logic state, the aforementioned input circuit determines that the input pin Z is a high logic level. However, the resistance between the wheel and the ground: Leakage current is generated in the path formed. Therefore, it is desirable to provide a kind of ς 0758-A32293TWF; MTKI-06-l 12; Yvonne 6 200803170 2nd Π: the floating state of the input pin, and when the input pin is in the low or five logic state, it can be reduced The generation of leakage current. SUMMARY OF THE INVENTION The present invention provides a wheeled person circuit, including a level determining unit and a second two: a fixed unit receives input from an input end of an input circuit: a first period controlled by a second consistent energy signal, determines an input signal card. It is coupled to the wheel end early. During the first period, the turn-out unit is input to the output of the input circuit by the input of the n-out & output with the determined voltage bit f (4) as the output signal. During the connection, the output unit inputs (4) the voltage level of the shirt according to the second enable signal, and outputs an input signal having the determined voltage level as an output signal by the output terminal. The present invention further provides an input circuit including a level decision, an analog digital conversion unit, and a latch mode, group. The level decision unit receives the input signal from the input terminal of the input circuit, and the voltage level of the mosquito input signal is based on the first-period signal during the first period. The analog digital conversion unit receives the wheeled p-number ' having a determined voltage level and converts the input signal to a digital signal based on the determined voltage of the input signal during the first period. The shackle mode is controlled by the second enable signal during the second period following the first period, with the pickup signal as the output signal. In order to make the above objects, features and advantages of the present invention more obvious, the following is a preferred embodiment, and with reference to the drawings, detail 0758-A32293TWF; MTKI-06-l 12; YV0nne 7 200803170 is explained below. [Embodiment] Fig. 1 shows an input circuit and an output unit n according to an embodiment of the present invention. The input can be the integral circuit of the integrated circuit. Level determination unit 1. The input signal IN is received by the input circuit PIN, and the power plant called the signal-carrying signal is called the first one in the first period: as the output signal two ^ E^, 2 brother: ί:, In the middle of the second period, the rounding unit 11 has a voltage level of 6 determined according to the enable signal, and the tiger OUT. According to the output signal 0U, the state of the incoming PIN. In the embodiment of the present invention, the electric house of the 1JT station is said to be based on a reference position, the knife is 35 electric level and the low electric level is repeated, and in the digital logic, the corresponding logic is High level and logic low level. In the present invention, the two states of the input terminal 可 are still in a state of contact, or a floating state and a low logic state. In the lower input side ~ the floating state and the low logic state are 1 eve. As shown in Fig. 1, the input circuit 1 further includes a level maintaining unit 〇 758-A32293TWF; MTKI-06-112; Yvonne 200803170 quasi-maintaining unit 12 is enabled by the letter 2 17 " ί human terminal PlN electric dust value. When the level is maintained, the voltage of the input terminal PIN is subjected to :::: board. The input circuit i also includes a timing generation unit (tlming 2 〇 n Umt) 13 for generating The enable signals EN_1 and EN 2. The enable signal EN_i and the enable signal EN-2 have opposite (four) levels, for example, both are high voltage levels and the other is low voltage level.
參閱第1圖,輸出單元11包括反向器Ua、llb、 及Uc,以及開關lid。反向器Ila及llb以串聯的方式 輕接。如第1圖所示,反向器11a耦接於節點N11與輸 入端Pm之間,且反向器11b耦接於輸出端ρ〇υτ與節點 Nil之間。開關lld受致能信號題一2所控制,且耦接反 向器11c於輸入端ΡΙΝ與節點Nil之間。 參閱第1圖’位準決定單元1〇包括開關⑽及電阻 開關K)a受到致能信號EN」的控制。開關心 1弟-端耦接參考電壓Vref。在此實施例中,由於輪入 端Pm之兩個狀態為浮接狀態與低邏輯狀態,參考電壓 vR=則為供電電壓(power v〇ltage)。相反地:假使輸 入端PIN之兩個狀態為浮接狀態與高邏輯狀態,參考電^ VR=則為接地電壓。電阻器10a之第一端耦接開關i⑽ 之第二端,且電阻器10a之第二端耦接輸入端Pin。Referring to Fig. 1, the output unit 11 includes inverters Ua, 11b, and Uc, and a switch lid. The inverters Ila and 11b are lightly connected in series. As shown in FIG. 1, the inverter 11a is coupled between the node N11 and the input terminal Pm, and the inverter 11b is coupled between the output terminal ρ〇υτ and the node Nil. The switch 11d is controlled by the enable signal item 2, and is coupled between the input terminal ΡΙΝ and the node Nil. Referring to Fig. 1, the level determining unit 1 includes a switch (10) and a resistance switch K)a which are controlled by an enable signal EN". The switch core 1 is coupled to the reference voltage Vref. In this embodiment, since the two states of the wheel terminal Pm are the floating state and the low logic state, the reference voltage vR = is the power supply voltage (power v〇ltage). Conversely, if the two states of the input PIN are the floating state and the high logic state, the reference voltage VR = is the ground voltage. The first end of the resistor 10a is coupled to the second end of the switch i (10), and the second end of the resistor 10a is coupled to the input end Pin.
位準維持單元12包括開關12a及12b,以及電阻哭、 12c。開關12及12b以及電阻器12c以串聯的方式輕二 於參考電壓VREF與輸入端PIN之間。開關i2a受輪出声 075δ-A32293TWF;MTKI-06-112; Yvonne 9 200803170 ,OUT—所控制’且開關12b受致能信號颜」所控制。 H %例中’ I考電屢VREF為接地,開關12b受致 月b仏唬EN一2的反向信號所控制。 第2圖係表不苓考電壓V—與致能信號eNj間之 ^ :輸人電路1之操作將根據第1及2圖來說'"明。在 此貝把例中,所有的開關由高電壓位準信號來導通,且 由邏輯低位準信號來關閉。The level maintaining unit 12 includes switches 12a and 12b, and a resistor crying, 12c. The switches 12 and 12b and the resistor 12c are lightly connected in series between the reference voltage VREF and the input terminal PIN. The switch i2a is controlled by the sound of the sound 075δ-A32293TWF; MTKI-06-112; Yvonne 9 200803170, OUT-controlled and the switch 12b is controlled by the enable signal. In the H% example, the I test power VREF is grounded, and the switch 12b is controlled by the reverse signal of the month b仏唬EN-2. Figure 2 is a comparison between the voltage V- and the enable signal eNj. ^: The operation of the input circuit 1 will be '" according to Figures 1 and 2. In this example, all switches are turned on by a high voltage level signal and turned off by a logic low level signal.
參閱第2圖,在第一期間P-1,參考電壓VREF由0V 開始亡升’且具有高電壓位準,致能信號EN—1則隨著參 考电£ VREF (供電電壓)上升。當致能信號1到達 高電壓位準以導通開關時,在位準決定單元―1〇中, 於f考電壓VREF與輸人端PiN間形成第—路徑。假使輸 =端Pm處於浮接狀態,輸人信㉟IN之電壓位準則透過 第一路徑且根據參考電壓Vref而拉高。位準決定單元⑺ 則決定輸入信號,之電壓位準為高電壓位準。換句話 說,位準決定單元10決定輸入信號IN之電壓位準為參 =電壓之電壓位準。在第—期間p」,開關Ud被與致能 信號EN-1相反之致能信號EN—2閉,且具有高電壓位準 之輸入信號IN,透過反向器lla及llb而輪出至輸出端Referring to Fig. 2, during the first period P-1, the reference voltage VREF starts to rise from 0V and has a high voltage level, and the enable signal EN-1 rises with the reference voltage VREF (supply voltage). When the enable signal 1 reaches the high voltage level to turn on the switch, in the level determining unit "1", a first path is formed between the f test voltage VREF and the input terminal PiN. If the input terminal Pm is in the floating state, the voltage level criterion of the input signal 35IN is transmitted through the first path and is pulled up according to the reference voltage Vref. The level determining unit (7) determines the input signal and the voltage level is a high voltage level. In other words, the level determining unit 10 determines that the voltage level of the input signal IN is the voltage level of the parameter = voltage. In the first period p", the switch Ud is closed by the enable signal EN-2 opposite to the enable signal EN-1, and the input signal IN having a high voltage level is turned to the output through the inverters 11a and 11b. end
Pout,以作為輪出信號〇υτ。由於開關12b也由致能信 號EN_2所關閉,因此位準維持單元12處於閒置狀態 (inactive) 〇 當參考電壓vREF上升至既定電壓(例如2·7ν)時, 致能信號ΕΝ—1切換至低電壓位準,以關閉開關1〇&,且 0758-A32293TWF;MTKI.〇6-112;Yvonne 10 200803170 致能信號EN_2切換至高電壓位準,以導通開關ud。參 閱第2圖’致能信號EN_1切換為低電壓位準時的奸門1 標記”TP”來標示,且在時間TP後的期間稱‘第=== P_2。在第二期間p—2 ’輸入信號IN之高電壓位準被反 向器11a及lie所拴鎖(latch),且具有高電壓位準之輸入 信號IN透過反向器ua及nb來輸出至輪屮 』 a从土人, 铜出^ Ρ〇υτ,以Pout, as the rounding signal 〇υτ. Since the switch 12b is also turned off by the enable signal EN_2, the level maintaining unit 12 is in an inactive state. When the reference voltage vREF rises to a predetermined voltage (for example, 2·7 ν), the enable signal ΕΝ-1 is switched to low. Voltage level to turn off the switch 1〇&, and 0758-A32293TWF; MTKI.〇6-112; Yvonne 10 200803170 The enable signal EN_2 is switched to a high voltage level to turn on the switch ud. Refer to Fig. 2, where the enable signal EN_1 is switched to the low voltage level, the flag "TP" is indicated, and the period after the time TP is called "#=== P_2. During the second period p-2 'the high voltage level of the input signal IN is latched by the inverters 11a and lie, and the input signal IN having the high voltage level is output to the inverters ua and nb to Rim" a from the natives, copper out ^ Ρ〇υτ, to
作為輸出信號OUT。因此,根據高電壓位準之輸出信號 OUT ’則可判斷輸入端pIN係處於浮接狀態。 此外,在第二期間P一2,第一路徑被關閉的開關i〇a 所切斷。由於開關12a及12b分別由輸出信號〇υτ及致 能信號ΕΝ_2導通,在位準維持單元12 +,於參考電壓 VREF與輸入端ΡΙΝ間形成第二路徑。此第二路徑將輸入信 號IN之高電壓位準的電壓值稍稍拉高,以防止輸入信號 IN之高電壓位準的電壓值受到雜訊干擾。 在第一期間P-1中,假使輪入端ΡΙΝ處於低邏輯狀 態,輸入信號IN則為低電壓位準。位準決定單元1〇因 =決定輸入信號IN為低電壓位準。由於開關ud由致能 信號Εγ所關閉,具有低電壓位準之輸入信號四則透 k反向11a及lib輸出至輸出端ρ〇υτ,以作為輸出信 號。OUT。第二路徑被關閉的開關12b切斷,因此位準維 持單元12處於閒置狀態。由於在第一期間pj導通的開 關l〇a,漏電流則產生在第一路徑。 接著,在第二期間P—2,en—B刀換為低電屢位準以 關閉開關1 〇a。第一路你R] 士 +TT幽匕σ 路位口此切所,且不再有漏電流流經 〇758-A32293TWF;MTKI.〇6-l 12;Yvonne 200803170 第一路經。致能信號ΕΝ一2則切換為高電壓位準,以導通 開關iid,輸入信號顶之低電壓位準被反向器na& Uc 拴鎖,且具有低電壓位準之輪入信號ίΝ則透過反向器Ua 及11b輸出至輸出端ρ〇υτ,以作為輪出信號〇υτ。因此, 根據低位準之輸出信號〇UT,可決定輸人端Ριν係 處於低邏輯狀態。As the output signal OUT. Therefore, according to the output signal OUT ’ of the high voltage level, it can be judged that the input terminal pIN is in a floating state. Further, in the second period P-2, the first path is turned off by the switch i〇a. Since the switches 12a and 12b are respectively turned on by the output signal 〇υτ and the enable signal ΕΝ_2, the level maintaining unit 12+ forms a second path between the reference voltage VREF and the input terminal ΡΙΝ. This second path slightly raises the voltage value of the high voltage level of the input signal IN to prevent the voltage value of the high voltage level of the input signal IN from being disturbed by noise. In the first period P-1, if the wheel terminal ΡΙΝ is in a low logic state, the input signal IN is a low voltage level. The level determining unit 1〇 determines that the input signal IN is at a low voltage level. Since the switch ud is turned off by the enable signal Ε γ, the input signal having the low voltage level is transmitted through the k reverse 11a and the lib output to the output ρ 〇υ τ as an output signal. OUT. The switch 12b whose second path is closed is cut off, so the level maintaining unit 12 is in an idle state. Due to the switch l〇a that is turned on during the first period, leakage current is generated in the first path. Then, in the second period P-2, the en-B knife is switched to the low-voltage repeat level to close the switch 1 〇a. The first road you R] Shi + TT 匕 σ road location this cut, and no more leakage current flows 〇 758-A32293TWF; MTKI. 〇 6-l 12; Yvonne 200803170 The first way. The enable signal ΕΝ2 is switched to a high voltage level to turn on the switch iid, the low voltage level at the top of the input signal is locked by the inverter na& Uc, and the wheeled signal with a low voltage level is transmitted through The inverters Ua and 11b are outputted to the output terminal ρ 〇υ τ as the rounding signal 〇υτ. Therefore, according to the low level output signal 〇UT, it can be determined that the input terminal Ριν is in a low logic state.
、此外,在第二期間Ρ一2,由於開關12a被低電壓位 準=輸出信號out關閉,位準維持單元12也處於閒置 狀心在輸入彳5號1N為低電壓位準的情況下,由於在第 二/月間P一2内,第一及第二路徑皆被切斷,因此沒有漏 ,流的產生。在一些實施例中,當輸入端Pw的兩個狀態 為二接狀態與高邏輯狀態時,參考電1 V則是具有低 電屋位準之接地電壓。假使輸人端PIN處於浮接狀態,輸 則透過位準決定單元1〇之第一路徑,並根據 茶考电壓VREF而拉低。位準蚊單元1()因此決定輸入_ =為低電^準。假使輸人端&處於高邏輯狀態: 位準決疋早兀則蚊輸人信號IN之為高電麗位準。 而上料^能信號既1及EN—2之轉態係根據供 圖係表示第1圖中時序產生單元13之 貫施例。信號產生器13,包括電壓產生器3〇、=哭^之 比較單元32、計時器33、多工器34、或閘% : 向器36°分壓器31包括電阻器仏及3lb。比較= 包括比較器32a&D型正反器3沘,苴 車又早兀32 B係由下降緣所驅動’且產生初始具有低電 0758-A32293TWF;MTKI-06-112;Yv〇nne 200803170 制仏唬CS_1。計時器33產生初始具有低電壓位準之控 制信號CS_2。電壓產生器3〇接收供電電壓Vbat,且^ 據供電電壓VBAT產生 Vj。在此實施例中,電麼產 生,可以由能隙電壓產生器(bandgap v〇ltage generat〇r ) 來’'施在为壓裔31中’電阻器31a與31b以串聯的方 式耦接於供電電壓νΒΑτ與接地電壓GND之間。分壓器 31根據一既定比例之供電電壓Vbat與接地電壓間 之壓差來產生電壓V_2。此既定比例係根據電阻器… 及=之電阻值來決定。比較器32a之非反向端(+)接 收黾[V-1其反向端(-)接收電壓V—2。假設供雷恭 壓JBAT緩慢的上升,例如上升時間小於—丨亳秒(n;s)包 如第4圖所示。比較器32a比較電壓Vj與v_2,且產 士結果信號RS,並根據比較結果改變結果信號RS之電 1多工器之一端接收結果信號RS ’其另-端接收 [ VBAT。在弟一期間p—1,剛開始時,電壓V 2 β ;黾1 V—1,比車父态32a則將結果信號改變為低電 壓位準。接著,電壓V-2變成小於電壓V」,比較器32a 、:I將、果彳D號RS改變為高電壓位準。由於結果信 電壓位準變為高電壓位準,因為D型正反器32只有在下 降緣時會轉態,控制信號CSj維持在低電壓位準。或間 35接收皆具有低電壓位準之控制信號CSJ及CS 2,且 輸士具有低電壓位準之選擇信號S S至多卫器3 4。多工器 f著輸出—供電電壓VBAT以作為致能信號ENJ。換句話 Π兄,在第一期間P-1,致能信號隨著供電電壓VBAT而上 〇758-A32293TWP;MTKI-〇6.112;Yv〇nne n 200803170 且輸出反向 升。反向态3 6接收並反向致能信號εν 1 之致能信號ΕΝ—1以作為致能信號εν_2: 在時間τρ後,即在第二期間ρ—2中,電壓ν 成大於電壓v—!。在供電電壓Vbat等於2 7ν的時間τρ 上,比較器32a將結果信號RS改變為低電壓位準。由於 ==高㈣位準改變為低電磨位準,則在結果 化㈣上產生一個了降緣。D型正反器32因此被觸發, 且控制M CS_1隨著供電㈣Vbat變為高電壓位準。 或閘35接收具有高電壓位準之控制信號cs 古 電壓位準之控制信號Cs 2,且將呈 一 /、有低 — 且财具有间電壓位準 Π輸出至多工器34。多工器34接著輸出低電壓位 準之結果信號RS,以作為致能錢朗丨。因此, ,號」在供電電屢、為2.7 v的時間Tp上由“ =位準變為低㈣位準。反向器36接收並反向低電塵位 ^之致月心虎既1,^輸出反向之致能信號ΕΝ 1以作 為致能㈣EN-2。需注意,控號CS—2初始具有低 準:當計時器33到達時間τρ且控制信號⑴ 2處於向電壓位準時,計時器將控制信號CS2改為高 電壓位準,使得多工器34輪 -々口 信號ENJ。 輸出、、、。果MRS以作為致能 假使供電·νΒΑΤ快速地上升,如第5圖所示,由 於電壓產生器3G所產生之電壓Vj無法快速地上 =—2則永遠大於電Μ V」。比較器仏則 二 電壓位準之結果信號型正反器32因此永遠不被 〇758-A32293TWF;MTKI-〇6-112;Yvonne 200803170 ^且控制信號cs—j永遠處於低電壓位準。 低電壓位準控制信號⑴肖心,且將 奸 羊之忠擇信號SS輸出至多工器34。多工哭w 接著輸出供電雷厭v °° 34 當供電電壓VJ:AT以作為致能㈣EN—卜因此,In addition, in the second period Ρ2, since the switch 12a is turned off by the low voltage level=output signal out, the level maintaining unit 12 is also in the idle state, and the input 彳5 No. 1N is a low voltage level. Since both the first and second paths are cut during the second/monthly P-2, there is no leakage and flow is generated. In some embodiments, when the two states of the input terminal Pw are the two-connected state and the high-logic state, the reference power 1 V is a ground voltage having a low electric house level. If the input terminal PIN is in the floating state, the input passes through the first path of the level determining unit 1 and is pulled down according to the tea test voltage VREF. The level mosquito unit 1 () therefore determines that the input _ = is low. If the input terminal & is in a high logic state: the bit is determined to be early, then the mosquito input signal IN is the high battery level. The transition state of the loading signal 1 and EN-2 indicates the embodiment of the timing generating unit 13 in Fig. 1 according to the drawing system. The signal generator 13 includes a voltage generator 3, a comparison unit 32, a timer 33, a multiplexer 34, or a gate %. The divider 36° voltage divider 31 includes resistors 3 and 3 lb. Comparison = including comparator 32a & D type flip-flop 3 沘, braking is earlier than 32 B is driven by the falling edge 'and produces initial low power 0758-A32293TWF; MTKI-06-112; Yv〇nne 200803170仏唬CS_1. The timer 33 generates a control signal CS_2 which initially has a low voltage level. The voltage generator 3 〇 receives the supply voltage Vbat and generates Vj based on the supply voltage VBAT. In this embodiment, the electricity is generated, and can be coupled to the power supply by the bandgap voltage generator (bandgap v〇ltage generat〇r) in the compactor 31. The resistors 31a and 31b are coupled in series. The voltage ν ΒΑ τ is between the ground voltage GND. The voltage divider 31 generates a voltage V_2 based on a voltage difference between a predetermined ratio of the supply voltage Vbat and the ground voltage. This predetermined ratio is determined by the resistance values of the resistors... and =. The non-inverting terminal (+) of the comparator 32a receives 黾 [V-1 whose inverting terminal (-) receives the voltage V-2. Assume that the thunderbolt pressure JBAT rises slowly, for example, the rise time is less than - 丨亳 second (n; s) package as shown in Figure 4. The comparator 32a compares the voltages Vj and v_2, and produces the result signal RS, and changes the result of the comparison signal RS to the one end of the electric multiplexer to receive the result signal RS' and the other end receives [VBAT. During the period of the first phase, p-1, at the beginning, the voltage V 2 β ; 黾 1 V-1, the result signal is changed to the low voltage level than the parent state 32a. Then, the voltage V-2 becomes smaller than the voltage V", and the comparators 32a, :I change the fruit D number RS to a high voltage level. Since the resulting signal voltage level becomes a high voltage level, since the D-type flip-flop 32 is in a state of transition only at the falling edge, the control signal CSj is maintained at a low voltage level. The sum 35 receives the control signals CSJ and CS 2 each having a low voltage level, and the input signal S S to the multi-guard 34 of the low voltage level. The multiplexer f outputs the supply voltage VBAT as the enable signal ENJ. In other words, during the first period P-1, the enable signal is up 〇758-A32293TWP with the supply voltage VBAT; MTKI-〇6.112; Yv〇nne n 200803170 and the output is reversed. The opposite state 3 6 receives and reverses the enable signal εν 1 of the enable signal ΕΝ-1 as the enable signal εν_2: after the time τρ, that is, in the second period ρ-2, the voltage ν becomes greater than the voltage v− !! At time τρ at which the supply voltage Vbat is equal to 2 7 ν, the comparator 32a changes the resultant signal RS to a low voltage level. Since the == high (four) level changes to a low electric grind level, a falling edge is produced on the resulting (four). The D-type flip-flop 32 is thus triggered, and the control M CS_1 becomes a high voltage level as the power supply (four) Vbat. The OR gate 35 receives the control signal Cs 2 having the high voltage level control signal cs ancient voltage level, and will output a /, low - and cross-voltage level to the multiplexer 34. The multiplexer 34 then outputs the resulting signal RS of the low voltage level as a enablement. Therefore, the "number" is changed from "= level to low (four) level at time Tp of 2.7 v. The inverter 36 receives and reverses the low-level dust level. ^ Output the reverse enable signal ΕΝ 1 as the enable (4) EN-2. Note that the control number CS-2 initially has a low level: when the timer 33 reaches the time τρ and the control signal (1) 2 is at the voltage level, the timing The controller changes the control signal CS2 to a high voltage level, so that the multiplexer 34 rounds - the port signal ENJ. Outputs, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Since the voltage Vj generated by the voltage generator 3G cannot be quickly turned up = -2 is always greater than the voltage V". The result of the comparator 二 二 二 二 信号 信号 信号 信号 信号 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 〇 。 。 。 。 The low voltage level control signal (1) is circumscribed, and the loyalty selection signal SS is output to the multiplexer 34. Duplex crying w then output power supply anger v ° ° 34 when the supply voltage VJ: AT as an enable (four) EN - Bu, therefore,
Vbat專於2.7V時,致能信號ΕΝ—1不备由古 低電壓位準。在此情況下,計時 ^日守*㈣器33到達時間TP時,計時器33接When Vbat is designed for 2.7V, the enable signal ΕΝ-1 is not prepared by the ancient low voltage level. In this case, when the timer ^day 4 (four) device 33 reaches the time TP, the timer 33 is connected.
控制信號C:S 2改蠻為古+颅&唯诂π夕 且接將 —文又為同电壓位準,使侍多工器輸出結果 。旒SS,以作為致能信號ΕΝ_1。 /在一些實施例中,時序產生單元13可以簡化。第6 圖係表示第1圖中昧床吝 示圆中牯序產生早兀13之另一實施例。時序 早το 13”包括計時器6〇以及反向器61。計時器 產士致能信號Εν」。當計時器⑼到達介於第—期間ρ 1 與第-期P—2間的時間τρ時,計時器6〇將致能信參 聰—1改變為低電壓位準。反向器31接收並反向致能信 ΪρΕΓ—1,且輪出反向之致能信號既1,以作為致能^ 就 hN 2 〇 士在二貝知例中,當輸入電路1應用於積體電路 時,致能信號EN一1與EN一2由積體電路之内部產生。 —第7圖係表示本發明實施例之輸入電路,其可判斷 輸^端之三個狀態,即浮接狀態、高邏輯狀f以及低 邏輯狀態。如第7 ®所示,輸人電路7包括位準決定電 路70:類比數位轉換單元7卜以及拴鎖模組72。輸入端 可以是積體電路之邏輯輸入腳位。位準決定單元7〇由輸 〇758-A32293TWF;MTKI.〇6-112;Yvonne 200803170 入電路7之輸入端PIN接收輸入信號IN,且在第一期間 當致能信號EN_1是高電位時決定輸入信號IN之電壓位 準。類比數位轉換單元71接收具有已決定之電壓位準之 輸入信號IN,且在第一期間内根據輸入信號IN已決定之 電壓位準將輸入信號IN轉換為數位信號RS。在接續於 第一期間之第二期間内,拴鎖模組72根據致能信號EN_2 來拴鎖數位信號RS,以作為輸出信號OUT。根據輸出信 號OUT,則可判斷輸入端PIN之狀態。 在本發明實施例中,電壓位準根據一參考位準而可 分為高電壓位準與低電壓位準,在數位邏輯上,分別對 應邏輯高位準與邏輯低位準。 如第7圖所示,輸入電路更包括下拉單元73。下拉 單元73耦接於輸入端IN與接地電壓GND之間。在第二 期間内,當輸入端PIN處於浮接狀態時將,下拉單元73 將輸入端Pm下拉至接地電壓GND。輸入電路7還包括 時序產生單元74,用以產生致能信號EN_1至EN_2。致 能信號EN_1與致能信號EN_2具有相反之電壓位準。 參閱第7圖,位準決定單元70包括開關70a及70d 以及電阻器70b及70c。開關70a及70由控制信號EN_1 所控制。電阻器70b與開關70a以串聯的方式耦接於供 電電壓Vbat與輸入端Pin之間。電阻器70c與開關70d 以串聯的方式耦接於輸入端Pm與接地電壓GND之間。 在此實施例中,電阻器70b及70c之電阻值相等。 參閱第7圖,類比數位轉換器71包括比較器71a及 0758-A32293TWF;MTKI-06-112;Yvomie 16 200803170The control signal C: S 2 is changed to the ancient + cranial & 诂 诂 夕 且 and then the _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _旒SS, as the enable signal ΕΝ_1. / In some embodiments, the timing generation unit 13 can be simplified. Fig. 6 is a view showing another embodiment in which the order of the trampoline 13 in the trampoline in Fig. 1 is generated. Timing early το 13" includes a timer 6 〇 and an inverter 61. The timer is a sonic enable signal Ε ν". When the timer (9) reaches the time τρ between the first period ρ 1 and the first period P-2, the timer 6 改变 changes the enabling signal — 1 to a low voltage level. The inverter 31 receives and reverses the enable signal ΕΓρΕΓ-1, and turns the reverse enable signal to 1 as the enablement ^ on the hN 2 gentleman in the second example, when the input circuit 1 is applied In the integrated circuit, the enable signals EN-1 and EN-2 are generated internally by the integrated circuit. - Figure 7 shows an input circuit of an embodiment of the present invention which can determine the three states of the input terminal, i.e., the floating state, the high logic f, and the low logic state. As shown in Fig. 7X, the input circuit 7 includes a level determining circuit 70: an analog digital converting unit 7 and a shackle module 72. The input can be the logic input pin of the integrated circuit. The level determining unit 7 receives the input signal IN from the input terminal PIN of the circuit 7 by the input 758-A32293TWF; MTKI.〇6-112; Yvonne 200803170, and determines the input when the enable signal EN_1 is high during the first period. The voltage level of the signal IN. The analog-to-digital conversion unit 71 receives the input signal IN having the determined voltage level, and converts the input signal IN into the digital signal RS in accordance with the voltage level determined by the input signal IN during the first period. During the second period following the first period, the shackle module 72 latches the digital signal RS as the output signal OUT according to the enable signal EN_2. According to the output signal OUT, the state of the input terminal PIN can be judged. In the embodiment of the present invention, the voltage level can be divided into a high voltage level and a low voltage level according to a reference level, and correspondingly to the logic high level and the logic low level in the digital logic. As shown in FIG. 7, the input circuit further includes a pull-down unit 73. The pull-down unit 73 is coupled between the input terminal IN and the ground voltage GND. During the second period, when the input terminal PIN is in the floating state, the pull-down unit 73 pulls the input terminal Pm to the ground voltage GND. The input circuit 7 further includes a timing generating unit 74 for generating enable signals EN_1 to EN_2. The enable signal EN_1 has an opposite voltage level to the enable signal EN_2. Referring to Fig. 7, the level determining unit 70 includes switches 70a and 70d and resistors 70b and 70c. Switches 70a and 70 are controlled by control signal EN_1. The resistor 70b and the switch 70a are coupled in series between the supply voltage Vbat and the input terminal Pin. The resistor 70c and the switch 70d are coupled in series between the input terminal Pm and the ground voltage GND. In this embodiment, the resistance values of the resistors 70b and 70c are equal. Referring to Figure 7, analog-to-digital converter 71 includes comparators 71a and 0758-A32293TWF; MTKI-06-112; Yvomie 16 200803170
71b ’以及分壓器71c。分壓器71c耦接於供電電壓vBAT 與接地電壓GND之間,且在第一期間由致能信號ENj 控制而產生閾值電壓VTHj& vth—2。分壓器71c包括 開關71d、以及電阻器71e至71g。電阻器7u至71g以 串%的方式搞接於供電電壓VBΑτ與接地電壓gnd之 間。開關71d受到致能信號ENj的控制。閾值電壓 VTH—1產生於介於電阻器71e與71f間的節.N7ia,而 閾值電壓VTHJ產生於介於電阻器71f與71g間的節點 N71b。比較态71a由非反向端(+)接收信號IN,且由 ^向端(-)接收閾值電壓VTHj。比較器71a比較輸入 k唬IN已決定之電壓位準與閾值電壓VTHj,並根據比 較結果產生結果信號RS一卜比較器71b由非反向端(+) 接收信號IN,且由反向端()接收閾值電壓VTH_2。比 較為71b比較輸入信號ΙΝ已決定之電壓位準與閾值電壓 VTH—2,並根據比較結果產生結果信號rs—2。結果信號 • RS—1與結果信號RS-2結合成為數位信號HS。在此實施 例中,結果信號RS—1及RS一2中每一者佔有1位元,因 此數位信號RS具有佔有2位元。· 拴鎖模組72包括拴鎖器72&及72b。拴鎖哭72&接 收來自比㈣7U之結果信號RSJ,並在第;間内根 據致能信號EN—2來择鎖結果信號RSj ’以作為拾鎖信 號OUT—1。拴鎖器72b接收來自比較器71b之結果信號 RS—2,並在第二期間内根據致能信號ΕΝ—2來拴鎖結^ 信號RS_2’以作為拴鎖信號〇υτ_2。拾鎖信號〇υτ工 0758-A32293TWF;MTKI-06-112;Yvonne 17 200803170 • 與OUT_2結合成為輸出信號OUT。在此實施例中,拴鎖 信號OUT__l及OUT_2中每一者佔有1位元,因此輸出 信號佔有2位元。 下拉單元73包括電阻器73a、開關73b及73c、以 及反或閘(XOR) 73d。電阻器73a與開關73b及73c以 串聯方式耦接於輸入端PIN與接地電壓GND之間。反或 閘73d接收拴鎖信號OUTJ及OUT_2,並產生致能信號 EN_3。開關73b受致能信號EN_2控制,且開關73c受 • 致能信號EN_3控制。 輸入電路7之操作將配合第7及2圖來說明。在此 實施例中,所有的開關根據高電壓位準信號而導通,且 根據低電壓位準信號而關閉。 參閱第2圖,在第一期間P_1,供電電壓71b' and the voltage divider 71c. The voltage divider 71c is coupled between the supply voltage vBAT and the ground voltage GND, and is controlled by the enable signal ENj to generate the threshold voltage VTHj & vth-2 during the first period. The voltage divider 71c includes a switch 71d, and resistors 71e to 71g. The resistors 7u to 71g are connected in series % between the supply voltage VB Ατ and the ground voltage gnd. The switch 71d is controlled by the enable signal ENj. The threshold voltage VTH-1 is generated in the node N7ia between the resistors 71e and 71f, and the threshold voltage VTHJ is generated in the node N71b between the resistors 71f and 71g. The comparison state 71a receives the signal IN from the non-inverting terminal (+), and receives the threshold voltage VTHj from the terminal (-). The comparator 71a compares the voltage level determined by the input k唬IN with the threshold voltage VTHj, and generates a result signal RS according to the comparison result. The comparator 71b receives the signal IN from the non-inverting terminal (+), and is terminated by the opposite end ( The threshold voltage VTH_2 is received. Compared with the comparison 71b, the input signal 比较 has determined the voltage level and the threshold voltage VTH-2, and the result signal rs-2 is generated according to the comparison result. Result signal • RS-1 is combined with the resulting signal RS-2 to become the digital signal HS. In this embodiment, each of the resultant signals RS-1 and RS-2 occupies 1 bit, and thus the digital signal RS has 2 bits. The shackle module 72 includes shackles 72 & and 72b. The shackle crying 72& receives the result signal RSJ from the (4) 7U, and selects the lock result signal RSj' as the pickup signal OUT-1 in the middle according to the enable signal EN-2. The latch 72b receives the resultant signal RS-2 from the comparator 71b and latches the junction signal RS_2' as the shackle signal 〇υτ_2 according to the enable signal ΕΝ-2 during the second period. Pick-up signal 〇υτ工 0758-A32293TWF; MTKI-06-112; Yvonne 17 200803170 • Combined with OUT_2 to become the output signal OUT. In this embodiment, each of the shackles signals OUT__1 and OUT_2 occupies 1 bit, so the output signal occupies 2 bits. The pull-down unit 73 includes a resistor 73a, switches 73b and 73c, and a reverse OR gate (XOR) 73d. The resistor 73a and the switches 73b and 73c are coupled in series between the input terminal PIN and the ground voltage GND. The inverse OR gate 73d receives the shackle signals OUTJ and OUT_2 and generates an enable signal EN_3. The switch 73b is controlled by the enable signal EN_2, and the switch 73c is controlled by the enable signal EN_3. The operation of the input circuit 7 will be described in conjunction with Figures 7 and 2. In this embodiment, all of the switches are turned on in accordance with the high voltage level signal and are turned off in accordance with the low voltage level signal. Referring to Figure 2, during the first period P_1, the supply voltage
Vbat 由0V 開始上升且具有高電壓位準,致能信號隨著供電電壓 VBAT而上升。當致能信號ΕΝ—1到達高電壓位準時,開 關70a及70d導通。假使輸入端Pin處於浮接狀態’由於 ® 電阻器70b與70c具有相同之電阻值,輸入信號IN之電 壓位準被拉至介於供電電壓VBAT與接地電壓GND間的 中間電壓。位準決定單元70因此決定輸入信號IN之電 壓位準為中間電壓位準。同時,開關71d導通,因此可 獲得閾值電壓VTH_1大於閾值電壓VTH_2。由於閾值電 壓VTH_1大於輸入信號IN之電壓位準,比較器71a產 生低電壓位準之結果信號RS_J。由於輸入信號IN之電 壓位準大於閾值電壓VTH_2,比較器71b產生高電壓位 0758-A32293TWF;MTKI-06-112;Yvonne 18 200803170 • 準之結果信號RS_2。 當供電電壓VBAT上升至一既定電壓(例如2.7V) 時,致能信號EN_1切換至低電壓位準,且致能信號EN_2 切換至高電壓位準。參閱第2圖,致能信號EN_1切換至 低電壓位準的時間以標號”TP”來標記,且在時間TP之後 的期間稱為第二期間P_2。在第二期間PJ,拴鎖器72a 及72b被高電壓位準之致能信號ΕΝ_2觸發。拴鎖器72a 接收並拴鎖低電壓位準之結果信號RS_1,以作為拴鎖信 • 號OUTJ。拴鎖器72b接收並拴鎖高電壓位準之結果信 號RS_2,以作為拴鎖信號OUT_2。因此,根據低電壓位 準之拴鎖信號OUT_l與高電壓位準之拴鎖信號OUT_2, 可判斷出輸入端Pin處於浮接狀態。 此外,在第二期間P_2,反或閘73d接收低電壓位 準之拴鎖信號OUTj與高電壓位準之拴鎖信號OUT_2, 並產生高電壓位準之致能信號EN_3。開關73b被高電壓 位準之致能信號EN_2導通,且開關73c高電壓位準之致 • 能信號EN_3導通。因此,輸入端PIN下拉至接地電壓 GND,避免輸入端PIN浮接。 假使輸入端PIN處於低邏輯狀態,在第一期間P_1, 輸入信號IN處於低電壓位準。位準決定單元70因此決 定輸入信號IN為低電壓位準。根據上述類比數位轉換單 元71與拴鎖模組72之操作,在第二期間P_2,拴鎖器 72a拴鎖低電壓位準之結果信號RS_1以作為拴鎖信號 OUT_l,且拴鎖器72b拴鎖低電壓位準之結果信號RS 2 0758-A32293TWF;MTKI-06-112;Yvomie 19 200803170 ^ 以作為拴鎖信號〇UT_2。因此,根據低電壓位準之拴鎖 信號〇UT_l及OUT_2,可判斷出輸入端ΡΙΝ處於低邏輯 狀態。 以相同之操作,假使輸入端ΡΙΝ處於高邏輯狀態, 拴鎖器72a拴鎖高電壓位準之結果信號RS_1以作為拴鎖 信號〇UT_l,且拴鎖器72b拴鎖高電壓位準之結果信號 RS_2以作為拴鎖信號OUT_2。因此,根據高電壓位準之 拴鎖信號〇UT_l及OUT_2,可判斷出輸入端ΡΪΝ處於高 ® 邏輯狀態。 在輸入端ΡΙΝ處於低邏輯狀態與高邏輯狀態的情況 下,由於反或閘73d接收皆具有高/低電壓位準之拴鎖信 號OUT_l及OUT_2,反或閘73d則產生低電壓位準之致 能信號EN_3,以關閉開關73c。因此下拉單元73處於閒 置狀態。 在此實施例中,時序產生單元74可以第3圖之時序 產生單元13’或是第6圖之時序產生單元13”來實現。在 ® 一些實施例中,當輸入電路7應用於積體電路時,致能 信號EN_1與EN_2由積體電路之内部產生。 本發明雖以較佳實施例揭露如上,然其並非用以限 定本發明的範圍,任何所屬技術領域中具有通常知識 者’在不脫離本發明之精神和範圍内’當可做些許的更 動與潤飾,因此本發明之保護範圍當視後附之申請專利 範圍所界定者為準。 0758-A32293TWF;MTKI-06-112;Yvonne 20 200803170 【圖式簡單說明】 人端^個^^本㈣實施例之輸人電路,其可判斷輪 第2圖表示第1圖中 與颜―2間之關係;中荟考電壓VREF、致能信號_」 f3圖表示第1圖中時序產生單元之實施例; f 4圖表示當供電電麼v㈣緩慢地上升時供電電屢 VBAT與致能信號en_1間之關係; 第5圖表示當供電電壓Vbat快速地上升時供電電壓 νΒΑΤ與致能信號EN—1間之關係; 第6圖表示第!圖中時序產生單元之另—實施 以及 ^ 第7圖表示本發明實施例之輸入電路,其可判斷輸 入端之三個狀態。 別 【主要元件符號說明】 1〜輸入電路; 10- ,位準決定單元; 10a 〜開關; 10b, 〜電阻器; 1卜 /輸出單元; 11a 、1 lb、1 ic〜反向 lid 〜開關; 12〜 位準維持單元; 12a 、12b〜開關; 12c- 〜電阻器; 13、 /時序產生器; Nil· 〜節點; Pin" ^輸入端; Ρ〇υτ 輪出端; 13,, 〜時序產生器; 30〜 電壓產生器; 3卜 /分壓器; 31a ' 3lb〜電阻器; 0758-A32293TWF;MTKI-06.112;Yvoime 21 200803170 32〜較單元; 32a 32b〜D型正反器; 33- 34〜多工器; 35、 36〜反向器; 13” 6 0〜計時器; 61、 7〜輸入電路; 70、 70a、70d〜開關; 70b 71〜類比數位轉換單元 ;71a 71c〜分壓器; 71d 71e、71f、71g〜電阻器 ;72, 72a、72b〜拴鎖器; 73- 73a〜電阻器; 73b 73d〜反或閘; 74- N71a、N71b〜節點; Pin, Ρ〇υτ輸出端。 …比較器; 1十時器; 或閘; -時序產生單元; 反向器; '位準決定電路; 、70c〜電阻器; 、71 b〜比車交器; 〜開關; -栓鎖模組; '下拉單元; 、73c〜開關; /時序產生單元; ^輸入端;Vbat starts from 0V and has a high voltage level, and the enable signal rises with the supply voltage VBAT. When the enable signal ΕΝ-1 reaches the high voltage level, the switches 70a and 70d are turned on. If the input terminal Pin is in the floating state, since the resistors 70b and 70c have the same resistance value, the voltage level of the input signal IN is pulled to an intermediate voltage between the supply voltage VBAT and the ground voltage GND. The level determining unit 70 thus determines the voltage level of the input signal IN to be an intermediate voltage level. At the same time, the switch 71d is turned on, so that the threshold voltage VTH_1 can be obtained to be larger than the threshold voltage VTH_2. Since the threshold voltage VTH_1 is greater than the voltage level of the input signal IN, the comparator 71a produces a low voltage level result signal RS_J. Since the voltage level of the input signal IN is greater than the threshold voltage VTH_2, the comparator 71b generates a high voltage bit 0758-A32293TWF; MTKI-06-112; Yvonne 18 200803170 • The resulting signal RS_2. When the supply voltage VBAT rises to a predetermined voltage (for example, 2.7V), the enable signal EN_1 is switched to the low voltage level, and the enable signal EN_2 is switched to the high voltage level. Referring to Fig. 2, the time when the enable signal EN_1 is switched to the low voltage level is marked with the symbol "TP", and the period after the time TP is referred to as the second period P_2. During the second period PJ, the latches 72a and 72b are triggered by the high voltage level enable signal ΕΝ_2. The latch 72a receives and latches the low voltage level result signal RS_1 as the shackle signal OUTJ. The latch 72b receives and latches the high voltage level result signal RS_2 as the shackle signal OUT_2. Therefore, according to the shackle signal OUT_1 of the low voltage level and the shackle signal OUT_2 of the high voltage level, it can be judged that the input terminal Pin is in a floating state. Further, in the second period P_2, the inverse gate 73d receives the latch signal OUTj of the low voltage level and the latch signal OUT_2 of the high voltage level, and generates the enable signal EN_3 of the high voltage level. The switch 73b is turned on by the high voltage level enable signal EN_2, and the high voltage level of the switch 73c causes the enable signal EN_3 to be turned on. Therefore, the input terminal PIN is pulled down to the ground voltage GND to prevent the input terminal PIN from floating. If the input PIN is in a low logic state, during the first period P_1, the input signal IN is at a low voltage level. The level determining unit 70 thus determines that the input signal IN is at a low voltage level. According to the operation of the analog digital conversion unit 71 and the shackle module 72, in the second period P_2, the shackle 72a locks the low voltage level result signal RS_1 as the shackle signal OUT_1, and the shackle 72b locks The result signal of the low voltage level is RS 2 0758-A32293TWF; MTKI-06-112; Yvomie 19 200803170 ^ as the shackle signal 〇UT_2. Therefore, according to the low voltage level shackles 〇UT_1 and OUT_2, it can be judged that the input terminal ΡΙΝ is in a low logic state. In the same operation, if the input terminal ΡΙΝ is in the high logic state, the latch 72a locks the high voltage level result signal RS_1 as the shackle signal 〇UT_1, and the shackle 72b locks the high voltage level result signal. RS_2 is used as the shackle signal OUT_2. Therefore, according to the high voltage level shackles 〇UT_l and OUT_2, it can be judged that the input ΡΪΝ is in the high ® logic state. In the case where the input terminal ΡΙΝ is in the low logic state and the high logic state, since the reverse gate 73d receives the latch signals OUT_l and OUT_2 having high/low voltage levels, the reverse gate 73d generates a low voltage level. The signal EN_3 can be turned off to turn off the switch 73c. Therefore, the pull-down unit 73 is in an idle state. In this embodiment, the timing generating unit 74 can be implemented by the timing generating unit 13' of FIG. 3 or the timing generating unit 13" of FIG. 6. In some embodiments, when the input circuit 7 is applied to the integrated circuit The enable signals EN_1 and EN_2 are generated by the internals of the integrated circuit. The present invention has been disclosed in the preferred embodiments as above, but it is not intended to limit the scope of the present invention, and any one of ordinary skill in the art is not Without departing from the spirit and scope of the invention, the invention may be modified and modified, and the scope of the present invention is defined by the scope of the appended claims. 0758-A32293TWF; MTKI-06-112; Yvonne 20 200803170 [Simple description of the diagram] The human terminal ^ ^ ^ (4) The input circuit of the embodiment, which can determine the relationship between the second picture and the relationship between the two and the color of the second picture; the middle test voltage VREF, enable Signal _" f3 diagram shows the embodiment of the timing generation unit in Fig. 1; f4 diagram shows the relationship between the power supply voltage VBAT and the enable signal en_1 when the power supply voltage (4) rises slowly; Fig. 5 shows the supply voltage When Vbat rises quickly Voltage νΒΑΤ the enable signal EN 1-relationship among which; FIG. 6 shows a first! Further implementation of the timing generation unit in the figure and Fig. 7 shows an input circuit of an embodiment of the present invention which can determine three states of the input terminal. Do not [main component symbol description] 1~ input circuit; 10-, level determining unit; 10a~ switch; 10b, ~ resistor; 1/output unit; 11a, 1 lb, 1 ic~ reverse lid~ switch; 12~ level maintaining unit; 12a, 12b~switch; 12c-~ resistor; 13, / timing generator; Nil·~ node; Pin" ^ input; Ρ〇υτ wheel-out; 13,, timing generation 30~ voltage generator; 3b/divider; 31a' 3lb~ resistor; 0758-A32293TWF; MTKI-06.112; Yvoime 21 200803170 32~ comparison unit; 32a 32b~D type flip-flop; 33- 34 ~ multiplexer; 35, 36 ~ reverser; 13" 6 0 ~ timer; 61, 7 ~ input circuit; 70, 70a, 70d ~ switch; 70b 71 ~ analog digital conversion unit; 71a 71c ~ voltage divider 71d 71e, 71f, 71g~ resistor; 72, 72a, 72b~ 拴 latch; 73- 73a~ resistor; 73b 73d~ reverse or gate; 74- N71a, N71b~ node; Pin, Ρ〇υτ output ... comparator; 1 ten timer; or gate; - timing generation unit; inverter; 'bit Determining circuit;, 70c~ resistor;, 71 b~ delivery device than the car; through switching; - latch module; 'down unit;, 73c~ switch; / timing generation unit; ^ input terminal;
0758-A32293TWF;MTKI-06-112;Yvonne 220758-A32293TWF; MTKI-06-112; Yvonne 22
Claims (1)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US80560606P | 2006-06-23 | 2006-06-23 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW200803170A true TW200803170A (en) | 2008-01-01 |
| TWI342118B TWI342118B (en) | 2011-05-11 |
Family
ID=38830865
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW96122496A TWI342118B (en) | 2006-06-23 | 2007-06-22 | Input circuits and methods thereof |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN100574105C (en) |
| DE (1) | DE102007029073B4 (en) |
| TW (1) | TWI342118B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI420821B (en) * | 2010-05-26 | 2013-12-21 | Green Solution Tech Co Ltd | Power converter and pulse width modulation signal controlling apparatus thereof |
| TWI750777B (en) * | 2020-03-03 | 2021-12-21 | 奇景光電股份有限公司 | Voltage generating circuit with timing skipping control |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI323564B (en) | 2006-11-22 | 2010-04-11 | Realtek Semiconductor Corp | Initial configuration device of an integrated circuit and initializing method thereof |
| CN101527561B (en) * | 2008-03-07 | 2011-11-09 | 瑞昱半导体股份有限公司 | Initial configuration device and initialization method for integrated circuit |
| CN103532526B (en) * | 2013-10-22 | 2016-05-18 | 北京兆易创新科技股份有限公司 | Voltage conversion circuit and voltage conversion method |
| CN107565951B (en) * | 2017-08-23 | 2020-08-07 | 深圳市芯华国创半导体股份有限公司 | Multi-state signal generating circuit |
| CN111929522B (en) * | 2020-09-11 | 2021-02-23 | 上海海栎创科技股份有限公司 | State detection circuit and control detection method |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5714892A (en) * | 1996-04-04 | 1998-02-03 | Analog Devices, Inc. | Three state logic input |
| US5796283A (en) * | 1996-10-15 | 1998-08-18 | Philips Electronics North America Corporation | BINMOS latch circuit with symmetric set-up times |
| US6255863B1 (en) * | 1999-05-20 | 2001-07-03 | Matsushita Electric Industrial Co., Ltd. | Circuit and method for determining level of differential signal |
| JP3556563B2 (en) * | 2000-03-28 | 2004-08-18 | 株式会社 沖マイクロデザイン | Input circuit |
| KR100349344B1 (en) * | 2000-06-14 | 2002-08-21 | 주식회사 하이닉스반도체 | Multi-level bonding option circuit |
| US6731137B1 (en) * | 2002-04-24 | 2004-05-04 | Altera Corporation | Programmable, staged, bus hold and weak pull-up for bi-directional I/O |
| FR2877164B1 (en) * | 2004-10-26 | 2007-01-19 | St Microelectronics Sa | ROCKET DEVICE PARTICULARLY OF THE STATE RETENTION TYPE TRIGGERED ON FRONTS |
| TWI288387B (en) * | 2004-12-01 | 2007-10-11 | Sunplus Technology Co Ltd | TFT-LCD capable of repairing discontinuous lines |
-
2007
- 2007-06-20 CN CNB2007101125343A patent/CN100574105C/en not_active Expired - Fee Related
- 2007-06-21 DE DE200710029073 patent/DE102007029073B4/en not_active Expired - Fee Related
- 2007-06-22 TW TW96122496A patent/TWI342118B/en not_active IP Right Cessation
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI420821B (en) * | 2010-05-26 | 2013-12-21 | Green Solution Tech Co Ltd | Power converter and pulse width modulation signal controlling apparatus thereof |
| TWI750777B (en) * | 2020-03-03 | 2021-12-21 | 奇景光電股份有限公司 | Voltage generating circuit with timing skipping control |
| US11323034B2 (en) | 2020-03-03 | 2022-05-03 | Himax Technologies Limited | Voltage generating circuit with timing skipping control |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101093992A (en) | 2007-12-26 |
| DE102007029073A1 (en) | 2008-01-24 |
| TWI342118B (en) | 2011-05-11 |
| CN100574105C (en) | 2009-12-23 |
| DE102007029073B4 (en) | 2012-01-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TW200803170A (en) | Input circuits and methods thereof | |
| CN103227621B (en) | Electric charge pump emitter for the digital drive of difference signaling | |
| US7199728B2 (en) | Communication system with low power, DC-balanced serial link | |
| US7532017B2 (en) | Detection of presence or absence of AC maintain power signature in power-over-ethernet system | |
| KR101650037B1 (en) | Load detecting impedance matching buffer | |
| US9835657B2 (en) | Accessory presence detection | |
| US7782017B2 (en) | Apparatus and method for producing signal conveying circuit status information | |
| US11429709B2 (en) | Interfacing with a one-wire device that is in parallel with a low-impedance element, and related systems and devices | |
| CN114211994B (en) | A charging detection circuit, a charging detection method, and a vehicle | |
| TW411472B (en) | Signal transmission and reception device for a new wiring system | |
| CN111443625A (en) | Corrosion protection circuit for serial bus connector | |
| CN109612598A (en) | A temperature detection circuit and method | |
| TW453030B (en) | A low power adjustable input threshold circuit | |
| US7061406B1 (en) | Low power, DC-balanced serial link transmitter | |
| CN210246716U (en) | Isolated signal transmission circuit and communication device using same | |
| CN102508014B (en) | Power line carrier communication zero-crossing detection system and method | |
| US10734974B1 (en) | Transmitter circuit having a pre-emphasis driver circuit | |
| US7609094B2 (en) | Input circuits and methods thereof | |
| US7088270B1 (en) | Low power, DC-balanced serial link | |
| JP3548145B2 (en) | Digital data match judgment circuit | |
| US6396305B1 (en) | Digital leakage compensation circuit | |
| CN112953508A (en) | Latch circuit and judgment method for low-level fault signal | |
| TW201301820A (en) | Communicating with a self-clocking amplitude modulated signal | |
| CN207075049U (en) | A kind of auto iris drive circuit and electronic installation | |
| CN114696804A (en) | Pulse width modulation decoder circuit, corresponding device and operation method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |