TWI334273B - Signal detection circuit with deglitch and method thereof - Google Patents
Signal detection circuit with deglitch and method thereof Download PDFInfo
- Publication number
- TWI334273B TWI334273B TW96118193A TW96118193A TWI334273B TW I334273 B TWI334273 B TW I334273B TW 96118193 A TW96118193 A TW 96118193A TW 96118193 A TW96118193 A TW 96118193A TW I334273 B TWI334273 B TW I334273B
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- input
- output
- circuit
- reference voltage
- Prior art date
Links
Landscapes
- Manipulation Of Pulses (AREA)
- Analogue/Digital Conversion (AREA)
Description
1334273 « P2006-034-TW-A 22681twf.doc/n 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種具去突波雜訊功能的信號偵測 電路,且特別是有關於一種可偵測差動信號(differential signal)之信號夾止情形又能去突波雜訊的信號偵測電路。 【先前技術】1334273 « P2006-034-TW-A 22681twf.doc/n IX. Description of the Invention: [Technical Field] The present invention relates to a signal detection circuit with a function of de-noising noise, and in particular A signal detection circuit that can detect a signal jam of a differential signal and can go to a surge noise. [Prior Art]
在序列式連結(serial link)的信號收發機制中,接收端 常會設置一信號偵測器,其可偵測所接收端所接收到的差 動輸入信號,以判斷此輸入信號是否為所需,其振幅是否 合乎特定的預設訊號規格。此信號偵測器會根據參考電壓 來進行判斷。 有時,所接收的輸入信號會高於參考電壓。為此,信 號偵測器較好能具有整流的功能。此外,在信號轉態時, 差動信號會在極短時間内小於參考電壓,如此將造成信號 夾止的判斷上出現突波雜訊(glitch)。此外,雜訊也可能造 成突波雜訊。 睛參考圖1,其顯示習知低電壓差動信號偵測器的架 Θ如圖1所不,此信號偵測器1〇包括:減法器11與 考電壓產生器13,取樣器14與15,時脈產生器16, 或璉輯閘y,以及脈衝擴展器(pulsestmeh⑷Μ。 夫老ίΐ态11與12將輸入信號1N與參考電壓VREF(由 樣器^^^產糾目減’並將;躲絲輸入至取 樣器14^ 15脈產生器16所產生的參考時脈’取 /、對減法器11與12的輸出信號進行取樣,並 5 1334273 2268ltwf.d〇c/nIn the serial link signal transmission and reception mechanism, the receiving end often sets a signal detector, which can detect the differential input signal received by the receiving end to determine whether the input signal is required. Whether the amplitude corresponds to a specific preset signal specification. This signal detector will judge based on the reference voltage. Sometimes the received input signal will be higher than the reference voltage. For this reason, the signal detector preferably has a rectifying function. In addition, when the signal is turned, the differential signal will be smaller than the reference voltage in a very short time, which will cause glitch in the judgment of the signal pinch. In addition, noise can also cause glitch noise. Referring to FIG. 1 , the display of the conventional low voltage differential signal detector is shown in FIG. 1 . The signal detector 1 includes: a subtractor 11 and a test voltage generator 13 , and samplers 14 and 15 , clock generator 16, or 琏 闸 y, and pulse expander (pulsestmeh (4) . Fu Lao ΐ state 11 and 12 will input signal 1N and reference voltage VREF (by the sample ^ ^ ^ production correction minus) and; The reference line clock generated by the sampler 14^15 pulse generator 16 is taken, and the output signals of the subtractors 11 and 12 are sampled, and 5 1334273 2268ltwf.d〇c/n
P2006-034-TW-A 將取樣結果送至或邏輯閘17。取樣器14與15可放大此些 減法11與12的輪出信號。時脈產生器16會隨機產生低 頻參考時脈。故而’取樣器14與15的取樣點為隨機。 脈衝擴展器18將或邏輯閘17的輸出信號進行脈衝寬 度擴展’以得到輸出信號OUT。進行脈衝擴展將有助於後 級電路的^號處理。在此習知電路中,取樣器14、15,以 及或邏輯閘17可達到全波整流的目的。 然而’取樣器14與15必需具有高增益,才能提高此 S知電路的共模雜訊抵抗(common mode noise rejection)能 力。此外’此習知電路不具備去雜訊能力。 故而’需要有一種可偵測差動信號的信號偵測電路, 其能改良習知技術的缺點,更能提供其他優點。 【發明内容】 本發明提供一種信號偵測電路,其可偵測差動輸入信 號疋否小於規格大小以反映輸入信號的訊號夾止(S quelch) 情形’且本發明信號偵測電路具有去突波雜訊功能、更佳 的共模雜訊抵抗能力、良好的判斷精確度。 本發明的範例提供一種信號偵測電路,用於偵測差動 輸入彳5號之彳§號夹止情形。信號彳貞測電路包括:參考電壓 產生器,產生參考電壓,參考電壓的共模電壓追尋輸入信 號的共模電壓;即時信號判斷電路,即時全波整流並放大 輸入信號與參考電壓間之差值,即時信號判斷電路判斷輸 入信號是否大於參考電壓;其中,即時信號判斷電路包括: 一雙輸入差動比較器與一互斥或邏輯閘,雙輸入差動比較 6P2006-034-TW-A sends the sampling result to or logic gate 17. The samplers 14 and 15 amplify the rounding signals of the subtractions 11 and 12. The clock generator 16 randomly generates a low frequency reference clock. Therefore, the sampling points of the samplers 14 and 15 are random. The pulse expander 18 expands the pulse width of the output signal of the OR gate 17 to obtain the output signal OUT. Performing pulse expansion will facilitate the processing of the second stage circuit. In this conventional circuit, the samplers 14, 15, and or the logic gate 17 can achieve the purpose of full-wave rectification. However, the samplers 14 and 15 must have high gain to improve the common mode noise rejection capability of the S circuit. In addition, this conventional circuit does not have the ability to remove noise. Therefore, there is a need for a signal detecting circuit capable of detecting a differential signal, which can improve the disadvantages of the prior art and provide other advantages. SUMMARY OF THE INVENTION The present invention provides a signal detection circuit that can detect whether a differential input signal is smaller than a size to reflect a signal pinch condition of an input signal, and the signal detection circuit of the present invention has a debounce Wave noise function, better common mode noise resistance, and good judgment accuracy. An example of the present invention provides a signal detecting circuit for detecting a 夹 号 pinch condition of a differential input 彳 5. The signal detection circuit comprises: a reference voltage generator, generating a reference voltage, a common mode voltage of the reference voltage to track a common mode voltage of the input signal; an instant signal judging circuit, instantaneous full-wave rectification and amplifying a difference between the input signal and the reference voltage The instant signal judging circuit judges whether the input signal is greater than the reference voltage; wherein, the instant signal judging circuit comprises: a dual input differential comparator and a mutually exclusive or logic gate, and the two input differential comparison 6
< S P20〇6'°34-TW-A 2268 ltwf.doc/n =與互斥或邏輯閘之組合可比較差動輸入信號與參考電 =、’以及去突波雜訊電路,耦接至即時信號判斷電路此去 *皮雜訊電路利用超取樣(over-sampling)及邏輯處理以去 雜訊。此去突波雜訊電路包括類比部份與數位部份, 。大波雜訊電路的類比部份對即時信號判斷電路之輸出信 ,,行取樣及/或放大,去突波雜訊電路的數位部份將類比 ^份的取樣結果轉換成數位輸出信號。此數位輸出信號即 可代表輸入信號是否為所需,也就是輸入信號的信 情形。 ―、本發明的另一範例提供一種信號偵測方法,用於偵測 差動輸入信號。此方法包括下列步驟:產生參考電壓, 電壓的共模電壓追尋輸人信號的共模電壓;反相輸入 ^號以產生輸入信號之反相信號;比較輸入信號與參考電 壓’以產生第一比較結果;比較輸入信號之反相信號與參 ί電壓,/ί產生第二比較結果;對第一與第二比較結果進 ^丁互斥或邏輯運算,以產生第一互斥或邏輯運算結果;對 =一互斥或邏輯運算結果進行取樣及/或放大;以及將取樣 ,果轉換餘位輪幻浅,數位輸di信號代表該輸入信號 疋否為所需,也就是輸入信號的夾止情形。 本發明的又—範例提供一種信號偵測方法,偵測—輪 ^信號^信號失止情形並提供一對應之輸出信號,該輪出 信號之信號位準反映該輸入信號的信號夾止情形。該方法 包含.偵測該輪入信號是否超越一預設之參考範圍,並提 供-比較㈣以代表比較之結果;以及_味信號進行 1334273 P2006-034-TW-A 22681twf.doc/n 取樣並根據不同時間的取樣值來進行邏輯運算,以濾除取 樣到訊號極性反轉交錯點(Cr〇SS p〇int)的取樣錯誤,增加夹 止訊號輪出的正確性。 曰 為讓本發明之上述特徵和優點能更明顯易懂,下文特 舉較佳實施例,並配合所附圖式,作詳細說明如下。 【實施方式】 _印參考圖2,其顯示根據本發明一實施例之信號偵測 電路’其可偵測輸入信號IN的信號夾止(Squelch)情形並反 映於輸出信號OUT。本發明之信號偵測電路具有去突波雜 訊功能、更佳的共模雜訊抵抗能力、避免判斷誤差、也不 需利用高成本的高增益取樣器。 如圖2所示’此信號偵測電路20包括:參考電壓產 生器21,即時信號判斷電路22與去突波雜訊電路23。即< S P20〇6'°34-TW-A 2268 ltwf.doc/n = combination with mutual exclusion or logic gate Comparable differential input signal with reference power =, ' and de-surge noise circuit, coupled The instant signal judging circuit uses over-sampling and logic processing to remove noise. The hopping noise circuit includes an analog part and a digital part. The analog portion of the large-wave noise circuit converts the output signal of the real-time signal judging circuit, the line sampling and/or the amplification, and the digital portion of the glitch noise circuit converts the analog-like sampling result into a digital output signal. This digital output signal represents whether the input signal is desired or not, that is, the signal of the input signal. Another example of the present invention provides a signal detecting method for detecting a differential input signal. The method comprises the steps of: generating a reference voltage, the common mode voltage of the voltage chasing a common mode voltage of the input signal; inverting the input signal to generate an inverted signal of the input signal; comparing the input signal with the reference voltage to generate a first comparison As a result, the inverted signal of the input signal is compared with the reference voltage, /ί to generate a second comparison result; the first and second comparison results are mutually exclusive or logically operated to generate a first mutually exclusive or logical operation result; Sampling and/or amplifying the result of a mutually exclusive or logical operation; and sampling, the conversion of the residual wheel is stunned, and the digital input di signal represents whether the input signal is required or not, that is, the pinch of the input signal . Still another example of the present invention provides a signal detecting method for detecting a wheel-signal signal out-of-synchronization condition and providing a corresponding output signal, the signal level of the wheeled signal reflecting a signal pinch condition of the input signal. The method includes: detecting whether the round-in signal exceeds a predetermined reference range, and providing - comparing (4) to represent the result of the comparison; and _ smelling the signal 1332427 P2006-034-TW-A 22681twf.doc/n sampling and The logic operation is performed according to the sampling values at different times to filter out sampling errors sampled to the signal polarity inversion interlacing point (Cr〇SS p〇int), and the correctness of the pinch signal rotation is increased. The above-described features and advantages of the present invention will become more apparent from the following description. [Embodiment] FIG. 2 shows a signal detecting circuit 'which can detect a signal pinch of an input signal IN and is reflected on an output signal OUT, according to an embodiment of the present invention. The signal detecting circuit of the present invention has the function of de-surging noise, better common mode noise resistance, avoiding judgment errors, and eliminating the need for high-cost high-gain samplers. As shown in FIG. 2, the signal detecting circuit 20 includes a reference voltage generator 21, an instant signal judging circuit 22, and a de-bounce noise circuit 23. which is
Ms號判斷電路22包括:反相器221,比較器222與223, 以及互斥或邏輯閘224。比較器222與223可形成一雙輸 入差動比較器。 又 參考電壓產生器21會根據輸入信號IN來產生參考電 壓VREF(其也為差動信號)。輸入信號〗^^為差動信號,其 包括信號IN_P與信號IN_N。參考電壓VREF也為差動^ 號’其包括參考電壓VREF_P與VREF_N。參考電壓Vref 的共模電壓將追尋輸入信號IN的共模電壓。 請參考圖3 ’其顯示參考電壓產生器21的一例。如圖 1334273 P2006-034-TW-A 22681twf.doc/n 3所示’此參考電壓產生器21包括:電晶體則、搬與 308,電阻 303、304、309 與 310 ;電流源 3〇5、3〇6 與 31 丄; 以及放大器3G7。該些元件的連接關係可由圖3看出,於 此不詳細指述。電阻303與3〇4較好具相同電阻值(互相 匹配);同樣地,電阻309與310較好具相同電阻值(互 相匹配)。 電晶體301與302,以及電阻3〇3與3〇4可組成一個 位準移位器(level shifter),將低電壓的輸入信號IN的電壓 準位(比如,接近於ον)稍微拉高(比如,拉高至約15V)。 放大器307較好具有高增益值。 由圖3可看出’參考電壓VREFJP與VREF_N可分別 近似表示如下: VREF_P~N1+I*R ⑴ VREF_N~N1-I*R (2) 其中,N1代表節點電壓,R為電阻309與310的電阻 值,I為流經電阻309與310的電流。 即時信號判斷電路22可即時對信號進行全波整流並 放大,以及判斷輸入信號IN是否大於參考電壓VREF。即 時信號判斷電路22更具有彳貞測訊號夾止(squelch)的功能。 請再次參考圖2。反相器221將輸入信號IN反相成反 相信號INJBAR。比較器222比較輸入信號IN與參考電壓 VREF。比較器223比較反相信號INJBAR與參考電壓 VREF ° 請參考圖4,其顯示差動架構的比較器222。如圖4 9 1334273 P2006-034-TW-A 22681twf.doc/n 所示,比較器222包括:電流源401與402,電晶體 403〜406,以及電阻407與408。信號c〇M_OUT〜P與 (:01^_0111'_>1為比較器222的比較結果。這些元件的連接 關係可參考圖4而得知,於此不詳述。當然,比較器223 的架構可類似於或相同於比較器222。The Ms number judgment circuit 22 includes an inverter 221, comparators 222 and 223, and a mutually exclusive or logic gate 224. Comparators 222 and 223 can form a dual input differential comparator. Further, the reference voltage generator 21 generates a reference voltage VREF (which is also a differential signal) based on the input signal IN. The input signal 〖^^ is a differential signal, which includes the signal IN_P and the signal IN_N. The reference voltage VREF is also a differential signal 'which includes reference voltages VREF_P and VREF_N. The common mode voltage of the reference voltage Vref will follow the common mode voltage of the input signal IN. Referring to Fig. 3', an example of the reference voltage generator 21 is shown. As shown in Fig. 1332273 P2006-034-TW-A 22681twf.doc/n 3 'This reference voltage generator 21 includes: a transistor, a 308, resistors 303, 304, 309 and 310; a current source 3〇5, 3〇6 and 31丄; and amplifier 3G7. The connection relationship of these components can be seen in Fig. 3 and will not be described in detail herein. The resistors 303 and 3〇4 preferably have the same resistance value (matching each other); similarly, the resistors 309 and 310 preferably have the same resistance value (matching each other). The transistors 301 and 302, and the resistors 3〇3 and 3〇4 can form a level shifter that slightly pulls the voltage level of the low voltage input signal IN (eg, close to ον) ( For example, pull up to about 15V). Amplifier 307 preferably has a high gain value. It can be seen from Fig. 3 that the reference voltages VREFJP and VREF_N can be approximated as follows: VREF_P~N1+I*R (1) VREF_N~N1-I*R (2) where N1 represents the node voltage and R is the resistance of 309 and 310. The resistance value, I is the current flowing through the resistors 309 and 310. The instant signal judging circuit 22 can perform full-wave rectification and amplification of the signal in real time, and judge whether the input signal IN is greater than the reference voltage VREF. The instant signal judging circuit 22 has a function of detecting a signal squelch. Please refer to Figure 2 again. The inverter 221 inverts the input signal IN to the inverted signal INJBAR. Comparator 222 compares input signal IN with reference voltage VREF. Comparator 223 compares inverted signal INJBAR with reference voltage VREF °. Referring to Figure 4, comparator 222 of the differential architecture is shown. Comparator 222 includes current sources 401 and 402, transistors 403-406, and resistors 407 and 408, as shown in Fig. 4 1 334 273 P2006-034-TW-A 22681 twf.doc/n. The signals c〇M_OUT~P and (:01^_0111'_>1 are the comparison results of the comparator 222. The connection relationship of these elements can be known by referring to Fig. 4, which will not be described in detail. Of course, the architecture of the comparator 223 It can be similar or identical to comparator 222.
互斥或邏輯閘224接收比較器222與223的輸出,並 進行互斥或邏輯運算。在本實施例中,互斥或邏輯閘224 比如為對稱性的差動類比架構。比起非對稱的差動架構, 對稱性的差動類比互斥或邏輯閘224具有更好的抗共模雜 訊能力。 請參考圖5,其顯示對稱性的差動類比互斥或邏輯間 224的架構。如圖5所示,互斥或邏輯閘224包括:電流 源501,電晶體502〜507,以及電阻508與509。這些元件 的連接關係可參考圖5而得知’於此不詳述。The exclusive or logic gate 224 receives the outputs of comparators 222 and 223 and performs a mutually exclusive or logical operation. In this embodiment, the exclusive or logic gate 224 is, for example, a symmetric differential analog architecture. The symmetric differential analogy has a better anti-common noise capability than the mutual exclusion or logic gate 224 than the asymmetric differential architecture. Please refer to FIG. 5, which shows the architecture of symmetric differential analogy or inter-logic 224. As shown in FIG. 5, the exclusive or logic gate 224 includes a current source 501, transistors 502-507, and resistors 508 and 509. The connection relationship of these elements can be referred to Fig. 5 and will not be described in detail herein.
在圖5中,參考符號VAN與VAp代表某—個輸入俨 號(比如是比較器222的輸出信號);參考符號VBN與 代表另一個輸入信號(比如是比較器223的輸出信'號 XOR_OUTJP與X0R—〇UT_N則是互斥或邏 二鈐 出信號。 W翰 比較斋222/223與互斥或邏輯閘224可提供全波整产 與放大效果’有助於騎輸人錢衫大於 = 可提昇偵測的精確性。 亦 去突波雜訊電路23利用多次取樣及邏輯處理 到去突波純的目的。請參考圖6Α#6Β,其分別顯^In FIG. 5, reference symbols VAN and VAb represent an input apostrophe (such as the output signal of comparator 222); reference symbol VBN and representative input signal (such as output signal _ of comparator 223) XOR_OUTJP X0R—〇UT_N is a mutually exclusive or logical two-out signal. Whan compares 222/223 with mutual exclusion or logic gate 224 to provide full-wave production and amplification effect. Improve the accuracy of detection. Also go to the glitch noise circuit 23 to use multiple sampling and logic processing to the purpose of de-spur pure. Please refer to Figure 6Α#6Β, respectively
丄JJ4Z/J P2006-034-TW-A 22681twf.d〇c/n 突波雜訊電路23的兩種例子。去突波雜訊電Μ]包括類 比部伤與數位部份。去突波雜訊電路幻' 被放大並進姚樣,也可稱為取樣部份。去紐雜訊電路 23的數㈣侧躲樣結果轉換錄位邏鮮號·, 以反映差動輸入信號IN的信號失止情形。丄JJ4Z/J P2006-034-TW-A 22681twf.d〇c/n Two examples of the surge noise circuit 23. Going to the spur noise circuit] includes analogous injuries and digital parts. The glancing noise circuit is amplified and entered into the Yao sample, which can also be called the sampling part. The number (4) side of the new noise circuit 23 is switched to the result of the recording to reflect the signal loss of the differential input signal IN.
,參考圖6A’去突波雜訊電路23包括:緩衝器6〇1, 反相裔6〇2,栓鎖器6(BA與6咖,及邏輯閉6〇4,以及 或遴輯閘605。這些元件的連接關係可由_ 6a而得知,於 此不詳述。核财,去突波軸電路23義比部份包 括:緩衝器601 ’反相器602,以及栓鎖器6〇3a與6〇3B ; 去突波雜訊f路23的數位部份包括:及邏輯閘6()4,以及 或邏輯閘605。 緩衝器601可將互斥或邏輯閘224的輸出信號 XOR—OUT更進-步放大。反相$ 6〇2將經放大的信號 XOR—OUT 反相成信號 x〇R—〇UT_BAR。Referring to FIG. 6A, the de-surge noise circuit 23 includes: a buffer 6〇1, a reverse-phase 6〇2, a latch 6 (BA and 6 coffee, and a logic close 6〇4, and or a gate 605). The connection relationship of these components can be known from _6a, which is not described in detail here. The nuclear power, the sway axis circuit 23 analogy portion includes: a buffer 601 'inverter 602, and a latch 6 〇 3a And 6〇3B; the digital portion of the de-synchronization noise path 23 includes: and logic gate 6 () 4, and or logic gate 605. The buffer 601 can output the exclusive or logic gate 224 output signal XOR-OUT Further step-by-step amplification. Inverting $6〇2 inverts the amplified signal XOR_OUT into the signal x〇R_〇UT_BAR.
緩衝器601的輸出信號輸入至检鎖器6〇3A與603B 的重置端CLR,以用於重置該些栓鎖器。當輸入信號大於 參考電壓且此兩者間的差值大於一既定值時,該些栓鎖器 就會被重置。 k號XOR_OUT_BAR輸入至栓鎖器603A與603B的 資料端D。取樣時脈SP_CK輸入至栓鎖器6〇3A與603B 的控制端。根據取樣時脈SP_CK的觸發,栓鎖器603A與 603B可對信號X〇R—OUT—BAR進行取樣。在圖6A的例 中’為增加取樣正綠性’較好是在輸入信號IN的一個周 11 < S ) 1334273 P2006-034-TW-A 22681twf.doc/n 期内可進行至少2次的取樣,也就是超取樣 (over-sampling);亦即取樣時脈SP_CK的頻率至少為輸入 信號IN的2倍。 栓鎖器603A與603B的取樣結果輸入至及邏輯閘 604。或邏輯閘605接收及邏輯閘6〇4的輸出信號,並輸出 此信號偵測電路的輸出信號OUT。 請參考圖6B’去突波雜訊電路23包括:反相器612, 栓鎖器613A、613B與613C ’及邏輯閘614A、614B與 614C,以及或邏輯閘615。這些元件的連接關係可由圖6B 而得知,於此不詳述。在此例中,去突波雜訊電路23的類 比部份包括:反相器612,以及栓鎖器613A、613B與 613C,去突波雜訊電路23的數位部份包括:及邏輯閘 614A、614B與614C,以及或邏輯閘615。 圖6B的反相器與栓鎖器的操作類似於圖6A的反相器 與栓鎖器,於此不再重述。不過,在圖6B的例子中,信 號XORJDUT並不需要當成栓鎖器的重置信號。在圖6B 的例中,為增加取樣正確性,較好是在輸入信號IN的一 個周期内可進行至少3次的取樣;亦即取樣時脈S]p—CK的 頻率至少為輸入信號IN的三倍。 — ,邏輯閘614A、614B與614C的輸入端接收某兩個 栓鎖器的輸出信號。比如,及邏輯閘614a接收栓鎖器613a 與613C的輸出信號;及邏輯閘614B接收栓鎖器與 613Β的輸出信號;及邏輯閘6MC接收栓鎖器6ΐ3Β與 的輸出信號。及邏輯閘614A、614B與614c的輪出信號 12 1334273 P2006-034-TW-A 22681twf.doc/n 皆輸入至或邏輯閘615。 信號取樣時可能會取樣到信號轉態點,如 理,則輸出錢OUT中可能會錢波雜訊,影鮮號^ 止的判讀。此外’傳輸過程中偶爾出現的小雜訊也 可能會造成輸出信號會有突波雜訊(glitch)。圖7α與圖7Β 顯示本實施例如何去除突波雜訊的示意圖。在圖从^圖The output signal of the buffer 601 is input to the reset terminal CLR of the lockers 6〇3A and 603B for resetting the latches. When the input signal is greater than the reference voltage and the difference between the two is greater than a predetermined value, the latches are reset. The k number XOR_OUT_BAR is input to the data terminal D of the latches 603A and 603B. The sampling clock SP_CK is input to the control terminals of the latches 6〇3A and 603B. The latches 603A and 603B can sample the signal X〇R_OUT_BAR according to the trigger of the sampling clock SP_CK. In the example of FIG. 6A, 'to increase the sampling positive greenness' is preferably performed at least twice during one week of the input signal IN 11 < S ) 1334273 P2006-034-TW-A 22681twf.doc/n Sampling, that is, over-sampling; that is, the sampling clock SP_CK has a frequency of at least twice the input signal IN. The sampling results of the latches 603A and 603B are input to the AND gate 604. Or the logic gate 605 receives the output signal of the logic gate 6〇4 and outputs the output signal OUT of the signal detection circuit. Referring to Figure 6B', the glitch noise circuit 23 includes an inverter 612, latches 613A, 613B and 613C' and logic gates 614A, 614B and 614C, and or a logic gate 615. The connection relationship of these elements can be known from Fig. 6B and will not be described in detail herein. In this example, the analog portion of the glitch noise circuit 23 includes an inverter 612, and latches 613A, 613B, and 613C. The digital portion of the glitch noise circuit 23 includes: and a logic gate 614A. , 614B and 614C, and or logic gate 615. The operation of the inverter and latch of Figure 6B is similar to the inverter and latch of Figure 6A and will not be repeated here. However, in the example of Fig. 6B, the signal XORJDUT does not need to be a reset signal as a latch. In the example of FIG. 6B, in order to increase the sampling accuracy, it is preferable to perform sampling at least three times in one cycle of the input signal IN; that is, the sampling clock S]p-CK has a frequency of at least the input signal IN. three times. — The inputs of logic gates 614A, 614B, and 614C receive the output signals of one of the two latches. For example, and logic gate 614a receives the output signals of latches 613a and 613C; and logic gate 614B receives the output signals of latches and 613Β; and logic gate 6MC receives the output signals of latches 6ΐ3Β. And the turn-off signals of the logic gates 614A, 614B, and 614c 12 1334273 P2006-034-TW-A 22681twf.doc/n are all input to the OR gate 615. When the signal is sampled, it may be sampled to the signal transition point. If it is processed, the output money OUT may be the noise of the signal. In addition, small noises that occasionally appear during transmission may cause glitch on the output signal. Fig. 7α and Fig. 7B show a schematic diagram of how the embodiment removes glitch noise. In the figure from ^ map
W中,箭頭t代表取獅’料代錄人錢Μ而虛線 代表參考電壓VREF。 圖7Α顯示輸入信號在正常傳輪下的取樣示意圖。在 =號X〇R_〇UT—說取樣時,可能會剛好取樣到信號 轉態點’造成部份的取樣結果為邏輯”Γ,。and邏輯運算 可消除在信號轉態點所產生的突波雜訊。從圖7A圖看出^ 當輸入信號IN在正常傳輸下’輸出信號qUt岸該 =0^,不受取樣點的位置影響,也不會受輸人^轉態的In W, the arrow t represents the lion's material and the dotted line represents the reference voltage VREF. Figure 7Α shows a schematic diagram of sampling of the input signal under normal transfer. When the = number X 〇 R_ 〇 UT - said sampling, it may just sample the signal transition point 'causing part of the sampling result to be logical" 。, and logic operation can eliminate the burst generated at the signal transition point Wave noise. As seen from Figure 7A, when the input signal IN is under normal transmission, the output signal qUt is 0^, which is not affected by the position of the sampling point, and will not be affected by the input.
圖7B顯示本實關如何消除傳輸過程偶_出現的小 =雜訊。即使在未傳輸信號,傳輸過程仍有可能會出現 大友雜訊。若某些突波雜訊的大小剛好超過參考電壓且又 ,取酬,可料QR邏輯運算加㈣,除,以避免誤差產 圖7B圖看* ’當輸人·ΙΝ中沒有信號傳輸時, 』OUT應該為”1” ;此外即使傳輸過程突然有突波 雜訊’輪出信號也會保持為”1”。 泰在本實施例中,取樣部份可具有較小的差動增益,不 而如習知技術般需要高的差動增益。此外,比較器,互斥Figure 7B shows how the actual implementation eliminates the small = noise that occurs during the transmission process. Even if the signal is not transmitted, there may still be a big friend noise during the transmission. If the magnitude of some glitch noises just exceeds the reference voltage and is paid, the QR logic operation can be added (4), except to avoid the error production. Figure 7B shows * 'When there is no signal transmission in the input ΙΝ 』OUT should be “1”; in addition, even if there is sudden glitch in the transmission process, the turn-out signal will remain “1”. In this embodiment, the sampling portion can have a small differential gain, and a high differential gain is not required as in the prior art. In addition, the comparator is mutually exclusive
13 1334273 P2006-034-TW-A 22681twfdoc/n 3輯=去突波雜訊電路的取樣部份(類比部份)皆為具 比電路。比較器所輸出的低__可經 類比差動放大後’被取樣成數位邏輯信I如此可避免判 2差的產生。這錄動紐電路可有效避免共模雜訊的 干擾。13 1334273 P2006-034-TW-A 22681twfdoc/n 3 s = The sampling part (analog part) of the glitch noise circuit is a specific circuit. The low __ output from the comparator can be sampled into a digital logic I by analogy differential amplification so that the difference can be avoided. This recording circuit can effectively avoid the interference of common mode noise.
從另-方面來看’本實施例可债測到輸入信號取之 信號夾止情形,錄出信號QUT之信齡準會反映輸入 信號IN的錢纽情形。首先,侧輪人信號m是否超 越預設參考,並提供峨結果。__結果進行取 樣,並根據不同時間的取樣值來進行邏輯運算以調整輸出 信號OUT的信餘準。如此,可以濾除轉到訊號極性 反轉交錯點(Cross point)時所發生的取樣錯誤, 號輸出的正確性。 5 本只%例的架構適合於各式高速序列式連結夺 萬用串列匯流排(USB)系統中。 遇糸、、先或From another perspective, the present embodiment can measure the signal pinch of the input signal, and the age of the recorded signal QUT will reflect the money of the input signal IN. First, whether the side wheel man signal m exceeds the preset reference and provides a result. The __ result is sampled, and logical operations are performed according to the sample values at different times to adjust the signal margin of the output signal OUT. In this way, the sampling error that occurs when the signal polarity is reversed to the cross point can be filtered out, and the output of the number is correct. 5 This only example of the architecture is suitable for a variety of high-speed serial connection in the universal serial bus (USB) system. Encounter, first or
雖然本發明已以較佳實施例揭露如上,然其並非用以 限定本發明,任何所屬技術領域中具有通常知識者,在= 脫離本發明之精神和範圍内,當可作些許之更動與濶飾不 因此本發明之保護範圍當視後附之申請專利範圍所界定 為準。 f 【圖式簡單說a月】 圖1顯示習知的低電壓差動信號偵測器的架構圖。 圖2顯示根據本發明一實施例之低電壓差動信號谓測 14 1334273 P2006-034-TW-A 22681 twfdoc/n 電路 圖3顯示根據本實施例的參考電壓產生器的一例。 圖4顯示根據本實施例的差動比較器的一例。 圖5顯示根據本實施例的對稱性差動互斥或邏輯閘的 - 一例。 圖6A與6B分別顯示根據本實施例的去突波雜訊電路 的兩種例子。 % 圖7A與圖7B顯示本實施例如何去除突波雜訊的示意 圖。 【主要元件符號說明】 10 :信號偵測器 11 ' 12 :減法器 13 :參考電壓產生器 10 17 18 20 21 22 23 14 ' 15 :取樣器 時脈產生器 或邏輯閘 脈衝擴展器 信號偵測電路 參考電壓產生器 即時信號判斷電路 去突波雜訊電路 221 :反相器 222、223 :比較器Although the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art will be able to make a few changes and modifications within the spirit and scope of the invention. The scope of the invention is therefore defined by the scope of the appended claims. f [Simple diagram of a month] Figure 1 shows the architecture of a conventional low-voltage differential signal detector. 2 shows a low voltage differential signal prediction according to an embodiment of the present invention. 14 1334273 P2006-034-TW-A 22681 twfdoc/n Circuit FIG. 3 shows an example of a reference voltage generator according to the present embodiment. Fig. 4 shows an example of a differential comparator according to the present embodiment. Fig. 5 shows an example of a symmetrical differential repulsion or a logic gate according to the present embodiment. 6A and 6B show two examples of the de-splash noise circuit according to the present embodiment, respectively. % Fig. 7A and Fig. 7B are diagrams showing how the embodiment removes glitch noise. [Main component symbol description] 10 : Signal detector 11 ' 12 : Subtractor 13 : Reference voltage generator 10 17 18 20 21 22 23 14 ' 15 : Sampler clock generator or logic gate pulse expander signal detection Circuit reference voltage generator instant signal judging circuit to glitch noise circuit 221: inverter 222, 223: comparator
15 1334273 P2006-034-TW-A 22681twf.doc/n 224 :互斥或邏輯閘 301、302、308 :電晶體 303、304、309、310 :電阻 ' 305、306、311 :電流源 . 307 :放大器 401、402 :電流源 403〜406 :電晶體 407、408 :電阻 ® 501 :電流源 502〜507 :電晶體 508、509 :電阻 601 :缓衝器 602 :反相器 603A、603B :栓鎖器 604 :及邏輯閘 605 :或邏輯閘 • 612:反相器 613A、613B、613C :栓鎖器 614A、614B、614C :及邏輯閘 615 :或邏輯閘 1615 1334273 P2006-034-TW-A 22681twf.doc/n 224: Mutually exclusive or logic gates 301, 302, 308: transistors 303, 304, 309, 310: resistors '305, 306, 311: current source. 307: Amplifiers 401, 402: Current sources 403 to 406: Transistors 407, 408: Resistor® 501: Current sources 502 to 507: Transistors 508, 509: Resistor 601: Buffer 602: Inverters 603A, 603B: Latch 604: and logic gate 605: or logic gate • 612: inverter 613A, 613B, 613C: latch 614A, 614B, 614C: and logic gate 615: or logic gate 16
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW96118193A TWI334273B (en) | 2007-05-22 | 2007-05-22 | Signal detection circuit with deglitch and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW96118193A TWI334273B (en) | 2007-05-22 | 2007-05-22 | Signal detection circuit with deglitch and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW200847632A TW200847632A (en) | 2008-12-01 |
TWI334273B true TWI334273B (en) | 2010-12-01 |
Family
ID=44210023
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW96118193A TWI334273B (en) | 2007-05-22 | 2007-05-22 | Signal detection circuit with deglitch and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI334273B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI501888B (en) * | 2012-10-18 | 2015-10-01 | ||
TWI707544B (en) * | 2018-11-22 | 2020-10-11 | 瑞昱半導體股份有限公司 | Signal detector and signal detection method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114094998B (en) * | 2022-01-18 | 2022-04-26 | 长芯盛(武汉)科技有限公司 | Device and method for detecting electrical state of electrical signal |
-
2007
- 2007-05-22 TW TW96118193A patent/TWI334273B/en not_active IP Right Cessation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI501888B (en) * | 2012-10-18 | 2015-10-01 | ||
TWI707544B (en) * | 2018-11-22 | 2020-10-11 | 瑞昱半導體股份有限公司 | Signal detector and signal detection method |
Also Published As
Publication number | Publication date |
---|---|
TW200847632A (en) | 2008-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10187079B1 (en) | Metastability error correction methods and circuits for asynchronous successive approximation analog to digital converter (SAR ADC) | |
US8423852B2 (en) | Channel decoding-based error detection | |
JP5123313B2 (en) | Delay line calibration | |
JP5736288B2 (en) | Magnetic sensor device | |
TWI334273B (en) | Signal detection circuit with deglitch and method thereof | |
US10841133B2 (en) | Methods, apparatus, and systems to increase common-mode transient immunity in isolation devices | |
JP2007060655A (en) | Eye size measurement circuit, receiver of data communication system, and eye size measurement method | |
JP2010510720A (en) | Delay line calibration | |
JP2012109929A (en) | Receiver and reception method | |
US9979382B1 (en) | Programmable duty-cycle low jitter differential clock buffer | |
WO2007037312A1 (en) | Clock reproduction device and method | |
CN110637414B (en) | Method and apparatus for reducing the effects of transistor random mismatch in a circuit | |
JP6536347B2 (en) | Frequency detection method | |
US7825697B2 (en) | Signal detection circuit with deglitch and method thereof | |
US9893737B1 (en) | Multi-stage overload protection scheme for pipeline analog-to-digital converters | |
JP4972948B2 (en) | Backboard transmission method, backboard transmission apparatus, and board unit | |
CN101320981B (en) | Signal detection circuit with surge noise removing function and method thereof | |
JP2016063345A (en) | Receiver circuit | |
US11979122B2 (en) | Isolation amplifier and anomaly state detection device | |
US7098833B2 (en) | Tri-value decoder circuit and method | |
US20230308064A1 (en) | Variable gain amplifier with cross-coupled common mode reduction | |
JP2006054742A (en) | Signal detection circuit | |
Chow et al. | A low voltage rail-to-rail OPAMP design for biomedical signal filtering applications | |
US20200081684A1 (en) | Semiconductor device and sound output device | |
JP2011229001A (en) | Receiver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |