Communication systems and satellite navigation systems often need spectrum analyzers. Swept spectrum analyzers have been in use for many years, because they are less complex compared to FFT (Fast Fourier Transform) spectrum analyzers. Some analyzers have both analog and digital signal processing means.
U.S. Pat. No. 6,700,366, entitled “Very fast swept spectrum analyzer”, describes a system in which the signal spectrum is formed by mixing a ramping local oscillator and an input signal to generate an IF signal, the resulting IF (Intermediate Frequency) signal having a phase change with respect to the input signal, the phase change including a quadratic portion. For analysis, the IF signal is processed such that the quadratic component of the phase change is removed. IF processing circuitry includes a resolution bandwidth filter and an analog-to-digital converter.
U.S. Pat. No. 6,275,020, entitled “Frequency analysis method and sweep type spectrum analyzer”, describes a sweep type spectrum analyzer, where analyzing the frequency components included in the signal to be measured are based on the correspondence relation between a power of each of the intermediate frequency signals and a frequency of the main swept frequency signal, an inverse swept signal is multiplied by each intermediate frequency signal, the inverse swept signal being frequency-swept in the reverse direction to the frequency transition direction of the associated intermediate frequency signal, and a constant frequency component obtained from the results of the multiplications is extracted as a frequency spectrum.
U.S. Pat. No. 4,771,232, entitled “Non-interruptive spectrum analyzer for digital modems”, describes a system that provides extracting spectral data from the actual received modem signal, where multipliers are used in the digital frequency converter.
However, devices with analog components are not always stable and provide less accuracy compared to fully digital solutions. The present invention is intended as a simple system for full digital sweep type spectrum analysis with up/down frequency conversion, where analysis time is less than half compared to sweep type spectrum analyzers with only down frequency conversion. The system provides measurements of frequency spectrum of an input complex analog baseband signal without use of multiplication operations for frequency conversion.
The present invention is intended for creating a system for digital sweep type spectrum analysis with up/down frequency conversion. The system provides measurements of frequency spectrum of complex analog baseband input signal, where analysis time is less than half compared to sweep type spectrum analyzers with only down frequency conversion. First, a complex analog input signal is quantized into three levels (−1; 0; +1) with a sampling frequency fs agreed with the bandwidth of the input signal. Then, a block of four 9-to-1 multiplexers, a first block of registers and a block of adders perform operations that are equivalent to mathematical complex multiplication of the quadrature components of the digitized input signal and the quadrature components of the local oscillator, but without using real multiplications.
Two complex signals with up-shifted and down-shifted spectrum are formed at the output of the block of adders. Further, the quadrature components of these complex signals are inputted to the block of accumulators with reset, which act as low-pass filters (LPF) and accumulate several samples at a constant frequency fLO of the local oscillator. Levels of two accumulated complex samples are estimates of the input signal spectrum in two frequency points +fLO and −fLO. A sweep controller changes the frequency stepwise of the local frequency-tunable oscillator from zero to fs/2 by steps that compared to the LPF bandwidth, where estimates of the input signal spectrum generated sequentially in the range from −fs/2 to +fs/2. These spectral estimates are analyzed and stored using a data analysis and storing logic, where they are periodically updated and may be used, e.g., for displaying.
Additional features and advantages of the invention will be set forth in the description that follows, and in part will be apparent from the description, or may be learned by practice of the invention. The advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification and together with the description serve to explain the principles of the invention.
In the drawings:
Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings.
The analog quadrature components Iin(t) and Qin(t) of the complex input signal are pre-quantized with a sampling frequency fs by two analog-to-digital converters (ADC) 10, 11 into three levels (−1; 0; +1):
I
n
ADC=−1, if Iin(n*Ts)>−UL;
I
n
ADC=0, if −UL≦Iin(n*Ts)≦+UL;
I
n
ADC=+1, if Iin(n*Ts)>+UL;
Q
n
ADC=−1, if Qin(n*Ts)<−UL;
Q
n
ADC=0, if −UL≦Qin(n*Ts)≦+UL;
Q
n
ADC=+1, if Qin(n*Ts)>+UL;
here
n=0,1,2, . . . ;
where sampling frequency fs corresponds to the bandwidth Bin of the input signal (fs≦Bin). An example of the spectrum of a digitized input signal is shown in
An example of the signal spectrum of a quadrature local oscillator (LO) 12 with the quadrature components (ILO, QLO) is shown in
The implementation of equations (1) and (2) would require four real multiplications:
R
n
II
=I
n
ADC
·I
n
LQO, (3)
R
n
QQ
=Q
n
ADC
·Q
n
LQO, (4)
R
n
IQ
=I
n
ADC
·Q
n
LQO, (5)
R
n
QI
=Q
n
ADC
·I
n
LQO, (6)
In the present invention, the values RnII, RnQQ, RnIQ, RnQI are produced without using multiplication by a MUX block 13 comprising four 9-to-1 multiplexers operating in accordance with the combined logic table
An example of a logic diagram for MUX block is shown in
Zero number is supplied to data inputs 1, 2, 3 of the multiplexer 1, to the data inputs 1, 4, 5 of the multiplexer 2, to data inputs 1, 2, 3 of the multiplexer 3 and to data inputs 1, 4, 5 of the multiplexer 4.
Component ILO is supplied to data inputs 4, 6, 8 of the multiplexer 1 and to the data inputs 2, 6, 9 of the multiplexer 4.
Component ILO with the opposite sign is supplied to data inputs 5, 7, 9 of the multiplexer 1 and to the data inputs 3, 7, 8 of the multiplexer 4.
Component QLO is supplied to data inputs 2, 6, 9 of the multiplexer 2 and to the data inputs 4, 6, 8 of the multiplexer 3.
Component QLO with the opposite sign is supplied to data inputs 3, 7, 8 of the multiplexer 2 and to the data inputs 5, 7, 9 of the multiplexer 3.
The real numbers RnII, RnQQ, RnIQ, RnQI are written into the first block of registers 14, comprising four registers.
A block of adders 15 produces a complex up-converted signal with quadrature components (InU, QnU) and a complex down-converted signal with quadrature components (InD, QnD) by the following formulas:
A spectrum of the up-converted signal with the quadrature components (7) is shown in
The complex samples (7) and (8) are inputted to a block of accumulators 16 comprising four accumulators with reset, which accumulates M samples (M>>1) at a constant frequency of the local oscillator:
The resultant values ImU,A, QmU,A, ImD,A, QmD,A are divided by a coefficient 2K (2K≦M) by shifting in K bits toward LSBs and are written into four registers of the second block of registers 17, i.e.:
I
m
U,K
=I
m
U,A/2K,
Q
m
U,K
=Q
m
U,A/2K,
I
m
D,K
=I
m
D,A/2K,
Q
m
D,K
=I
m
D,A/2K,
Then all four accumulators are reset to zero; wherein the secondary sampling frequency becomes equal to FM=fs/M (down sampling by an integer factor, M).
A level detector 18 produces an estimate of vector length VmU, VmD with complex quadrature samples (ImU,K, VmU,K) and (ImD,K, VmD,K) respectively of the second block of registers using an algorithm as described below. The level {circumflex over (V)}mU is an estimate of the input signal spectrum at frequency point −fLO and level {circumflex over (V)}mD is an estimate of the input signal spectrum at frequency point +fLO. Exact values of VmU, VmD can be calculated by formulas based on the Pythagorean theorem:
V
m
U=√{square root over ((ImU,K)2+(QmU,K)2)}
V
m
D=√{square root over ((ImD,K)2+(QmD,K)2)}.
Calculations based on the Pythagorean theorem require a lot of computationally intensive operations. However, an estimate of the vector length with acceptable accuracy can be obtained using relatively simple algorithms. In this case, the level detector produces a rough estimate of vector length for each input vector using the following successive steps:
This approach is illustrated using an example of preselected octant with borders (0, π/4). The auxiliary vector with orthogonal components (X, Y), where X=max (|x|, |y|), Y=min (|x|, |y|), x, y are orthogonal components of input vector, has the same length as the input vector and is located in octant (0, π/4).
Ve=X+C
1
*Y/D
1,
here C1 and D1 are the preset constant numbers.
For example, when C1 and D1 are preset
C
1=21,D1=64,
the Ve estimate has an maximum error εmax=100*|/Ve|/V=5.68%.
θ1 with borders (0, arctan (B1/A1)) and
θ2 with borders (arctan (B1/A1), π/4);
here A1 and B1 are the preset constants.
And Ve estimate of V vector length is:
Ve=X+C1*Y/D1 for the θ1 sector, and
Ve=X+C2*Y/D2 for the θ2 sector;
here C1, D1 and C2, D2 are the preset constant numbers.
For example, if the following parameters are preset
A
1=93,B1=64,
C
1=1,D1=4,
C
2=47,D2=128,
the Ve estimate has maximum error εmax=3.45%.
θ1 with borders (0, arctan (B1/A1)),
θ2 with borders (arctan (B1/A1), arctan (B2/A2)) and
θ3 with borders (arctan (B2/A2), π/4);
here A1, B1 and A2, B2 are the preset constant numbers.
and Ve estimate of V vector length is:
Ve=X+C1*Y/D1 for the θ1 sector,
Ve=X+C2*Y/D2 for the θ2 sector and
Ve=X+C3*Y/D3 for the θ3 sector;
here C1, D1, C2, D2 and C3, D3 are the preset constant numbers.
For example, if the following parameters are preset
A
1=7,B1=4,
A2=81, B2=64,
C
1=7,D1=32,
C2=5, D2=16,
C
3=49,D3=128,
the Ve estimate has maximum error εmax=2.37%.
θ1 with borders (0, arctan (B1/A1)),
θ2 with borders (arctan (B1/A1), arctan (B2/A2)),
θ3 with borders (arctan (B2/A2), arctan (B3/A3)) and
θ4 with borders (arctan (B3/A3), π/4);
here A1, B1, A2, B2 and A3, B3 are the preset constant numbers, and Ve estimate of V vector length is:
Ve=X+C1*Y/D1 for the θ1 sector,
Ve=X+C2*Y/D2 for the θ2 sector,
Ve=X+C3*Y/D3 for the θ3 sector, and
Ve=X+C4*Y/D4 for the θ4 sector;
here C1, D1, C2, D2, C3, D3 and C4, D4 are the preset constant numbers.
For example, if the following parameters are preset (the constants were chosen empirically):
A
1=257,B1=128,
A
2=95,B2=64,
A3=19, B3=16,
C
1=25,D1=128,
C
2=35,D2=128,
C
3=43,D3=128,
C
4=25,D4=64,
the Ve estimate has maximum error εmax=1.89%.
The higher the S value, the greater the potential accuracy of estimate of vector length.
All dividers are multiple of two in the above examples; therefore, the division operation can be performed with help of the shift operation.
A data analysis and collection logic 19 that receives spectrum data from the level detector output executes an analysis of data and sequentially stores them within one scanning period after which the spectrum data is updated, the spectral data may be used, e.g., for a display.
A sweep and data collection controller 20 sends a sweep signal to the frequency control input of LO to control the LO by stepwise changing of frequency in the range (0, fs/2), sequentially setting N >>1 of equidistant frequency values fn=fs*(2n−1)/4N, where n=1, 2, . . . , N; wherein each accumulator of the block of accumulators accumulates M samples at each frequency fn: M=floor[k*N] (The floor function is also called the “greatest integer” or “entier” function, see, for example, http:**en.wikipedia.org/wiki/Floor_and_ceiling Junctions), where constant k is selected from the range (0.5, . . . , 5.0); wherein the spectrum analyzer forms 2N of spectrum points in the range (−fs/2, +fs/2) during each sweep period. The sweep controller synchronizes the spectrum analyzer sweep to the recirculating memory of a data analysis and storing logic.
Having thus described the invention, it should be apparent to those skilled in the art that certain advantages of the described apparatus have been achieved.
It should also be appreciated that various modifications, adaptations, and alternative embodiments thereof may be made within the scope and spirit of the present invention. The invention is further defined by the following claims.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/RU2014/000876 | 11/18/2014 | WO | 00 |