TWI623757B - Detection device - Google Patents
Detection device Download PDFInfo
- Publication number
- TWI623757B TWI623757B TW106133102A TW106133102A TWI623757B TW I623757 B TWI623757 B TW I623757B TW 106133102 A TW106133102 A TW 106133102A TW 106133102 A TW106133102 A TW 106133102A TW I623757 B TWI623757 B TW I623757B
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- common mode
- terminal
- detection circuit
- peak
- Prior art date
Links
Landscapes
- Measurement Of Current Or Voltage (AREA)
Abstract
一種偵測裝置,適用於電連接一個輸出單元,並包含二個共模檢測電路、一個濾波器、一個第一峰值檢測電路、及一個控制單元。該二個共模檢測電路電連接該輸出單元,以接收該輸出單元所輸出的一對差分信號,並分別產生二個共模信號。該濾波器接收其中一個共模信號以產生一個直流信號,該峰值檢測電路接收其中另一個共模信號以產生一個峰值信號。該控制單元接收該直流信號及該峰值信號,並偵測而獲得該峰值信號及該直流信號之差值的大小,且該差值的大小正相關於該對差分信號的佔空比失真的程度。A detecting device is adapted to electrically connect an output unit and includes two common mode detecting circuits, a filter, a first peak detecting circuit, and a control unit. The two common mode detecting circuits are electrically connected to the output unit to receive a pair of differential signals output by the output unit, and respectively generate two common mode signals. The filter receives one of the common mode signals to produce a DC signal, and the peak detection circuit receives one of the other common mode signals to produce a peak signal. The control unit receives the DC signal and the peak signal, and detects the magnitude of the difference between the peak signal and the DC signal, and the magnitude of the difference is positively related to the degree of duty cycle distortion of the pair of differential signals. .
Description
本發明是有關於一種偵測裝置,特別是指一種偵測佔空比失真程度的偵測裝置。The invention relates to a detection device, in particular to a detection device for detecting the degree of duty cycle distortion.
在高速互聯電路的設計中,傳送器(Transmitter)所輸出的信號質量決定了通信設備可以達到的最高速率。這裡指的高速互聯網路例如是傳輸速率在5Gb/s以內,但不在此限。高速互聯電路因為長距離傳輸,一般需要使用差分低擺幅的差分信號,且阻抗匹配等條件,以提高信號質量並減小電磁干擾(Electromagnetic Interference;EMI)。因此,傳送器的輸出信號的佔空比(Duty Cycle)是衡量差分信號(Differential Signal)品質的一個重要因素。In the design of high-speed interconnect circuits, the signal quality output by the transmitter (Transmitter) determines the highest rate that the communication device can reach. The high-speed Internet channel referred to here is, for example, a transmission rate within 5 Gb / s, but not limited to this. Because of the long distance transmission, high-speed interconnect circuits generally need to use differential low-swing differential signals, and impedance matching and other conditions to improve signal quality and reduce electromagnetic interference (Electromagnetic Interference; EMI). Therefore, the duty cycle of the output signal of the transmitter is an important factor to measure the quality of the differential signal.
佔空比失調或失真可以分為很多種情況,再參閱圖1,舉例說明一種差分信號的態樣,圖1是一時序圖,橫軸為時間,縱軸為信號的大小,例如伏特(V),由上而下依序是一正端信號、一負端信號、一共模信號、及一差分信號。例如:傳送器包含一對差分信號的輸出端,其中一個是正端,另一個是負端,該正端輸出該正端信號,該負端輸出該負端信號,而該共模信號等於該正端信號及該負端信號之和的一半,即共模(Common Mode)值,該差分信號等於該正端信號減去該負端信號。在此態樣中,該對差分信號無論在傳送器(即晶片)內部還是外部,其上升與下降的驅動力都必然無法完全一致。當晶片內有某些區域的負載較重時,或者在電位作轉換時,或者其他情況時,即便非常仔細的設計,但在製程工藝發生偏差的時候,也會產生如圖1所示的正端信號及負端信號,即兩信號在上升緣(Rising Edge)及下降緣(Falling Edge)的驅動力不同,導致該共模信號發生抖動。理想上,該共模信號應該是保持一水平線的狀態,以達到最佳的信號質量。Duty cycle offset or distortion can be divided into many cases. Refer to Figure 1 for an example of a differential signal. Figure 1 is a timing diagram. The horizontal axis is time, and the vertical axis is the size of the signal, such as volts (V ), From top to bottom are a positive terminal signal, a negative terminal signal, a common mode signal, and a differential signal. For example, the transmitter includes a pair of differential signal output terminals, one of which is a positive terminal, the other is a negative terminal, the positive terminal outputs the positive terminal signal, the negative terminal outputs the negative terminal signal, and the common mode signal is equal to the positive terminal Half of the sum of the terminal signal and the negative terminal signal is the Common Mode value, and the differential signal is equal to the positive terminal signal minus the negative terminal signal. In this aspect, whether the pair of differential signals are inside or outside the transmitter (ie, the wafer), the driving forces for their rise and fall must not be completely consistent. When there are certain areas in the wafer where the load is heavy, or when the potential is converted, or in other cases, even if the design is very careful, when the process process deviation occurs, it will also produce a positive The end signal and the negative signal, that is, the driving force of the two signals on the rising edge and falling edge are different, which causes the common mode signal to jitter. Ideally, the common-mode signal should maintain a horizontal line to achieve the best signal quality.
再參閱圖2,圖2也是一時序圖,舉例說明一種差分信號的另一種態樣,相對於圖1,該對差分信號在上升緣及下降緣的驅動力雖然相同,但佔空比不同,使得該共模信號的抖動程度反而變得更大。在圖1和圖2的二個差分信號的佔空比雖然都不錯,但是二個共模信號都有抖動的現象,而且在信號上升及下降個過程也有可能不對稱。這樣的差分信號會有幾個嚴重的問題:1.信號在傳輸線上傳輸時,會產生電磁干擾,且無法被抵銷。2.上升緣及下降緣的不對稱,導致信號對抗共模噪音(Noise)的抗干擾能力變差,使得在接收器的接收端的信號質量變差。3.共模信號的抖動也會影響到傳送器的輸出級的電源上,進而增大輸出級的碼間干擾(Intersymbol Interference;ISI)抖動。Referring again to FIG. 2, FIG. 2 is also a timing diagram illustrating another aspect of a differential signal. Compared with FIG. 1, although the driving force of the pair of differential signals on the rising and falling edges is the same, but the duty ratios are different. Instead, the jitter of the common-mode signal becomes larger. Although the duty ratios of the two differential signals in Figures 1 and 2 are good, both common-mode signals have jitter, and the signal rise and fall may also be asymmetric. Such differential signals will have several serious problems: 1. When the signal is transmitted on the transmission line, it will generate electromagnetic interference and cannot be offset. 2. The asymmetry of the rising edge and the falling edge leads to the deterioration of the signal's anti-interference ability against common mode noise (Noise), and the deterioration of the signal quality at the receiving end of the receiver. 3. The jitter of the common mode signal will also affect the power supply of the output stage of the transmitter, thereby increasing the intersymbol interference (ISI) jitter of the output stage.
為了消除這種佔空比的失真現象,目前的方案主要是藉由模擬或者少量的晶片測試的結果,人為地去固定的配置所有晶片的輸出級的上升緣級下降緣的驅動能力。然而,這種統一的配置並無法保證所有晶片在製程工藝的偏差下都能有很好的補償,而成為一個待解決的問題。In order to eliminate this distortion of the duty cycle, the current solution is to artificially fix the driving capability of the rising edge and falling edge of the output stage of all the chips by simulation or a small number of chip test results. However, this unified configuration does not guarantee that all wafers can be well compensated for deviations in the manufacturing process, which becomes a problem to be solved.
因此,本發明的目的,即在提供一種用於偵測一對差分信號的佔空比失真程度的偵測裝置。Therefore, an object of the present invention is to provide a detection device for detecting the degree of duty cycle distortion of a pair of differential signals.
於是,本發明偵測裝置,適用於電連接一個輸出單元,該輸出單元包含二個輸出端,以輸出一對差分信號,該差分信號具有一個正端信號及一個負端信號。該偵測裝置包含一個第一共模檢測電路、一個濾波器、一個第二共模檢測電路、一個第一峰值檢測電路、及一個控制單元。Therefore, the detection device of the present invention is suitable for electrically connecting an output unit, and the output unit includes two output terminals to output a pair of differential signals. The differential signal has a positive terminal signal and a negative terminal signal. The detection device includes a first common mode detection circuit, a filter, a second common mode detection circuit, a first peak detection circuit, and a control unit.
該第一共模檢測電路電連接該輸出單元以接收該正端信號及該負端信號,並產生一個第一共模信號,該第一共模信號等於該正端信號及該負端信號之和的一半。The first common mode detection circuit is electrically connected to the output unit to receive the positive terminal signal and the negative terminal signal, and generates a first common mode signal, the first common mode signal is equal to the positive terminal signal and the negative terminal signal And half of it.
該濾波器電連接該第一共模檢測電路以接收該第一共模信號,並對該第一共模信號作濾波,以產生一個直流信號,該直流信號的大小等於該第一共模信號的直流分量。The filter is electrically connected to the first common mode detection circuit to receive the first common mode signal and filter the first common mode signal to generate a DC signal whose magnitude is equal to the first common mode signal DC component.
該第二共模檢測電路電連接該輸出單元以接收該正端信號及該負端信號,並產生一個第二共模信號,該第二共模信號等於該正端信號及該負端信號之和的一半。The second common mode detection circuit is electrically connected to the output unit to receive the positive terminal signal and the negative terminal signal, and generates a second common mode signal, the second common mode signal is equal to the positive terminal signal and the negative terminal signal And half of it.
該第一峰值檢測電路電連接該第二共模檢測電路以接收該第二共模信號,並偵測該第二共模信號的峰值,以產生一個峰值信號,該峰值信號的大小等於該第二共模信號的峰值大小。The first peak detection circuit is electrically connected to the second common mode detection circuit to receive the second common mode signal and detect the peak value of the second common mode signal to generate a peak signal whose magnitude is equal to the first The peak size of two common-mode signals.
該控制單元控制該第一共模檢測電路及該第二共模檢測電路分別產生該第一共模信號及該第二共模信號,並電連接該濾波器及該第一峰值檢測電路,以分別接收該直流信號及該峰值信號,並偵測而獲得該峰值信號及該直流信號之差值的大小。The control unit controls the first common mode detection circuit and the second common mode detection circuit to generate the first common mode signal and the second common mode signal respectively, and is electrically connected to the filter and the first peak detection circuit to Receiving the DC signal and the peak signal respectively, and detecting to obtain the magnitude of the difference between the peak signal and the DC signal.
在一些實施態樣中,其中,該控制單元包括一個類比數位轉換器,電連接該濾波器及該第一峰值檢測電路,以分別接收該直流信號及該峰值信號,並將該直流信號及該峰值信號的大小轉換成二個數值,該控制單元再將該二個數值相減,以獲得該峰值信號及該直流信號之差值的大小。In some implementation aspects, wherein the control unit includes an analog-to-digital converter that is electrically connected to the filter and the first peak detection circuit to respectively receive the DC signal and the peak signal, and the DC signal and the The magnitude of the peak signal is converted into two values, and the control unit subtracts the two values to obtain the magnitude of the difference between the peak signal and the DC signal.
在一些實施態樣中,其中,該第一共模檢測電路包括一個第一開關、一個第一電阻器、一個第二電阻器、及一個第二開關,依序串接在該輸出單元的該二輸出端之間,且該第一電阻器及該第二電阻器之間輸出該第一共模信號。In some embodiments, the first common mode detection circuit includes a first switch, a first resistor, a second resistor, and a second switch, which are serially connected to the output unit Between the two output terminals, and the first common mode signal is output between the first resistor and the second resistor.
在一些實施態樣中,其中,該第二共模檢測電路包括一個第一開關、一個第一電阻器、一個第二電阻器、及一個第二開關,依序串接在該輸出單元的該二輸出端之間,且該第一電阻器及該第二電阻器之間輸出該第二共模信號。In some embodiments, the second common mode detection circuit includes a first switch, a first resistor, a second resistor, and a second switch, which are serially connected to the output unit Between the two output terminals, and between the first resistor and the second resistor, the second common mode signal is output.
在一些實施態樣中,其中,該控制單元還控制該第一共模檢測電路的該第一開關及該第二開關的開啟與關閉,並控制該第二共模檢測電路的該第一開關及該第二開關的開啟與關閉。當該控制單元控制該第一共模檢測電路的該第一開關及該第二開關,及該第二共模檢測電路的該第一開關及該第二開關都關閉時,該第一共模檢測電路及該第二共模檢測電路分別產生該第一共模信號及該第二共模信號。In some embodiments, the control unit further controls the opening and closing of the first switch and the second switch of the first common mode detection circuit, and controls the first switch of the second common mode detection circuit And the opening and closing of the second switch. When the control unit controls the first switch and the second switch of the first common mode detection circuit, and the first switch and the second switch of the second common mode detection circuit are both closed, the first common mode The detection circuit and the second common mode detection circuit respectively generate the first common mode signal and the second common mode signal.
在一些實施態樣中,其中,該第一峰值檢測電路包括一個第一電晶體、一第一電流源、及一個第二電容器。該第一電晶體包含一個接收一參考電壓的第一端、一個第二端、及一個閘極端,該閘極端電連接該第二共模檢測電路的該第一電阻器及該第二電阻器之間。該第一電流源包含一個電連接該第一電晶體的該第二端的第一端,及一個接地的第二端。該第二電容器包含一個電連接該第一電晶體的該第二端且產生該峰值信號的第一端,及一個接地的第二端。In some embodiments, the first peak detection circuit includes a first transistor, a first current source, and a second capacitor. The first transistor includes a first terminal that receives a reference voltage, a second terminal, and a gate terminal, the gate terminal is electrically connected to the first resistor and the second resistor of the second common mode detection circuit between. The first current source includes a first terminal electrically connected to the second terminal of the first transistor, and a second terminal grounded. The second capacitor includes a first terminal electrically connected to the second terminal of the first transistor and generating the peak signal, and a second terminal connected to ground.
在一些實施態樣中,該偵測裝置還包含一個第二峰值檢測電路,其中,該濾波器是一個第一電容器,包括一個第一端及一個接地的第二端,該第一端電連接該第一共模檢測電路的該第一電阻器及該第二電阻器之間。該第二峰值檢測電路包括一個第二電晶體、一第二電流源、及一個第三電容器。該第二電晶體包含一個接收該參考電壓的第一端、一個第二端、及一個閘極端,該閘極端電連接該第一電容器的該第一端。該第二電流源包含一個電連接該第二電晶體的該第二端的第一端,及一個接地的第二端。該第三電容器包含一個電連接該第二電晶體的該第二端且產生該直流信號的第一端,及一個接地的第二端。In some embodiments, the detection device further includes a second peak detection circuit, wherein the filter is a first capacitor, including a first terminal and a grounded second terminal, the first terminal is electrically connected Between the first resistor and the second resistor of the first common mode detection circuit. The second peak detection circuit includes a second transistor, a second current source, and a third capacitor. The second transistor includes a first terminal receiving the reference voltage, a second terminal, and a gate terminal, the gate terminal electrically connecting the first terminal of the first capacitor. The second current source includes a first terminal electrically connected to the second terminal of the second transistor, and a second terminal grounded. The third capacitor includes a first terminal electrically connected to the second terminal of the second transistor and generating the DC signal, and a second terminal grounded.
本發明的功效在於:藉由二個共模檢測電路產生該共模信號,再分別利用該濾波器及該第一峰值檢測電路獲得該直流信號及該峰值信號,並藉由該控制單元獲得該峰值信號及該直流信號之差值的大小,進而達成偵測該對差分信號的佔空比失真程度的功效。The effect of the present invention is that the common mode signal is generated by two common mode detection circuits, and then the DC signal and the peak signal are obtained by the filter and the first peak detection circuit, respectively, and the control unit obtains the The magnitude of the difference between the peak signal and the DC signal achieves the effect of detecting the degree of duty cycle distortion of the pair of differential signals.
在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are denoted by the same number.
參閱圖3,本發明偵測裝置的一個第一實施例,適用於電連接一個輸出單元9,該輸出單元9包含二個輸出端,以輸出一對差分信號,該差分信號具有一個正端信號及一個負端信號。該偵測裝置包含一個第一共模檢測電路3、一個濾波器5、一個第二共模檢測電路4、一個第一峰值檢測電路2、及一個控制單元1。Referring to FIG. 3, a first embodiment of the detection device of the present invention is suitable for electrically connecting an output unit 9 that includes two output terminals to output a pair of differential signals with a positive terminal signal And a negative signal. The detection device includes a first common mode detection circuit 3, a filter 5, a second common mode detection circuit 4, a first peak detection circuit 2, and a control unit 1.
該第一共模檢測電路3電連接該輸出單元9以接收該正端信號及該負端信號,並產生一個第一共模信號,該第一共模信號等於該正端信號及該負端信號之和的一半。更詳細地說,該第一共模檢測電路3包括一個第一開關31、一個第一電阻器33、一個第二電阻器34、及一個第二開關32,依序串接在該輸出單元9的該二輸出端之間。當該第一開關31及該第二開關32關閉時,在該第一電阻器33及該第二電阻器34之間輸出該第一共模信號。在本實施例中,該第一開關31及該第二開關32例如是一個N型電晶體,而在其他實施例中,則不在此限。該第一電阻器33及該第二電阻器34的電阻值是由輸出匹配及頻寬所決定,以1GHz的頻寬,50歐姆的匹配阻抗為例,該電阻值約為500歐姆。The first common mode detection circuit 3 is electrically connected to the output unit 9 to receive the positive terminal signal and the negative terminal signal, and generates a first common mode signal, the first common mode signal is equal to the positive terminal signal and the negative terminal Half of the sum of the signals. In more detail, the first common mode detection circuit 3 includes a first switch 31, a first resistor 33, a second resistor 34, and a second switch 32, which are serially connected in series to the output unit 9 Between the two outputs. When the first switch 31 and the second switch 32 are closed, the first common mode signal is output between the first resistor 33 and the second resistor 34. In this embodiment, the first switch 31 and the second switch 32 are, for example, an N-type transistor, but in other embodiments, it is not limited thereto. The resistance values of the first resistor 33 and the second resistor 34 are determined by output matching and bandwidth. Taking a bandwidth of 1 GHz and a matched impedance of 50 ohms as an example, the resistance value is about 500 ohms.
該濾波器5電連接該第一共模檢測電路3以接收該第一共模信號,並對該第一共模信號作濾波(低通濾波),以產生一個直流信號,該直流信號的大小等於該第一共模信號的直流分量。該濾波器5的截止頻率(Cutoff Frequency)例如是1MHz,但不在此限。The filter 5 is electrically connected to the first common-mode detection circuit 3 to receive the first common-mode signal, and performs filtering (low-pass filtering) on the first common-mode signal to generate a DC signal, the magnitude of the DC signal It is equal to the DC component of the first common mode signal. The cutoff frequency of the filter 5 is, for example, 1 MHz, but it is not limited to this.
在本實施例中,該濾波器5是一個第一電容器,包括一個第一端及一個接地的第二端,該第一端電連接該第一共模檢測電路3的該第一電阻器33及該第二電阻器34之間。該第一電容器的電容值例如是10pF,或10pF以上,但不在此限。該偵測裝置還包含一個第二峰值檢測電路6。該第二峰值檢測電路6電連接該第一電容器以接收該第一共模信號,進而產生該直流信號,並包括一個第二電晶體61、一個第二電流源62、及一個第三電容器63。In this embodiment, the filter 5 is a first capacitor including a first terminal and a grounded second terminal, the first terminal is electrically connected to the first resistor 33 of the first common mode detection circuit 3 And the second resistor 34. The capacitance value of the first capacitor is, for example, 10 pF or more, but not limited to this. The detection device also includes a second peak detection circuit 6. The second peak detection circuit 6 is electrically connected to the first capacitor to receive the first common-mode signal, thereby generating the DC signal, and includes a second transistor 61, a second current source 62, and a third capacitor 63 .
該第二電晶體61包含一個接收一參考電壓的第一端、一個第二端、及一個閘極端,該閘極端電連接該第一電容器的該第一端。該參考電壓即是該第二峰值檢測電路6的電源大小。該第二電晶體61是一種N型電晶體,但不在此限。The second transistor 61 includes a first terminal that receives a reference voltage, a second terminal, and a gate terminal. The gate terminal is electrically connected to the first terminal of the first capacitor. The reference voltage is the power supply size of the second peak detection circuit 6. The second transistor 61 is an N-type transistor, but it is not limited thereto.
該第二電流源62包含一個電連接該第二電晶體61的該第二端的第一端,及一個接地的第二端。該第二電流源62提供一個直流電流。The second current source 62 includes a first end electrically connected to the second end of the second transistor 61, and a second end connected to ground. The second current source 62 provides a direct current.
該第三電容器63包含一個電連接該第二電晶體61的該第二端且產生該直流信號的第一端,及一個接地的第二端。該第三電容器63的電容值例如是5pF,但不在此限。The third capacitor 63 includes a first terminal electrically connected to the second terminal of the second transistor 61 and generating the DC signal, and a second terminal connected to ground. The capacitance value of the third capacitor 63 is, for example, 5 pF, but not limited to this.
要特別補充說明的是:在本實施例中,該直流信號是藉由該第一電容器及該第二峰值檢測電路6接收該第一共模信號而產生。而在其他實施例中,該第二峰值檢測電路6也可以被省略,僅藉由該濾波器5接收該第一共模信號而產生該直流信號,該濾波器5例如是其他的低通濾波器(Low Pass Filter),只要能獲得該第一共模信號的直流分量即可,不在此限。另外,以下為方便說明起見,是以該濾波器5產生該直流信號作敘述,並不再特別強調該第二峰值檢測電路6的存在。It should be particularly added that in this embodiment, the DC signal is generated by the first common mode signal received by the first capacitor and the second peak detection circuit 6. In other embodiments, the second peak detection circuit 6 can also be omitted, and the DC signal is generated only by the filter 5 receiving the first common mode signal. The filter 5 is, for example, other low-pass filtering (Low Pass Filter), as long as the DC component of the first common mode signal can be obtained, it is not limited to this. In addition, for convenience of description, the following description is based on the filter 5 generating the DC signal, and the existence of the second peak detection circuit 6 is not particularly emphasized.
該第二共模檢測電路4電連接該輸出單元9以接收該正端信號及該負端信號,並產生一個第二共模信號,該第二共模信號等於該正端信號及該負端信號之和的一半。更詳細地說,該第二共模檢測電路4包括一個第一開關41、一個第一電阻器43、一個第二電阻器44、及一個第二開關42,依序串接在該輸出單元9的該二輸出端之間。當該第一開關41及該第二開關42關閉時,在該第一電阻器43及該第二電阻器44之間輸出該第二共模信號。在本實施例中,該第一開關41及該第二開關42例如是一個N型電晶體,而在其他實施例中,則不在此限。該第一電阻器43及該第二電阻器44的電阻值是由輸出匹配及頻寬所決定,以1GHz的頻寬,50歐姆的匹配阻抗為例,該電阻值約為500歐姆。The second common mode detection circuit 4 is electrically connected to the output unit 9 to receive the positive terminal signal and the negative terminal signal, and generates a second common mode signal, the second common mode signal is equal to the positive terminal signal and the negative terminal Half of the sum of the signals. In more detail, the second common mode detection circuit 4 includes a first switch 41, a first resistor 43, a second resistor 44, and a second switch 42, which are serially connected in series to the output unit 9 Between the two outputs. When the first switch 41 and the second switch 42 are closed, the second common mode signal is output between the first resistor 43 and the second resistor 44. In this embodiment, the first switch 41 and the second switch 42 are, for example, an N-type transistor, but in other embodiments, it is not limited thereto. The resistance values of the first resistor 43 and the second resistor 44 are determined by the output matching and the bandwidth. Taking the bandwidth of 1 GHz and the matched impedance of 50 ohm as an example, the resistance value is about 500 ohm.
該第一峰值檢測電路2電連接該第二共模檢測電路4以接收該第二共模信號,並偵測該第二共模信號的峰值(Peak Value),以產生一個峰值信號,該峰值信號的大小等於該第二共模信號的峰值大小。在本實施例中,該第一峰值檢測電路2包括一個第一電晶體21、一個第一電流源22、及一個第二電容器23。The first peak detection circuit 2 is electrically connected to the second common mode detection circuit 4 to receive the second common mode signal and detect the peak value of the second common mode signal to generate a peak signal, the peak value The size of the signal is equal to the peak size of the second common-mode signal. In this embodiment, the first peak detection circuit 2 includes a first transistor 21, a first current source 22, and a second capacitor 23.
該第一電晶體21包含一個接收該參考電壓的第一端、一個第二端、及一個閘極端,該閘極端電連接該第二共模檢測電路4的該第一電阻器43及該第二電阻器44之間。該參考電壓即是該第一峰值檢測電路2的電源大小。該第一電晶體21是一種N型電晶體,但在其他實施例中,不在此限。The first transistor 21 includes a first terminal that receives the reference voltage, a second terminal, and a gate terminal, the gate terminal is electrically connected to the first resistor 43 and the first resistor of the second common mode detection circuit 4 Between two resistors 44. The reference voltage is the power supply size of the first peak detection circuit 2. The first transistor 21 is an N-type transistor, but in other embodiments, it is not limited thereto.
該第一電流源22包含一個電連接該第一電晶體21的該第二端的第一端,及一個接地的第二端。該第一電流源22提供一個直流電流。The first current source 22 includes a first terminal electrically connected to the second terminal of the first transistor 21, and a second terminal grounded. The first current source 22 provides a direct current.
該第二電容器23包含一個電連接該第一電晶體21的該第二端且產生該峰值信號的第一端,及一個接地的第二端。該第二電容器23的電容值例如是5pF,但不在此限。The second capacitor 23 includes a first terminal electrically connected to the second terminal of the first transistor 21 and generating the peak signal, and a second terminal connected to ground. The capacitance value of the second capacitor 23 is, for example, 5 pF, but not limited to this.
該控制單元1控制該第一共模檢測電路3及該第二共模檢測電路4分別產生該第一共模信號及該第二共模信號,並電連接該濾波器5及該第一峰值檢測電路2,以分別接收該直流信號及該峰值信號,並偵測而獲得該峰值信號及該直流信號之差值的大小。更詳細地說,該控制單元1控制該第一共模檢測電路3的該第一開關31及該第二開關32的開啟與關閉,並控制該第二共模檢測電路4的該第一開關41及該第二開關42的開啟與關閉。當該控制單元1控制該第一共模檢測電路3的該第一開關31及該第二開關32,及該第二共模檢測電路4的該第一開關41及該第二開關42都關閉時,該第一共模檢測電路3及該第二共模檢測電路4分別產生該第一共模信號及該第二共模信號。The control unit 1 controls the first common mode detection circuit 3 and the second common mode detection circuit 4 to generate the first common mode signal and the second common mode signal, respectively, and is electrically connected to the filter 5 and the first peak The detection circuit 2 receives the DC signal and the peak signal respectively, and detects and obtains the magnitude of the difference between the peak signal and the DC signal. In more detail, the control unit 1 controls the opening and closing of the first switch 31 and the second switch 32 of the first common mode detection circuit 3, and controls the first switch of the second common mode detection circuit 4 41 and the second switch 42 are turned on and off. When the control unit 1 controls the first switch 31 and the second switch 32 of the first common mode detection circuit 3, and the first switch 41 and the second switch 42 of the second common mode detection circuit 4 are closed At this time, the first common mode detection circuit 3 and the second common mode detection circuit 4 respectively generate the first common mode signal and the second common mode signal.
該控制單元1包括一個類比數位轉換器(Analog-to- Digital Converter;ADC)11,電連接該濾波器5及該第一峰值檢測電路2,以分別接收該直流信號及該峰值信號,並將該直流信號及該峰值信號的大小轉換成二個數值。該類比數位轉換器11例如是10Bit精度(Resolution),且輪流接收該直流信號及該峰值信號,並輪流作轉換,但不在此限。該控制單元1再將該二個數值相減,以獲得該峰值信號及該直流信號之差值的大小。The control unit 1 includes an analog-to-digital converter (Analog-to-Digital Converter; ADC) 11, electrically connected to the filter 5 and the first peak detection circuit 2 to receive the DC signal and the peak signal, respectively, and The magnitude of the DC signal and the peak signal are converted into two values. The analog-to-digital converter 11 is, for example, 10 Bit resolution (Resolution), and receives the DC signal and the peak signal in turn and performs conversion in turn, but not limited to this. The control unit 1 further subtracts the two values to obtain the magnitude of the difference between the peak signal and the DC signal.
再參閱圖4,圖4是一時序圖,橫軸為時間,縱軸為信號的大小,例如伏特(V),舉例說明該實施例的該共模信號、該直流信號、及該峰值信號的一種態樣。例如在低電壓差動訊號(LVDS, Low-Voltage Differential Signaling)的應用中,該共模信號的大小為1.2伏特,當佔空比失真時,該共模信號會有50毫伏特的抖動(即抖動至1.15伏特),使得該直流信號的大小為1.18伏特。該共模信號與圖1及圖2的共模信號相似,即因為該正端信號及該負端信號的佔空比失真或失調,導致該共模信號發生抖動。當該共模信號發生抖動時,藉由該第一共模檢測電路3及該濾波器5所產生的該直流信號的大小會小於藉由該第二共模檢測電路4及該第一峰值檢測電路2所產生的該峰值信號的大小。該峰值信號及該直流信號的差值的越大時,表示佔空比失真的程度越大。換句話說,若該正端信號及該負端信號的佔空比沒有發生失真或失調,該共模信號就不會發生抖動,使得該峰值信號及該直流信號的大小相同,因此,該控制單元1能夠藉由偵測該峰值信號及該直流信號之差值的大小,而獲得該差分信號的佔空比失真的程度。4 again, FIG. 4 is a timing chart, the horizontal axis is time, and the vertical axis is the size of the signal, such as volts (V), to illustrate the common mode signal, the DC signal, and the peak signal An appearance. For example, in the application of Low-Voltage Differential Signaling (LVDS), the size of the common-mode signal is 1.2 volts. When the duty cycle is distorted, the common-mode signal will have a jitter of 50 millivolts (ie Jitter to 1.15 volts), so that the magnitude of the DC signal is 1.18 volts. The common mode signal is similar to the common mode signal of FIG. 1 and FIG. 2, that is, the common mode signal is jittered due to distortion or offset of the duty cycle of the positive terminal signal and the negative terminal signal. When the common mode signal jitters, the magnitude of the DC signal generated by the first common mode detection circuit 3 and the filter 5 will be smaller than that by the second common mode detection circuit 4 and the first peak detection The magnitude of the peak signal generated by circuit 2. The larger the difference between the peak signal and the DC signal, the greater the degree of duty cycle distortion. In other words, if the duty cycle of the positive-end signal and the negative-end signal are not distorted or misaligned, the common-mode signal will not be jittered, so that the peak signal and the DC signal have the same size. Therefore, the control The unit 1 can obtain the degree of duty cycle distortion of the differential signal by detecting the magnitude of the difference between the peak signal and the DC signal.
另外要特別補充說明的是:在圖4的例子中,該輸出單元9所輸出的該差分信號是輸出類似010101的數值,但在其他實施例中,即使該輸出單元9所輸出的該差分信號是類似00010001的數值,也不會影響本案的該控制單元1的效果。此外,該控制單元1可以在該輸出單元9傳送資料的過程中,作即時(Real Time)的偵測,也可以只在該輸出單元9傳送資料的空隙,或者在該輸出單元9傳送資料之前,先作偵測,而使整個系統達到更為省電的效果。In addition, it should be particularly added that in the example of FIG. 4, the differential signal output by the output unit 9 outputs a value similar to 010101, but in other embodiments, even if the differential signal output by the output unit 9 A value similar to 00010001 will not affect the effect of the control unit 1 in this case. In addition, the control unit 1 may perform real time detection during the transmission of data by the output unit 9, or it may be only at the gap of the data transmission by the output unit 9 or before the data transmission by the output unit 9 , Make the detection first, and make the whole system achieve a more power-saving effect.
參閱圖3與圖5,圖5是一個電路圖,舉例說明該實施例的該輸出單元9的最後一級的一個輸出電路的一種態樣。該輸出電路包含多個N型電晶體81~84、87及二個電阻器,其中,該N型電晶體87作為一個電流源,該N型電晶體81、83形成一個輸入差動對(Differential Pair),該N型電晶體82、84形成另一個輸入差動對,該等電阻器85、86作為該N型電晶體81~84的負載。要補充說明的是:為方便說明起見,該等N型電晶體81~84僅畫出四個,實際上,還能併接更多組的差動輸入對,且該等N型電晶體81~84的驅動能力可以設計相同或不相同,不在此限。3 and 5, FIG. 5 is a circuit diagram illustrating an aspect of an output circuit of the last stage of the output unit 9 of this embodiment. The output circuit includes a plurality of N-type transistors 81-84, 87 and two resistors, wherein the N-type transistor 87 serves as a current source, and the N-type transistors 81, 83 form an input differential pair (Differential Pair), the N-type transistors 82, 84 form another input differential pair, and the resistors 85, 86 act as loads of the N-type transistors 81-84. It should be added that for convenience of description, only four of the N-type transistors 81 to 84 are drawn. In fact, more sets of differential input pairs can be connected in parallel, and the N-type transistors The driving capacity of 81 ~ 84 can be designed to be the same or different, not limited to this.
該N型電晶體81、82的閘極端接收一對差分輸入信號的一個正端輸入信號,該N型電晶體83、84的閘極端接收該對差分輸入信號的一個負端輸入信號。當該偵測裝置的該控制單元1偵測到該輸出單元9的該差分信號發生佔空比失真時,該控制單元1還能根據該峰值信號及該直流信號之差值的大小,對應控制該輸出單元9的該輸出電路的該等N型電晶體的驅動能力,例如:利用控制接收該正端輸入信號或該負端輸入信號的該等差動輸入對的N型電晶體的數量多寡,來修正或補償該差分信號的佔空比失真程度。The gate terminals of the N-type transistors 81, 82 receive a positive input signal of a pair of differential input signals, and the gate terminals of the N-type transistors 83, 84 receive a negative input signal of the pair of differential input signals. When the control unit 1 of the detection device detects a duty cycle distortion of the differential signal of the output unit 9, the control unit 1 can also control correspondingly according to the magnitude of the difference between the peak signal and the DC signal The driving capability of the N-type transistors of the output circuit of the output unit 9 is, for example, the number of N-type transistors that control the differential input pairs receiving the positive input signal or the negative input signal , To correct or compensate the duty cycle distortion of the differential signal.
參閱圖3與圖6,圖6是一個電路圖,舉例說明該實施例的該輸出單元9的倒數第二級的一個輸出電路的一種態樣。該輸出電路包含多個N型電晶體71、73、75,及多個P型電晶體72、74、76,其中,該N型電晶體71及該P型電晶體72形成一個反向器(Inverter),該N型電晶體73及該P型電晶體74形成另一個反向器,該N型電晶體75及該P型電晶體76也形成一個反向器。要補充說明的是:為方便說明起見,該等N型電晶體71、73、75及該等P型電晶體72、74、76都僅畫出三個,實際上,還能併接更多組的反向器,且該等N型電晶體71、73、75及該等P型電晶體72、74、76的驅動能力可以設計相同或不相同,不在此限。3 and 6, FIG. 6 is a circuit diagram illustrating an aspect of an output circuit of the penultimate stage of the output unit 9 of this embodiment. The output circuit includes a plurality of N-type transistors 71, 73, 75, and a plurality of P-type transistors 72, 74, 76, wherein the N-type transistor 71 and the P-type transistor 72 form an inverter ( Inverter), the N-type transistor 73 and the P-type transistor 74 form another inverter, and the N-type transistor 75 and the P-type transistor 76 also form an inverter. It should be added that for convenience of description, only three of the N-type transistors 71, 73, 75 and the P-type transistors 72, 74, 76 are drawn. In fact, they can be connected in parallel. There are multiple sets of inverters, and the driving capabilities of the N-type transistors 71, 73, 75 and the P-type transistors 72, 74, 76 may be designed to be the same or different, which is not limited.
該等N型電晶體71、73、75及該等P型電晶體72、74、76例如接收一對差分輸入信號的一個正端輸入信號V I(或是一個負端輸入信號),以輸出該對差分信號的該正端信號V O(或是該負端信號)。當該偵測裝置的該控制單元1偵測到該輸出單元9的該差分信號發生佔空比失真時,該控制單元1還能根據該峰值信號及該直流信號之差值的大小,對應控制該輸出單元9的該輸出電路的該等N型電晶體及該等P型電晶體的驅動能力,例如:利用控制接收該正端輸入信號(或該負端輸入信號)的該等反向器的數量多寡,即該等N型電晶體與該等P型電晶體的數量多寡,來修正或補償該差分信號的佔空比失真程度。 Such N-type transistors 71,73,75 and such P-type transistors 72, 74, for example, receive a pair of differential input signal is a positive signal V I (or a negative input signal) input terminal to the output The positive signal V O (or the negative signal) of the pair of differential signals. When the control unit 1 of the detection device detects a duty cycle distortion of the differential signal of the output unit 9, the control unit 1 can also control correspondingly according to the magnitude of the difference between the peak signal and the DC signal The driving capabilities of the N-type transistors and the P-type transistors of the output circuit of the output unit 9 are, for example, controlled by the inverters that receive the positive input signal (or the negative input signal) The number of the N-type transistors and the P-type transistors, to correct or compensate the duty cycle distortion of the differential signal.
綜上所述,藉由該第一共模檢測電路3即該第二共模檢測電路4分別產生該第一共模信號及該第二共模信號,再分別利用該濾波器5及該第一峰值檢測電路2獲得該直流信號及該峰值信號,並藉由該控制單元1獲得該峰值信號及該直流信號之差值的大小,進而能偵測該對差分信號的佔空比的失真程度,故確實能達成本發明的目的。In summary, the first common mode detection circuit 3 and the second common mode detection circuit 4 respectively generate the first common mode signal and the second common mode signal, and then use the filter 5 and the first common mode signal, respectively. A peak detection circuit 2 obtains the DC signal and the peak signal, and the control unit 1 obtains the magnitude of the difference between the peak signal and the DC signal, and can then detect the degree of distortion of the duty cycle of the differential signal Therefore, the purpose of cost invention can indeed be achieved.
惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above are only examples of the present invention, and the scope of implementation of the present invention cannot be limited by this, any simple equivalent changes and modifications made according to the scope of the patent application of the present invention and the content of the patent specification are still classified as Within the scope of the invention patent.
1‧‧‧控制單元
11‧‧‧類比數位轉換器
2‧‧‧第一峰值檢測電路
21‧‧‧第一電晶體
22‧‧‧第一電流源
23‧‧‧第二電容器
3‧‧‧第一共模檢測電路
31‧‧‧第一開關
32‧‧‧第二開關
33‧‧‧第一電阻器
34‧‧‧第二電阻器
4‧‧‧第二共模檢測電路
41‧‧‧第一開關
42‧‧‧第二開關
43‧‧‧第一電阻器
44‧‧‧第二電阻器
5‧‧‧濾波器
6‧‧‧第二峰值檢測電路
61‧‧‧第二電晶體
62‧‧‧第二電流源
63‧‧‧第三電容器
71‧‧‧N型電晶體
72‧‧‧P型電晶體
73‧‧‧N型電晶體
74‧‧‧P型電晶體
75‧‧‧N型電晶體
76‧‧‧P型電晶體
81~84‧‧‧N型電晶體
85‧‧‧電阻器
86‧‧‧電阻器
87‧‧‧N型電晶體
9‧‧‧輸出單元
VI‧‧‧正端輸入信號
VO‧‧‧正端信號1‧‧‧Control unit
11‧‧‧Analog to Digital Converter
2‧‧‧ First peak detection circuit
21‧‧‧ First transistor
22‧‧‧First current source
23‧‧‧Second capacitor
3‧‧‧The first common mode detection circuit
31‧‧‧ First switch
32‧‧‧Second switch
33‧‧‧ First resistor
34‧‧‧Second resistor
4‧‧‧ Second common mode detection circuit
41‧‧‧ First switch
42‧‧‧Second switch
43‧‧‧ First resistor
44‧‧‧Second resistor
5‧‧‧filter
6‧‧‧Second peak detection circuit
61‧‧‧Second transistor
62‧‧‧Second current source
63‧‧‧third capacitor
71‧‧‧N-type transistor
72‧‧‧P-type transistor
73‧‧‧N-type transistor
74‧‧‧P-type transistor
75‧‧‧N-type transistor
76‧‧‧P-type transistor
81 ~ 84‧‧‧N-type transistor
85‧‧‧Resistor
86‧‧‧Resistor
87‧‧‧N-type transistor
9‧‧‧Output unit
V I ‧‧‧ Positive input signal
V O ‧‧‧ Positive signal
本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一時序圖,舉例說明一對差分信號的佔空比失真的一種態樣; 圖2是一時序圖,舉例說明一對差分信號的佔空比失真的另一種態樣; 圖3是一方塊圖,說明本發明偵測裝置的一實施例; 圖4是一時序圖,舉例說明該實施例的一共模信號、一直流信號、及一峰值信號的態樣; 圖5是一電路圖,舉例說明該實施例的一輸出單元的最後一級的輸出電路的一種態樣;及 圖6是一電路圖,舉例說明該實施例的該輸出單元的倒數第二級的輸出電路的一種態樣。Other features and functions of the present invention will be clearly presented in the embodiment with reference to the drawings, in which: FIG. 1 is a timing diagram illustrating an aspect of the duty cycle distortion of a pair of differential signals; FIG. 2 is A timing diagram illustrating another aspect of the duty cycle distortion of a pair of differential signals; FIG. 3 is a block diagram illustrating an embodiment of the detection device of the present invention; FIG. 4 is a timing diagram illustrating the implementation An example of a common mode signal, a DC signal, and a peak signal; FIG. 5 is a circuit diagram illustrating an example of an output circuit of the last stage of an output unit of the embodiment; and FIG. 6 is a circuit diagram To illustrate an aspect of the output circuit of the penultimate stage of the output unit of this embodiment.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106133102A TWI623757B (en) | 2017-09-27 | 2017-09-27 | Detection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106133102A TWI623757B (en) | 2017-09-27 | 2017-09-27 | Detection device |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI623757B true TWI623757B (en) | 2018-05-11 |
TW201915501A TW201915501A (en) | 2019-04-16 |
Family
ID=62951724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106133102A TWI623757B (en) | 2017-09-27 | 2017-09-27 | Detection device |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI623757B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW419586B (en) * | 1998-01-30 | 2001-01-21 | Wavecrest Corp | Method and apparatus for jitter analysis |
US20020140433A1 (en) * | 2000-11-08 | 2002-10-03 | Lawson Rodney Allen | Apparatus and method for detecting and calculating ground fault resistance |
CN2519284Y (en) * | 2001-10-11 | 2002-10-30 | 华为技术有限公司 | Mutual complementing differential peak value detecting circuit |
CN1646926A (en) * | 2002-04-17 | 2005-07-27 | 丹福斯驱动器公司 | Method for measuring currents in a motor controller and motor controller using such method |
CN102790589A (en) * | 2012-08-27 | 2012-11-21 | 上海市计量测试技术研究院 | Amplifier for measuring 1MHz common mode rejection ratios of high-resistance high-voltage differential probe |
US20140167740A1 (en) * | 2012-12-17 | 2014-06-19 | Covidien Lp | System and method for voltage and current sensing |
TW201618444A (en) * | 2014-05-08 | 2016-05-16 | 英特希爾美國公司 | Input current compensation during current measurement |
-
2017
- 2017-09-27 TW TW106133102A patent/TWI623757B/en active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW419586B (en) * | 1998-01-30 | 2001-01-21 | Wavecrest Corp | Method and apparatus for jitter analysis |
US20020140433A1 (en) * | 2000-11-08 | 2002-10-03 | Lawson Rodney Allen | Apparatus and method for detecting and calculating ground fault resistance |
CN2519284Y (en) * | 2001-10-11 | 2002-10-30 | 华为技术有限公司 | Mutual complementing differential peak value detecting circuit |
CN1646926A (en) * | 2002-04-17 | 2005-07-27 | 丹福斯驱动器公司 | Method for measuring currents in a motor controller and motor controller using such method |
CN102790589A (en) * | 2012-08-27 | 2012-11-21 | 上海市计量测试技术研究院 | Amplifier for measuring 1MHz common mode rejection ratios of high-resistance high-voltage differential probe |
US20140167740A1 (en) * | 2012-12-17 | 2014-06-19 | Covidien Lp | System and method for voltage and current sensing |
TW201618444A (en) * | 2014-05-08 | 2016-05-16 | 英特希爾美國公司 | Input current compensation during current measurement |
Also Published As
Publication number | Publication date |
---|---|
TW201915501A (en) | 2019-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101734297B1 (en) | High speed receivers circuits and methods | |
US8928307B2 (en) | Signal detection circuit, method and system | |
US8885691B1 (en) | Voltage regulator for a serializer/deserializer communication application | |
US20170104616A1 (en) | Apparatus and method for combining currents from passive equalizer in sense amplifier | |
JP2017517937A (en) | Circuit for generating accurate clock phase signals for high-speed serializer / deserializer | |
KR102112199B1 (en) | System for equalizing data transmission channel and display device including the same | |
US20140375355A1 (en) | Differential receiver, electronic device and industrial device including the same, and method of receiving differential signal | |
US9397823B2 (en) | Methods and circuits for reducing clock jitter | |
US9698735B1 (en) | Low voltage differential signal receiver with fully integrated AC coupling and bias latching | |
CN106130536B (en) | Level shifting circuit and electronic equipment | |
TW202107878A (en) | High-speed low-voltage serial link receiver and method thereof | |
Lee et al. | Comparison of receiver equalization using first-order and second-order continuous-time linear equalizer in 45 nm process technology | |
Gerfers et al. | A 0.2–2 Gb/s 6x OSR receiver using a digitally self-adaptive equalizer | |
TWI623757B (en) | Detection device | |
Kancharapu et al. | A low-power low-skew current-mode clock distribution network in 90nm cmos technology | |
Deloge et al. | A highly-digitized automotive CAN transceiver in 0.14 µm high-voltage SOI CMOS | |
CN108449077A (en) | High-speed internal hysteresis type comparator | |
CN114696771A (en) | Common mode transient interference suppression circuit and isolator | |
Kim et al. | A 6-Gb/s wireline receiver with intrapair skew compensation and three-tap decision-feedback equalizer in 28-nm CMOS | |
Hsueh et al. | A 3$\,\times\, $3.8 Gb/s Four-Wire High Speed I/O Link Based on CDMA-Like Crosstalk Cancellation | |
Kawar et al. | A 10 Gbps loss of signal detector for high-speed AC-coupled serial transceivers in 28nm CMOS technology | |
US10020842B2 (en) | Reception device and transmission/reception system including same | |
Gopikrishnan et al. | A Power Efficient Fully Differential Back Terminated Current-Mode HDMI Source | |
US20130229165A1 (en) | Ac coupled single-ended lvds receiving circuit comprising low-pass filter and voltage regulator | |
Shin et al. | A 6.4 Gbps on-chip eye opening monitor circuit for signal integrity analysis of high speed channel |