# Patent

## Title
Test apparatus, performance board and calibration board

## Abstract

Provided is a test apparatus that tests a device under test, comprising a waveform generator that generates a test signal to be supplied to the device under test; a digitizer that measures a response signal output by the device under test; a judging section that judges acceptability of the device under test based on the measurement result of the digitizer; and a loop-back path that connects an output terminal of the waveform generator to an input terminal of the digitizer when calibration is performed for the waveform generator and the digitizer. The loop-back path includes a noise removal filter that eliminates a noise component from a signal passed therethrough; and a path switching section that connects the waveform generator to the digitizer via the noise removal filter when the digitizer is being calibrated, and connects the waveform generator to the digitizer without including the noise removal filter therebetween when the waveform generator is being calibrated.

## Background
BACKGROUND
1. Technical Field
The present invention relates to a test apparatus, a performance board, and a calibration board.
2. Related Art
A semiconductor test apparatus measures several types of characteristics of a semiconductor device under test (DUT). For example, a semiconductor test apparatus may input to a semiconductor device a test signal generated by an arbitrary waveform generator (AWG). In this case, the measurement is performed after a waveform digitizer performs a high-speed and highly accurate digital conversion on the signal output from the semiconductor device. In this way, the semiconductor test apparatus can test whether the semiconductor device is operating properly.
Japanese Patent Application Publication No. 7-209354 and Japanese Patent Application Publication No. 3-296308 are related prior art documents.
The arbitrary waveform generator and the waveform digitizer include analog circuits that transmit analog signals. An ideal analog circuit outputs an analog signal having a prescribed frequency corresponding to the input signal. In practical application, however, the analog circuit outputs an analog signal that includes harmonic wave components caused by the non-linear characteristics of the elements in the analog circuit. As a result, waveform distortion occurs in the output signal.
By inputting a signal having a single frequency and no distortion into the analog circuit and calculating the difference between the input signal and the signal output by the analog circuit to identify the distortion, a distortion signal can be acquired that indicates the distortion caused by the analog signal. In other words, the non-linear distortion caused by the analog circuit can be compensated for if the acquired distortion signal is subtracted from the signal output by the analog circuit. However, different identification techniques are used for the arbitrary waveform generator and the waveform digitizer. Therefore, it is necessary to provide an apparatus that performs the identification for the arbitrary waveform generator and an apparatus that performs the identification for the waveform digitizer, which increases the size and the cost of the semiconductor test apparatus.
SUMMARY
Therefore, it is an object of an aspect of the innovations herein to provide a test apparatus, a performance board, and a calibration board, which are capable of overcoming the above drawbacks accompanying the related art. The above and other objects can be achieved by combinations described in the independent claims. The dependent claims define further advantageous and exemplary combinations of the innovations herein.
According to a first aspect related to the innovations herein, one exemplary test apparatus may include a test apparatus that tests a device under test, comprising a waveform generator that generates a test signal to be supplied to the device under test; a digitizer that measures a response signal output by the device under test; a judging section that judges acceptability of the device under test based on the measurement result of the digitizer; and a loop-back path that connects an output terminal of the waveform generator to an input terminal of the digitizer when calibration is performed for the waveform generator and the digitizer. The loop-back path includes a noise removal filter that eliminates a noise component from a signal passed therethrough; and a path switching section that connects the waveform generator to the digitizer via the noise removal filter when the digitizer is being calibrated, and connects the waveform generator to the digitizer without including the noise removal filter therebetween when the waveform generator is being calibrated.
According to a second aspect related to the innovations herein, one exemplary performance board may include a performance board that is in a test apparatus for testing a device under test and that is electrically connected to a terminal of the device under test. The test apparatus includes a waveform generator that generates a test signal to be supplied to the device under test; a digitizer that measures a response signal output by the device under test; and a judging section that judges acceptability of the device under test based on the measurement result of the digitizer. The performance board includes a loop-back path that connects an output terminal of the waveform generator to an input terminal of the digitizer when calibration is performed for the waveform generator and the digitizer. The loop-back path includes a noise removal filter that eliminates a noise component from a signal passed therethrough; and a path switching section that connects the waveform generator to the digitizer via the noise removal filter when the digitizer is being calibrated, and connects the waveform generator to the digitizer without including the noise removal filter therebetween when the waveform generator is being calibrated.
According to a third aspect related to the innovations herein, one exemplary calibration board may include a calibration board that is in a test apparatus for testing a device under test and that is used to calibrate (i) a waveform generator that generates a test signal to be supplied to the device under test and (ii) a digitizer that measures a response signal output by the device under test, the calibration board comprising a noise removal filter that eliminates a noise component from a signal passed therethrough; and a path switching section that connects the waveform generator to the digitizer via the noise removal filter when the digitizer is being calibrated, and connects the waveform generator to the digitizer without including the noise removal filter therebetween when the waveform generator is being calibrated.
The summary clause does not necessarily describe all necessary features of the embodiments of the present invention. The present invention may also be a sub-combination of the features described above. The above and other features and advantages of the present invention will become more apparent from the following description of the embodiments taken in conjunction with the accompanying drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows an exemplary configuration of a semiconductor test apparatus, which is an embodiment of the test apparatus according to the present invention.
FIG. 2 shows a functional configuration of a portion of the digital signal processing section for performing calibration.
FIG. 3 is a flow chart showing the identification process for the waveform digitizer.
FIG. 4 shows an exemplary spectrum calculated by the reference spectrum calculating section.
FIG. 5 shows an exemplary rearranged spectrum output by the reference data converting section.
FIG. 6 is a first exemplary flow chart showing the process of compensating for the waveform digitizer and the arbitrary waveform generator.
FIG. 7 shows a second example of functional configuration of a portion of the digital signal processing section for performing calibration.
FIG. 8 is a second exemplary flow chart showing the process of compensating for the waveform digitizer and the arbitrary waveform generator.
FIG. 9 is a flow chart showing the identification process for the arbitrary waveform generator.
FIG. 10 shows an exemplary frequency spectrum before rearrangement.
FIG. 11 shows an exemplary frequency spectrum after rearrangement.
FIG. 12 shows a sinusoidal waveform before frequency conversion.
FIG. 13 shows a sinusoidal waveform after frequency conversion.
FIG. 14 shows a frequency characteristic of a sinusoidal wave before frequency conversion.
FIG. 15 shows a frequency characteristic of a sinusoidal wave after frequency conversion.
FIG. 16 is a schematic view of the identification process for the waveform digitizer.
FIG. 17 is a schematic view of the compensation process for the waveform digitizer.
FIG. 18 is a schematic view of the identification process for the arbitrary waveform generator.
FIG. 19 is a schematic view of the compensation process for the arbitrary waveform generator.
FIG. 20 shows a generation model of non-linear distortion.
FIG. 21 is a schematic diagram of a frequency characteristic of a third-order polynomial approximation model of a non-linear characteristic.
FIG. 22 is a schematic diagram of an amplitude characteristic of a third-order polynomial approximation model of a non-linear characteristic.
FIG. 23 shows the effect of the third-order harmonic wave distortion on the fundamental wave component.
FIG. 24 shows an exemplary frequency spectrum of the harmonic wave distortion component.
FIG. 25 shows the signal transmission path when testing the device under test.
FIG. 26 shows the signal path when performing the identification process for the waveform digitizer.
FIG. 27 shows the signal path when the semiconductor test apparatus performs the identification process for the arbitrary waveform generator.
FIG. 28 shows the path switching section when performing a level conversion on the signal output by the arbitrary waveform generator.
FIG. 29 shows an exemplary reference signal generated by the arbitrary waveform generator.
FIG. 30 shows frequency characteristics of harmonic waves.
FIG. 31 shows a third exemplary configurational diagram of the digital signal processing section.
FIG. 32 shows frequency characteristics of the harmonic waves when a logarithmic conversion is applied to the frequency axis.
FIG. 33 shows another exemplary configuration of the distortion identifying section 440.
FIG. 34 measurement results obtained by measuring the second-order and third-order non-linear distortion in the arbitrary waveform generator 48 while changing a DC offset voltage of the signal output by the arbitrary waveform generator 48.
FIG. 35 shows compensation coefficients for the second-order and third-order non-linear distortion, corresponding to each DC offset voltage.
FIG. 36 shows an example of compensation for the second-order non-linear distortion using the compensation coefficients calculated by the distortion identifying section 440.
FIG. 37 shows an example of compensation for the third-order non-linear distortion using the compensation coefficients calculated by the distortion identifying section 440.
FIG. 38 shows another operational example of the semiconductor test apparatus 10.



DESCRIPTION OF EXEMPLARY EMBODIMENTS
Hereinafter, some embodiments of the present invention will be described. The embodiments do not limit the invention according to the claims, and all the combinations of the features described in the embodiments are not necessarily essential to means provided by aspects of the invention.
FIG. 1 shows an exemplary configuration of a semiconductor test apparatus 10, which is an embodiment of the test apparatus according to the present invention. The semiconductor test apparatus 10 includes a control section 20, a testing section 40, and a path switching section 60. The semiconductor test apparatus 10 is connected to a device under test 80 via a signal line 26 and a signal line 28. The semiconductor test apparatus 10 tests the device under test 80 by inputting a signal to the device under test 80 and measuring a response signal from the device under test 80.
The control section 20 performs overall control of the semiconductor test apparatus 10. The control section 20 includes a CPU 202, a memory 204, and a waveform generation control section 206. The testing section 40 includes a digital signal processing section 42, a memory 44, a waveform digitizer 46, and an arbitrary waveform generator 48. The digital signal processing section 42 uses data stored in the memory 44 to output a digital signal to the arbitrary waveform generator 48 according to instructions from the control section 20. The digital signal processing section 42 may identify and compensate for non-linear distortion occurring in the signals output by the waveform digitizer 46 and the arbitrary waveform generator 48.
The arbitrary waveform generator 48 converts the digital signal received from the digital signal processing section 42 into an analog signal, and then outputs the analog signal to the device under test 80 via the signal line 22. The waveform digitizer 46 converts the analog signal received from the device under test 80 via the signal line 24 into a digital signal. The digital signal processing section 42 analyzes the signal that is digitally converted by the waveform digitizer 46.
The control section 20 may perform calibration of the semiconductor test apparatus 10 based on a program stored in the memory 204. This calibration may be a process for identifying and compensating for non-linear distortion occurring in the signals output by the waveform digitizer 46 and the arbitrary waveform generator 48.
When calibration is performed for the waveform digitizer 46, the waveform generation control section 206 may cause the arbitrary waveform generator 48 to output a prescribed reference signal, and input this reference signal to the waveform digitizer 46 through a noise removal filter. When calibration is performed for the arbitrary waveform generator 48 after calibration of the waveform digitizer 46, the waveform generation control section 206 may cause the arbitrary waveform generator 48 to output a prescribed analog signal, and input this analog signal to the waveform digitizer 46 without passing through the noise removal filter.
FIG. 2 shows a functional configuration of a portion of the digital signal processing section 42 for calibrating the waveform digitizer 46 and the arbitrary waveform generator 48. The digital signal processing section 42 includes a fundamental wave phase detecting section 447, a phase rotating section 448, a distortion identifying section 440, a data extracting section 420, a judging section 430, a signal output control section 450, and a signal compensating section 460. When performing calibration, the digital signal processing section 42 identifies the non-linear distortion occurring in the signals output by the waveform digitizer 46 and the arbitrary waveform generator 48.
When supplying a signal to the device under test 80, the digital signal processing section 42 compensates for the non-linear distortion of the arbitrary waveform generator 48 based on the non-linear distortion of the arbitrary waveform generator 48 that has already been identified. Based on the identified non-linear distortion, the digital signal processing section 42 may generate a compensation coefficient used when compensating for the non-linear distortion. For example, the digital signal processing section 42 may compensate the waveform data supplied from the signal output control section 450 to the arbitrary waveform generator 48 based on this compensation coefficient, or may compensate the waveform of the signal output by the arbitrary waveform generator 48 based on this compensation coefficient.
When measuring the response signal from the device under test 80, the digital signal processing section 42 compensates for the non-linear distortion in the waveform digitizer 46 based on the non-linear distortion of the waveform digitizer 46 that has already been identified. Based on the identified non-linear distortion of the waveform digitizer 46, the digital signal processing section 42 may generate a compensation coefficient used when compensating for the non-linear distortion. For example, the digital signal processing section 42 may compensate the waveform data output by the waveform digitizer 46 based on this compensation coefficient. The judging section 430 judges acceptability of the device under test 80 based on the compensated output of the waveform digitizer 46.
The following is a description of functions performed by each component of the digital signal processing section 42 during calibration. The function of each component of the digital signal processing section 42 may be realized by a computer operating in accordance with a prescribed program.
The first description involves the function of the digital signal processing section 42 for identifying the non-linear distortion in the waveform digitizer 46. In this case, it is desirable that a signal having no non-linear distortion be input to the waveform digitizer 46. The non-linear distortion caused by the waveform digitizer 46 can be identified by detecting harmonic waves occurring in the output of the waveform digitizer 46 into which the signal having no non-linear distortion is input. The digital signal processing section 42 in the present example identifies amplitude components and phase components of the non-linear distortion by detecting the amplitude and the phase of the harmonic waves occurring in the output of the waveform digitizer 46.
In the present example, the arbitrary waveform generator 48 outputs a prescribed reference analog signal, and this reference analog signal is input to the waveform digitizer 46. At this time, in order to decrease the harmonic waves in the reference analog signal, a noise removal filter such as a low-pass filter may be provided between the arbitrary waveform generator 48 and the waveform digitizer 46. As another example, a reference analog signal without non-linear distortion may be input to the waveform digitizer 46 from an external signal source.
FIG. 3 is a flow chart showing the process of identifying the non-linear distortion caused by the waveform digitizer 46. The data extracting section 420 receives data of the reference digital signal output by the waveform digitizer 46 in response to the reference analog signal. Furthermore, the data extracting section 420 extracts, from the data of the reference digital signal, a duration of data corresponding to an integer multiple of the period of the reference analog signal. The data extracting section 420 may perform frequency characteristic correction to cancel out frequency characteristics of circuits in the waveform digitizer 46 (S301). For example, the data extracting section 420 may correct output data of the waveform digitizer 46 using a filter or the like that has a frequency characteristic that is the inverse of the frequency characteristic of the gain between input and output in the waveform digitizer 46.
The distortion identifying section 440 includes a reference spectrum calculating section 442, a reference data converting section 444, and a distortion detecting section 446, and identifies the non-linear distortion occurring in the waveform digitizer 46. The reference spectrum calculating section 442 calculates the spectrum of the reference digital signal output by the waveform digitizer 46, based on the data extracted by the data extracting section 420. The reference spectrum calculating section 442 may calculate the spectrum of the reference digital signal by performing a Fourier transform on the data extracted by the data extracting section 420 (S302).
FIG. 4 shows an exemplary spectrum calculated by the reference spectrum calculating section 442. In FIG. 4, the frequency components f0, 2f0, and 3f0 represent the fundamental wave component, the second-order harmonic wave component, and the third-order harmonic wave component of the reference digital signal. The frequency components f0′, 2f0′, and 3f0′ represent image components of the fundamental wave component, the second-order harmonic wave component, and the third-order harmonic wave component. FIG. 4 shows an amplitude spectrum that includes the harmonic wave components up to the third order, but this spectrum may include higher-order harmonic wave components.
At step S303 shown in FIG. 3, the reference data converting section 444 rearranges each frequency component in the spectrum of the reference digital signal along a frequency axis, such that the fundamental wave component and the harmonic wave components of the reference digital signal are within a first Nyquist region of the spectrum of the reference digital signal. Furthermore, the reference data converting section 444 rearranges each frequency component in the spectrum of the reference digital signal along a frequency axis, such that the image components of the fundamental wave component and the harmonic wave components are within a second Nyquist region of the spectrum of the reference digital signal. For example, the reference data converting section 444 may rearrange the frequency components of the spectrum by moving the fundamental wave component to the first frequency bin of the rearranged spectrum and moving a k-order harmonic wave component to a k-th frequency bin. The reference data converting section 444 may rearrange the frequency components in the same way for the amplitude spectrum and the phase spectrum of the reference digital signal. Here, k is a natural number.
The first Nyquist region refers to a frequency region from 0 to fs/2 or a frequency region from fs/2 to fs, where fs is the sampling frequency of the waveform digitizer 46. The second Nyquist region is whichever of the above-described frequency regions is not the first Nyquist region.
FIG. 5 shows an exemplary rearranged spectrum output by the reference data converting section 444. As described above, in the rearranged spectrum, the fundamental wave component and the harmonic wave components of the reference digital signal are in the first Nyquist region, and the image components are in the second Nyquist region.
At step S304 of FIG. 3, the fundamental wave phase detecting section 447 detects the phase of the fundamental wave component of the reference digital signal based on the spectrum calculated by the reference spectrum calculating section 442. For example, the fundamental wave phase detecting section 447 may detect the phase of the fundamental wave component based on the phase spectrum calculated by the reference spectrum calculating section 442. Instead, the fundamental wave phase detecting section 447 may detect the phase of the fundamental wave component based on the phase spectrum calculated by the reference data converting section 444. The fundamental wave phase detecting section 447 notifies the phase rotating section 448 about the detected phase of the fundamental wave component.
The phase rotating section 448 rotates the phase of each frequency component, in the spectrum in which each frequency component has been rearranged by the reference data converting section 444, based on the phase of the fundamental wave component. For example, the phase rotating section 448 may rotate the phase of each frequency component by (i) multiplying the fundamental wave component and the harmonic wave components by e^(−jωθ0) and (ii) multiplying the image components by e^(jωθ0). Here, θ0 represents the phase of the fundamental wave component and ω represents the frequency of each component.
In the present example, the reference data converting section 444 gathers the fundamental wave component and the harmonic wave components of the reference digital signal in the first Nyquist region, and gathers the image components in the second Nyquist region. Therefore, the phase rotating section 448 can easily rotate the phase of each frequency by (i) multiplying each frequency component in the first Nyquist region by e^(−jωθ0) and (ii) multiplying each frequency component in the second Nyquist region by e^(jωθ0).
Next, at step S305, the distortion detecting section 446 detects the non-linear distortion in the reference digital signal caused by each harmonic wave component, in the spectrum in which each frequency component was rearranged by the reference data converting section 444, based on each harmonic wave component of a prescribed order. For example, when compensating for non-linear distortion caused by harmonic wave components up to the third order, the distortion detecting section 446 may detect the amplitude H2 and the phase θ2 of the second-order harmonic wave component and the amplitude H3 and the phase θ3 of the third-order harmonic wave component.
Here, the prescribed order numbers may be designated by a user or the like. For example, when the user designates harmonic wave components up to the third order, the distortion detecting section 446 may detect the amplitude and the phase of the fundamental wave component, the second-order harmonic wave component, and the third-order harmonic wave component in the rearranged spectrum. In the present example, regardless of the values of the frequencies of the fundamental wave component and the harmonic wave components, these components are each moved to a certain frequency bin in the rearranged spectrum. Therefore, the distortion detecting section 446 can easily detect the amplitude and the phase of the fundamental wave component and the harmonic wave components by detecting the amplitude and the phase of the spectrum at a predetermined frequency bin.
Furthermore, the distortion detecting section 446 may calculate a compensation coefficient that compensates for the amplitude component of the non-linear distortion and a compensation coefficient that compensates for the phase component of the non-linear distortion, based on the detected amplitude and phase (S306). The distortion detecting section 446 may store these distortion compensation coefficients in the memory 44 (S307). As a result of the above process, the non-linear distortion caused by the waveform digitizer 46 can be identified.
The following describes a function performed by the signal compensating section 460 when compensating for non-linear distortion in the digital signal output by the waveform digitizer 46. The signal compensating section 460 compensates for non-linear distortion in the digital signal generated by the waveform digitizer 46 using compensation coefficients that are calculated by the distortion identifying section 440 based on the reference digital signal. In order to compensate for the amplitude component and the phase component of the non-linear distortion, the signal compensating section 460 generates an analytic signal by converting the digital signal output by the waveform digitizer 46 into a complex-valued signal. The signal compensating section 460 of the present embodiment includes an analytic signal generating section 470, a compensation signal generating section 480, a compensating section 490, a phase compensating section 492, and an inverse data converting section 494.
The analytic signal generating section 470 generates the analytic signal of the digital signal output by the waveform digitizer 46. For example, the analytic signal generating section 470 may generate an analytic signal that has the digital signal as the real part and has, as the imaginary part, a signal obtained by shifting the phase of the digital signal by 90 degrees. The analytic signal generating section 470 may generate the analytic signal by generating the Hilbert transform pair of the digital signal. The analytic signal generating section 470 of the present embodiment includes a target data converting section 472, a target spectrum calculating section 474, a band limiting section 476, and an inverse Fourier transform section 478.
FIG. 6 is a flow chart showing the process of compensating for the non-linear distortion of the waveform digitizer 46. The target data converting section 472 calculates the DC component included in the digital signal and stores the calculated value in the memory 44. The target data converting section 472 removes the DC component from the digital signal (S601). The target data converting section 472 may calculate the value of the DC component by calculating an average value of the waveform level of the digital signal. The DC component includes an alias component of the second-order harmonic wave, and the size of the second-order harmonic wave alias component is substantially equal to the amplitude of the second-order harmonic wave.
Next, the target data converting section 472 rearranges each frequency component in the pre-compensated spectrum such that (i) the fundamental wave component and the harmonic wave components of the digital signal are in the first Nyquist region of the pre-compensated spectrum and (ii) the image components of the fundamental wave component and the harmonic wave components are in the second Nyquist region of the pre-compensated spectrum (S602). The process performed by the target data converting section 472 may convert the frequency by rearranging the data of the digital signal along the time axis. Instead, the process performed by the target data converting section 472 may be the same as the process performed by the reference data converting section 444.
The target spectrum calculating section 474 performs a Fourier transform on the digital signal received from the waveform digitizer 46 to calculate the pre-compensated spectrum of the digital signal (S603). The band limiting section 476 eliminates the frequency components in the second Nyquist region from the pre-compensated spectrum in which the frequency components have been rearranged by the target data converting section 472 (S604). The inverse Fourier transform section 478 performs an inverse Fourier transform on the pre-compensated spectrum output by the band limiting section 476 (S605). The target data converting section 472 gathers the fundamental wave component and the harmonic wave components of the digital signal in the first Nyquist region of the pre-compensated spectrum, and gathers the image components of the fundamental wave component and the harmonic wave components in the second Nyquist region of the pre-compensated spectrum. Therefore, the analytic signal can be easily generated by eliminating the frequency components in the second Nyquist region and performing an inverse Fourier transform.
The phase compensating section 492, the compensation signal generating section 480, and the compensating section 490 compensate for the non-linear distortion in the digital signal based on the analytic signal generated by the analytic signal generating section 470 and the non-linear distortion identified by the distortion identifying section 440. The compensation signal generating section 480 of the present embodiment includes an exponentiating section 482 and a coefficient multiplying section 484.
The phase compensating section 492 compensates the phase of the analytic signal generated by the analytic signal generating section 470, based on the compensation coefficients of the waveform digitizer 46 stored in the memory 44. The exponentiating section 482 generates exponentiated signals obtained by raising the analytic signal to a power equal to the order of a corresponding harmonic wave component from among the harmonic wave components having the prescribed orders in the digital signal. For example, when compensating for the non-linear distortion caused by harmonic wave components up to the third order, the exponentiating section 482 generates (i) an exponentiated signal obtained by raising to the second power the analytic signal whose phase is shifted by θ2 and (ii) an exponentiated signal obtained by raising to the third power the analytic signal whose phase is shifted by θ3.
The coefficient multiplying section 484 generates compensation signals by multiplying (i) each exponentiated signal generated by the exponentiating section 482 by (ii) the compensation coefficient corresponding to the amplitude component of the non-linear distortion caused by each harmonic wave component and identified by the distortion detecting section 446. For example, when compensating for the non-linear distortion caused by harmonic wave components up to the third order, the coefficient multiplying section 484 multiplies the compensation coefficient corresponding to the second-order harmonic wave component calculated by the distortion detecting section 446 by the analytic signal raised to the second power, and multiplies the compensation coefficient corresponding to the third-order harmonic wave component by the analytic signal raised to the third power.
The compensating section 490 compensates for the non-linear distortion in the digital signal by subtracting, from the digital signal output by the waveform digitizer 46, each compensation signal generated by the coefficient multiplying section 484. The compensating section 490 may subtract the real part of each compensation signal from the digital signal (S606).
The inverse data converting section 494 rearranges each frequency component in the compensated spectrum such that the frequency of each component in the compensated spectrum of the digital signal output by the compensating section 490 returns to the original frequency of the component prior to being moved by the target data converting section 472. Each frequency component may be rearranged by rearranging the data points on the time axis, or by rearranging the spectrum on the frequency axis (S607). Finally, after reading the value of the DC component stored in the memory 44 at step S601, the inverse data converting section 494 subtracts the amplitude value of the second-order harmonic wave component from the read value (S608). The inverse data converting section 494 adds the DC component from which the amplitude value has been subtracted to the compensated signal. After this step, the compensation process for the waveform digitizer 46 is finished.
FIG. 7 shows functional sections of the digital signal processing section 42 in a modification of the process performed by the waveform digitizer 46 to compensate for the non-linear distortion. FIG. 8 is a flow chart showing a modification of the process performed by the waveform digitizer 46 to compensate for the non-linear distortion. The target spectrum calculating section 474 performs a Fourier transform on the digital signal received from the waveform digitizer 46 to calculate the pre-compensated spectrum of the digital signal (S801).
Next, the target spectrum calculating section 474 removes the DC component from the calculated spectrum (S802) and stores the size of the removed DC component in the memory 44. The target data converting section 472 rearranges each frequency component in the pre-compensated spectrum such that (i) the fundamental wave component and the harmonic wave components of the digital signal are in the first Nyquist region of the pre-compensated spectrum and (ii) the image components of the fundamental wave component and the harmonic wave components are in the second Nyquist region of the pre-compensated spectrum (S803). The process performed by the target data converting section 472 may be the same as the process performed by the reference data converting section 444.
The band limiting section 476 eliminates the frequency components in the second Nyquist region from the pre-compensated spectrum in which the frequency components have been rearranged by the target data converting section 472 (S804). The inverse Fourier transform section 478 performs an inverse Fourier transform on the pre-compensated spectrum output by the band limiting section 476 (S805).
Next, in the same manner as described in step S606 of FIG. 6, the phase compensating section 492, the compensation signal generating section 480, and the compensating section 490 calculate the compensated data (S806). After performing the Fourier transform on the compensated data (S807), the inverse data converting section 494 rearranges the compensated spectrum such that the fundamental wave returns to its original frequency bin (S808). Furthermore, the inverse data converting section 494 reads the size of the DC component stored in the memory 44 at step S802, and subtracts from the read value the amplitude value of the second-order harmonic wave component calculated at S801. The inverse data converting section 494 adds the resulting DC component to the compensated signal (S809) and then performs an inverse Fourier transform (S810). After this step, the compensation process of the waveform digitizer 46 is finished.
Upon completion of the compensation process, the judging section 430 judges acceptability of the device based on the compensated signal received from the compensating section 490. The judging section 430 may also notify the control section 20 concerning the acceptability judgment result.
The following describes a function of the digital signal processing section 42 for identifying non-linear distortion caused by the arbitrary waveform generator 48. The digital signal processing section 42 identifies the non-linear distortion caused by the arbitrary waveform generator 48 after the calibration of the waveform digitizer 46.
FIG. 9 is a flow chart showing the process for identifying the non-linear distortion caused by the arbitrary waveform generator 48. The data extracting section 420 receives the reference digital signal from the waveform digitizer 46. The reference digital signal is obtained by the waveform digitizer 46 performing a digital conversion on the reference analog signal transmitted from the arbitrary waveform generator 48. The data extracting section 420 extracts, from the data of the reference digital signal, a duration of data corresponding to an integer multiple of the period of the reference analog signal. The data extracting section 420 may perform frequency characteristic correction to cancel out frequency characteristics of circuits at the output stage of the waveform digitizer 46 (S901). For example, the data extracting section 420 may correct the reference digital signal received via the waveform digitizer 46 using a filter or the like that has a frequency characteristic that is the inverse of the frequency characteristic of the gain between input and output in the arbitrary waveform generator 48.
In the same manner as the process described in FIG. 6 or FIG. 8, the signal compensating section 460 compensates for the non-linear distortion in the received reference digital signal caused by the waveform digitizer 46 (S902). In order to compensate for the non-linear distortion caused by the arbitrary waveform generator 48 in the compensated reference digital signal, the signal compensating section 460 outputs the reference digital signal to the distortion identifying section 440 after compensating for the non-linear distortion caused by the waveform digitizer 46. Using the same identifying process as for the waveform digitizer 46, the distortion identifying section 440 identifies the distortion of the arbitrary waveform generator 48 and calculates compensation coefficients for the arbitrary waveform generator 48.
More specifically, the reference spectrum calculating section 442 calculates the spectrum of the reference digital signal by performing a Fourier transform on the data received from the signal compensating section 460 (S903). Next, the reference data converting section 444 rearranges each frequency component in the spectrum of the reference digital signal along a frequency axis, such that the fundamental wave component and the harmonic wave components of the reference digital signal are within a first Nyquist region of the spectrum of the reference digital signal (S904).
The fundamental wave phase detecting section 447 detects the phase of the fundamental wave component of the reference digital signal based on the spectrum calculated by the reference spectrum calculating section 442, and notifies the phase rotating section 448 concerning the detected phase of the fundamental wave component. The phase rotating section 448 rotates the phase of each frequency component, in the spectrum in which each frequency component was rearranged by the reference data converting section 444, based on the phase of the fundamental wave component (S905). In the present example, the reference data converting section 444 gathers the fundamental wave component and the harmonic wave components of the reference digital signal in the first Nyquist region, and gathers the image components in the second Nyquist region. Therefore, the phase rotating section 448 can easily rotate the phase of each frequency by (i) multiplying each frequency component in the first Nyquist region by e^(−jωθ0) and (ii) multiplying each frequency component in the second Nyquist region by e^(jωθ0).
The distortion detecting section 446 detects the non-linear distortion in the reference digital signal caused by each harmonic wave component, in the spectrum in which each frequency component has been rearranged by the reference data converting section 444, based on each harmonic wave component of a prescribed order. The distortion detecting section 446 may detect the amplitude and the phase of the each harmonic wave component by normalizing the amplitude of each harmonic wave component with the fundamental wave amplitude (S906).
Here, the prescribed orders may be designated by the user or the like. For example, when the user designates harmonic wave components up to the third order, the distortion detecting section 446 may detect the amplitude and the phase of the fundamental wave component, the second-order harmonic wave component, and the third-order harmonic wave component in the rearranged spectrum. In the present example, regardless of the values of the frequencies of the fundamental wave component and the harmonic wave components, these components are each moved to a certain frequency bin in the rearranged spectrum. Therefore, the distortion detecting section 446 can easily detect the amplitude and the phase of the fundamental wave component and the harmonic wave components by detecting the amplitude and the phase of the spectrum at predetermined frequency bins.
Furthermore, the distortion detecting section may calculate compensation coefficients for amplitude and phase components, based on the detected amplitude and phase (S907). The distortion detecting section 446 may store these distortion compensation coefficients in the memory 44 (S908). As a result of the above process, the non-linear distortion caused by the arbitrary waveform generator 48 can be identified.
The following describes a function of the signal compensating section 460 when compensating for the non-linear distortion in the analog signal output by the arbitrary waveform generator 48. The signal compensating section 460 generates a digital signal (pre-distortion signal) in which the non-linear distortion caused by the arbitrary waveform generator 48 is compensated for in advance, based on the compensation coefficients calculated for the non-linear distortion of the arbitrary waveform generator 48 identified in advance by the distortion identifying section 440 based on the reference digital signal.
More specifically, the signal compensating section 460 reads from the memory 44 the waveform data of the digital signal output to the arbitrary waveform generator 48, and then generates an analytic signal by converting the digital signal into a complex-valued signal. For example, the analytic signal generating section 470 may generate an analytic signal that has the digital signal as the real part and has, as the imaginary part, a signal obtained by shifting the phase of the digital signal by 90 degrees. The analytic signal generating section 470 may generate the analytic signal by generating the Hilbert transform pair of the digital signal.
The following describes the compensation process of the arbitrary waveform generator 48 using the flow chart shown in FIG. 6. First, the target data converting section 472 calculates the DC component included in the digital signal and stores the calculated value in the memory 44. The target data converting section 472 removes the DC component from the digital signal (S601). The target data converting section 472 rearranges each frequency component in the pre-compensated spectrum such that (i) the fundamental wave component and the harmonic wave components of the digital signal are in the first Nyquist region of the pre-compensated spectrum and (ii) the image components of the fundamental wave component and the harmonic wave components are in the second Nyquist region of the pre-compensated spectrum (S602). The process performed by the target data converting section 472 may convert the frequencies by rearranging the data of the digital signal along the time axis. Instead, the process performed by the target data converting section 472 may be the same as the process performed by the reference data converting section 444.
The target spectrum calculating section 474 performs a Fourier transform on the digital signal to calculate the pre-compensated spectrum of the digital signal (S603). The band limiting section 476 eliminates the frequency components in the second Nyquist region from the pre-compensated spectrum in which the frequency components have been rearranged by the target data converting section 472 (S604). The inverse Fourier transform section 478 performs an inverse Fourier transform on the pre-compensated spectrum output by the band limiting section 476. The target data converting section 472 gathers the fundamental wave component and the harmonic wave components of the digital signal in the first Nyquist region of the pre-compensated spectrum, and gathers the image components of the fundamental wave component and the harmonic wave components in the second Nyquist region of the pre-compensated spectrum. Therefore, the analytic signal can be easily generated by eliminating the frequency components in the second Nyquist region and performing an inverse Fourier transform (S605).
The phase compensating section 492 compensates the phase of the analytic signal generated by the analytic signal generating section 470, based on the compensation coefficients of the arbitrary waveform generator 48 stored in the memory. The exponentiating section 482 generates exponentiated signals obtained by raising the analytic signal to a power equal to the order of a corresponding harmonic wave component from among the harmonic wave components having the prescribed orders in the digital signal. For example, when compensating for the non-linear distortion caused by harmonic wave components up to the third order, the exponentiating section 482 generates (i) an exponentiated signal obtained by raising to the second power the analytic signal whose phase is shifted by θ2 and (ii) an exponentiated signal obtained by raising to the third power the analytic signal whose phase is shifted by θ3.
The coefficient multiplying section 484 generates compensation signals by multiplying (i) each exponentiated signal generated by the exponentiating section 482 by (ii) the compensation coefficient corresponding to the amplitude component of the non-linear distortion caused by each harmonic wave component and identified by the distortion detecting section 446. For example, when compensating for the non-linear distortion caused by harmonic wave components up to the third order, the coefficient multiplying section 484 multiplies the compensation coefficient corresponding to the second-order harmonic wave component calculated by the distortion detecting section 446 by the analytic signal raised to the second power, and multiplies the compensation coefficient corresponding to the third-order harmonic wave component by the analytic signal raised to the third power.
The compensating section 490 compensates in advance for the non-linear distortion that occurs when the arbitrary waveform generator 48 performs the analog conversion on the digital signal by subtracting, from the digital signal generated based on the waveform data read from the memory 44, each compensation signal generated by the coefficient multiplying section 484. The compensating section 490 may subtract the real part of each compensation signal from the digital signal (S606).
The inverse data converting section 494 rearranges each frequency component in the compensated spectrum such that the frequency of each component in the compensated spectrum of the digital signal output by the compensating section 490 returns to the original frequency of the component prior to being moved by the target data converting section 472. Each frequency component may be rearranged by rearranging the data points on the time axis, or by rearranging the spectrum on the frequency axis (S607). Finally, after reading the value of the DC component stored in the memory 44 at step S601, the inverse data converting section 494 subtracts the amplitude value of the second-order harmonic wave component from the read value (S608). The inverse data converting section 494 adds the resulting value to the compensated signal, and attaches the DC component included in the pre-compensated signal to the compensated signal. After this step, the compensation process for the arbitrary waveform generator 48 is finished.
The signal output control section 450 outputs to the arbitrary waveform generator 48 the compensated digital signal acquired from the inverse data converting section 494. This digital signal includes a component that cancels out the non-linear distortion in the analog signal in the arbitrary waveform generator 48, and so the arbitrary waveform generator 48 outputs an analog signal that does not include non-linear distortion.
FIGS. 10 and 11 show detailed examples of the frequency spectrum rearranging processes performed at steps S303, S803, and S904. FIG. 10 shows a frequency spectrum before the data of the frequency spectrum is rearranged. In FIG. 10, the numerals 1 to 24 indicate numbers of frequency bins used when performing the FFT. The underlined numerals 1 to 24 indicate numbers of frequency spectra. Frequency bins number 5, 10, and 15 correspond respectively to the fundamental frequency f0, the second-order harmonic wave frequency 2f0, and the third-order harmonic wave frequency 3f0.
For example, to move the fundamental frequency f0, the second-order harmonic wave 2f0, and the third-order harmonic wave frequency 3f0 into the first Nyquist region, the reference data converting section 444 may set (i) the frequency component at each frequency bin number that is k-times the frequency bin number of the fundamental wave component of the spectrum calculated by the reference spectrum calculating section 442 to be (ii) the frequency component at the k-th frequency bin in the spectrum whose data has been rearranged. If k-times the frequency bin number of the fundamental wave component results in a frequency bin number greater than the maximum frequency bin number L in the spectrum, the reference data converting section 444 may set (i) the frequency component of a frequency bin corresponding to a value calculated by subtracting a value corresponding to the maximum frequency bin number from k-times the frequency bin number of the fundamental wave component as (ii) as the frequency component at the k-th frequency bin in the spectrum whose data has been rearranged. For example, if the frequency bin numbers in the spectrum are from 0 to N−1, the reference data converting section 444 may use N as the value being subtracted.
In the present example, the reference data converting section 444 may perform the rearrangement as described below. The reference data converting section 444 calculates an integer m using the equation m=5×i (modulo N), where i is a rearranged frequency bin number. Here, N represents the total number of data points being analyzed. Next, the reference data converting section 444 completes the rearrangement by allocating to the rearranged frequency bin number i the frequency of the pre-rearranged frequency bin number m.
FIG. 11 shows a frequency spectrum after the data of the frequency spectrum is rearranged. In FIG. 11, the fundamental frequency f0, which was at the fifth frequency bin prior to the rearrangement, is now at the first frequency bin after the rearrangement. In the same way, the second-order harmonic wave frequency 2f0, which was at the tenth frequency bin prior to the rearrangement, is now at the second frequency bin after the rearrangement, and the third-order harmonic wave frequency 3f0, which was at the fifteenth frequency bin prior to the rearrangement, is now at the third frequency bin after the rearrangement. As a result, the fundamental wave, the second-order harmonic wave, and the third-order harmonic wave are within the first Nyquist region. Furthermore, the image components of the fundamental wave and the harmonic waves (k=19, 14, 9) are in the second Nyquist region.
The inverse data converting section 494 may perform an inverse of the rearrangement process described in relation to FIGS. 10 and 11. For example, the inverse data converting section 494 may multiply the frequency bin number m of the fundamental frequency f0 by each frequency bin number in the spectrum of the signal in which the non-linear distortion has been compensated for. The target data converting section 472 may notify the inverse data converting section 494 concerning the frequency bin number of the fundamental frequency f0.
The inverse data converting section 494 may subtract an integer multiple of L from the computation result of components whose computation results indicate a value greater than the maximum frequency bin number L in the spectrum, such that the computation result indicates a value no less than 1 and no greater than L. The inverse data converting section 494 then moves the component at each frequency bin to the frequency bin number obtained from the above computation. In this way, the inverse data converting section 494 can rearrange each frequency component in the compensated spectrum such that each frequency component in the compensated spectrum returns to the original frequency prior to the movement by the target data converting section 472.
FIGS. 12 and 13 show an example of the process for rearranging the frequency bins according to a computation on the time axis, as described in step S602. The target data converting section 472 samples 7 cycles of a sinusoidal wave at 16 points, as shown in FIG. 12. Next, the target data converting section 472 generates 3 cycles of a sinusoidal wave by rearranging the sampled data as shown in FIG. 13. As a result, the target data converting section 472 can convert the frequency while maintaining the amplitude and phase of the waveform.
For example, if the of the measured signal has K cycles, the rearranged waveform has K′ cycles, and the number of measured signal points is N, the reference data converting section 444 moves the (K′×i mod.N)-th data point to be the (K×i mod.N)-th data point. In the example of FIG. 12, K=7, K′=3, and N=16. Accordingly, the third sampled data point is moved to be the seventh data point.
In the same manner as described in relation to FIGS. 10 and 11, the inverse data converting section 494 may perform an inverse of the rearrangement process on the corrected signal in which the frequency bins have been rearranged according to a computation on the time axis. In other words, the inverse data converting section 494 may move the (K×i mod.N)-th data point to be the (K′×i mod.N)-th data point for each sampled data point in the corrected signal.
FIGS. 14 and 15 show a schematic view of a frequency spectrum before and after the frequency bin rearrangement process is performed. FIG. 14 shows a spectrum having the waveform shown in FIG. 12, and FIG. 15 shows a spectrum having the waveform shown in FIG. 13. The frequency component at frequency 7 in FIG. 14 is understood to be moved to frequency 3 in FIG. 15. Frequency 9 in FIG. 14 and frequency 13 in FIG. 15 represent the image frequency components.
The following describes the basics of the identification process and compensation process. FIG. 16 is a schematic view of the identification process for generating a compensation coefficient of the waveform digitizer 46. When performing the identification process for the waveform digitizer 46, the arbitrary waveform generator 48 outputs an analog signal 106 obtained by performing an analog conversion on a reference digital signal received from the digital signal processing section 42. The reference analog signal 106 desirably includes a single frequency.
The waveform digitizer 46 receives the reference analog signal 106 and converts this signal into a reference digital signal 108. When the waveform digitizer 46 performs the digital conversion, the amplitude and phase of the frequency component of the reference analog signal 106 change, and so the reference digital signal 108 output by the waveform digitizer 46 has harmonic waves, shown by dotted lines, added thereto.
The digital signal processing section 42 analyzes the difference between the reference digital signal 108 and the digital signal used to generate the reference analog signal 106, and acquires the amplitude component and the phase component of the distortion component. The digital signal processing section 42 calculates distortion compensation coefficients using the information about the acquired amplitude and phase, and stores the distortion compensation coefficients in the memory 44.
FIG. 17 shows the basics of compensating for distortion of the waveform digitizer 46. First, the device under test 80 outputs an analog signal 100 from the output terminal. The waveform digitizer 46 performs a digital conversion on the received analog signal 100. When the waveform digitizer 46 performs the digital conversion, the amplitude and the phase of the frequency component of the analog signal 100 changes, and so the digital signal 102 output by the waveform digitizer 46 has harmonic waves, shown by dotted lines, added thereto.
The digital signal processing section 42 receives the digital signal 102 having distortion caused by the waveform digitizer 46. The digital signal processing section 42 compensates for the distortion component in the digital signal 102 by using the distortion compensation coefficients calculated in advance for the waveform digitizer 46. As a result, the digital signal processing section 42 can generate the digital signal 104 having characteristics substantially equal to those of the analog signal 100.
The following describes a method of compensating for the distortion of the arbitrary waveform generator 48. FIG. 18 is a schematic view of the process for generating the compensation coefficients that compensate for the distortion of the arbitrary waveform generator 48. The digital signal processing section 42 reads from the memory 44 the waveform data of the prescribed frequency, and outputs the reference digital signal 116 to the arbitrary waveform generator 48. The arbitrary waveform generator 48 generates the reference analog signal 118 by performing an analog conversion on the reference digital signal 116, and outputs the reference analog signal 118 to the waveform digitizer 46. The reference analog signal 118 includes harmonic waves, shown by dotted lines, due to the non-linear distortion caused by the analog circuits in the arbitrary waveform generator 48.
The waveform digitizer 46 generates the reference digital signal 120 onto which the distortion of the reference analog signal 118 is superimposed due to the effect of the analog circuits in the waveform digitizer 46. If the identification process has already been performed for the waveform digitizer 46, the digital signal processing section 42 can read from the memory 44 the distortion compensation coefficients of the waveform digitizer 46. The digital signal processing section 42 performs the distortion compensation process on the reference digital signal 120 using the read compensation coefficients to recreate a signal that is substantially the same as the reference analog signal 118. In the recreated signal, the distortion component of the arbitrary waveform generator 48 is added to the waveform input to the arbitrary waveform generator 48. Accordingly, the digital signal processing section 42 can calculate the compensation coefficients based on the difference between the signal that has undergone the distortion compensation process of the reference digital signal 120 and the reference digital signal 116 input to the arbitrary waveform generator 48.
FIG. 19 shows the general process for measuring the device under test 80 in a state where the distortion of the arbitrary waveform generator 48 is compensated for. The digital signal processing section 42 reads from the memory 44 the waveform data 110 used for measuring the device under test 80. Furthermore, the digital signal processing section 42 reads from the memory 44 the compensation coefficients for correcting the distortion caused by the arbitrary waveform generator 48. The digital signal processing section 42 uses the read compensation coefficients to generate the measured digital signal 112 obtained by adding distortion in advance to the waveform data 110, and sends the measured digital signal 112 to the arbitrary waveform generator 48.
In the arbitrary waveform generator 48, the distortion occurs in the measured digital signal 112 due to the non-linear characteristic of the analog circuit therein. Distortion that cancels out the distortion of the arbitrary waveform generator 48 is added in advance to the measured digital signal 112. Accordingly, due to the distortion caused by the arbitrary waveform generator 48, the measured analog signal 114 output by the arbitrary waveform generator 48 substantially matches the signal that would be obtained by an ideal analog circuit performing an analog conversion on the waveform data 110 read from the memory 44 by the digital signal processing section 42.
The following is a detailed description of an identification algorithm and a compensation algorithm. FIG. 20 shows a generation model of non-linear distortion. The input signal in this model has a frequency of f0 and phase θ0, and is expressed as d=Cos(2πf0t+θ0). Since the analog circuit 400 has a gain of M0, the analog circuit 400 outputs a signal x=M0×Cos(2πf0t−θ0) to the analog circuit 402. The analog circuit 402 causes non-linear distortion in the input signal, resulting in a signal expressed as shown below.

x′=A1*x+A2*x2+A3*x3 

The analog circuit 402 outputs this signal to the analog circuit 404 at a later stage. The above expression is an example of distortion up to the third order, but An may be added for each component greater than the third order. The analog circuit 404 has a gain G, and therefore outputs the signal shown in Expression 1 below.

y=G(A1*x+A2*x2+A3*x3)  (1)

Here, it is assumed that the dynamics of the linear characteristic are low and can be approximated by a polynomial expression.

FIG. 21 is a schematic diagram of a frequency characteristic of a third-order polynomial approximation model of a non-linear characteristic. FIG. 22 is a schematic diagram of an amplitude characteristic of a third-order polynomial approximation model of a non-linear characteristic. When the amplitude of a sinusoidal wave having non-linear distortion is approximated by the third-order polynomial of Expression 1, the output spectrum when this sinusoidal wave is input to the analog circuit includes a DC component, a fundamental wave component, a second-order harmonic wave component, and a third-order harmonic wave component, as shown in FIG. 21. When Vin represents the voltage of the input sinusoidal wave and Vout represents the voltage output from the analog circuit having a gain A1, Vin and Vout have an ideal linear relationship shown by the dotted line of FIG. 22. However, when the analog circuit causes non-linear distortion, the output voltage is represented by Expression 2, where Vin and Vout have the non-linear relationship shown by the solid line.

Vout=A1*Vin+A2*Vin2+A3*Vin3  (2)

Here, if the input voltage of the analog circuit 402 is represented by Expression 3, the output voltage of the analog circuit 402 for non-linear distortion up to the n-th order can be expressed by Expression 4.




  
    
      
        
          Vin
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            M
            0
          
          *
          
            Cos
            ⁡
            
              (
              
                
                  2
                  ⁢
                  π
                  ⁢
                  
                    
                  
                  ⁢
                  
                    f
                    0
                  
                  ⁢
                  t
                
                +
                
                  θ
                  0
                
              
              )
            
          
        
      
    
    
      
        (
        3
        )
      
    
  
  
    
      
        
          Vout
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            ∑
            
              i
              =
              1
            
            n
          
          ⁢
          
            
              
              
                A
                i
              
              
            
            *
            
              
                (
                
                  
                    M
                    0
                  
                  *
                  
                    Cos
                    ⁡
                    
                      (
                      
                        
                          2
                          ⁢
                          π
                          ⁢
                          
                            
                          
                          ⁢
                          
                            f
                            0
                          
                          ⁢
                          t
                        
                        +
                        
                          θ
                          0
                        
                        +
                        
                          φ
                          i
                        
                      
                      )
                    
                  
                
                )
              
              i
            
          
        
      
    
    
      
        (
        4
        )
      
    
  




With n being set equal to 3 in Expression 4, this Expression is substituted into Expression 2 and expanded.





  
    
      
        
          Vout
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            
              ∑
              
                i
                =
                1
              
              3
            
            ⁢
            
              
                
                
                  A
                  i
                
                
              
              *
              
                
                  (
                  
                    
                      M
                      0
                    
                    *
                    
                      Cos
                      ⁡
                      
                        (
                        
                          
                            2
                            ⁢
                            π
                            ⁢
                            
                              
                            
                            ⁢
                            
                              f
                              0
                            
                            ⁢
                            t
                          
                          +
                          
                            θ
                            0
                          
                          +
                          
                            φ
                            i
                          
                        
                        )
                      
                    
                  
                  )
                
                i
              
            
          
          =
          
            
              
                M
                0
                2
              
              ·
              
                A
                2
              
            
            2
          
        
      
    
    
      
        (
        5
        )
      
    
  
  
    
      
        
          +
          
            M
            0
          
        
        ·
        
          
          
            A
            1
          
          
        
        ·
        
          (
          
            
              
                
                  
                    Cos
                    ⁡
                    
                      (
                      
                        
                          2
                          ⁢
                          π
                          ⁢
                          
                            
                          
                          ⁢
                          
                            f
                            0
                          
                          ⁢
                          t
                        
                        +
                        
                          θ
                          0
                        
                      
                      )
                    
                  
                  +
                
              
            
            
              
                
                  
                    3
                    4
                  
                  ⁢
                  
                    
                      M
                      0
                      3
                    
                    ·
                    
                      
                        
                        
                          A
                          3
                        
                        
                      
                      
                        
                        
                          A
                          1
                        
                        
                      
                    
                    ·
                    
                      Cos
                      ⁡
                      
                        (
                        
                          
                            2
                            ⁢
                            π
                            ⁢
                            
                              
                            
                            ⁢
                            
                              f
                              0
                            
                            ⁢
                            t
                          
                          +
                          
                            θ
                            0
                          
                          +
                          
                            ∠
                            ⁢
                            
                              
                            
                            ⁢
                            
                              A
                              3
                            
                          
                        
                        )
                      
                    
                  
                
              
            
          
          )
        
      
    
    
      
        (
        6
        )
      
    
  
  
    
      
        
          +
          
            
              
                M
                0
                2
              
              ·
              
                
                
                  A
                  2
                
                
              
            
            2
          
        
        ·
        
          Cos
          ⁡
          
            (
            
              
                2
                ⁢
                
                  π
                  ·
                  2
                
                ⁢
                
                  f
                  0
                
                ⁢
                t
              
              +
              
                2
                ⁢
                
                  θ
                  0
                
              
              +
              
                2
                ⁢
                ∠
                ⁢
                
                  
                
                ⁢
                
                  A
                  2
                
              
            
            )
          
        
      
    
    
      
        (
        7
        )
      
    
  
  
    
      
        
          +
          
            
              
                M
                0
                3
              
              ·
              
                
                
                  A
                  3
                
                
              
            
            4
          
        
        ·
        
          Cos
          ⁡
          
            (
            
              
                2
                ⁢
                
                  π
                  ·
                  3
                
                ⁢
                
                  f
                  0
                
                ⁢
                t
              
              +
              
                3
                ⁢
                
                  θ
                  0
                
              
              +
              
                3
                ⁢
                ∠
                ⁢
                
                  
                
                ⁢
                
                  A
                  3
                
              
            
            )
          
        
      
    
    
      
        (
        8
        )
      
    
  




Here, Expression 5 represents the DC component, Expression 6 represents the fundamental frequency component, Expression 7 represents the second-order harmonic frequency component, and Expression 8 represents the third-order harmonic frequency component.

In Expression 6, the third-order harmonic wave is added to the fundamental wave. FIG. 23 is a schematic diagram showing a composite spectrum of a composite wave obtained by adding the third-order harmonic wave to the fundamental wave. The origin is the starting point, the fundamental wave component has a phase of θ0 with respect to the horizontal axis, and the length of the arrow corresponds to amplitude. The arrow with a dotted line, which begins at the end of the fundamental wave component arrow, represents the third-order harmonic wave component. The end point of the third-order harmonic wave component arrow moves along the circle shown by the dotted line, according to the phase of the third-order harmonic wave. The arrow connecting the origin and the end point of the third-order harmonic wave component arrow represents the composite wave component.
Here, if the length of the vector corresponding to the third-order distortion is assumed to be sufficiently small, then Expression 6 can be approximated as shown below.




  
    (
    
      
        
          
            
              
                M
                0
              
              ·
              
                
                
                  A
                  1
                
                
              
              ·
              
                Cos
                ⁡
                
                  (
                  
                    
                      2
                      ⁢
                      π
                      ⁢
                      
                        
                      
                      ⁢
                      
                        f
                        0
                      
                      ⁢
                      t
                    
                    +
                    
                      θ
                      0
                    
                  
                  )
                
              
            
            +
          
        
      
      
        
          
            
              3
              4
            
            ⁢
            
              
                M
                0
                3
              
              ·
              
                
                
                  A
                  3
                
                
              
              ·
              
                Cos
                ⁡
                
                  (
                  
                    
                      2
                      ⁢
                      π
                      ⁢
                      
                        
                      
                      ⁢
                      
                        f
                        0
                      
                      ⁢
                      t
                    
                    +
                    
                      θ
                      0
                    
                    +
                    
                      ∠
                      ⁢
                      
                        
                      
                      ⁢
                      
                        A
                        3
                      
                    
                  
                  )
                
              
            
          
        
      
    
    )
  
  ≅
  
    (
    
      
        
          
            
              
                M
                0
              
              ·
              
                
                
                  A
                  1
                
                
              
              ·
              
                Cos
                ⁡
                
                  (
                  
                    
                      2
                      ⁢
                      π
                      ⁢
                      
                        
                      
                      ⁢
                      
                        f
                        0
                      
                      ⁢
                      t
                    
                    +
                    
                      θ
                      0
                    
                  
                  )
                
              
            
            +
          
        
      
      
        
          
            
              3
              4
            
            ⁢
            
              
                M
                0
                3
              
              ·
              
                
                
                  A
                  3
                
                
              
              ·
              
                Cos
                ⁡
                
                  (
                  
                    
                      2
                      ⁢
                      π
                      ⁢
                      
                        
                      
                      ⁢
                      
                        f
                        0
                      
                      ⁢
                      t
                    
                    +
                    
                      θ
                      0
                    
                  
                  )
                
              
            
          
        
      
    
    )
  




In other words, the phase of the fundamental wave can be approximated as being substantially equal to the phase of each harmonic wave with a group delay. Furthermore, if the third-order distortion component is sufficiently small, the effect of the alias of the third-order distortion on the fundamental wave may be ignored. FIG. 24 shows a frequency spectrum calculated by the above approximation. When the fundamental wave amplitude H1 of the input signal is equal to GM0·A1, the amplitudes of the DC component, the second-order harmonic wave component, and the third-order harmonic wave component can be expressed as shown below.





  
    
      H
      0
    
    =
    
      
        G
        ⁢
        
          
        
        ⁢
        
          
            M
            0
            2
          
          ·
          
            A
            2
          
        
      
      2
    
  
  ,
  
    
      H
      2
    
    =
    
      
        G
        ⁢
        
          
        
        ⁢
        
          
            M
            0
            2
          
          ·
          
            A
            2
          
        
      
      2
    
  
  ,
  
    
      H
      3
    
    =
    
      
        G
        ⁢
        
          
        
        ⁢
        
          
            M
            0
            3
          
          ·
          
            A
            3
          
        
      
      4
    
  
  ,




The following describes a method for generating the distortion compensation coefficients using the approximated amplitudes H1, H2, and H3. In Expression 1, the distortion component is GA2*x2+GA3*x3, and so if the following is generated for the signal y output by the waveform digitizer 46, the distortion can be compensated for.

{tilde over (y)}=y−GA2*x2+GA3*x3  (9)

The digital signal processing section 42 can know the signal y output by the waveform digitizer 46, but cannot know the signal x input to the waveform digitizer 46. Therefore, Expression 9 is expanded to achieve the Expressions below.





  
    
      
        
          
            
              
                y
                ~
              
              =
              
                G
                ⁢
                
                  
                
                ⁢
                
                  
                    A
                    1
                  
                  ·
                  x
                
              
            
          
        
        
          
            
              =
              
                y
                -
                
                  G
                  ⁢
                  
                    
                  
                  ⁢
                  
                    A
                    2
                  
                  *
                  
                    x
                    2
                  
                
                +
                
                  G
                  ⁢
                  
                    
                  
                  ⁢
                  
                    A
                    3
                  
                  *
                  
                    x
                    3
                  
                
              
            
          
        
        
          
            
              =
              
                y
                -
                
                  
                    
                      A
                      2
                    
                    
                      G
                      ⁢
                      
                        
                      
                      ⁢
                      
                        A
                        1
                        2
                      
                    
                  
                  ·
                  
                    
                      (
                      
                        G
                        ⁢
                        
                          
                        
                        ⁢
                        
                          A
                          1
                        
                        ⁢
                        x
                      
                      )
                    
                    2
                  
                
                -
                
                  
                    
                      A
                      3
                    
                    
                      
                        G
                        2
                      
                      ⁢
                      
                        A
                        1
                        3
                      
                    
                  
                  ·
                  
                    
                      (
                      
                        G
                        ⁢
                        
                          
                        
                        ⁢
                        
                          A
                          1
                        
                        ⁢
                        x
                      
                      )
                    
                    3
                  
                
              
            
          
        
      
    
    
      
        (
        10
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          ≈
          
            y
            -
            
              
                
                  A
                  2
                
                
                  G
                  ⁢
                  
                    
                  
                  ⁢
                  
                    A
                    1
                    2
                  
                
              
              ·
              
                y
                2
              
            
            -
            
              
                
                  A
                  3
                
                
                  
                    G
                    2
                  
                  ⁢
                  
                    A
                    1
                    3
                  
                
              
              ·
              
                y
                3
              
            
          
        
      
    
    
      
        (
        11
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          =
          
            y
            -
            
              
                
                  2
                  ⁢
                  
                    H
                    2
                  
                
                
                  H
                  1
                  2
                
              
              ·
              
                y
                2
              
            
            -
            
              
                
                  4
                  ⁢
                  
                    H
                    3
                  
                
                
                  H
                  1
                  3
                
              
              ·
              
                y
                3
              
            
          
        
      
    
    
      
        (
        12
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          =
          
            y
            -
            
              
                
                  A
                  ~
                
                2
              
              ·
              
                y
                2
              
            
            -
            
              
                
                  A
                  ~
                
                3
              
              ·
              
                y
                3
              
            
          
        
      
    
    
      
        (
        13
        )
      
    
  




If A2 and A3 are each less than 0.01, Expression 10 can be approximated as Expression 11. Here, H1, H2, and H3 are the respective amplitudes of the fundamental wave component, the second-order harmonic wave component, and the third-order harmonic wave component of the signal y output by the waveform digitizer 46. Accordingly, by analyzing the signal y received from the waveform digitizer 46 and calculating H1, H2, and H3, the following compensation coefficients are obtained.





  
    
      
        
          
            
            
              A
              2
            
            
          
          =
          
            
              2
              ⁢
              
                
                
                  H
                  2
                
                
              
            
            
              H
              1
              2
            
          
        
        ,
        
          
            
            
              A
              3
            
            
          
          =
          
            
              4
              ⁢
              
                
                
                  H
                  3
                
                
              
            
            
              H
              1
              3
            
          
        
      
    
    
      
        (
        14
        )
      
    
  
  
    
      
        
          
            ∠
            ⁢
            
              
            
            ⁢
            
              A
              2
            
          
          =
          
            ∠
            ⁢
            
              
            
            ⁢
            
              
                H
                2
              
              /
              2
            
          
        
        ,
        
          
            ∠
            ⁢
            
              
            
            ⁢
            
              A
              3
            
          
          =
          
            ∠
            ⁢
            
              
            
            ⁢
            
              
                H
                3
              
              /
              3
            
          
        
      
    
    
      
        (
        15
        )
      
    
  




The digital signal processing section 42 may calculate the compensation coefficients by substituting into Expressions 14 and 15 the amplitudes and phases of the fundamental wave spectrum, the second-order harmonic wave spectrum, and the third-order harmonic wave spectrum.

The following describes an algorithm of the identification process for generating the distortion compensation coefficients of the arbitrary waveform generator 48. The distortion caused by the arbitrary waveform generator 48 can be expressed by the non-linear distortion generation model shown in FIG. 20, in the same manner as the distortion caused by the waveform digitizer 46.
According to Expression 1, harmonic wave distortion represented by GA2*x2+GA3*x3 is added in the arbitrary waveform generator 48. The digital signal processing section 42 performs a process to add distortion for canceling out the harmonic wave distortion to the waveform generation data input to the arbitrary waveform generator 48. In other words, if the waveform digitizer 46 input to the arbitrary waveform generator 48 is represented by d, the compensated waveform can be expressed as shown below.

{tilde over (d)}=d−(Ã2*d2+Ã3*d3)  (16)

When Expression 16 is applied in the model shown in FIG. 20, the compensated waveform can be expanded as shown below.




  
    
      
        
          x
          ~
        
        =
        
          
            
              M
              0
            
            ·
            
              d
              ~
            
          
          =
          
            
              M
              0
            
            ⁢
            
              {
              
                d
                -
                
                  (
                  
                    
                      
                        
                          A
                          ~
                        
                        2
                      
                      *
                      
                        d
                        2
                      
                    
                    +
                    
                      
                        
                          A
                          ~
                        
                        3
                      
                      *
                      
                        d
                        3
                      
                    
                  
                  )
                
              
              }
            
          
        
      
    
    
      
        (
        17
        )
      
    
  
  
    
      
        
          
            
              =
              
                
                  
                    M
                    0
                  
                  ⁢
                  d
                
                -
                
                  (
                  
                    
                      
                        A
                        2
                      
                      ·
                      
                        
                          
                            M
                            0
                            2
                          
                          *
                          
                            d
                            2
                          
                        
                        
                          A
                          1
                        
                      
                    
                    +
                    
                      
                        A
                        3
                      
                      ·
                      
                        
                          
                            M
                            0
                            3
                          
                          *
                          
                            d
                            3
                          
                        
                        
                          A
                          1
                        
                      
                    
                  
                  )
                
              
            
          
        
        
          
            
              =
              
                x
                -
                
                  (
                  
                    
                      
                        A
                        2
                      
                      ·
                      
                        
                          x
                          2
                        
                        
                          A
                          1
                        
                      
                    
                    +
                    
                      
                        A
                        3
                      
                      ·
                      
                        
                          x
                          3
                        
                        
                          A
                          1
                        
                      
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        18
        )
      
    
  




From Expressions 17 and 18, the following Expressions are obtained.




  
    
      
        A
        ~
      
      2
    
    =
    
      
        
          M
          0
        
        ·
        
          
            A
            2
          
          
            A
            1
          
        
      
      =
      
        
          2
          ⁢
          
            H
            2
          
        
        
          H
          1
        
      
    
  




  
    
      
        A
        ~
      
      3
    
    =
    
      
        
          M
          0
          2
        
        ·
        
          
            A
            3
          
          
            A
            1
          
        
      
      =
      
        
          4
          ⁢
          
            H
            3
          
        
        
          H
          1
        
      
    
  



By normalizing with the amplitude of the fundamental frequency, the compensation coefficients of the arbitrary waveform generator 48 can be expressed as shown below.

|A2|=2|H2|, |A3|=4|H3|  (19)

∠A2=∠H2/2, ∠A3=∠H3/3  (20)

The digital signal processing section 42 may calculate the compensation coefficients by substituting into Expressions 19 and 20 the amplitudes and phases of the second-order harmonic wave spectrum and the third-order harmonic wave spectrum.

The following describes the basics of using the compensation coefficients calculated from the identification to compensate the signals output by the waveform digitizer 46 and the arbitrary waveform generator 48. The semiconductor test apparatus 10 compensates these signals by removing, from the signal output by the waveform digitizer 46 and the signal output by the arbitrary waveform generator 48, the harmonic wave distortion that is expected to be caused in the waveform digitizer 46 and the arbitrary waveform generator 48. In other words, the digital signal processing section 42 calculates the compensated data using Expressions 13 and 16.
More specifically, the digital signal processing section 42 may calculate the following compensated data from the signal y output by the waveform digitizer 46.




  
    
      
        
          
            
              
                y
                ~
              
              =
              
                y
                -
                
                  
                    
                      A
                      ~
                    
                    2
                  
                  ·
                  
                    y
                    2
                  
                
                -
                
                  
                    
                      A
                      ~
                    
                    3
                  
                  ·
                  
                    y
                    3
                  
                
              
            
          
        
        
          
            
              =
              
                y
                -
                
                  Re
                  ⁡
                  
                    (
                    
                      
                        
                          
                          
                            A
                            2
                          
                          
                        
                        ·
                        
                          e
                          
                            -
                            
                              j2θ
                              0
                            
                          
                        
                        ·
                        
                          
                            H
                            ⁡
                            
                              [
                              y
                              ]
                            
                          
                          2
                        
                      
                      +
                      
                        
                          
                          
                            A
                            3
                          
                          
                        
                        ·
                        
                          e
                          
                            -
                            
                              j3θ
                              0
                            
                          
                        
                        ·
                        
                          
                            H
                            ⁡
                            
                              [
                              y
                              ]
                            
                          
                          3
                        
                      
                    
                    )
                  
                
              
            
          
        
        
          
            
              =
              
                y
                -
                
                  Re
                  (
                  
                    
                      
                        
                        
                          A
                          2
                        
                        
                      
                      ·
                      
                        
                          (
                          
                            
                              H
                              ⁡
                              
                                [
                                y
                                ]
                              
                            
                            ·
                            
                              e
                              
                                
                                  -
                                  j∠
                                
                                ⁢
                                
                                  
                                
                                ⁢
                                
                                  A
                                  2
                                
                              
                            
                          
                          )
                        
                        2
                      
                    
                    +
                    
                      
                        
                        
                          A
                          3
                        
                        
                      
                      ·
                      
                        
                          (
                          
                            
                              H
                              ⁡
                              
                                [
                                y
                                ]
                              
                            
                            ·
                            
                              e
                              
                                
                                  -
                                  j∠
                                
                                ⁢
                                
                                  
                                
                                ⁢
                                
                                  A
                                  3
                                
                              
                            
                          
                          )
                        
                        3
                      
                    
                  
                  )
                
              
            
          
        
        
          
            
              =
              
                y
                -
                
                  Re
                  (
                  
                    
                      
                        
                        
                          A
                          2
                        
                        
                      
                      ·
                      
                        
                          (
                          
                            
                              (
                              
                                y
                                +
                                
                                  j
                                  ⁢
                                  
                                    y
                                    ^
                                  
                                
                              
                              )
                            
                            ·
                            
                              e
                              
                                
                                  -
                                  j∠
                                
                                ⁢
                                
                                  
                                
                                ⁢
                                
                                  A
                                  2
                                
                              
                            
                          
                          )
                        
                        2
                      
                    
                    +
                    
                      
                        
                        
                          A
                          3
                        
                        
                      
                      ·
                      
                        
                          (
                          
                            
                              (
                              
                                y
                                +
                                
                                  j
                                  ⁢
                                  
                                    y
                                    ^
                                  
                                
                              
                              )
                            
                            ·
                            
                              e
                              
                                
                                  -
                                  j∠
                                
                                ⁢
                                
                                  
                                
                                ⁢
                                
                                  A
                                  3
                                
                              
                            
                          
                          )
                        
                        3
                      
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        21
        )
      
    
  




Here, H[y] is the analytic signal of the signal y calculated using a Hilbert transform.

In the same way, the digital signal processing section 42 may calculate the following compensation data from the signal d output by the arbitrary waveform generator 48.




  
    
      
        
          
            
              
                d
                ~
              
              =
              
                d
                -
                
                  (
                  
                    
                      
                        
                          A
                          ~
                        
                        2
                      
                      *
                      
                        d
                        2
                      
                    
                    +
                    
                      
                        
                          A
                          ~
                        
                        3
                      
                      *
                      
                        d
                        3
                      
                    
                  
                  )
                
              
            
          
        
        
          
            
              =
              
                d
                -
                
                  Re
                  ⁡
                  
                    (
                    
                      
                        
                          
                          
                            A
                            2
                          
                          
                        
                        ·
                        
                          e
                          
                            -
                            
                              j2θ
                              0
                            
                          
                        
                        ·
                        
                          
                            H
                            ⁡
                            
                              [
                              d
                              ]
                            
                          
                          2
                        
                      
                      +
                      
                        
                          
                          
                            A
                            3
                          
                          
                        
                        ·
                        
                          e
                          
                            -
                            
                              j3θ
                              0
                            
                          
                        
                        ·
                        
                          
                            H
                            ⁡
                            
                              [
                              d
                              ]
                            
                          
                          3
                        
                      
                    
                    )
                  
                
              
            
          
        
        
          
            
              =
              
                d
                -
                
                  Re
                  (
                  
                    
                      
                        
                        
                          A
                          2
                        
                        
                      
                      ·
                      
                        
                          (
                          
                            
                              (
                              
                                d
                                +
                                
                                  j
                                  ⁢
                                  
                                    d
                                    ^
                                  
                                
                              
                              )
                            
                            ·
                            
                              e
                              
                                
                                  -
                                  j∠
                                
                                ⁢
                                
                                  
                                
                                ⁢
                                
                                  A
                                  2
                                
                              
                            
                          
                          )
                        
                        2
                      
                    
                    +
                    
                      
                        
                        
                          A
                          3
                        
                        
                      
                      ·
                      
                        
                          (
                          
                            
                              (
                              
                                d
                                +
                                
                                  j
                                  ⁢
                                  
                                    d
                                    ^
                                  
                                
                              
                              )
                            
                            ·
                            
                              e
                              
                                
                                  -
                                  j∠
                                
                                ⁢
                                
                                  
                                
                                ⁢
                                
                                  A
                                  3
                                
                              
                            
                          
                          )
                        
                        3
                      
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        22
        )
      
    
  




The following is a description of the signal path used when the semiconductor test apparatus 10 calibrates the waveform digitizer 46 and the arbitrary waveform generator 48. FIG. 25 shows a configuration of the semiconductor test apparatus 10 that includes each functional portion of the path switching section 60. The path switching section 60 includes a loop-back path that is made up of a switch 62, a switch 64, a switch 66, a switch 68, a switch 70 (load switching section), a load 72, and a noise removal filter 74. The path switching section 60 may switch these switches under control of the control section 20, or may switch the signal path between the testing section 40 and the device under test 80 according to the operational mode.
The loop-back path may include a plurality of transmission paths. The first transmission path is formed when calibrating the waveform digitizer 46, and passes the signal output by the arbitrary waveform generator 48 through the noise removal filter 74. The second transmission path is formed when calibrating the arbitrary waveform generator 48, and does not pass the signal output by the arbitrary waveform generator 48 through the noise removal filter 74. The load 72 is provided between the second transmission path and a ground potential. The switch 70 is controlled by the control section 20 to switch whether the load 72 is connected to the second transmission path. A variety of types of loads 72 may be used, and the switch 70 may switch which of the loads is connected to the second transmission path.
The semiconductor test apparatus 10 may be provided with the path switching section 60 in a performance board that is electrically connected to a terminal of the device under test 80. Instead, the semiconductor test apparatus 10 may be provided with the path switching section 60 in a calibration board that is used when calibrating the testing section 40. The calibration board may be provided in place of the performance board when calibration is performed.
The dotted line in FIG. 25 indicates the signal path when the semiconductor test apparatus 10 tests the device under test 80. The digital signal processing section 42 receives instructions from the control section 20 and reads from the memory 44 the waveform data and the compensation coefficients of the arbitrary waveform generator 48. The digital signal processing section 42 generates a test digital signal that compensates for the non-linear distortion caused by the arbitrary waveform generator 48, based on the test waveform data and the compensation coefficients, and outputs the test digital signal to the arbitrary waveform generator 48. The arbitrary waveform generator 48 converts the test digital signal into an analog signal, and outputs the analog signal to the path switching section 60. The analog signal input to the path switching section 60 may be output to an input terminal of the device under test 80 via the switch 62.
The device under test 80 outputs an analog signal from the output terminal thereof in response to the analog signal being input to the input terminal thereof. The path switching section 60 outputs the analog signal from the device under test 80 to the waveform digitizer 46 via the switch 68. Upon receiving the digital signal output by the waveform digitizer 46, the digital signal processing section 42 compensates the received digital signal based on the compensation coefficients of the waveform digitizer 46 read from the memory 44. The digital signal processing section 42 analyzes the compensated signal and judges the acceptability of the device under test 80.
FIG. 26 shows the signal path when the semiconductor test apparatus performs the identification process for the waveform digitizer 46. When performing the identification process for the waveform digitizer 46, the control section 20 instructs the digital signal processing section 42 to generate an identification signal. The control section 20 switches the switch 62 and the switch 68 in the path switching section 60 to separate the path switching section 60 from the device under test 80. Furthermore, the control section 20 switches the switch 64 and the switch 66 to connect the arbitrary waveform generator 48 and the waveform digitizer 46 via the first transmission path in the loop-back path. In other words, the path switching section 60 outputs the signal from the arbitrary waveform generator 48 to the waveform digitizer 46, through the noise removal filter 74. The noise removal filter 74 may be a low-pass filter that eliminates the harmonic wave noise included in the output signal of the arbitrary waveform generator 48.
The digital signal processing section 42 is controlled by the control section 20 to read the waveform data stored in the memory 44. The digital signal processing section 42 uses the read waveform data to generate a reference digital signal used in the identification process for the waveform digitizer 46, and outputs the reference digital signal to the arbitrary waveform generator 48. The arbitrary waveform generator 48 performs an analog conversion on the reference digital signal to generate the reference analog signal, and outputs the reference analog signal to the path switching section 60. The waveform digitizer 46 receives the reference analog signal via the signal line 22, the switch 62, the switch 64, the noise removal filter 74, the switch 66, and the switch 68. The waveform digitizer 46 performs a digital conversion on the reference analog signal to generate the reference digital signal, and outputs the reference digital signal to the digital signal processing section 42. The digital signal processing section 42 performs the identification process for the waveform digitizer 46 based on the received reference digital signal. The digital signal processing section 42 may store the distortion compensation coefficients calculated for the waveform digitizer 46 in the memory 44.
FIG. 27 shows the signal path when the semiconductor test apparatus 10 performs the identification process for the arbitrary waveform generator 48. When the identification process for the arbitrary waveform generator 48 is performed, the control section 20 instructs the digital signal processing section 42 to generate the identification signal. The control section 20 switches the switch 62 and the switch 68 in the path switching section 60 to separate the path switching section 60 from the device under test 80. Furthermore, the control section 20 switches the switch 64 and the switch 66 to connect the arbitrary waveform generator 48 and the waveform digitizer 46 via the second transmission path in the loop-back path. The control section 20 may switch the switch 70 connected in the second transmission path to select a value of a load 72 connected to the second transmission path. The loads 72 may have values equal to various impedances expected for the device under test 80.
The digital signal processing section 42 is controlled by the control section 20 to read the waveform data stored in the memory 44. The digital signal processing section 42 uses the read waveform data to generate a reference digital signal used in the identification process for the arbitrary waveform generator 48, and outputs the reference digital signal to the arbitrary waveform generator 48. The arbitrary waveform generator 48 performs an analog conversion on the reference digital signal to generate the reference analog signal, and outputs the reference analog signal to the path switching section 60. The waveform digitizer 46 receives the reference analog signal via the second transmission path including the signal line 22, the switch 62, the switch 64, the switch 66, and the switch 68. The waveform digitizer 46 performs a digital conversion on the reference analog signal to generate the reference digital signal, and outputs the reference digital signal to the digital signal processing section 42.
Upon receiving the reference digital signal from the waveform digitizer 46, the digital signal processing section 42 reads the compensation coefficients of the waveform digitizer 46 from the memory 44 and eliminates the distortion caused by the waveform digitizer 46 from the received signal. Furthermore, the digital signal processing section 42 identifies the distortion of the arbitrary waveform generator 48 by analyzing the signal from which the distortion of the waveform digitizer 46 is eliminated. The digital signal processing section 42 may store in the memory 44 the distortion compensation coefficients calculated for the arbitrary waveform generator 48.
When performing the identification process for the arbitrary waveform generator 48, the distortion identifying section 440 may calculate compensation coefficients, used when compensating for the arbitrary waveform generator 48, for each type of load 72. The distortion identifying section 440 may calculate compensation coefficients in advance for each temperature of the semiconductor test apparatus 10. Furthermore, the distortion identifying section 440 may calculate compensation coefficients, used when compensating for the arbitrary waveform generator 48, for each output current of the arbitrary waveform generator 48. The distortion identifying section 440 may store in the memory 44 a table of compensation coefficients corresponding to types of loads 72, temperatures of the semiconductor test apparatus 10, output currents, or some combination of these characteristics.
When testing the device under test 80, the signal compensating section 460 may select the compensation coefficients for the test signal based on the compensation coefficients corresponding to the type of load 72 or the output current of the arbitrary waveform generator 48. Instead, the signal compensating section 460 may select the compensation coefficients according to characteristics or test conditions of the device under test 80. As another example, the signal compensating section 460 may select the compensation coefficients according to the temperature of the semiconductor test apparatus 10.
FIG. 28 shows another embodiment relating to the path switching section 60. In this embodiment, the first transmission path includes a level converter 76 in series with the noise removal filter 74 between the switch 64 and the switch 66. The second transmission path includes a level converter 78 between the switch 64 and the switch 66. The level converter 76 may be an amplifier with a variable amplification rate, and the level converter 78 may be an attenuator with a variable attenuation rate.
If the input amplitude range of the waveform digitizer 46 is used to the maximum limit, the measurement by the waveform digitizer 46 is accurate. Accordingly, if the output amplitude range of the arbitrary waveform generator 48 is insufficient with respect to the input amplitude range of the waveform digitizer 46, the measurement accuracy of the waveform digitizer 46 drops. Furthermore, if the output amplitude range of the arbitrary waveform generator 48 is significantly greater than the input amplitude range of the waveform digitizer 46, the measurement accuracy of the waveform digitizer 46 drops.
To prevent this, the signal output by the arbitrary waveform generator 48 may be amplified or attenuated by changing the amplification rate of the level converter 76 or the attenuation rate of the level converter 78 according to the input amplitude range of the waveform digitizer 46 and the output amplitude range of the arbitrary waveform generator 48. In order for the input amplitude range of the waveform digitizer 46 to match the output amplitude range of the arbitrary waveform generator 48, the signal output by the arbitrary waveform generator 48 is desirably amplified or attenuated.
For example, when the output amplitude range of the arbitrary waveform generator 48 is less than the input amplitude range of the waveform digitizer 46, the semiconductor test apparatus 10 may perform the identification process for the waveform digitizer 46 after increasing the amplification rate of the level converter 76. On the other hand, when the output amplitude range of the arbitrary waveform generator 48 is greater than the input amplitude range of the waveform digitizer 46, the semiconductor test apparatus 10 may perform the identification process for the arbitrary waveform generator 48 after increasing the attenuation rate of the level converter 78.
FIG. 29 shows an exemplary reference signal used in the identification processes for the waveform digitizer 46 and the arbitrary waveform generator 48. The arbitrary waveform generator 48 generates the reference analog signal by converting the reference digital signal generated by the signal output control section 450 into an analog signal. The signal output control section 450 may generate the reference digital signal based on the waveform data read from the memory 44, and output the reference digital signal to the arbitrary waveform generator 48. The signal output control section 450 may output the reference signal to the arbitrary waveform generator 48 while compensation coefficients are set in the compensation signal generating section 480.
In FIG. 29, the upper waveform represents the identification signal included in the reference signal. The signal output control section 450 may transmit an identification digital signal that includes a cosine wave of 1 MHz, for example, over a duration of T seconds from signal transmission initiation. The signal output control section 450 then transmits the identification digital signal to the arbitrary waveform generator 48 while sequentially changing the frequency between f1, f2, and f3 at constant measurement cycles, such as durations of T seconds. The arbitrary waveform generator 48 generates the reference signal shown in FIG. 29 by performing an analog conversion on the digital signal received from the signal output control section 450.
The data extracting section 420 of the digital signal processing section 42 receives the reference signal via the waveform digitizer 46. The data extracting section 420 generates therein a cosine signal with a frequency of 1 MHz that is synchronized with an internal synchronization signal included in a leading portion of the reference signal. FIG. 29 shows the generated internal synchronization signal. The data extracting section 420 detects the timing for analyzing the identification signal according to a count of the generated internal synchronization signal.
The phase of the identification signal may be in synchronization with the phase of the internal identification signal. In other words, the phase relationship between these signals may be such that the phase of the identification signal is at a maximum when the phase of the internal identification signal is at a maximum. The period of the identification signal in the measurement cycle may be a fraction of the measurement cycle, where the numerator of the fraction is 1 and the denominator is an integer. The signal output control section 450 may control the duration of each measurement cycle such that the number of reference signal cycles in each measurement cycle is an integer value. In other words, the frequency of the identification signal may be an integer multiple of the frequency of the internal synchronization signal.
Upon receiving the reference signal from the waveform digitizer 46, the data extracting section 420 detects the starting point of the internal synchronization signal and begins counting the internal synchronization signal. After a prescribed time has passed since the starting point of the internal synchronization signal and after a prescribed wait time (GI) has passed since the initiation timing of the current cycle, the data extracting section 420 begins extracting the data included in the received reference signal. The data extracting section 420 may set the wait time to be a duration that is greater than or equal to the maximum signal period from among the signal periods at which the reference signal changes. The data extracting section 420 may instead set the wait time to be a duration that is a common multiple of each signal period at which the reference signal changes. By providing a wait time before and after the timing at which each measurement signal is discontinuous due to a change, the analyzed signal does not include reference signals with a plurality of different frequencies, and therefore the precision of the identification process is increased.
After a prescribed time has passed since the initiation of data extraction, the data extracting section 420 ends the data extraction. In each measurement cycle, the data extracting section 420 may extract a number of data points corresponding to an integer multiple of the period of the reference signal, beginning after the wait time and ending at the end time of the current measurement cycle. The signal output control section 450 may output a reference signal in which the signal period in each measurement cycle is a fraction of the analyzing duration corresponding to the period from the end of the wait time to the end of the measurement cycle, where the fraction has a numerator of 1 and a denominator that is an integer.
The distortion identifying section 440 receives the data extracted by the data extracting section 420 and detects the non-linear distortion for each frequency of the data. More specifically, the reference spectrum calculating section 442 calculates the spectrum in the received reference signal. For example, the reference spectrum calculating section 442 may calculate the frequency characteristics of the second-order harmonic waves and the third-order harmonic waves included in the identification signal at each frequency. The reference spectrum calculating section 442 may acquire the data of the digital signal over a duration that is an integer multiple of each measurement cycle, and perform a Fourier transform on this data.
FIG. 30 shows frequency characteristics of second-order harmonic waves and third-order harmonic waves calculated by the reference spectrum calculating section 442. The upper graph of FIG. 30 shows that the spectra of the second-order harmonic waves of identification signal with frequencies of f1, f2, f3, and f4 appear at frequencies of 2f1, 2f2, 2f3, and 2f4. The lower graph of FIG. 30 shows that the spectra of the third-order harmonic waves of the identification signal with frequencies of f1, f2, f3, and f4 appear at frequencies of 3f1, 3f2, 3f3, and 3f4. Here, the frequencies f1, f2, f3, and f4 are respectively 1 MHz, 10 MHz, 100 MHz, and 1 GHz.
In order to accurately measure a signal that includes a variety of frequency components, the semiconductor test apparatus 10 desirably calculates compensation coefficients for as many frequencies as possible, and holds the calculated compensation coefficients. On the other hand, when the number of compensation coefficients held by the semiconductor test apparatus 10 increases, the time necessary for the identification process is lengthened and the amount of memory needed to store the compensation coefficients increases. Therefore, the semiconductor test apparatus 10 may generate distortion interpolation information obtained by interpolating a relationship between the non-linear distortion and the frequency between each frequency at which the reference signal changes, based on the non-linear distortion at each frequency detected by the distortion identifying section 440.
For example, the semiconductor test apparatus 10 may generate interpolation values for frequencies other than f1, f2, f3, and f4 included in the reference signal based on the amplitude of the second-order harmonic wave and the third-order harmonic wave of the frequencies f1, f2, f3, and f4, and may calculate compensation coefficients using the generated interpolation values. In FIG. 30, the dotted lines connecting the tips of the arrows representing the spectra of the second-order harmonic wave and the third-order harmonic wave of the frequencies f1, f2, f3, and f4 indicates the amplitude of the interpolated spectra. The interpolation method may be spline interpolation, spline regression, non-linear square method, or some other method. The distortion detecting section 446 may store in the memory 44 the compensation coefficients calculated using the calculated distortion interpolation information.
FIG. 31 shows the digital signal processing section 42 provided with the distortion calculating section 449 for calculating the distortion interpolation information. When an analog signal with a frequency different from the frequencies at which the reference signal changes is input to the digitizer, the distortion calculating section 449 may calculate the non-linear distortion caused by the waveform digitizer 46 based on the non-linear distortion at each frequency detected by the distortion identifying section 440.
In the present example, however, the frequency interval between f3 and f4 is greater than the frequency interval between f1 and f2, and therefore the accuracy of the interpolation between frequencies f3 and f4 is lower. To solve this problem, the distortion calculating section 449 may generate the distortion interpolation data by converting the frequency of the reference signal with a logarithm. FIG. 32 shows the spectra of the second-order harmonic waves and the third-order harmonic waves of frequencies f1, f2, f3, and f4 when a logarithmic conversion is applied to the frequency axis. The distortion calculating section 449 generates the distortion interpolation information after performing a logarithmic conversion on the frequency of the reference signal, and can therefore interpolate between any frequency pairs with substantially the same accuracy since the intervals between frequency pairs are made substantially equal.
The above embodiments describe a calibration method for decreasing the second-order harmonic waves and the third-order harmonic waves. In other embodiments, the non-linear distortion of higher-order harmonic wave components may be detected sequentially, and compensation coefficients may be generated to correspond to each harmonic wave component. For example, if the polynomial expansion of the non-linear distortion shown in Expressions 4 to 7 is adapted for harmonic waves up to the fifth order, and the input signal is Vin(t)=M0*Cos(2πf0t+θ0), then the output voltage can be expressed as shown below.




  
    
      
        
          Vout
          ⁡
          
            (
            t
            )
          
        
        =
        
        ⁢
        
          
            
              M
              0
            
            *
            
              Cos
              ⁡
              
                (
                
                  
                    2
                    ⁢
                    π
                    ⁢
                    
                      
                    
                    ⁢
                    
                      f
                      0
                    
                    ⁢
                    t
                  
                  +
                  
                    θ
                    0
                  
                
                )
              
            
          
          +
          
            
              ∑
              
                i
                =
                2
              
              5
            
            ⁢
            
              
                A
                i
              
              *
              
                
                  (
                  
                    
                      M
                      0
                    
                    *
                    
                      Cos
                      ⁡
                      
                        (
                        
                          
                            
                              
                                
                                  2
                                  ⁢
                                  π
                                  ⁢
                                  
                                    
                                  
                                  ⁢
                                  
                                    f
                                    0
                                  
                                  ⁢
                                  t
                                
                                +
                              
                            
                          
                          
                            
                              
                                
                                  θ
                                  0
                                
                                +
                                
                                  φ
                                  i
                                
                              
                            
                          
                        
                        )
                      
                    
                  
                  )
                
                i
              
            
          
        
      
    
  
  
    
      
        =
        
        ⁢
        
          
            
              
                M
                0
                2
              
              ·
              
                A
                2
              
            
            2
          
          +
          
            
              3
              ·
              
                M
                0
                4
              
              ·
              
                A
                4
              
            
            8
          
          +
        
      
    
  
  
    
      
        
        ⁢
        
          
            (
            
              
                
                  
                    
                      
                        M
                        0
                      
                      ·
                      
                        Cos
                        ⁡
                        
                          (
                          
                            
                              2
                              ⁢
                              π
                              ⁢
                              
                                
                              
                              ⁢
                              
                                f
                                0
                              
                              ⁢
                              t
                            
                            +
                            
                              θ
                              0
                            
                          
                          )
                        
                      
                    
                    +
                  
                
              
              
                
                  
                    
                      
                        3
                        4
                      
                      ⁢
                      
                        
                          M
                          0
                          3
                        
                        ·
                        
                          A
                          3
                        
                        ·
                        
                          Cos
                          ⁡
                          
                            (
                            
                              
                                2
                                ⁢
                                π
                                ⁢
                                
                                  
                                
                                ⁢
                                
                                  f
                                  0
                                
                                ⁢
                                t
                              
                              +
                              
                                θ
                                0
                              
                              +
                              
                                φ
                                3
                              
                            
                            )
                          
                        
                      
                    
                    +
                  
                
              
              
                
                  
                    
                      10
                      16
                    
                    ⁢
                    
                      
                        M
                        0
                        5
                      
                      ·
                      
                        A
                        5
                      
                      ·
                      
                        Cos
                        ⁡
                        
                          (
                          
                            
                              2
                              ⁢
                              π
                              ⁢
                              
                                
                              
                              ⁢
                              
                                f
                                0
                              
                              ⁢
                              t
                            
                            +
                            
                              θ
                              0
                            
                            +
                            
                              φ
                              5
                            
                          
                          )
                        
                      
                    
                  
                
              
            
            )
          
          +
        
      
    
  
  
    
      
        
        ⁢
        
          
            
              
                
                  M
                  0
                  2
                
                ·
                
                  A
                  2
                
              
              2
            
            ·
            
              Cos
              ⁡
              
                (
                
                  
                    2
                    ⁢
                    
                      π
                      ·
                      2
                    
                    ⁢
                    
                      f
                      0
                    
                    ⁢
                    t
                  
                  +
                  
                    2
                    ⁢
                    
                      θ
                      0
                    
                  
                  +
                  
                    2
                    ⁢
                    
                      φ
                      2
                    
                  
                
                )
              
            
          
          +
        
      
    
  
  
    
      
        
        ⁢
        
          
            
              
                4
                ·
                
                  M
                  0
                  4
                
                ·
                
                  A
                  4
                
              
              8
            
            ·
            
              Cos
              ⁡
              
                (
                
                  
                    2
                    ⁢
                    
                      π
                      ·
                      2
                    
                    ⁢
                    
                      f
                      0
                    
                    ⁢
                    t
                  
                  +
                  
                    2
                    ⁢
                    
                      θ
                      0
                    
                  
                  +
                  
                    2
                    ⁢
                    
                      φ
                      4
                    
                  
                
                )
              
            
          
          +
        
      
    
  
  
    
      
        
        ⁢
        
          
            
              
                
                  M
                  0
                  3
                
                ·
                
                  A
                  3
                
              
              4
            
            ·
            
              Cos
              ⁡
              
                (
                
                  
                    2
                    ⁢
                    
                      π
                      ·
                      3
                    
                    ⁢
                    
                      f
                      0
                    
                    ⁢
                    t
                  
                  +
                  
                    3
                    ⁢
                    
                      θ
                      0
                    
                  
                  +
                  
                    3
                    ⁢
                    
                      φ
                      3
                    
                  
                
                )
              
            
          
          +
        
      
    
  
  
    
      
        
        ⁢
        
          
            
              
                5
                ·
                
                  M
                  0
                  5
                
                ·
                
                  A
                  5
                
              
              16
            
            ·
            
              Cos
              ⁡
              
                (
                
                  
                    2
                    ⁢
                    
                      π
                      ·
                      3
                    
                    ⁢
                    
                      f
                      0
                    
                    ⁢
                    t
                  
                  +
                  
                    3
                    ⁢
                    
                      θ
                      0
                    
                  
                  +
                  
                    3
                    ⁢
                    
                      φ
                      5
                    
                  
                
                )
              
            
          
          +
        
      
    
  
  
    
      
        
        ⁢
        
          
            
              
                
                  M
                  0
                  4
                
                ·
                
                  A
                  4
                
              
              8
            
            ·
            
              Cos
              ⁡
              
                (
                
                  
                    2
                    ⁢
                    
                      π
                      ·
                      4
                    
                    ⁢
                    
                      f
                      0
                    
                    ⁢
                    t
                  
                  +
                  
                    4
                    ⁢
                    
                      θ
                      0
                    
                  
                  +
                  
                    4
                    ⁢
                    
                      φ
                      4
                    
                  
                
                )
              
            
          
          +
        
      
    
  
  
    
      
        
        ⁢
        
          
            
              
                M
                0
                5
              
              ·
              
                A
                5
              
            
            16
          
          ·
          
            Cos
            ⁡
            
              (
              
                
                  2
                  ⁢
                  
                    π
                    ·
                    5
                  
                  ⁢
                  
                    f
                    0
                  
                  ⁢
                  t
                
                +
                
                  5
                  ⁢
                  
                    θ
                    0
                  
                
                +
                
                  5
                  ⁢
                  
                    φ
                    5
                  
                
              
              )
            
          
        
      
    
  




In this way, by setting the amplitude of the input signal as H1=GM0·A1, the amplitude of the DC component, the second-order harmonic wave component, the third-order harmonic wave component, the fourth-order harmonic wave component, and the fifth-order harmonic wave component can be approximated as shown below.




  
    
      H
      0
    
    =
    
      
        G
        ⁢
        
          
        
        ⁢
        
          
            M
            0
            2
          
          ·
          
            A
            2
          
        
      
      2
    
  
  ,
  
    
      H
      2
    
    =
    
      
        G
        ⁢
        
          
        
        ⁢
        
          
            M
            0
            2
          
          ·
          
            A
            2
          
        
      
      2
    
  
  ,
  
    
      H
      3
    
    =
    
      
        G
        ⁢
        
          
        
        ⁢
        
          
            M
            0
            3
          
          ·
          
            A
            3
          
        
      
      4
    
  
  ,
  
    
      H
      4
    
    =
    
      
        G
        ⁢
        
          
        
        ⁢
        
          
            M
            0
            4
          
          ·
          
            A
            4
          
        
      
      8
    
  
  ,
  
    
      H
      5
    
    =
    
      
        G
        ⁢
        
          
        
        ⁢
        
          
            M
            0
            5
          
          ·
          
            A
            5
          
        
      
      16
    
  
  ,




From these relationships, the polynomial coefficients A1 to A5 may be identified to calculate the compensation coefficients.

The third-order harmonic wave component mixes with the fundamental wave and the fifth-order harmonic wave component mixes with the third-order harmonic wave, and it is therefore desirable to perform sequential identification beginning with higher-order spectra. For example, if the fifth-order wave spectrum is represented as |G5|·exp(j·q5), then the fifth-order wave is expressed as shown below having a phase five times that of the fundamental wave.




  
    
      
        
          
            
            
              G
              5
            
            
          
          ·
          
            exp
            ⁡
            
              (
              
                j
                ·
                
                  q
                  5
                
              
              )
            
          
        
        =
        
          
            
              
                M
                0
                5
              
              ·
              
                A
                5
              
            
            16
          
          ·
          
            exp
            ⁡
            
              (
              
                j
                ·
                
                  (
                  
                    
                      5
                      ⁢
                      
                        θ
                        0
                      
                    
                    +
                    
                      5
                      ⁢
                      
                        φ
                        5
                      
                    
                  
                  )
                
              
              )
            
          
        
      
    
    
      
        (
        22
        )
      
    
  




Since the phase that can be calculated from the spectrum is only a principal value, the addition of an angle that is an integer multiple of 2π to the actual angle cannot be detected. In other words, it is possible that calculating 1⁄5 of the phase q5 obtained from the spectrum does not result in φ5.

Here, if the range of possible values for φ5 are expressed by Expression 23, then the range of possible values for q5 can be expressed as shown in Expression 24.

−π≦φ5<π  (23)

−5π≦q5<5π  (24)

The phase may be sought within this range. In other words, with n representing an integer, the following expression can be used to find an optimal value by changing n within the range of Expression 25.

 q5=q5+2π·n  (25)

For example, the possible values are used to perform polynomial compensation, and the optimal value is determined to be the value at which the distortion component caused by the fifth-order harmonic wave component, i.e. both the fifth-order harmonic wave distortion and the third-order harmonic wave distortion, is at a minimum value. An optimal value for the fourth-order harmonic wave and the second-order harmonic wave can be obtained in the same manner.

As another exemplary embodiment, the higher-order harmonic distortion can be eliminated by repeating the identification process compensating for the second-order harmonic wave and the third-order harmonic wave. For example, the identification process for the waveform digitizer 46 may use a signal generated by the arbitrary waveform generator 48 on which the identification process compensating for the second-order harmonic wave and the third-order harmonic wave has been performed. When the distortion of the identification signal is decreased, the accuracy of the identification process increases and the distortion in the compensated signal decreases. Accordingly, if the semiconductor test apparatus 10 performs the identification process for the waveform digitizer 46 using the signal formed by the noise removal filter 74 from the compensated signal output by the arbitrary waveform generator 48, the semiconductor test apparatus 10 can decrease higher orders of harmonic distortion.
FIG. 33 shows another exemplary configuration of the distortion identifying section 440. The distortion identifying section 440 of the present embodiment further includes an interpolating section 445 in addition to the configuration of the distortion identifying section 440 described in relation to FIGS. 1 to 32. Other configurational elements may be the same as those of the distortion identifying section 440 described in relation to FIGS. 1 to 32.
The distortion detecting section 446 of the present embodiment identifies the non-linear distortion of at least one of the waveform digitizer 46 and the arbitrary waveform generator 48 with a plurality of different measurement conditions. These measurement conditions may include the frequency of the signal input to the waveform digitizer 46, the frequency of the signal output by the arbitrary waveform generator 48, the amplitude of these signals, the offset voltage of these signals, the resistance value of the load through which the signal output by the arbitrary waveform generator 48 is transmitted, and the sampling frequency of the waveform digitizer 46. The measurement conditions are not limited to the characteristics stated above, and may be any parameters that change the non-linear distortion of the waveform digitizer 46 or the arbitrary waveform generator 48.
The measurement conditions may be set by the control section 20. The control section 20 may sequentially change at least one of the above parameters. The distortion detecting section 446 identifies the non-linear distortion of at least one of the waveform digitizer 46 and the arbitrary waveform generator 48 by performing, for each parameter value, the processes described in relation to FIGS. 1 to 32.
The interpolating section 445 calculates the non-linear distortion of a measurement condition that is not identified by the distortion detecting section 446. In the present embodiment, the interpolating section 445 calculates the non-linear distortion caused by a measurement condition that is not identified by the distortion identifying section by performing an interpolation using the non-linear distortion identified by the distortion detecting section 446.
This interpolation involves using the non-linear distortion of at least two measurement conditions to calculate the non-linear distortion of a measurement condition having a parameter value between the at least two measurement conditions. More specifically, the interpolating section 445 may calculate the non-linear distortion of a measurement condition that is not identified by the distortion detecting section 446 by using a widely known interpolation technique such as spline interpolation, spline regression, or non-linear square method.
The interpolating section 445 may calculate compensation coefficients that compensate for the non-linear distortion of a measurement condition that is not identified by the distortion detecting section 446, by performing an interpolation using the compensation coefficients calculated for each value of non-linear distortion identified by the distortion detecting section 446. The interpolating section 445 may calculate the compensation coefficients that compensate for the non-linear distortion of a measurement condition that is not identified by the distortion detecting section 446 using any one of the widely known interpolation techniques stated above.
The signal compensating section 460 described in relation to FIGS. 1 to 32 compensates for the non-linear distortion of a measurement condition that is not identified by the distortion identifying section 440, based on the non-linear distortion identified by the distortion identifying section 440. The signal compensating section 460 of the present embodiment compensates for the non-linear distortion of the waveform digitizer 46 and the arbitrary waveform generator 48 by using the compensation coefficients of measurement conditions identified by the distortion identifying section 440 and compensation coefficients calculated by the interpolating section 445. With this configuration, the digital signal processing section 42 can more accurately compensate for the non-linear distortion of the waveform digitizer 46 and the arbitrary waveform generator 48.
FIG. 34 shows measurement results that are obtained by measuring the second-order and third-order non-linear distortion of the arbitrary waveform generator 48 while changing the DC offset voltage of the signal output by the arbitrary waveform generator 48. In FIG. 34, the white circles represent second-order non-linear distortion identified by the distortion identifying section 440 and the white squares represent third-order non-linear distortion identified by the distortion identifying section 440. As shown in FIG. 34, changing the DC offset voltage causes the non-linear distortion to change.
The interpolating section 445 described above may calculate unmeasured non-linear distortion based on the non-linear distortion identified by the distortion identifying section 440. In FIG. 34, the black circles represent second-order non-linear distortion obtained from an interpolation and the black squares represent third-order non-linear distortion obtained from an interpolation. For both the amplitude component and the phase component of the signal output by the arbitrary waveform generator 48, the distortion identifying section 440 may identify the non-linear distortion at a plurality of measurement conditions and perform interpolations to calculate the non-linear distortion at measurement conditions other than the identified measurement conditions.
FIG. 35 shows compensation coefficients for the second-order and third-order non-linear distortion at each DC offset voltage. As described above, the distortion detecting section 446 calculates the compensation coefficients at the measurement conditions for which the identification is performed, based on the identified non-linear distortion. In FIG. 35, the white circles represent the compensation coefficients for the second-order non-linear distortion and the white squares represent the compensation coefficients for the third-order non-linear distortion.
As described above, the interpolating section 445 may calculate the compensation coefficients at measurement conditions for which the non-linear distortion is not measured, based on the compensation coefficients at measurement conditions for which the non-linear distortion has been measured. In FIG. 35, the black circles represent compensation coefficients obtained by interpolations for the second-order non-linear distortion and the black squares represent compensation coefficients obtained by interpolations for the third-order non-linear distortion. For both the amplitude component and the phase component of the signal output by the arbitrary waveform generator 48, the distortion identifying section 440 may calculate the compensation coefficients for the identified non-linear distortion and perform interpolations to obtain the compensation coefficients for non-linear distortion at measurement conditions for which the identification is not performed.
FIG. 36 shows an example of second-order non-linear distortion that has been compensated for using compensation coefficients calculated by the distortion identifying section 440. In FIG. 36, the black circles and white circles represent pre-compensated second-order non-linear distortion and the triangles represent compensated second-order non-linear distortion. With the process described above, the second-order non-linear distortion can be held below −85 dBc.
FIG. 37 shows an example of third-order non-linear distortion that has been compensated for using compensation coefficients calculated by the distortion identifying section 440. In FIG. 37, the black squares and white squares represent pre-compensated third-order non-linear distortion and the triangles represent compensated third-order non-linear distortion. With the process described above, the third-order non-linear distortion can be held below −85 dBc.
FIG. 38 shows another exemplary operation of the semiconductor test apparatus 10. The distortion identifying section 440 of the present embodiment identifies the non-linear distortion of at least one of the waveform digitizer 46 and the arbitrary waveform generator 48 at a plurality of different measurement conditions while changing at least two parameters.
For example, the distortion identifying section 440 may identify the non-linear distortion at every parameter value while changing the offset voltage and the amplitude of the signal output by the arbitrary waveform generator 48. In FIG. 38, the white circles represent the non-linear distortion identified by the distortion identifying section 440. The distortion identifying section 440 acquires three-dimensional measurement results for the level of the non-linear distortion, the signal amplitude, and the offset voltage of the signal, as shown in FIG. 38. The interpolating section 445 may perform an interpolation based on multi-dimensional measurement results acquired by the distortion identifying section 440. The interpolating section 445 may interpolate compensation coefficients for identified non-linear distortion. The interpolating section 445 may interpolate the non-linear distortion or the compensation coefficients using a widely known multi-dimensional interpolation technique.
While the embodiments of the present invention have been described, the technical scope of the invention is not limited to the above described embodiments. It is apparent to persons skilled in the art that various alterations and improvements can be added to the above-described embodiments. It is also apparent from the scope of the claims that the embodiments added with such alterations or improvements can be included in the technical scope of the invention.
The operations, procedures, steps, and stages of each process performed by an apparatus, system, program, and method shown in the claims, embodiments, or diagrams can be performed in any order as long as the order is not indicated by “prior to,” “before,” or the like and as long as the output from a previous process is not used in a later process. Even if the process flow is described using phrases such as “first” or “next” in the claims, embodiments, or diagrams, it does not necessarily mean that the process must be performed in this order.

## Claims

1. A test apparatus that tests a device under test, comprising:
a waveform generator that generates a test signal to be supplied to the device under test;
a digitizer that measures a response signal output by the device under test; a judging section that judges acceptability of the device under test based on the measurement result of the digitizer;
a loop-back path that connects an output terminal of the waveform generator to an input terminal of the digitizer when calibration is performed for the waveform generator and the digitizer, wherein the loop-back path includes:
a noise removal filter that eliminates a noise component from a signal passed therethrough; and
a path switching section that connects the waveform generator to the digitizer via the noise removal filter when the digitizer is being calibrated, and connects the waveform generator to the digitizer without including the noise removal filter therebetween when the waveform generator is being calibrated;

the test apparatus further comprising:
a waveform generation control section that, when the digitizer is being calibrated, causes the waveform generator to output a prescribed reference signal and causes the prescribed reference signal to be input to the digitizer through the noise removal filter;
a digitizer distortion identifying section that identifies non-linear distortion caused by the digitizer, based on a reference digital signal output by the digitizer according to the reference signal; and
a digitizer signal compensating section that compensates the reference digital signal output by the digitizer according to the response signal from the device under test when the device under test is being tested, based on the non-linear distortion identified by the digitizer distortion identifying section.

2. The test apparatus according to claim 1, wherein
when the waveform generator is being calibrated after the digitizer has been calibrated, the waveform generation control section causes the waveform generator to output a prescribed analog signal and inputs the prescribed analog signal to the digitizer without passing the prescribed analog signal through the noise removal filter, and the test apparatus further comprises:
a waveform generator distortion identifying section that identifies the non-linear distortion caused by the waveform generator, based on a digital signal output by the digitizer according to the prescribed analog signal; and
a waveform generator signal compensating section that compensates the test signal output to the device under test by the waveform generator when the device under test is being tested, based on the non-linear distortion identified by the waveform generator distortion identifying section.

3. The test apparatus according to claim 2, wherein the loop-back path includes:
a first transmission path that, when the digitizer is being calibrated, provides a connection between the waveform generator and the digitizer and passes a signal through the noise removal filter;
a second transmission path that, when the waveform generator is being calibrated, provides a connection between the waveform generator and the digitizer and does not pass a signal through the noise removal filter;
a load that is provided between the second transmission path and a ground potential; and
a load switching section that switches whether the load is connected to the second transmission path.

4. The test apparatus according to claim 3, wherein
the loop-back path includes a plurality of types of the loads between the second transmission path and the ground potential,
the load switching section switches which of the loads is connected to the second transmission path, and
the waveform generator distortion identifying section identifies the non-linear distortion caused by the waveform generator for each type of load that is connected to the second transmission path, and calculates for each type of load a compensation coefficient to be used by the waveform generator signal compensating section.

5. The test apparatus according to claim 4, wherein
the waveform generator signal compensating section selects the compensation coefficient used to compensate the test signal according to a characteristic of the device under test.

6. The test apparatus according to claim 4, wherein
the waveform generator signal compensating section selects the compensation coefficient to be used for compensating the test signal according to a test condition of the device under test.

7. The test apparatus according to claim 2, wherein
each digitizer and waveform generator distortion identifying section calculates in advance, for each temperature of the test apparatus, a compensation coefficient to be used for compensation of the non-linear distortion by the corresponding signal compensating section, and
each digitizer and waveform generator signal compensating section selects the compensation coefficient to be used for compensating for the non-linear distortion according to the temperature of the test apparatus at the time of testing the device under test.

8. The test apparatus according to claim 1, wherein the digitizer distortion identifying section includes:
a reference spectrum calculating section that calculates a spectrum of the reference digital signal;
a reference data converting section that rearranges each of a plurality of frequency components in the spectrum along a frequency axis such that (i) a fundamental wave component and harmonic wave components of the reference digital signal are within a first Nyquist region of the spectrum of the reference digital signal and (ii) image components of the fundamental wave component and the harmonic wave components are within a second Nyquist region of the spectrum; and
a distortion detecting section that detects the non-linear distortion of the reference digital signal caused by each harmonic wave component, based on each harmonic wave component having a prescribed order number in the spectrum in which each frequency component has been rearranged by the reference data converting section.

9. The test apparatus according to claim 8, wherein
the reference data converting section rearranges each frequency component in the spectrum such that, for each order number of harmonic wave, the frequency of the harmonic wave component becomes a predetermined frequency in the first Nyquist region.

10. The test apparatus according to claim 9, wherein
the reference data converting section rearranges each frequency component in the spectrum such that the fundamental wave component moves to a first frequency bin in the spectrum and the harmonic wave component having an N-th order number moves to the N-th frequency bin in the spectrum.

11. The test apparatus according to claim 10, wherein
the reference data converting section causes the frequency component at the frequency bin number that is k-times the frequency bin number of the fundamental wave component in the spectrum calculated by the reference spectrum calculating section to be the frequency component at the k-th frequency bin in the spectrum whose data has been rearranged, and
if k-times the frequency bin number of the fundamental wave component is greater than the maximum frequency bin number in the spectrum, the reference data converting section causes (i) the frequency component at the frequency bin number corresponding to a value obtained by subtracting, from k-times the frequency bin number of the fundamental wave component, a value according to the maximum frequency bin number to be (ii) the frequency component at the k-th frequency bin in the spectrum whose data has been rearranged.

12. The test apparatus according to claim 8, wherein
the digitizer signal compensating section includes:
an analytic signal generating section that generates an analytic signal of the reference digital signal;
a compensation signal generating section that generates compensation signals that compensate for the non-linear distortion of the reference digital signal, based on signals obtained by raising the analytic signal to powers; and
a compensating section that compensates for the non-linear distortion by subtracting each compensation signal from the reference digital signal, and
the analytic signal generating section includes:
a target spectrum calculating section that calculates a pre-compensated spectrum of the reference digital signal by performing a Fourier transform on the reference digital signal;
a target data converting section that rearranges each frequency component in the pre-compensated spectrum such that (i) the fundamental wave component and the harmonic wave components of the reference digital signal are within the first Nyquist region of the pre-compensated spectrum and (ii) the image components of the fundamental wave component and the harmonic wave components are within the second Nyquist region of the pre-compensated spectrum;
a band limiting section that eliminates the frequency components in the second Nyquist region of the pre-compensated spectrum in which each frequency component has been rearranged by the target data converting section; and
an analytic signal generating section that generates the analytic signal by performing an inverse Fourier transform on the pre-compensated spectrum output by the band limiting section.

13. The test apparatus according to claim 12, wherein the compensation signal generating section includes:
an exponentiating section that generates exponentiated signals by raising the analytic signal to a power equal to the order number of each of a corresponding harmonic wave component from among the harmonic wave components having the prescribed order numbers in the reference digital signal; and
a coefficient multiplying section that generates the compensation signals by multiplying (i) each exponentiated signal by (ii) a coefficient corresponding to the non-linear distortion caused by each harmonic wave component and identified by the distortion detecting section.

14. The test apparatus according to claim 13, further comprising a phase compensating section that generates a plurality of types of the analytic signal by compensating the phase of the analytic signal generated by the analytic signal generating section according to the phase of each harmonic wave component, and supplies the generated analytic signals to the exponentiating section, wherein
the exponentiating section raises each analytic signal to a power according to the order number of the corresponding harmonic wave component.

15. The test apparatus according to claim 14, further comprising an inverse data converting section that rearranges each frequency component in a compensated spectrum of the reference digital signal output by the compensating section such that each frequency component in the compensated spectrum is returned to an original frequency, the original frequency being the frequency of the frequency component prior to being moved by the data converting section.

16. The test apparatus according to claim 1, wherein the digitizer distortion identifying section identifies the non-linear distortion for a plurality of different measurement conditions, and
the digitizer signal compensating section compensates for the non-linear distortion of measurement conditions not identified by the digitizer distortion identifying section, based on the non-linear distortion identified by the digitizer distortion identifying section.

17. The test apparatus according to claim 16, further comprising an interpolating section that interpolates the non-linear distortion of a test condition not measured by the digitizer distortion identifying section using the non-linear distortion identified by the digitizer distortion identifying section.

18. The test apparatus according to claim 17, wherein
the digitizer distortion identifying section calculates, for each instance of identified non-linear distortion, a compensation coefficient that compensates for the non-linear distortion, and the interpolating section calculates a compensation coefficient that compensates for the non-linear distortion of a measurement condition that is not identified by the digitizer distortion identifying section, by performing an interpolation using the compensation coefficients calculated by the digitizer distortion identifying section.

19. A performance board that is in a test apparatus for testing a device under test and that is electrically connected to a terminal of the device under test, wherein the test apparatus includes:
a waveform generator that generates a test signal to be supplied to the device under test;
a digitizer that measures a response signal output by the device under test; and
a judging section that judges acceptability of the device under test based on the measurement result of the digitizer,
the performance board includes a loop-back path that connects an output terminal of the waveform generator to an input terminal of the digitizer when calibration is performed for the waveform generator and the digitizer, and
the loop-back path includes:
a noise removal filter that eliminates a noise component from a signal passed therethrough; and
a path switching section that connects the waveform generator to the digitizer via the noise removal filter when the digitizer is being calibrated, and connects the waveform generator to the digitizer without including the noise removal filter therebetween when the waveform generator is being calibrated;

the test apparatus further including:
a waveform generation control section that, when the digitizer is being calibrated, causes the waveform generator to output a prescribed reference signal and causes the prescribed reference signal to be input to the digitizer through the noise removal filter;
a digitizer distortion identifying section that identifies non-linear distortion caused by the digitizer, based on a reference digital signal output by the digitizer according to the reference signal; and
a digitizer signal compensating section that compensates the reference digital signal output by the digitizer according to the response signal from the device under test when the device under test is being tested, based on the non-linear distortion identified by the digitizer distortion identifying section.