Determining the frequency response of a device is a common problem. In the simplest case, the device under test (DUT) is stimulated with a single tone signal, and the response of the DUT as a function of frequency is measured. If the DUT is linear, the outputs of the DUT at the tone frequency are sufficient to characterize the DUT and are often measured in a vector network analyzer (VNA). To fully characterize the DUT as a function of frequency, this procedure is repeated at a number of different stimulation frequencies. However, if the number of test frequencies is large, this procedure can require a significant length of time to complete. Even if the time interval required to completely test the circuit is acceptable, the circuit parameters can change over the course of the test due to changes in environmental variables such as temperature. Hence, methods that reduce the test time have been sought.
One solution to this problem involves using a more complex stimulation signal having a number of different tones and measuring the response of the DUT at each of the tones simultaneously. Test systems based on these more complex signals require substantially less time to fully characterize the DUT; however, problems arise if the output signal from the DUT has a small amplitude at one or more of the test frequencies. For example, a DUT consisting of a bandpass filter will have very low amplitude output signals at frequencies out of the pass band of the filter; however, the shape of the pass band is an important characteristic that needs to be measured.
These problems are often the result of the noise floor in the receiver in the VNA used to measure the output of the DUT. There is a limit to the power that can be input to the DUT, and hence, the power in the signal received from the DUT is limited. The receiver has some minimum noise that interferes with the measurement of the signals from the DUT. Hence, the test system can be used over some dynamic range that is determined by the noise floor of the receiver. For the purposes of this discussion, the dynamic range of the receiver is the ratio of the maximum signal that can be measured to the minimum signal that can be measured, which is a function of the signal-to-noise ratio in the receiver.
If a single tone test signal is utilized, all of the power is concentrated in this test signal, and hence, the output of the DUT at that frequency is also at the maximum value that can be obtained consistent with the limitations on the input signal power. Accordingly, this type of test system will have the greatest dynamic range. When the power is spread among a number of frequencies, the output of the DUT at each frequency is reduced, and hence, the signal-to-noise ratio in the receiver at each of the frequencies is likewise reduced. In addition, the noise levels associated with these multi-tone systems are greater than those encountered in a single tone system. As a result of these factors, the dynamic range of the multi-tone test systems is typically less than that of the single tone systems. Hence, there is a tradeoff between the number of frequencies that can be tested with a single stimulus signal and the dynamic range of the resulting test measurements.
In addition to the dynamic range limitations, the generation of these more complex signals becomes problematic. In principle, a stimulation signal having the desired frequency spectrum can be generated by combining a number of single tones numerically on a computer to provide a digital representation of the desired stimulus signal. The digital signal values are then stored in the memory of a pattern generating circuit that feeds the signal values to a digital-to-analog converter whose output provides the analog stimulus signal. Unfortunately, at very high frequencies, the cost of the digital-to-analog (DAC′) converter becomes limiting, in fact, high dynamic range DAC's, e.g. 15 bit, are not currently available at high frequencies.
To overcome the digital-to-analog converter limitation, stimulus signals that consist of binary sequences, referred to as multi-pulse signals, have been utilized. In this case, the stimulus signal has two discrete values. The transitions between these values occur at times specified by a clock. Hence, the signals can be generated by reading out the memory into a simple driver circuit whose output is used to stimulate the DUT. Thus, replacing multi-tone test signals with suitable binary test sequences, where possible, is very advantageous for reducing cost and increasing the speed for testing devices at high frequencies.
The conversion of a multi-tone test signal to a suitable binary test sequence poses some significant problems. The energy spectrum of the multi-pulse signal is only approximately that of the multi-tone signal. Much of the energy of the multi-pulse signal will be outside the frequency range of interest, and hence, wasted. In addition, the relative intensities of the frequency components at the desired frequencies can be altered by the conversion process. Both of these factors limit the dynamic range of the test system in which the multi-pulse signal is utilized.
One method for generating a binary test sequence uses a search procedure in which the relative amplitudes and phases of the individual tones of the original multi-tone test signal that are combined to produce the stimulus signal are adjusted such that the signal energy is constrained to reside within the desired frequency band. This approach requires an optimization process that is computationally intensive, and hence is not well suited to a real-time implementation on the processors that are typically utilized as controllers in the pulse generators, or test systems. If only one such signal is needed, the optimization can be performed on a computer having the required computational power that is different from the computer in the test system and stored for later use. However, in many applications, the user of the test system wishes to specify the frequency range of the stimulus signal and the rate at which the signal energy falls off as a function of frequency outside of that range. In this case, the test system processor must perform the optimization, and hence, this optimization approach is not practical.
The present invention includes a method for generating a digital waveform, and pulse generators and VNAs based thereon. The digital waveform is generated in response to user-supplied parameters defining a sawtooth chirp signal. An upconverted digital chirp signal at a center frequency that depends on the input parameters is first generated. The upconverted chirp signal is then converted to an M-ary signal having M levels, where M>1 and typically M<9. In one embodiment, M=2. In another embodiment, the upconverted digital chirp signal is generated by generating a baseband chirp signal that conforms to the user-supplied parameters and then upconverting the baseband chirp signal to the desired center frequency. In another embodiment, the digital baseband chirp signal is filtered through a band pass filter to attenuate frequency components of the digital baseband chirp signal outside a predetermined band of frequencies. In yet another embodiment, the digital baseband chirp signal includes the sum of first and second chirp signals having amplitudes and phase determined to reduce variations in amplitude as a function of frequency in a predetermined band of frequencies.
The digital waveform can be stored in a signal generator that has a memory for storing the M-ary digital signal, a controller, and a user interface. The controller causes the M-ary digital signal to be readout at a specified rate into a driver circuit that generates an output signal corresponding to the M-ary signal, the output signal having M signal levels. The controller receives input parameters on the user interface that specify the M-ary signal and the specified rate. In one embodiment, the controller generates the M-ary signal from user-defined parameters received on the user interface.
A pulse generator according to the present invention can be incorporated into a VNA. In one embodiment, the VNA includes a mixer LO signal generator that generates a M-ary mixing signal according to the present invention. In another embodiment the VNA includes a test signal generator that provides a corresponding M-ary signal for application to a DUT, the outputs of the DUT being measured with a mixer that utilizes the mixer LO signal.
The present invention generates a stimulus signal that has its power concentrated in a user defined frequency band. The stimulus signal of the present invention is analogous to a sawtooth chirp signal. A sawtooth chirp signal has a frequency spectrum in which the energy is concentrated in a predetermined band of frequencies and then falls off rapidly at frequencies to either side of the band. Within the band, the amplitude as a function of frequency is relatively constant. The present invention utilizes this property of the sawtooth chirp signal to construct a multi-pulse signal that has similar frequency properties. The constant envelope nature of the chirp signal allows a binary or low level of quantization representation to better approximate its spectrum.
The manner in which the present invention generates a multi-pulse signal having the desired properties can be more easily understood with respect to
Next, a discrete sawtooth chirp signal, z(n), at baseband is generated, as shown at 32, according to the relationship:
z(n)=exp(j2π(αn2/2)+γ)
for n=−N/2 to N/2−1. Here, γ sets an overall phase factor and can typically be chosen to be 0. The cases in which this phase factor is non-zero will be discussed below.
The baseband chirp signal is then upconverted to a user defined normalized carrier frequency, fnc, as shown at 33. The upconversion can be carried out digitally on the data processing system. It should be noted that z(n) is a complex signal. The upconverted signal must be real, as this is the signal that determines the stimulus signal. The real-valued upconverted signal, xIF(n) is given by
x
IF(n)=Real(z(n))*Real(exp(j2πnfnc))−Imag(z(n))*Imag(exp(j2πnfnc))
Next, the upconverted signal is converted to a binary signal by quantizing the signal to two values as shown at 34. For example, assume that the amplitude of xIF(n) is between −1 and +1. Then the binary signal, BIF(n), is set to 1 if xIF(n) is ≧0, and BIF(n) is set to 0 if xIF(n)<0.
The binary signal can then be utilized in a pattern generator to provide a stimulus signal whose energy is concentrated in the desired frequency band by adjusting the sequence of values at which the individual values are transmitted from the pattern generator. Refer now to
In one embodiment, controller 92 also generates the patterns stored in memory 91 using an algorithm that includes the steps discussed above. The user inputs the parameters that specify the signal via user interface 96. User interface 96 can also include a display device so that controller 92 can provide a graphical representation of the frequency spectrum of the multi-pulse signal generated in response to the user's input. If the user is not satisfied with the frequency spectrum, controller 92 can then modify the signal using one of the approaches discussed below.
It should be noted that in embodiments in which controller 92 generates the patterns, controller 92 may include special purpose hardware. For example, the baseband chirp could be generated by cascading digital integrators to provide the input to a sine/cosine generator. Since such hardware is known to the art, it will not be discussed in detail here. An example of such a chirp generating system can be found in U.S. Pat. No. 6,178,207.
In the embodiment shown in
A multi-pulse generator according to the present invention can be used to provide an excitation signal for testing the response of a DUT or a periodic signal for use in characterizing a DUT at a number of harmonically related frequencies. A periodic signal is generated by repeating the stored signal with a period that sets the fundamental of the harmonics in the signal. The harmonics have amplitudes determined by the upconverted chirp signal.
A multi-pulse generator according to the present invention can be utilized to provide a multi-pulse local oscillator signal to a mixer in a receiver of a vector network analyzer as well as a stimulus signal that is applied to a DUT whose output is analyzed by the receiver. Refer now to
The mixer shown in
Each of the harmonics in the LO signal also down-converts noise from the input signal. While the down-converted harmonics in the input signal do not overlie one another, the noise spectrums that are down-converted do overlap one another. Hence, the noise in the output of filter 22 is significantly higher than the noise in the original input signal. As noted above, this increased noise limits the number of harmonics in the input signal that can be measured at once.
A multi-pulse signal generator 25 according to the present invention can be used both to generate the stimulus signal and the LO signal in a VNA. Refer now to
The RF signal that is applied to DUT 44 is measured prior to applying the signal to DUT 44 by coupling a fixed fraction of the RF signal energy to a mixer that receives an LO signal from multi-pulse signal generator 51. In the example shown in
The signals that leave the two ports of DUT 44 are coupled to mixers 36 and 41 by unidirectional couplers 34 and 40, respectively. These signals are mixed with the LO signal from multi-pulse signal generator 51 and filtered through IF filters 48 and 49, respectively. The outputs of filters 48 and 49 are then analyzed by processor 42 to determine the amplitude and phase of each of the harmonics of interest in the signal from DUT 44.
The parameters that determine the RF signal and LO signals are input through user interface 52 to processor 42. Processor 42 then loads the relevant memories in multi-pulse signal generator 51 with the waveforms for the RF and LO signals. These binary waveforms are then sent one bit at a time on the relevant signal lines at clock rates determined by the information input by the user. In one embodiment, the waveforms are generated on demand by processor 42 using an algorithm similar to the one described above. In another embodiment, a number of pre-calculated waveforms are stored in the memory of processor 42 and the relevant waveforms are transferred to the memories of the pattern generators contained in multi-pulse signal generator 51.
The above-described embodiments of a multi-pulse signal generator assume that the original discrete sawtooth chirp signal, z(n), is satisfactory in terms of the uniformity of amplitude as a function of frequency in the desired band and the fall off in amplitude outside that band. In one embodiment of the present invention, the DFT of z(n) is computed and the power spectrum is examined to determine if the in-band amplitude variations are sufficiently small and the out-of-band falloff in intensity is sufficiently large to meet a criterion set by the user. The examination can be performed by the user via the user interface or by controller 92 shown in
The above-described embodiments of VNAs according to the present invention have 2 ports. However, embodiments that utilize the present invention and have higher numbers of ports could also be constructed.
If the single sawtooth chirp signal is unsatisfactory, a multiple chirp signal can be examined. That is, z(n) is replaced by a multi-chip signal such as
Here, the amplitudes, Ai, and the relative phases, γI, are adjusted to provide a more uniform amplitude as a function of frequency for the in-band signal frequencies. In one embodiment, these parameters are varied until the RMS amplitude variation within the band of interest is either minimized or less than some predetermined level. If the out-of-band fall off is insufficient, the fall off can be reduced by filtering z(n) through a bandpass filter that attenuates frequency components that are output by the desired band. Once a satisfactory z(n) is obtained. The z(n) is upconverted as described above.
The quantization of the xIF to generate BIF also alters the frequency spectrum of xIF. The hard limiting of the upconverted signal to generate the binary signal moves some of the signal energy into bands outside the band of interest. If the signal is limited such that the signal has more levels, the amount of energy that is moved out of the band by the limiting process is reduced. Hence, BIF(n) will have a power spectrum as a function of frequency that is not as constant as that of xIF(n), and there will be more energy outside the band of interest. The above-described optimization process can also be used to correct for some of these distortions. In this case, the amplitudes, Ai, and the relative phases, γI, are adjusted such that the power spectrum of the final binary signal has its energy concentrated in the in-band frequencies, and the deviations of the amplitude of the frequency components of the binary signal in the in-band region is minimized.
The above-described embodiments of the present invention generate a multi-pulse signal that has only two signal levels. As noted above, such signals are useful in applications in which the stimulus signal must be of a frequency that exceeds the capabilities of affordable digital-to-analog converters. In this regard, it should be noted that digital-to-analog converters having a few bits of resolution can operate at much higher frequencies than digital-to-analog converters having more bits of resolution, and are also significantly less expensive. Hence, if the application will allow the use of such a reduced resolution digital-to-analog converter, the upconverted signal can be converted to a signal having more than two levels by a suitable algorithm.
Refer now to
Various modifications to the present invention will become apparent to those skilled in the art from the foregoing description and accompanying drawings. Accordingly, the present invention is to be limited solely by the scope of the following claims.