TWI570418B - Device and method of detecting signal delay - Google Patents

Device and method of detecting signal delay Download PDF

Info

Publication number
TWI570418B
TWI570418B TW103141086A TW103141086A TWI570418B TW I570418 B TWI570418 B TW I570418B TW 103141086 A TW103141086 A TW 103141086A TW 103141086 A TW103141086 A TW 103141086A TW I570418 B TWI570418 B TW I570418B
Authority
TW
Taiwan
Prior art keywords
signal
voltage
output
logic circuit
gate
Prior art date
Application number
TW103141086A
Other languages
Chinese (zh)
Other versions
TW201619615A (en
Inventor
李冠興
Original Assignee
環鴻科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 環鴻科技股份有限公司 filed Critical 環鴻科技股份有限公司
Priority to TW103141086A priority Critical patent/TWI570418B/en
Publication of TW201619615A publication Critical patent/TW201619615A/en
Application granted granted Critical
Publication of TWI570418B publication Critical patent/TWI570418B/en

Links

Description

量測信號延遲時間之裝置及方法 Device and method for measuring signal delay time

本發明係有關信號測試裝置及方法,特別是有關電路輸出信號之延遲時間之測試裝置及方法。 The present invention relates to a signal testing apparatus and method, and more particularly to a testing apparatus and method for delay time of a circuit output signal.

隨著半導體技術的蓬勃發展,積體電路(Integrated Circuit,IC)的執行功能及效能要求也不斷增加。然而隨著半導體製程之縮小,半導體元件之寄生電容之影響更加顯著。積體電路中部分元件之寄生電容會導致信號在積體電路中產生延遲。在評估積體電路之效能時,信號延遲時間係為重要參數之一。因此,如何準確及有效率的量測積體電路輸出信號之延遲時間為一項重要的課題。 With the rapid development of semiconductor technology, the implementation functions and performance requirements of Integrated Circuits (ICs) are also increasing. However, as semiconductor processes shrink, the effects of parasitic capacitance of semiconductor components are more pronounced. The parasitic capacitance of some components in an integrated circuit can cause a delay in the signal in the integrated circuit. Signal delay time is one of the important parameters when evaluating the performance of an integrated circuit. Therefore, how to accurately and efficiently measure the delay time of the output signal of the integrated circuit is an important issue.

目前業界大多使用示波器來量測延遲時間。示波器係針對輸入之信號以一採樣率(sampling rate)對該信號進行採樣,並將該信號採樣的波形顯示在示波器的螢幕上。示波器測量及計算所採樣及顯示的波形用以得到輸入信號之各項參數(如頻率、振幅、延遲時間等)。然而,示波器的價格相當昂貴。倘若僅需測量電路之輸出信號的延遲時間,而不需獲得其他參數或者輸出信號之波形時,為此需求添購示波器將會大幅增加成本並降低競爭力。 Currently, the industry mostly uses an oscilloscope to measure the delay time. The oscilloscope samples the signal at a sampling rate for the input signal and displays the waveform sampled on the oscilloscope's screen. The oscilloscope measures and calculates the sampled and displayed waveforms to obtain various parameters of the input signal (such as frequency, amplitude, delay time, etc.). However, the price of an oscilloscope is quite expensive. If you only need to measure the delay time of the output signal of the circuit, and do not need to obtain other parameters or waveforms of the output signal, adding an oscilloscope for this demand will greatly increase the cost and reduce the competitiveness.

此外,隨著科技的發展,信號處理速度及傳遞速度亦大幅的增加。一般示波器之採樣率已經無法準確的對輸入信號進行採樣,故所採樣到的波形難免有失真的情況,此失真的情況或將導致所欲量測之 信號參數有失準確。 In addition, with the development of technology, signal processing speed and transmission speed have also increased significantly. Generally, the sampling rate of an oscilloscope cannot accurately sample the input signal, so the sampled waveform is inevitably subject to distortion. This distortion may lead to the desired measurement. The signal parameters are not accurate.

解決此一問題的方法一般有兩種,一為使用更高採樣率之示波器,二為將輸入信號降頻,再進行取樣。然而,具有高採樣率之示波器意味著更昂貴的價格或更高之成本,如上所述,此將大幅增加成本並降低競爭力。若將輸入信號降頻再進行取樣,則降頻過程中所產生之頻率、電壓位準、相位等偏差或將導致量測結果具有誤差值。 There are two general methods for solving this problem, one is to use an oscilloscope with a higher sampling rate, and the other is to down-convert the input signal and then sample. However, an oscilloscope with a high sampling rate means a more expensive price or a higher cost, as described above, which will greatly increase the cost and reduce the competitiveness. If the input signal is down-converted and then sampled, the frequency, voltage level, phase, etc. deviation generated during the frequency reduction process will cause the measurement result to have an error value.

因此,本發明之目的之一在於提供一種準確量測信號之延遲時間的方法,其可降低成本,進而提升競爭力。 Accordingly, it is an object of the present invention to provide a method for accurately measuring the delay time of a signal, which can reduce costs and thereby enhance competitiveness.

本揭露之一實施例係為一種量測信號延遲時間之方法,其包含:將一第一信號及一第二信號輸入至一邏輯電路,以獲得一輸出信號;量測該輸出信號之平均電壓,以獲得一第一電壓;及根據該第一電壓與一參考電壓之差值決定該第二信號相對於該第一信號之延遲時間。 An embodiment of the present disclosure is a method for measuring a signal delay time, comprising: inputting a first signal and a second signal to a logic circuit to obtain an output signal; measuring an average voltage of the output signal Obtaining a first voltage; and determining a delay time of the second signal relative to the first signal according to a difference between the first voltage and a reference voltage.

本揭露之一實施例係為一種量測信號延遲時間之裝置,其包含:一待測電路、一時脈產生器、一邏輯電路以及一電壓量測裝置。待測電路包含一輸入端及一輸出端。時脈產生器包含連接待測電路之輸入端的輸出端。邏輯電路包含第一輸入端、第二輸入端以及輸出端,第一輸入端連接時脈產生器之輸出端,第二輸入端連接待測電路之輸出端。電壓量測裝置連接邏輯電路之輸出端。 One embodiment of the present disclosure is a device for measuring signal delay time, comprising: a circuit to be tested, a clock generator, a logic circuit, and a voltage measuring device. The circuit to be tested includes an input terminal and an output terminal. The clock generator includes an output connected to an input of the circuit under test. The logic circuit comprises a first input end, a second input end and an output end, the first input end is connected to the output end of the clock generator, and the second input end is connected to the output end of the circuit to be tested. The voltage measuring device is connected to the output of the logic circuit.

1‧‧‧測試板 1‧‧‧ test board

2‧‧‧時脈產生器 2‧‧‧ clock generator

3‧‧‧待測電路 3‧‧‧circuit to be tested

4‧‧‧電源供應器 4‧‧‧Power supply

5‧‧‧邏輯電路 5‧‧‧Logical circuits

6‧‧‧電壓計 6‧‧‧ voltmeter

S1‧‧‧量測第一信號之平均電壓,以獲得參考電壓 S1‧‧‧ measures the average voltage of the first signal to obtain the reference voltage

S2‧‧‧將第一信號輸入至待測電路,以獲得第二信號 S2‧‧‧ input the first signal to the circuit to be tested to obtain the second signal

S3‧‧‧將第一信號及第二信號輸入至邏輯電路,以獲得輸出信號 S3‧‧‧ input the first signal and the second signal to the logic circuit to obtain the output signal

S4‧‧‧量測輸出信號之平均電壓,以獲得第一電壓 S4‧‧‧Measure the average voltage of the output signal to obtain the first voltage

S5‧‧‧根據參考電壓及第一電壓之差值,獲得輸出信號之工作週期 S5‧‧‧Actain the duty cycle of the output signal based on the difference between the reference voltage and the first voltage

S6‧‧‧根據工作週期,以決定第二信號相對於第一信號之延遲時間 S6‧‧‧ according to the duty cycle, to determine the delay time of the second signal relative to the first signal

圖1為根據本揭露之一實施例之量測信號延遲時間之方塊圖。 1 is a block diagram of a measurement signal delay time in accordance with an embodiment of the present disclosure.

圖2為根據本揭露之一實施例之量測信號延遲時間之方法之示意圖。 2 is a schematic diagram of a method of measuring a signal delay time in accordance with an embodiment of the present disclosure.

圖3為根據本發明之一實施例之邏輯電路之示意圖。 3 is a schematic diagram of a logic circuit in accordance with an embodiment of the present invention.

圖4為根據本發明之一實施例之邏輯電路之示意圖。 4 is a schematic diagram of a logic circuit in accordance with an embodiment of the present invention.

圖5為根據本發明之一實施例之邏輯電路之示意圖。 Figure 5 is a schematic illustration of a logic circuit in accordance with an embodiment of the present invention.

圖1揭示根據本揭露之一實施例之量測信號延遲時間之方塊圖。如圖1所示,測試板1可包含時脈產生器2、待測電路3、電源供應器4、邏輯電路5。 1 discloses a block diagram of a measurement signal delay time in accordance with an embodiment of the present disclosure. As shown in FIG. 1, the test board 1 may include a clock generator 2, a circuit under test 3, a power supply 4, and a logic circuit 5.

測試板1可為印刷電路板(printed circuit board)或其他合適之電路版。印刷電路板可為但不限於單面板、雙面板或多層板。 The test board 1 can be a printed circuit board or other suitable circuit board. The printed circuit board can be, but is not limited to, a single panel, a double panel, or a multilayer board.

時脈產生器2為任何可根據需求產生不同頻率之信號之電路。時脈產生器2之輸出端連接待測電路3之輸入端以及邏輯電路5之第一輸入端。 The clock generator 2 is any circuit that can generate signals of different frequencies according to requirements. The output of the clock generator 2 is connected to the input of the circuit under test 3 and the first input of the logic circuit 5.

待測電路3可為離散電路或積體電路。待測電路3之輸出端連接邏輯電路5之第二輸入端。 The circuit under test 3 can be a discrete circuit or an integrated circuit. The output of the circuit under test 3 is connected to the second input of the logic circuit 5.

電源供應器4用以供應電源至時脈產生器2、待測電路3及邏輯電路5。 The power supply 4 is used to supply power to the clock generator 2, the circuit under test 3, and the logic circuit 5.

邏輯電路5可根據其第一輸入端之輸入信號及第二輸入端之輸入信號之相位差而決定該輸出信號之一工作週期(duty cycle)。換言之,邏輯電路5可根據該第一輸入端之輸入信號及第二輸入端之輸入信號之間的邏輯值關係而決定輸出信號之邏輯值。根據本揭露之一實施例,邏輯電路5可為及閘(AND gate)、非及閘(NAND gate)、或閘(OR gate)、非或閘(NOR gate)、互斥或閘(XOR gate)、正反器(flip flop)之一者或其組合。 The logic circuit 5 can determine a duty cycle of the output signal according to the phase difference between the input signal of the first input terminal and the input signal of the second input terminal. In other words, the logic circuit 5 can determine the logic value of the output signal according to the logical value relationship between the input signal of the first input terminal and the input signal of the second input terminal. According to an embodiment of the present disclosure, the logic circuit 5 may be an AND gate, a NAND gate, an OR gate, a NOR gate, a mutual exclusion or a gate (XOR gate). ), one of the flip flops, or a combination thereof.

電壓計6為可量測平均電壓之電壓計。根據本揭露之另一實施例,電壓計為三用電錶。根據本揭露之另一實施例,電壓計為可量測到小於10毫伏電壓之三用電錶。電壓計6連接邏輯電路5之輸出端。 The voltmeter 6 is a voltmeter that measures the average voltage. According to another embodiment of the present disclosure, the voltmeter is a three-meter power meter. According to another embodiment of the present disclosure, the voltmeter is a three-meter power meter that can measure a voltage of less than 10 millivolts. The voltmeter 6 is connected to the output of the logic circuit 5.

時脈產生器2用以產生具有選定頻率之第一信號,並將第一信號輸入至待測電路3之輸入端及邏輯電路5之第一輸入端。待測電路3根 據第一信號產生第二信號,並將第二信號輸入至邏輯電路5之第二輸入端。邏輯電路5根據第一輸入端之第一信號及第二輸入端之第二信號產生一輸出信號。電壓計6用以量測邏輯電路5之輸出信號之一平均電壓值。 The clock generator 2 is configured to generate a first signal having a selected frequency and input the first signal to an input end of the circuit under test 3 and a first input end of the logic circuit 5. 3 circuits to be tested The second signal is generated according to the first signal, and the second signal is input to the second input of the logic circuit 5. The logic circuit 5 generates an output signal according to the first signal of the first input end and the second signal of the second input end. The voltmeter 6 is used to measure an average voltage value of an output signal of the logic circuit 5.

圖2為根據本揭露之一實施例之量測信號延遲時間之方法之示意圖。在步驟S1中,量測時脈產生器所產生之第一信號之平均電壓,以獲得參考電壓。在步驟S2中,將時脈產生器產生之第一信號輸入至待測電路之輸入端,並在待測電路之輸出端獲得第二信號。在步驟S3中,將第一信號及第二信號輸入至邏輯電路,以獲得輸出信號。在步驟S4中,量測輸出信號之平均電壓,以獲得第一電壓。在步驟S5中,根據參考電壓及第一電壓之差值,獲得輸出信號之工作週期。在步驟S6中,根據工作週期,以決定第二信號相對於第一信號之延遲時間。 2 is a schematic diagram of a method of measuring a signal delay time in accordance with an embodiment of the present disclosure. In step S1, the average voltage of the first signal generated by the clock generator is measured to obtain a reference voltage. In step S2, the first signal generated by the clock generator is input to the input end of the circuit to be tested, and the second signal is obtained at the output end of the circuit to be tested. In step S3, the first signal and the second signal are input to a logic circuit to obtain an output signal. In step S4, the average voltage of the output signal is measured to obtain a first voltage. In step S5, the duty cycle of the output signal is obtained according to the difference between the reference voltage and the first voltage. In step S6, the delay time of the second signal relative to the first signal is determined according to the duty cycle.

根據本案之一實施例,輸入至邏輯電路之第一輸入端之第一信號、輸入至邏輯電路之第二輸入端之第二信號及邏輯電路之輸出信號為方波。 According to an embodiment of the present invention, the first signal input to the first input end of the logic circuit, the second signal input to the second input end of the logic circuit, and the output signal of the logic circuit are square waves.

圖3為根據本發明之一實施例之邏輯電路之示意圖。如圖3所示,圖1所示之邏輯電路5可包含圖3所示的或閘(OR gate)。在圖3中,第一信號係由圖1所示之時脈產生器2所產生具有100KHz(週期為10μs)頻率及1.8V振幅之方波。第二信號為將第一信號輸入至如圖1所示之待測電路3所獲得之可能具有延遲時間(Td)之方波。根據或閘之特性,當輸入如圖3所示之第一信號及第二信號時,可獲得如圖3所示之輸出信號。若時脈產生器2所產生之第一信號為具有50%之工作週期之方波,則第一信號之平均電壓(亦即參考電壓)為900mV。 3 is a schematic diagram of a logic circuit in accordance with an embodiment of the present invention. As shown in FIG. 3, the logic circuit 5 shown in FIG. 1 may include an OR gate as shown in FIG. In Fig. 3, the first signal is a square wave having a frequency of 100 kHz (period of 10 μs) and an amplitude of 1.8 V generated by the clock generator 2 shown in Fig. 1. The second signal is a square wave obtained by inputting the first signal to the circuit under test 3 as shown in FIG. 1 and having a delay time (Td). According to the characteristics of the OR gate, when the first signal and the second signal as shown in FIG. 3 are input, an output signal as shown in FIG. 3 can be obtained. If the first signal generated by the clock generator 2 is a square wave having a duty cycle of 50%, the average voltage of the first signal (ie, the reference voltage) is 900 mV.

可使用圖1所示的電壓計6量測第一信號之平均電壓以獲得參考電壓及量測輸出信號之平均電壓以獲得第一電壓,並根據參考電壓及第一電壓之差值,獲得輸出信號之工作週期,進而決定第二信號相對 於第一信號之延遲時間。 The voltmeter 6 shown in FIG. 1 can be used to measure the average voltage of the first signal to obtain a reference voltage and measure the average voltage of the output signal to obtain a first voltage, and obtain an output according to the difference between the reference voltage and the first voltage. The duty cycle of the signal, which in turn determines the relative response of the second signal The delay time of the first signal.

表1列舉三個實施例來說明所量測到圖3之或閘輸出信號之平均電壓(第一電壓)與參考電壓之差值與工作週期及延遲時間之關係。 Table 1 lists three embodiments to illustrate the relationship between the difference between the average voltage (first voltage) of the OR gate output signal of FIG. 3 and the reference voltage and the duty cycle and delay time.

根據表1第2欄,邏輯電路之輸出端所量測到的輸出信號之平均電壓值為900mV,其與參考電壓之差值為0V。因此,輸出信號之工作週期為50%,進而推得第二信號相對於第一信號沒有延遲。。 According to the second column of Table 1, the average voltage value of the output signal measured at the output of the logic circuit is 900mV, and the difference from the reference voltage is 0V. Therefore, the duty cycle of the output signal is 50%, and thus the second signal is not delayed relative to the first signal. .

根據表1第3欄,邏輯電路之輸出端所量測到的輸出信號之平均電壓值為936mV,其與參考電壓之差值為36mV。因此,輸出信號之工作週期為52%。根據輸出信號之工作週期為52%,可推得第二信號相對於第一信號之延遲時間為200ns。 According to the third column of Table 1, the average voltage value of the output signal measured at the output of the logic circuit is 936 mV, and the difference from the reference voltage is 36 mV. Therefore, the duty cycle of the output signal is 52%. According to the duty cycle of the output signal is 52%, the delay time of the second signal relative to the first signal is 200 ns.

同理,根據表1第4欄之邏輯電路之輸出端所量測到的輸出信號之平均電壓值,可推得第二信號相對於第一信號之延遲時間為500ns。 Similarly, according to the average voltage value of the output signal measured at the output of the logic circuit in the fourth column of Table 1, the delay time of the second signal relative to the first signal is 500 ns.

圖4為根據本發明之一實施例之邏輯電路之示意圖。如圖4所示,圖1所示之邏輯電路5可包含圖4所示的及閘(AND gate)。在圖4中,第一信號係由圖1所示之時脈產生器2所產生具有100KHz(週期為10μs)頻率及1.8V振幅之方波。第二信號為將第一信號輸入至如圖1所示之待測電路3所獲得之可能具有延遲時間(Td)之方波。根據及閘之特性,當輸入如圖4所示之第一信號及第二信號時,可獲得如圖4所示 之輸出信號。若時脈產生器2所產生之第一信號為具有50%之工作週期之方波,則第一信號之平均電壓(亦即參考電壓)為900mV。 4 is a schematic diagram of a logic circuit in accordance with an embodiment of the present invention. As shown in FIG. 4, the logic circuit 5 shown in FIG. 1 may include an AND gate as shown in FIG. In Fig. 4, the first signal is a square wave having a frequency of 100 kHz (period of 10 μs) and an amplitude of 1.8 V generated by the clock generator 2 shown in Fig. 1. The second signal is a square wave obtained by inputting the first signal to the circuit under test 3 as shown in FIG. 1 and having a delay time (Td). According to the characteristics of the gate, when the first signal and the second signal as shown in FIG. 4 are input, as shown in FIG. 4, The output signal. If the first signal generated by the clock generator 2 is a square wave having a duty cycle of 50%, the average voltage of the first signal (ie, the reference voltage) is 900 mV.

可使用圖1所示的電壓計6量測第一信號之平均電壓以獲得參考電壓及量測輸出信號之平均電壓以獲得第一電壓,並根據參考電壓及第一電壓之差值,獲得輸出信號之工作週期,進而決定第二信號相對於第一信號之延遲時間。 The voltmeter 6 shown in FIG. 1 can be used to measure the average voltage of the first signal to obtain a reference voltage and measure the average voltage of the output signal to obtain a first voltage, and obtain an output according to the difference between the reference voltage and the first voltage. The duty cycle of the signal, in turn, determines the delay time of the second signal relative to the first signal.

表2列舉三個實施例來說明所量測到圖4之及閘輸出信號之平均電壓(第一電壓)與參考電壓之差值與工作週期及延遲時間之關係。 Table 2 lists three embodiments to illustrate the relationship between the difference between the average voltage (first voltage) of the gate output signal of FIG. 4 and the reference voltage and the duty cycle and delay time.

根據表2第2欄,邏輯電路之輸出端所量測到的輸出信號之平均電壓值為900mV,其與參考電壓之差值為0V。因此,輸出信號之工作週期為50%,進而得知第二信號相對於第一信號沒有延遲。 According to the second column of Table 2, the average voltage value of the output signal measured at the output of the logic circuit is 900 mV, and the difference from the reference voltage is 0V. Therefore, the duty cycle of the output signal is 50%, and it is known that the second signal has no delay with respect to the first signal.

根據表2第3欄,邏輯電路之輸出端所量測到的輸出信號之平均電壓值為864mV,其與參考電壓之差值為36mV。因此,輸出信號之工作週期為48%。根據輸出信號之工作週期為48%,可推得第二信號相對於第一信號之延遲時間為200ns。 According to column 3 of Table 2, the average voltage of the output signal measured at the output of the logic circuit is 864 mV, which is 36 mV from the reference voltage. Therefore, the duty cycle of the output signal is 48%. According to the duty cycle of the output signal is 48%, the delay time of the second signal relative to the first signal is 200 ns.

同理,根據表2第4欄之邏輯電路之輸出端所量測到的輸出信號之平均電壓值,可推得第二信號相對於第一信號之延遲時間為500ns。 Similarly, according to the average voltage value of the output signal measured at the output of the logic circuit in the fourth column of Table 2, the delay time of the second signal relative to the first signal is 500 ns.

圖5為根據本發明之一實施例之邏輯電路之示意圖。如圖5所 示,圖1所示之邏輯電路5可包含圖5所示的互斥或閘(XOR gate)。在圖5中,第一信號係由圖1所示之時脈產生器2所產生具有100KHz(週期為10μs)頻率及1.8V振幅之方波。第二信號為將第一信號輸入至如圖1所示之待測電路3所獲得之可能具有延遲時間(Td)之方波。根據互斥或閘之特性,當輸入如圖5所示之第一信號及第二信號時,可獲得如圖5所示之輸出信號。若時脈產生器2所產生之第一信號為具有50%之工作週期之方波,則第一信號之平均電壓(亦即參考電壓)為900mV。 Figure 5 is a schematic illustration of a logic circuit in accordance with an embodiment of the present invention. As shown in Figure 5 It can be noted that the logic circuit 5 shown in FIG. 1 can include the XOR gate shown in FIG. 5. In Fig. 5, the first signal is generated by the clock generator 2 shown in Fig. 1 with a square wave having a frequency of 100 kHz (period of 10 μs) and an amplitude of 1.8 V. The second signal is a square wave obtained by inputting the first signal to the circuit under test 3 as shown in FIG. 1 and having a delay time (Td). According to the characteristics of the mutual exclusion or the gate, when the first signal and the second signal as shown in FIG. 5 are input, an output signal as shown in FIG. 5 can be obtained. If the first signal generated by the clock generator 2 is a square wave having a duty cycle of 50%, the average voltage of the first signal (ie, the reference voltage) is 900 mV.

可使用圖1所示的電壓計6量測第一信號之平均電壓以獲得參考電壓及量測輸出信號之平均電壓以獲得第一電壓,並根據參考電壓及第一電壓之差值,獲得輸出信號之工作週期,進而決定第二信號相對於第一信號之延遲時間。 The voltmeter 6 shown in FIG. 1 can be used to measure the average voltage of the first signal to obtain a reference voltage and measure the average voltage of the output signal to obtain a first voltage, and obtain an output according to the difference between the reference voltage and the first voltage. The duty cycle of the signal, in turn, determines the delay time of the second signal relative to the first signal.

表3列舉三個實施例來說明所量測到圖5之互斥或閘輸出信號之平均電壓(第一電壓)與參考電壓之差值與工作週期及延遲時間之關係。 Table 3 lists three embodiments to illustrate the relationship between the average voltage (first voltage) of the mutex or gate output signal of Figure 5 and the reference voltage as a function of duty cycle and delay time.

根據表3第2欄,邏輯電路之輸出端所量測到的輸出信號之平均電壓值為0mV,其與參考電壓之差值為900mV。因此,輸出信號之工作週期為0%,進而推得第二信號相對於第一信號沒有延遲。 According to the second column of Table 3, the average voltage value of the output signal measured at the output of the logic circuit is 0 mV, and the difference from the reference voltage is 900 mV. Therefore, the duty cycle of the output signal is 0%, and thus the second signal is not delayed relative to the first signal.

根據表3第3欄,邏輯電路之輸出端所量測到的輸出信號之平均 電壓值為72mV,其與參考電壓之差值為828mV。因此,輸出信號之工作週期為4%。根據輸出信號之工作週期為4%,可推得第二信號相對於第一信號之延遲時間為200ns。 According to the third column of Table 3, the average of the output signals measured at the output of the logic circuit The voltage value is 72mV, which is 828mV from the reference voltage. Therefore, the duty cycle of the output signal is 4%. According to the duty cycle of the output signal is 4%, the delay time of the second signal relative to the first signal is 200 ns.

同理,根據表2第4欄之邏輯電路之輸出端所量測到的輸出信號之平均電壓值,可推得第二信號相對於第一信號之延遲時間為500ns。 Similarly, according to the average voltage value of the output signal measured at the output of the logic circuit in the fourth column of Table 2, the delay time of the second signal relative to the first signal is 500 ns.

根據圖3-5之實施例可知,由於邏輯電路的組成不同,第二信號相較於第一信號之延遲時間與輸出信號之平均電壓及參考電壓差值之間的關係亦不相同。本案所屬領域具有通常知識者應知曉除了圖3-5之實施例外,其他適合用以偵測輸入信號之相位差之電路亦可用以作為本揭露之邏輯電路。因此,根據圖3-5之實施例僅用來進一步說明,以幫助理解本揭露之技術特徵,並非用以限制本揭露之範疇。 According to the embodiment of FIG. 3-5, the relationship between the delay time of the second signal and the average voltage of the output signal and the reference voltage difference is different due to the difference in the composition of the logic circuit. Those skilled in the art to which the present invention pertains should be aware that other circuits suitable for detecting the phase difference of the input signal may be used as the logic circuit of the present disclosure, except for the implementation of FIGS. 3-5. Therefore, the embodiments of the present invention are not limited to the scope of the disclosure.

根據本揭露,僅需使用邏輯電路及電壓計,即可藉由量測邏輯電路之輸出信號之平均電壓而推得待測電路之延遲時間。若僅需要測量待測電路之延遲時間時,則不需使用價格昂貴之示波器。示波器與電壓計之成本相差數倍至數十倍,因此,本揭露之量測方法可大幅降低測試成本。 According to the disclosure, the logic circuit and the voltmeter can be used to estimate the delay time of the circuit to be tested by measuring the average voltage of the output signal of the logic circuit. If you only need to measure the delay time of the circuit under test, you do not need to use an expensive oscilloscope. The cost of an oscilloscope and a voltmeter differs several times to tens of times. Therefore, the measurement method of the present disclosure can greatly reduce the test cost.

此外,如本揭露所載,根據量測邏輯電路之輸出信號之平均電壓可推得待測電路之延遲時間。反之,若給定一延遲時間,可反推邏輯電路之輸出信號之平均電壓值。因此,使用者僅需量測邏輯電路之輸出信號之平均電壓,即可得知該待測電路是否符合規定之延遲時間,而不需將待測電路之輸出信號採樣並顯示於示波器上,再計算其延遲時間。如此,除了可降低測試成本外,還可提升工作效率。 In addition, as disclosed in the present disclosure, the average voltage of the output signal of the measurement logic circuit can be used to derive the delay time of the circuit to be tested. Conversely, if a delay time is given, the average voltage value of the output signal of the logic circuit can be reversed. Therefore, the user only needs to measure the average voltage of the output signal of the logic circuit to know whether the circuit to be tested meets the specified delay time, and does not need to sample and display the output signal of the circuit to be tested on the oscilloscope. Calculate its delay time. In this way, in addition to reducing the cost of testing, it can also improve work efficiency.

再者,一般示波器在測量高頻信號時,其採樣率並無法準確的對輸入信號進行採樣,故所採樣到的波形會有失真的情況。因此,必須使用更高採樣率之示波器或者對輸入信號降頻,再進行取樣。然 而,使用具高採樣率之示波器會大幅增加測試成本,而將輸入信號降頻再進行取樣,或將因為降頻過程中所產生之頻率、電壓位準、相位等偏差導致量測結果具有誤差值。由於本揭露僅需使用電壓計測量輸出信號之平均電壓,而不用對輸出信號進行採樣。因此,待測電路之頻率高低對本揭露之測量方法較無影響。亦即,本揭露可更精確的測量高頻之待測電路。 Furthermore, when a general oscilloscope measures a high-frequency signal, its sampling rate cannot accurately sample the input signal, so the sampled waveform may be distorted. Therefore, you must use an oscilloscope with a higher sampling rate or down-convert the input signal before sampling. Of course However, using an oscilloscope with a high sampling rate will greatly increase the test cost, and the input signal will be down-converted and then sampled, or the measurement results will have errors due to deviations in frequency, voltage level, phase, etc. generated during the down-conversion process. value. Since the present disclosure only needs to use a voltmeter to measure the average voltage of the output signal, it does not need to sample the output signal. Therefore, the frequency of the circuit to be tested has no influence on the measurement method of the present disclosure. That is, the present disclosure can more accurately measure the high frequency circuit under test.

雖然本發明之技術內容與特徵係如上所述,然於本發明之技術領域具有通常知識者仍可在不悖離本發明之教導與揭露下進行許多變化與修改。因此,本發明之範疇並非限定於已揭露之實施例而係包含不悖離本發明之其他變化與修改,其係如下列申請專利範圍所涵蓋之範疇。 While the invention has been described with respect to the embodiments of the present invention, it will be apparent to those skilled in the art of the invention. Therefore, the scope of the invention is not limited to the disclosed embodiments, and other changes and modifications may be made without departing from the scope of the invention.

S1‧‧‧量測第一信號之平均電壓,以獲得參考電壓 S1‧‧‧ measures the average voltage of the first signal to obtain the reference voltage

S2‧‧‧將第一信號輸入至待測電路,以獲得第二信號 S2‧‧‧ input the first signal to the circuit to be tested to obtain the second signal

S3‧‧‧將第一信號及第二信號輸入至邏輯電路,以獲得輸出信號 S3‧‧‧ input the first signal and the second signal to the logic circuit to obtain the output signal

S4‧‧‧量測輸出信號之平均電壓,以獲得第一電壓 S4‧‧‧Measure the average voltage of the output signal to obtain the first voltage

S5‧‧‧根據參考電壓及第一電壓之差值,獲得輸出信號之工作週期 S5‧‧‧Actain the duty cycle of the output signal based on the difference between the reference voltage and the first voltage

S6‧‧‧根據工作週期,以決定第二信號相對於第一信號之延遲時間 S6‧‧‧ according to the duty cycle, to determine the delay time of the second signal relative to the first signal

Claims (20)

一種量測信號延遲時間之方法,其包含:將一第一信號及一第二信號輸入至一邏輯電路,以獲得一輸出信號;量測該輸出信號之平均電壓,以獲得一第一電壓;及根據該第一電壓與一參考電壓之差值決定該第二信號相對於該第一信號之延遲時間。 A method for measuring a signal delay time, comprising: inputting a first signal and a second signal to a logic circuit to obtain an output signal; measuring an average voltage of the output signal to obtain a first voltage; And determining a delay time of the second signal relative to the first signal according to a difference between the first voltage and a reference voltage. 如請求項1之方法,其中該參考電壓係為該第一信號之平均電壓。 The method of claim 1, wherein the reference voltage is an average voltage of the first signal. 如請求項1或2之方法,其中該邏輯電路經操作以根據該第一信號及該第二信號之相位差而決定該輸出信號之一工作週期(duty cycle)。 The method of claim 1 or 2, wherein the logic circuit is operative to determine a duty cycle of the output signal based on a phase difference between the first signal and the second signal. 如請求項3之方法,其進一步包含根據該輸出信號之該工作週期,決定該第二信號相對於該第一信號之延遲時間。 The method of claim 3, further comprising determining a delay time of the second signal relative to the first signal based on the duty cycle of the output signal. 如請求項1或2之方法,其中該邏輯電路經操作以根據該第一信號及該第二信號之間的邏輯值關係而決定該輸出信號之邏輯值。 The method of claim 1 or 2, wherein the logic circuit is operative to determine a logic value of the output signal based on a logical value relationship between the first signal and the second signal. 如請求項5之方法,其中該邏輯電路可為及閘(AND gate)、非及閘(NAND gate)、或閘(OR gate)、非或閘(NOR gate)、互斥或閘(XOR gate)、正反器(flip flop)之一者或其組合。 The method of claim 5, wherein the logic circuit can be an AND gate, a NAND gate, an OR gate, a NOR gate, a mutual exclusion or a gate (XOR gate). ), one of the flip flops, or a combination thereof. 如請求項1或2之方法,其中該第一信號及該第二信號為方波。 The method of claim 1 or 2, wherein the first signal and the second signal are square waves. 如請求項1或2之方法,其中該第一電壓係藉由一可量測平均電壓之電壓計所量測。 The method of claim 1 or 2, wherein the first voltage is measured by a voltmeter that measures the average voltage. 如請求項8之方法,其中該電壓計為三用電錶。 The method of claim 8, wherein the voltmeter is a three-meter power meter. 如請求項8之方法,其中該電壓計可量測到小於10毫伏特之電 壓。 The method of claim 8, wherein the voltmeter can measure less than 10 millivolts of electricity Pressure. 一種量測信號延遲時間之裝置,其包含:一待測電路,該待測電路包含一輸入端及一輸出端,其中該輸出端之信號相對於該輸入端之信號具有一延遲時間;一時脈產生器,該時脈產生器包含一連接該待測電路之輸入端的輸出端;一邏輯電路,該邏輯電路包含一第一輸入端、一第二輸入端以及一輸出端,該第一輸入端連接該時脈產生器之輸出端,該第二輸入端連接該待測電路之輸出端;以及一電壓量測裝置,該電壓量測裝置連接該邏輯電路之輸出端。 A device for measuring a signal delay time includes: a circuit to be tested, the circuit to be tested includes an input end and an output end, wherein the signal of the output end has a delay time relative to the signal of the input end; a generator, the clock generator includes an output connected to an input end of the circuit to be tested; a logic circuit including a first input terminal, a second input terminal, and an output terminal, the first input terminal An output terminal of the clock generator is connected, the second input terminal is connected to an output end of the circuit to be tested, and a voltage measuring device is connected to the output end of the logic circuit. 如請求項11之裝置,其中該邏輯電路接收一第一信號及一第二信號,以獲得一輸出信號。 The device of claim 11, wherein the logic circuit receives a first signal and a second signal to obtain an output signal. 如請求項12之裝置,其中該電壓量測裝置量測該輸出信號之平均電壓,以獲得一第一電壓,並根據該第一電壓與一參考電壓之差值決定該第二信號相對於該第一信號之延遲時間。 The device of claim 12, wherein the voltage measuring device measures an average voltage of the output signal to obtain a first voltage, and determines the second signal relative to the first voltage according to a difference between the first voltage and the reference voltage The delay time of the first signal. 如請求項13之裝置,其中該參考電壓係為該第一信號之平均電壓。 The device of claim 13, wherein the reference voltage is an average voltage of the first signal. 如請求項11之裝置,進一步包含一電源供應器,該電源供應器連接至該時脈產生器、該待測電路以及該邏輯電路。 The apparatus of claim 11, further comprising a power supply coupled to the clock generator, the circuit to be tested, and the logic circuit. 如請求項11之裝置,其中該邏輯電路可為及閘(AND gate)、非及閘(NAND gate)、或閘(OR gate)、非或閘(NOR gate)、互斥或閘(XOR gate)、正反器(flip flop)之一者或其組合。 The device of claim 11, wherein the logic circuit can be an AND gate, a NAND gate, an OR gate, a NOR gate, a mutual exclusion or a gate (XOR gate). ), one of the flip flops, or a combination thereof. 如請求項12之裝置,其中該邏輯電路經操作以根據該第一信號及該第二信號之相位差而決定該輸出信號之一工作週期。 The apparatus of claim 12, wherein the logic circuit is operative to determine a duty cycle of the output signal based on a phase difference between the first signal and the second signal. 如請求項17之裝置,其進一步包含根據該輸出信號之該工作週 期,決定該第二信號相對於該第一信號之延遲時間。 The device of claim 17, further comprising the work week based on the output signal And determining a delay time of the second signal relative to the first signal. 如請求項12之裝置,其中該邏輯電路經操作以根據該第一信號及該第二信號之間的邏輯值關係而決定該輸出信號之邏輯值。 The apparatus of claim 12, wherein the logic circuit is operative to determine a logic value of the output signal based on a logical value relationship between the first signal and the second signal. 如請求項11之裝置,其中該電壓量測裝置為電壓計或三用電錶。 The device of claim 11, wherein the voltage measuring device is a voltmeter or a three-meter.
TW103141086A 2014-11-26 2014-11-26 Device and method of detecting signal delay TWI570418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103141086A TWI570418B (en) 2014-11-26 2014-11-26 Device and method of detecting signal delay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103141086A TWI570418B (en) 2014-11-26 2014-11-26 Device and method of detecting signal delay

Publications (2)

Publication Number Publication Date
TW201619615A TW201619615A (en) 2016-06-01
TWI570418B true TWI570418B (en) 2017-02-11

Family

ID=56754977

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103141086A TWI570418B (en) 2014-11-26 2014-11-26 Device and method of detecting signal delay

Country Status (1)

Country Link
TW (1) TWI570418B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051113B (en) * 2021-03-17 2024-02-06 胜达克半导体科技(上海)股份有限公司 Method for modifying and grabbing AWG waveform data during dynamic debugging of chip tester

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5101117A (en) * 1988-02-17 1992-03-31 Mips Computer Systems Variable delay line phase-locked loop circuit synchronization system
US5534808A (en) * 1992-01-31 1996-07-09 Konica Corporation Signal delay method, signal delay device and circuit for use in the apparatus
US7054205B2 (en) * 2003-10-28 2006-05-30 Agilent Technologies, Inc. Circuit and method for determining integrated circuit propagation delay
TW200741226A (en) * 2006-03-10 2007-11-01 Advantest Corp Calibration apparatus, calibration method, testing apparatus, and testing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5101117A (en) * 1988-02-17 1992-03-31 Mips Computer Systems Variable delay line phase-locked loop circuit synchronization system
US5534808A (en) * 1992-01-31 1996-07-09 Konica Corporation Signal delay method, signal delay device and circuit for use in the apparatus
US7054205B2 (en) * 2003-10-28 2006-05-30 Agilent Technologies, Inc. Circuit and method for determining integrated circuit propagation delay
TW200741226A (en) * 2006-03-10 2007-11-01 Advantest Corp Calibration apparatus, calibration method, testing apparatus, and testing method

Also Published As

Publication number Publication date
TW201619615A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN102970007B (en) For the method and apparatus of time current conversion
CN103969614B (en) A kind of calibration steps of digital multimeter
CN104535918A (en) Cross clock domain synchronizer internal constant testing circuit and method
US20200378813A1 (en) Calibration circuit and associated signal processing circuit and chip
TWI570418B (en) Device and method of detecting signal delay
TWI394972B (en) Method and system for estimating battery percentage
US20160146883A1 (en) Device and method of detecting signal delay
CN102854386B (en) A kind of method for testing resistance
JP2007279039A (en) Method of measuring impedance of electronic circuit
JP5897393B2 (en) Resistance measuring device
US9645195B2 (en) System for testing integrated circuit
CN103954854A (en) Testing method and device for pogo pin electrical performance
JP7080757B2 (en) Impedance measuring device and impedance measuring method
Zhang et al. Gate capacitance measurement using a self-differential charge-based capacitance measurement method
JP5774370B2 (en) Waveform measuring device
TWI438445B (en) Measurement method of signal delay time
CN105807134A (en) Frequency tester and frequency test system
Andria et al. Automatic calibration system for digital instruments without built-in communication interface
JP5254898B2 (en) Semiconductor inspection method
Pálfi et al. Improving the result of the histogram test using a fast sine fit algorithm
CN109581067A (en) A kind of capacitance measuring device based on FPGA speed receiver
Feng et al. A Method for Analog Integrated Circuit Embedded Self-Test
TWI489168B (en) Apparatus and method for inspecting object characteristic
JP2012220367A (en) Resistance measuring apparatus and resistance measuring method
US20160028387A1 (en) Measuring delay between signal edges of different signals using an undersampling clock