Digital Down Conversion in Software Radio Terminals
Digital Down Conversion in Software Radio Terminals
net/publication/2493003
CITATIONS READS
25 493
3 authors, including:
All content following this page was uploaded by Tim Hentschel on 04 August 2022.
f cos ( ) sin ( ) specifies the direction for each elementary rotation. Eq. (3)
φ (k) = 2π fo k
s describes an angle accumulator. After n iterations the
ROM-Table
CORDIC equations result in
Figure 1: Conventional I/Q-DDC using the ROM table ap- xn ª An [x0 cos(z0 ) - y0 sin(z0 )] (5)
proach yn ª An [y0 cos(z0 ) + x0 sin(z0 )] (6)
zn ª 0 (7)
where the sample rate of the signal. However, the CORDIC can
n 0 be implemented by a pipelined architecture [5, 6]. Thus,
An = ‰ 1 + 2-2i (8) the CORDIC-DDC becomes suitable for high speed appli-
i=0 cations. An additional advantage of such an implementation
is that there is no need for a look-up table anymore, since
is the CORDIC scaling factor which depends on the total
the invariant elementary rotation angles can be hard-wired to
number of iterations n. xn and yn contain the coordinates
each stage.
of a scaled version of the z0 -rotated vector [x0 y0 ]T . The ac-
Further it should be noted that the hardware effort of the
curacy is determined by the number of iterations n and the
CORDIC is approximately that of three multipliers with the
word length of the CORDIC processor (s. section 4).
respective word length. This means that the CORDIC-DDC
It should be noted that Eqs. (1–3) converge for rotation
has only one and a half of the hardware complexity of the
angles between - p2 and p2 only. In order to increase the con-
common DDC (two explicit multipliers), while saving a large
vergence range for all rotation angles |z0 | £ p, Volder [2]
amount of chip area because no ROM table is needed. In this
proposes an initial iteration which rotates the input vector by
context it is worth mentioning that without any additional
± p2 :
hardware effort the CORDIC can easily be used as a com-
¢
x = -d y (9) plex image rejection mixer (s. Figure 4) e.g., for frequency
¢ synchronization purposes. Comparing with the conventional
y =dx (10) image rejection mixer of Figure 3 reveals that the CORDIC
¢ p
z =z-d (11) even replaces four multipliers and the look-up table.
2
where f
I’(k) ∼ I(k) cos(2π o k )
fs
Ï
Ô-1 if z < 0 I(k) f
- Q(k) sin (2π fo k )
d=Ì
Ô+1 . (12) s
Ó otherwise
3 THE CORDIC-DDC
After the brief review of the CORDIC algorithm it will be f cos ( ) sin ( )
φ (k) = 2π fo k
shown how it can be used for digital down conversion. Sub- s
ROM-Table
stituting the output signals of the conventional DDC of Fig-
ure 1 into Eqs. (5) and (6) yields the structure of a CORDIC- f
based DDC. It is shown in Figure 2. Q’(k) ∼ Q(k) cos(2π o k )
f s
Q(k) f
+ I(k) sin (2π fo k )
s
Lookup - Table
arctan( 2 -i )
Figure 3: Conventional image rejection mixer
f
0 x0 xn Q(k) ∼ - An sBP (k) sin (2π fo k )
s
CORDIC f
sBP (k) y0 yn I(k) ∼ An sBP (k) cos(2π o k ) Lookup - Table
z0 f s arctan( 2 -i )
f f f
φ (k) = 2π fo k I(k) x0 xn I’(k) ∼ An [ I(k) cos(2π o k ) - Q(k) sin (2π o k )]
fs f s
s CORDIC f f
Q(k) y0 yn Q’(k) ∼ An [ Q(k) cos(2π o k ) + I(k) sin (2π o k )]
z0 fs fs
Figure 2: CORDIC-based I/Q-DDC
f
φ (k) = 2π fo k
s
0 70
m = 14
k(i) = 1 + 2-2i . (16)
65
Thereby, e0 considers the maximum absolute input quanti-
zation error in x0 and y0 , while e = 2-b stands for the maxi- 60
mum absolute rounding error in xi and yi due to bit truncation worst case error estimation
with fixed point arithmetic (b fractional binary digits) which Monte Carlo simulation
55
is done in each iteration. (m ... number of CORDIC iterations)
As an extension to the results in [7], qn describes the re-
50
sulting error component in vn due to the rounding errors in zi 14 15 16 17 18 19 20
number of fractional binary digits b
that are caused by the input quantization of z0 and the quan-
tized fixed point representation of the basic rotation angles p2
Figure 5: Minimum SNR predicted and simulated for a
and arctan(2-i ), respectively:
CORDIC-DDC with m = n + 1 iterations, different numbers
Ï of fractional binary digits b, and ideal ADC
Ôs0 + n s for 0 £ n £ b + 1
|qn | £ Ì
Ôs0 + (b + 2) s (17)
Ó for n > b + 1
Beside the overall quantization error power its spectral dis-
s0 represents the maximum absolute phase input quantiza- tribution is an important property, i.e., the spectral purity. A
tion error, and s the maximum absolute rounding error of worst case assumption would be to concentrate the error in
the basic rotation angles. one discete spur. This would give a bound for the spurious-
free dynamic range (SFDR) i.e., the ratio of the power of the
5 SIMULATION RESULTS
desired signal, and the power of the strongest spur.
In this section some simulation results are presented in order Still, simulations have shown that the error is distributed
to verify the quality of the derived maximum quantization er- over frequency. Due to this distribution the strongest result-
ror bound. Therefore, Eqs. (13)-(17) are evaluated for differ- ing spur is significantly lower than the overall error (worst
ent values for n and b. For simplification the input quantiza- case error bound). Figure 6 shows the result of downcon-
tion error e0 is set to zero, which models an ideal analog-to- verting a 20 MHz tone to DC (sample rate fS = 65 MSps).
digital converter (ADC). The input signal is set to constant The SFDR is approximately 98 dB in contrast to the worst
one. With the so computed worst case error estimates the case estimation of 75 dB (analytically predicted) or 79 dB
minimum SNR (signal to [quantization] noise ratio) can be (simulated) in Figure 5.
estimated. The spurs in Figure 6 are a result of cross-mixing the spurs
of the CORDIC with the input signal. If the input signal itself 0
−80
References
−100
[1] T. Hentschel and G. Fettweis, “Software radio receivers,”
−120
in CDMA Techniques for Third Generation Mobile Sys-
tems (F. Swarts, P. van Rooyen, I. Opperman, and M. P.
−140 Lötter, eds.), vol. 487 of The Kluwer International Series
in Engineering and Computer Science, ch. 10, pp. 257–
−160 283, Kluwer Academic Publishers, 1999.
−30 −20 −10 0 10 20 30
freqency in MHz
[2] J. E. Volder, “The CORDIC trigonometric computing
Figure 6: Power spectral density of the complex DDC out- technique,” IRE Transactions on Electronic Computers,
put signal I(k) + ¸Q(k) after down conversion of a 20 MHz vol. EC–8, pp. 330–334, Sept. 1959.
harmonic tone using a CORDIC-DDC with 16 iterations, 18 [3] J. S. Walther, “A unified algorithm for elementary func-
fractional binary digits, and ideal ADC tions,” in Proceedings of the Joint Spring Computer Con-
ference, pp. 379–385, 1971.
[4] J. Vankka, “Methods of mapping from phase to sine am-
plitude in direct digital synthesis,” IEEE Transactions
6 CONCLUSIONS on Ultrasonics, Ferroelectrics, and Frequency Control,
vol. 44, pp. 526–534, Mar. 1997.
In this paper a CORDIC-based method for digital down con-
version was proposed which overcomes the drawback of the [5] R. Andraka, “A survey of CORDIC algorithms for
common DDC of requiring a very large ROM table to achieve FPGA based computers,” in Proceedings of the 1998
high resolution. Therefore, it helps to save chip area, power ACM/SIGDA 6th international symposium on Field pro-
consumption, and costs. Since this CORDIC-DDC can eas- grammable gate arrays, (Monterey, CA), pp. 191–200,
ily be implemented on a pipelined architecture, it is suitable Feb. 1998.
for high speed applications as required for the task of digital
down-conversion in software radio terminals. The CORDIC- [6] S. Wang, V. Piuri, and E. E. Schwartzlander, Jr.,
DDC can realize any oscillator frequency by simply feeding “Granularly-pipelined CORDIC processors for sine and
it with the appropriate saw-tooth input signal. No coefficients cosine generators,” in Proceedings of the 1996 IEEE In-
must be changed. Thus, it empowers the software radio con- ternational Conference on Acoustics, Speech and Signal
cept. Processing, (Atlanta, GA), pp. 3299–3302, May 1996.
An analytically derived worst case quantization error [7] Y. H. Hu, “The quantization effects of the CORDIC algo-
bound was presented which allows an efficient design of rithm,” IEEE Transactions on Signal Processing, vol. 40,
CORDIC-based DDC. pp. 834–844, Apr. 1992.