This application claims priority to Taiwan Application Serial Number 101106046, filed Feb. 23, 2012, which is herein incorporated by reference.
1. Technical Field
The present disclosure relates to a circuit testing method. More particularly, the present disclosure relates to a signal transition detection circuit and method of the same.
2. Description of Related Art
Testing is in important stage during the manufacturing process of an electric circuit or a chip. A well-designed test process can perform verification on different parameters of the electric circuit and the chip such that the reliability of the electric circuit and the chip can be guaranteed. Transition point is an important test item of the electric circuit. However, the transition of the output voltage of the under-test circuit becomes unstable when the speed of the test procedure becomes faster such that it is hard to determine the exact position of the transition point. Further, the delay of the signal generated in the test circuit may cause inaccurate test result.
Accordingly, what is needed is a signal transition detection circuit and method of the same to overcome the above issues. The present disclosure addresses such a need.
An aspect of the present disclosure is to provide a signal transition detection circuit. The signal transition detection circuit comprises a counter module, a digital to analog converter (DAC), a comparator and a digital sampling module. The counter module generates a digital step signal. The DAC converts the digital step signal into an analog input signal and transmits the analog input signal to an under-test circuit such that the under-test circuit generates an output signal transiting from a first stable level to a second stable level, wherein a transition section is located between the first stable level and the second stable level. The comparator receives the output signal and compares the output signal with a default value to generate a normalized output signal. The digital sampling module samples the normalized output signal to retrieve a plurality of impulses from the transition section and the second stable level such that when the number of the plurality of impulses is accumulated to be larger than a reference value, a corresponding step of the digital step signal is determined to be a transition point.
Another aspect of the present disclosure is to provide a signal transition detection method used in a signal transition detection circuit. The signal transition detection method comprises the steps outlined below. A digital step signal is generated. The digital step signal is converted into an analog input signal and the analog input signal is transmitted to an under-test circuit such that the under-test circuit generates an output signal transiting from a first stable level to a second stable level, wherein a transition section is located between the first stable level and the second stable level. The output signal is compared with a default value to generate a normalized output signal. The normalized output signal is sampled to retrieve a plurality of impulses from the transition section and the second stable level. A corresponding step of the digital step signal is determined to be a transition point when the number of the plurality of impulses is accumulated to be larger than a reference value.
It is to be understood that both the foregoing general description and the following detailed description are by examples, and are intended to provide further explanation of the disclosure as claimed.
The disclosure can be more fully understood by reading the following detailed description of the embodiment, with reference made to the accompanying drawings as follows:
Reference will now be made in detail to the present embodiments of the disclosure, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
The control module 100 controls the counter module 104 through the control interface 102 such that the counter module 104 is able to generate a digital step signal 101. In an embodiment, the control module 100 is implemented by a central processing unit of a host to set up the counter module 104 through the control interface 102.
In
The comparator 108 depicted in
The digital sampling module 110 depicted in
For example, the reference value can be set to two such that the determining unit 136 of the digital sampling module 110 generates an intimating signal 111 to the counter module 104 and the control interface 102 when the number of the impulses is larger than two. In other embodiments, the reference value can be set to other suitable values according to the need or the experience. In the present embodiment, the counter module 104 stops to generate the digital step signal 101 upon the receipt of the intimating signal 111. The control module 100 can retrieve the information of the last outputted step of the digital step signal 101 through the control interface 102 and further determine the last outputted step is the transition point of the output signal 105 generated from the under-test circuit 120. The section of the sampled signal is closer to the second stable level when the number of the impulses is larger. Accordingly, in other embodiments, the reference value can be set to a larger value if the higher reliability is the concern such that the number of the impulses is accumulated to be larger than the reference value when the sampled signal 109 becomes stable.
Consequently, the signal transition detection circuit 1 in the present disclosure can detect the transition point of the output signal 105 of the under-test circuit 120 rapidly and accurately without being affected by the unstable oscillation of the transition section of the output signal 105 generated due to the high-speed transition.
The signal processing operations of the DAC 106, the comparator 108 and the digital sampling module 110 cause a delay effect. Hence, the intimating signal 111 generated by the digital sampling module 110 is not able to correspond to the actual step of the digital step signal due to the delay effect. The delay correction module 40 can calculate a delay time according to the DAC 106, the comparator 108 and the digital sampling module 110 such that when the counter module 104 stops to generate the digital step signal 101 according to the intimating signal 111, a step corresponding to a time that is a last generating time of the digital step signal 101 minus the delay time is determined to be the step that corresponding to he transition point.
In an embodiment, the delay correction module 40 further takes the time it needs to accumulate the impulses to be larger than the reference value into consideration. When a larger reference value is used such that the time to accumulate the number of impulses is longer, the delay correction module 40 can provide the related information such that the system can make the correction.
Consequently, the signal transition detection circuit 1 in the present disclosure can detect the transition point of the output signal 105 of the under-test circuit 120 rapidly and accurately without being affected by the unstable oscillation of the transition section of the output signal 105 generated due to the high-speed transition and the delay of the circuit.
In step 501, the counter module 104 generates the digital step signal 101. In step 502, the DAC 106 converts the digital step signal 101 into the analog input signal 103 and transmits the analog input signal 103 to the under-test circuit 120. In step 503, the under-test circuit 120 generates the output signal 105 transiting from the first stable level to the second stable level, wherein the transition section is located between the first stable level and the second stable level.
In step 504, the comparator 108 compares the output signal 105 with the default value to generate the normalized output signal 107. In step 505, the sampling module 110 samples the normalized output signal 107 to retrieve a plurality of impulses from the transition section and the second stable level. In step 506, whether the number of the plurality of impulses is accumulated to be larger than the reference value is determined. When the number of the impulses is not larger than the reference value, the flow goes back to step 505 to keep sampling the normalized output signal 107. When the number of the impulses is larger than the reference value, a corresponding step of the digital step signal is determined to be the transition point in step 507.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present disclosure without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the present disclosure cover modifications and variations of this disclosure provided they fall within the scope of the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5894280 | Ginetti et al. | Apr 1999 | A |
8094766 | Conner | Jan 2012 | B2 |
20050025195 | Barrett et al. | Feb 2005 | A1 |
20050134307 | Stojanovic et al. | Jun 2005 | A1 |
20060064259 | Zeng et al. | Mar 2006 | A1 |
20100201300 | Lyden et al. | Aug 2010 | A1 |
Number | Date | Country |
---|---|---|
WO 2011010314 | Jan 2011 | WO |
Number | Date | Country | |
---|---|---|---|
20130223493 A1 | Aug 2013 | US |