Abstract:
Disclosed is a method of measuring frequency distortions characteristics of a device under test, said device configured convert an input signal in an input frequency range to an output signal in a different output frequency range. The method includes, for each test frequency f i , where i=1, . . . ,N and N a positive integer, in a selected frequency range, providing a corresponding test signal with multiple frequency components comprising a measurement component with a frequency f i , a first reference component with a frequency f A,  and a second reference component with a frequency f B ; inputting said test signals into the device under test; measuring output test signals at the output of the device under test corresponding to the input test signals; and determining, for each test frequency f i , information representative of frequency distortions based on the corresponding input test signal and the corresponding output test signal.

Description:
BACKGROUND  
       [0001]    The present disclosure relates to the frequency responses measurement in devices, where the input and output signals are in different frequency ranges, and, in particular, to the phase frequency distortions measurement in precise measuring devices used in the wireless communication systems. 
         [0002]    Wireless networking systems have become a prevalent means in the communication industry. In such systems it is very important to measure/analyze with a high degree of accuracy the various properties of a transmitted/received modulation signal. Therefore a large and perpetually increasing demand exists for high precision spectrum analyzers, vector/signal analyzers etc operating in the RF range. 
         [0003]    A typical block diagram of an analyzer is shown in  FIG. 1 . The down converter  100  transfers the part of the input signal spectrum to be analyzed to the operational frequency range of the analog to digital converter (ADC)  101 . The ADC  101  transforms incoming continuous signal into a sequence of digital samples. A processor  102  carries out the necessary analysis of the properties of the processed signal with the presentation of the received results at the display  103 . 
         [0004]    It is important for the down converter not to create spurious responses, which may substantially distort the processed signal. To attain such a purpose, a conventional down converter contains usually several conversion stages (three or four) with an appropriate selection of the local oscillators frequencies. At each conversion stage a filter is used to separate out the desired frequency components. These filters inevitably introduce frequency distortions in the processed signal. Typically, the area of application of an analyzer requires knowledge of the signal distortions with a high degree of accuracy. For this reason, it is necessary to measure the down converter frequency response and, in particular, the phase frequency distortions. 
         [0005]    The down converter  100  and the ADC  101  form the device under test (DUT)  104  that is the subject of the measurement according to the present invention. A feature of the DUT  104  is that its input and output signals lie in different frequency ranges. 
         [0006]    The known methods of frequency responses measurement are based on a comparison of the output signal of the device under test with the input signal or with a duplicate of the input signal. However, when the input and the output frequency ranges are different, it is impossible to compare the phases of sine wave components in the input signal and output signal directly: the difference between the phases varies in time continuously. 
         [0007]    The present invention describes a method and apparatus for measurement of the phase distortions in a device with different input and output frequency ranges. 
       SUMMARY  
       [0008]    In one aspect, disclosed herein is a method of measuring frequency distortions characteristics of a device under test, said device configured convert an input signal in an input frequency range to an output signal in a different output frequency range, including: 
         [0009]    (a) for each test frequency f i , where i=1, . . . ,N and N a positive integer, in a selected frequency range, providing a corresponding test signal with multiple frequency components including a measurement component with a frequency f i , a first reference component with a frequency f A,  and a second reference component with a frequency f B ; 
         [0010]    (b) inputting said test signals into the device under test; 
         [0011]    (c) measuring output test signals at the output of the device under test corresponding to the input test signals; and 
         [0012]    (d) determining, for each test frequency f i , information representative of frequency distortions based on the corresponding input test signal and the corresponding output test signal; and 
         [0013]    (e) outputting the information. 
         [0014]    In some embodiments, f A  and f B  are unchanged for each of the test signals corresponding to the test frequencies in the selected frequency range, and f A  and f B  are within the selected frequency range. 
         [0015]    In some embodiments, the device under test includes a down converting component and a second component having an operating frequency range, and the down converting component operates to transfer the test signals from the selected frequency range to the operating frequency range of the second component. The selected frequency range is within the input frequency range of the down converter. The determining, for each test frequency f i , information representative of frequency distortions based on the corresponding test signal and the corresponding output test signal includes determining frequency distortion introduced by the down converter. In some embodiments, the second component includes an analog to digital converter. 
         [0016]    In some embodiments, the method includes for each of a plurality of selected frequency ranges, repeating steps (a)-(e), wherein the plurality of selected frequency ranges substantially spans the input frequency range of the down-converter. In such embodiments, f A  and f B  may vary from one selected frequency range to another. 
         [0017]    In some embodiments, the method includes, applying the test signal corresponding to the frequency f i  to the input of the device under test; performing an acquisition of the signal at the output of the device under test; converting the test signal corresponding to the frequency f i  into a duplicate of the test signal; performing an acquisition of the duplicate of the test signal; and processing the acquired signal at the output of the device under test and the acquired duplicate of the test signal to determine information related to frequency distortion at the frequency f i  introduced by the device under test. 
         [0018]    In some embodiments, the processing the acquired signal at the output of the device under test and the acquired duplicate of the test signal to find the frequency distortion at the frequency f i  includes comparing phases of the frequency components of the duplicate test signal to phases of the corresponding frequency components of the test signal acquired at the output of the device under test; and determining information related to frequency distortion at the frequency f i  introduced by the device under test based on the comparison. 
         [0019]    In some embodiments, the test signal corresponding to the frequency f i  includes a sum of frequency components including: (a) a sinusoidal wave of the measurement frequency f i ; (b) a sinusoidal wave of the reference frequency f A ; and (c) a sinusoidal wave of the reference frequency f B . 
         [0020]    In some embodiments, processing the acquired signal at the output of the device under test and the acquired duplicate of the test signal to determine information related to frequency distortion at the frequency f i  introduced by the device under test includes: determining respective phases PhaseInA, PhaseInB and PhaseInM of the sinusoidal waves with respective frequencies f A , f B  and f i  in the acquired duplicate of the test signal; determining respective phases PhaseOutA, PhaseOutB and PhaseOutM of the sinusoidal waves with respective frequencies f A , f B  and f i  in the test signal acquired at the output of the device under test; determining respective phase changes dP A , dP B  and dP i  of the sinusoidal waves with the respective frequencies f A , f B  and f i  based on the relations 
         [0000]        dP   A =PhaseOut A −PhaseIn A;    
         [0000]        dP   B =PhaseOut B −PhaseIn B;    
         [0000]        dP   i =PhaseOut M −PhaseIn M;    
         [0000]    determining phase change θ iA  in the sinusoidal wave with the frequency f i  in relation to the sine wave with the frequency f A  based on the relation 
         [0000]      θ iA   =dP   i   −dP   A ; 
         [0000]    determining a time shift τ between the acquisitions of the signal at the output of the device under test and of the duplicate of the test signal based on the relation 
         [0000]      τ=( dP   B   −dP   A )/( f   B   −f   A ); and 
         [0000]    determining information related to a phase frequency distortion θ i  corresponding to the frequency f i  introduced by the device under test based on the relation 
         [0000]      θ i =θ iA −τ*( f   i   −f   A ). 
         [0021]    In some embodiments, converting the test signal corresponding to the frequency f i  into a duplicate of the test signal includes converting the test signal corresponding to the frequency f i  into a digital duplicate of the test signal. 
         [0022]    In some embodiments, comparing phases of the frequency components of the duplicate test signal to phases of the corresponding frequency components of the test signal acquired at the output of the device under test includes, for at least one of said frequency components: generating at least one carrier wave with a fixed phase and having a frequency equal to that at least one of said frequency components; and correlating the carrier wave with the at least one frequency component to determine information related to the phase of the at least one frequency component. 
         [0023]    In some embodiments, correlating the carrier wave with the at least one frequency component to determine information related to the phase of the at least one frequency component includes measuring in-phase and quadrature portions of the at least one frequency component relative to the carrier wave. 
         [0024]    In another aspect, disclosed herein is an apparatus for measuring frequency distortions of a device under test including: a test signal generator configured to, for each test frequency f i , where i=1, . . . ,N and N a positive integer, in a selected frequency range, prove a corresponding test signal with multiple frequency components including a measurement component with a frequency f i , a first reference component with a frequency f A,  and a second reference component with a frequency f B , and to input the test signals to the device under test; a measurement unit configured to measure output test signals at the output of the device under test corresponding to the input test signals; and a processing unit configured to determine for each test frequency f i , information representative of frequency distortions based on the corresponding input test signal and the corresponding output test signal. 
         [0025]    In some embodiments, f A  and f B  are the unchanged for each of the test signals corresponding to the test frequencies in the selected frequency range, and f A  and f B  are within the selected frequency range. 
         [0026]    In some embodiments, the apparatus further includes the device under test. 
         [0027]    In some embodiments, the device under test includes a down converting component and a second component having an operating frequency range, and the down converting component is configured to transfer the input test signals from the selected frequency range to the operating frequency range of the second component, and the selected frequency range is within the input frequency range of the down converter. 
         [0028]    In some embodiments, the second component includes an analog to digital converter. 
         [0029]    In some embodiments, the apparatus includes a splitter configured to produce a duplicate test signal for each of test signals and to apply each test signal to the input of the device under test. The measurement unit is configured to perform an acquisition of each of the output test signals at the output of the device under test and perform an acquisition of each of the duplicates of the test signal. The processing unit is configured to process the acquired output signals at the output of the device under test and the acquired duplicates of the test signals to determine information related to frequency distortion at the corresponding test frequencies introduced by the device under test. 
         [0030]    In some embodiments, measurement unit includes:an input signal memory configured to receive and store at least a portion of one of the duplicate test signals; and an output signal memory configured to receive and store at least a portion of one of the output test signals acquired at the output of the device under test. 
         [0031]    In some embodiments, the processor is configured to, for each frequency f i , compare phases of the frequency components of the corresponding duplicate test signal to the phases of the frequency components of the corresponding output test signal acquired at the output of the device under test; and determine information related to frequency distortion at the frequency f i  introduced by the device under test based on the comparison. 
         [0032]    In some embodiments, the signal generator includes: one or more oscillators configured to generate, for each frequency f i , a sinusoidal wave of the measurement frequency f i , a sinusoidal wave of the reference frequency f A , a sinusoidal wave of the reference frequency f B ; and an adder unit configured to, for each frequency, f i , generate a corresponding test signal including a sum of a sinusoidal wave of the measurement frequency f i , a sinusoidal wave of the reference frequency f A , a sinusoidal wave of the reference frequency f B . 
         [0033]    In some embodiments, the apparatus includes one or more phase measurement units, and is configured to, for each frequency f i : 
         [0000]    determine respective phases PhaseInA, PhaseInB and PhaseInM of the sinusoidal waves with respective frequencies f A , f B  and f i  in the acquired duplicate of the test signal; determine respective phases PhaseOutA, PhaseOutB and PhaseOutM of the sinusoidal waves with respective frequencies f A , f B  and f i  in the output signal acquired at the output of the device under test; determine respective phase changes dP A , dP B  and dP i  of the sinusoidal waves with the respective frequencies f A , f B  and f i  based on the relations 
         [0000]        dP   A =PhaseOut A −PhaseIn A;    
         [0000]        dP   B =PhaseOut B −PhaseIn B;    
         [0000]        dP   i =PhaseOut M −PhaseIn M;    
         [0000]    determine a phase change θ iA  in the sine wave with the frequency f i  in relation to the sine wave with the frequency f A  based on the relation 
         [0000]      θ iA   =dP   i   −dP   A ; 
         [0000]    determine a time shift τ between the acquisitions of the signal at the output of the device under test and of the duplicate of the test signal based on the relation 
         [0000]      τ=( dP   B   −dP   A )/( f   B   −f   A ); and 
         [0000]    determine information related to a phase frequency distortion θ i  corresponding to the frequency f i  introduced by the device under test based on the relation 
         [0000]      θ i =θ iA −τ*( f   i   −f   A ). 
         [0000]    In some embodiments, the one or more phase measurement units comprise a correlator configured to determine phase information about a frequency component of a signal by comparing the signal to a carrier wave having a fixed phase and frequency equal to the frequency of said signal. 
         [0034]    Various embodiments may include any of the above described features, alone or in combination. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS  
         [0035]      FIG. 1  is a typical block diagram of a conventional analyzer. 
           [0036]      FIG. 2  is a block diagram of the phase distortions measurement according to the present invention. 
           [0037]      FIG. 3  is a block diagram of the test signal generator according to the present invention. 
           [0038]      FIG. 4  is a block diagram of the computing unit according to the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT  
       [0039]    The width of the input frequency range of an analyzer (RF range, usually several GHz) is far in excess of the width of the operational range of an ADC (IF range, usually about a hundred MHz). Therefore to receive a complete description of the phase frequency distortions the RF range is divided into chunks. The width of each chunk approximately equals the width of the operational range of the ADC. The chunks together substantially cover the input RF range of the analyzer. The measurements of the phase frequency distortions according to the present invention are carried out for each chunk independently and successively. The results obtained for different chunks are combined together to produce the complete picture of phase frequency distortions of the DUT. 
         [0040]    The phase frequency distortions measurement for a chunk is performed step by step, for one frequency f i  at each step. The measurement frequencies f i , 1&lt;=I&lt;=N, cover the whole chunk. The number N of the measurement frequencies f i  is chosen to be big enough to provide for measuring of all substantial details of the phase frequency distortions in one chunk. 
         [0041]    The block diagram of phase distortion measurement at one measurement frequency f i  according to the present invention is shown in the  FIG. 2 . The test signal generator  200  creates a test signal that along with other components contains a sine wave of the measurement frequency f i . The splitter  201  directs the test signal towards two different pathways that go to the input of the DUT  104  and to the input of a high frequency ADC  202 . 
         [0042]    The high frequency ADC  202  should have a sufficiently high sampling rate to ensure absence of the alias distortions while processing the signal that lies in the RF range. Such an ADC inevitable has relative small number of bits (usually eight or less). The small number of bits prevents the use of the high frequency ADC in such measuring devices as analyzers but it permits accurate enough phases measurement if the measurement time is big enough and averaging is used. The output signal of the high frequency ADC  202  is a digital duplicate of the test signal at the input of the DUT  104 . 
         [0043]    The phase distortion measurement at one measurement frequency f i  begins with a signals acquisition, the digital duplicate of the DUT  104  input signal being loaded into the Memory_In  203  and the DUT  104  output signal being loaded into the Memory_Out  204 . The outputs of the Memory_In  203  and the Memory_Out  204  are connected to the inputs of the computing unit  205 . The arrays of digital samples that proceed from the Memory_In  203  and the Memory_Out  204  to the computing unit  205  contain the complete information about the DUT  104  input and output signals. It enables the computing unit  205  to find (after the appropriate calculation) the DUT phase distortion θ i  at the measurement frequency f i . 
         [0044]    The computing unit  205  processes the arrays of the signals that are kept in the Memory_In  203  and the Memory_Out  204 , suppressing the ill effect of the noise and different distortions (first of all the quantization errors of the ADC&#39;s). It finds the phase PhaseInM of the sine component of the measurement frequency f i  in the signal at the DUT input and the phase PhaseOutM of the correspondent component in the signal at the DUT output. The phases PhaseInM and PhaseOutM are found for a fixed reference moment of time in the interval of the signals acquisition, for example in the start moment of the acquisition. 
         [0045]    The difference dP i  between the phases PhaseOutM and PhaseInM is a sum of three terms. First, by the joint action of the conversion stages of a down converter all the components of the processed signal are shifted down by the transfer frequency f T . Therefore at any moment t the phase PhaseOutM lags behind the phase PhaseInM by a value 2*π*fr*t. 
         [0046]    Secondly, the frequency instability of local oscillators in the down converter  100  results in the permanent change of the carrier phases. In the course of a frequency conversion the phase of the carrier is added to the phases of all signal frequency components alike. As a result the phase of any frequency component of a signal passing through the down converter acquires a complement P c  (c is for “carriers”), the same for all frequencies. For that reason the difference dP i  between the phases PhaseOutM and PhaseInM contains a random complement P c . 
         [0047]    Thirdly, the non-uniformity of the frequency response in the filters of the down converter  100  causes a phase shift φ i  in the component of the processed signal with the frequency f i . Hence, the total difference dP i  between the phases PhaseOutM and PhaseInM obeys the equation: 
         [0000]        dP   i =2*π* fr*t+P   c +φ i .   (1) 
         [0048]    The expression (1) contains one term that varies in time and one term with a random value. For this reason the measurement of the phases PhaseOutM and PhaseInM and calculation of their difference dPM give no way to detect the phase shift φ i  in the DUT. 
         [0049]    To overcome the mentioned difficulty, a test signal is provided which contains a reference sine component of the frequency f A  along with the measurement sine component of the frequency f i . The frequency f A  lies inside the frequency chunk being measured and remains unchanged during all the measurements in this chunk. The computing unit  205  along with the phases of the measurement sine wave finds the phase PhaseInA of the reference sine component of the frequency f A  in the signal at the DUT input and the phase PhaseOutA of the correspondent component in the signal at the DUT output. Similarly to the equation (1), the difference dP A  between the phases PhaseOutA and PhaseInA equals the sum of three terms: 
         [0000]        dP   A =2*π* f   T   *t+P   c +φ A .   (2) 
         [0000]    Here φ A  is a phase shift in the component of the processed signal with the frequency f A  that occurs in the course of passing through the DUT  104 . 
         [0050]    By combining the equations (1) and (2) the next expression for the phase change θ iA  in the sine wave with the frequency f i  in relation to the sine wave with the frequency f A  may be obtained. By the definition 
         [0000]      θ iA   =dP   i   −dP   A ,   (3) 
         [0000]    and after the substitution of the values dPM-dPA from the equations (1) and (2) 
         [0000]      θ iA =φ i −φ A .   (4) 
         [0000]    The term 2*π*f T *t that varies on time and the random term P c  canceled out in the equation (4). 
         [0051]    Since the frequency f A  remains unchanged during all measurements in one chunk the set θ iA  for all frequencies f i , 1&lt;=i&lt;=N, describes the phase frequency distortions in the chunk correctly to a constant complement φ A . In all known communication systems a constant compliment to the phase frequency response does not causes distortions in the transmitted signal. Therefore the complement φ A  in the equation (3) may be considered immaterial. 
         [0052]    The equation (3) was received under an assumption that the acquisitions of the input and output signals of the DUT are made simultaneously, so that the fixed reference moment of time in the interval of the acquisition is the same for of the input and output signals of the DUT. In the real life, however, each acquisition starts in a moment that is specified by a correspondent triggering circuit. Because of the inevitable time errors in the operation of the triggering circuits, the acquired arrays of the input and output signals are shifted in time, one in reference to the other, for an interval τ. As a result the phase of any component with the frequency f in the output signal array assumes a complement f*τ in relation to the phase of the correspondent component in the input signal array. The factor τ is the same for all frequencies in one measurement, but it varies randomly from one measurement to another. 
         [0053]    To overcome the difficulty that arises from the random time shift τ between the arrays in the Memory_In  203  and the Memory_Out  204  the test signal according to the present invention contains an additional reference sine component of the frequency f B  (together with the measurement sine component of the frequency f i  and a reference sine component of the frequency f A ). The frequency f B  lies inside the chunk being measured and remains unchanged during all measurements in this chunk (the same as with the frequency f A ). The computing unit  205  along with other phases finds the phase PhaseInB of the reference sine component of the frequency f B  in the signal at the DUT input and the phase PhaseOutB of the correspondent component in the signal at the DUT output. The difference dP B  between the phases PhaseOutB and PhaseInB is calculated as well. After that the time shift τ is calculated according to an equation: 
         [0000]      τ=( dP   B   −dP   A )/( f   B   −f   A ).   (5) 
         [0054]    The final value of the DUT phase distortion θ i  at the frequency f i  is calculated according to the following equation: 
         [0000]      θ i =θ iA −τ*( f   i   −f   A ).   (6) 
         [0055]    According the present invention the test signal generator  200  and the computing unit  205  are constructed in a way that enables finding the phase frequency distortions by the calculations in line with the equations (1) . . . (6). 
         [0056]    As seen in  FIG. 3  the test signal generator  200  consists of an oscillator A  300 , an oscillator B  301 , an oscillator M  302  and an adder  303 . The test signal that comes to the output of the test signal generator  200  is a sum of three sine waves: 
         [0057]    (a) a reference sine wave A with the frequency f A ; 
         [0058]    (b) a reference sine wave B with the frequency f B ; 
         [0059]    (c) a measurement sine wave with the frequency f i . 
         [0000]    As it was said before, the reference frequencies f A  and f B  are kept constant all the time during the measurements in one RF range chunk. The incorporation of two reference frequencies into the test signal produces the possibility for the computing unit  205  to eliminate the random complements P c  and f*τ, while calculating the phase change that the measurement sine wave with the frequency f i  experiences during the passage through the DUT  104 . 
         [0060]    The block diagram of the computing unit  205  is shown in  FIG. 4 . It contains two phases measuring units  400 ,  401  and a phase distortions calculator  402 . The phases measuring unit # 1   400  processes the digital duplicate of the DUT input signal and computes the phases PhaseInA, PhaseInB and PhaseInM of the sine waves with the frequencies f A , f B  and f i  correspondently. The phases measuring unit # 2   403  processes the DUT output signal and computes the phases PhaseOutA, PhaseOutB and PhaseOutM of the sine waves with the frequencies f A , f B  and f i  correspondently. As it was mentioned earlier, the enumerated phases are computed for a fixed reference moment of time in the interval of correspondent signal acquisition, for example in relation to the start of the acquisition. 
         [0061]    A phases measuring unit may be constructed as a parallel bank of three correlators supplemented with phase calculators. Each correlator has a carrier. The carriers are sine waves with frequencies f A , f B  or f i,  each of the sine waves having a zero at the reference time moment. A correlator finds the amplitudes of the in_phase (I) and quadrature (Q) components in the processed signal, the in_phase and quadrature components being determined in relation to the correlator carrier. The phase calculator calculates the sine wave phase as an arc tangent of the ratio Q/I. A sufficient accuracy of the phase computations may be achieved by choosing the averaging time of the correlators to be big enough. 
         [0062]    The phase distortions calculator  402  as the first step calculates the phase changes dP A , dP B  and dP i  that the sine waves with the frequencies f A , f B  and f i  experience during the passage through the device under test  104  according to the following equations 
         [0000]        dP   A =PhaseOut A −PhaseIn A;    (6) 
         [0000]        dP   B =PhaseOut B −PhaseIn B;    (7) 
         [0000]        dP   i =PhaseOut M −PhaseIn M;    (8) 
         [0063]    As the second step the estimation of the phase change θ iA  in the sine wave with the frequency f i  in relation to the sine wave with the frequency f A  without regard for the time shift τ is calculated according to the equation (3). 
         [0064]    As the third step an estimation of the time shift τ between the signals stored in the Memory_In  203  and in the Memory_Out  204  is calculated according to the equation (5). 
         [0065]    As the forth step the value of the DUT phase distortion θi at the frequency fi is calculated according to the equation (6). The form of the equation (6) ensures the canceling out of the random complements Pc and f*τ that were present in all the phase differences dP A , dP B  and dP i . 
         [0066]    One or more or any part thereof of the techniques described above can be implemented in computer hardware or software, or a combination of both. The method can be implemented in computer programs using standard programming techniques following the method and figures described herein. Moreover, the program can run on dedicated integrated circuits preprogrammed for that purpose. 
         [0067]    Although the examples above describe the use of bursts which include sine waves, it is to be understood that any suitable sinusoidal wave may be used. As used herein, the term “sinusoidal wave” refers to any wave with a waveform whose shape does not deviate from that of a sine wave in an amount sufficient to inhibit the proper functioning of the analyzer/equalizer for the application at hand. 
         [0068]    A number of the details of an implementation of the present invention were described above. It should be apparent to those skilled in the art that various modifications are possible without departing from the principles of the present invention. Accordingly, such modifications are understood to be within the scope of the following claims.