1. Field of the Invention
The present invention relates to a testing circuit, and more particularly, to a circuit testing apparatus capable of testing an analog signal accurately.
2. Description of the Prior Art
With developments of technology, the functions of an integrated circuit (IC) become more and more complicated. In addition to analog-signal integrated circuits (ICs) for purely processing analog signals, and digital-signal ICs for purely processing digital signals, multiple ICs capable of processing analog and digital signals are also available, and are usually called mixed-signal ICs. In general, each IC, whether it is a digital-signal IC, an analog-signal IC or a mixed-signal IC, will be tested after its fabrication process to ensure the quality. Manufacturers determine whether an IC can be sold to customers according to the test results. Taking an example of a common IC testing scheme, a mixed-signal tester is usually utilized for testing ICs after the fabrication process. Current mixed-signal testers are very expensive; therefore, if the mixed-signal testers are utilized for testing analog-signal ICs or mixed-signal ICs, a long testing period is required and the total cost increases significantly.
Additionally, in comparison to testing digital-signal ICs, testing analog-signal ICs and mixed-signal ICs is more complicated, and accuracy requirements often need to be higher. The accuracy of a conventional testing scheme for testing analog signals generated from analog-signal ICs (or mixed-signal ICs) is not good enough, however. The accuracy is often down to only 10 mV˜20 mV. If an analog signal under test is amplified through a system by +60 dB˜100 dB, noise existing in the analog signal under test may be amplified from a voltage level below 10 mV to a voltage level above 10V, and the system will be influenced by the amplified noise. In other words, a test result may not be reliable. It is important to provide a testing scheme capable of supporting a higher accuracy requirement to increase reliability of the system.
Therefore one of the objectives of the present invention is to provide a testing scheme capable of reducing cost and improving accuracy, to solve the above-mentioned problems.
According to embodiments of the present invention, a circuit testing apparatus for testing a device is disclosed. The circuit testing apparatus comprises a filtering circuit, an amplifying circuit, a comparing module, and a result-examining module. The filtering circuit is utilized for filtering an analog output signal generated by the device under test to generate a filtered signal. The amplifying circuit is coupled to the filtering circuit and utilized for amplifying the filtered signal to generate an amplified signal. The comparing module is coupled to the amplifying circuit and utilized for comparing the amplified signal with at least a reference level to generate at least a result signal. The result-examining module is coupled to the comparing module and utilized for examining the result signal to determine a test result of the device under test.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Please refer to
As shown in
The filtering circuit 120 is a band pass filter (BPF) and utilized for filtering out frequency components in the analog output signal outside a band where sounds can be heard by human ears in order to generate the filtered signal FS. For example, the band where sounds can be heard by human ears is approximately 20 Hz˜20 KHz, so the filtering circuit 120 can be achieved by a high pass filter (HPF) having a cut-off frequency at 20 Hz and a low pass filter (LPF) having a cut-off frequency at 20 KHz. The amplifying circuit 130 is utilized for amplifying the filtered signal FS to generate an amplified signal AS according to a gain G of the amplifying circuit 130. The gain G is adjustable, and the logic tester 154 controls the gain G by a continuous built-in test (C-Bit) control unit 155. In addition, in this embodiment, the amplifying circuit 130 only has one amplifying path. However, in other embodiments, the amplifying circuit 130 has two amplifying paths. That is, the amplifying circuit 130 is composed of a first amplifying circuit and a second amplifying circuit (both the first and second amplifying circuits are not shown in
The first comparing circuit 141 is utilized for comparing the amplified signal AS with a first reference level RL1 to generate a first result signal RS1. The second comparing circuit 142 is utilized for comparing the amplified signal AS with a second reference level RL2 to generate a second result signal RS2. In this embodiment, the first reference level RL1 is designed to be a positive voltage level and the second reference level RL2 is designed to be a negative voltage level. However, this is not meant to be a limitation of the present invention. Utilizing the first comparing circuit 141 and second comparing circuit 142, both the voltage levels of the first result signal RS1 and second result signal RS2 correspond to a logic value ‘1’ when a voltage level of the amplified signal AS is higher than that of the first reference level RL1. The voltage level of the first result signal RS1 corresponds to a logic value ‘0’ and the voltage level of the second result signal RS2 corresponds to the logic value ‘1’ when the voltage level of the amplified signal AS is between the first reference level RL1 and second reference level RL2. Similarly, both the voltage levels of the first result signal RS1 and second result signal RS2 correspond to the logic value ‘0’ when the voltage level of the amplified signal AS is lower than that of the second reference level RL2. Furthermore, the first and second reference levels RL1, RL2 are adjustable and controlled by the logic tester 154 through the C-Bit control unit 155.
In the result-examining module 150, the inverter 151 is utilized for inverting the second result signal RS2 to generate an inverted result signal RS2′, and the OR gate 152 is utilized for performing a logic OR operation on the first result signal RS1 and the inverted result signal RS2′ to generate a combined signal CS. In this embodiment, the flip-flop 153 is a D-type flip-flop having an input terminal D, a clock input terminal CK, a reset terminal R, and an output terminal Q. The input terminal D is utilized for receiving a specific logic value ‘1’, and the clock input terminal CK is coupled to the OR gate 152 and utilized for receiving the combined signal CS. The reset terminal R is coupled to the logic tester 154 and utilized for receiving a reset command from the logic tester 154, and the output terminal Q is utilized for outputting a flip-flop signal FFS to the logic tester 154.
Before starting tests, the logic tester 154 resets the flip-flop 153 to reset the flip-flop signal FFS as a voltage level corresponding to the logic value ‘0’. After starting tests, the logic tester 154 determines a test result for the DUT 10 according to the flip-flop signal FFS. If the flip-flop signal FFS is continuously kept at the voltage level corresponding to the logic value ‘0’ after starting tests, this means that almost no noise (e.g. clicking noise or popping noise) exists in the analog output signal AOS. However, if the flip-flop signal FFS is changed to a voltage level corresponding to the logic value ‘1’, this means that some noise exists in the analog output signal AOS. Therefore, the logic tester 154 can determine the test result for the DUT 10 according to the flip-flop signal FFS.
It should be noted that, in
The circuit testing apparatus 100 shown in
In the above-mentioned embodiments, through the C-Bit control unit 155, the logic tester 154 can control the gain of the amplifying circuit 130 and the reference levels, so the circuit testing apparatus can be utilized for testing voltages caused by different noise levels adaptively. Additionally, through the circuit testing apparatus in each of the above-mentioned embodiments, the accuracy of noise testing can be improved; even a voltage difference (5 mV) incurred by noise can also be detected by the circuit testing apparatus. This accuracy is more precise than that of a conventional circuit testing apparatus. Due to the improved accuracy, when the circuit testing apparatus in the present invention are utilized for testing an analog signal, the reliability of the test result will also be improved considerably. Moreover, the components in each embodiment of the present invention are not more expensive than the mixed-signal tester (which is usually very expensive) utilized by the conventional testing scheme. As mentioned above, by utilizing the circuit testing apparatus, not only hardware cost is reduced but the efficiency is also improved while testing signals. The above-mentioned description details the advantages of the present invention.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
95215014 U | Aug 2006 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
7868639 | Shirvani-Mahdavi et al. | Jan 2011 | B1 |
Number | Date | Country | |
---|---|---|---|
20080063212 A1 | Mar 2008 | US |