Professional Documents
Culture Documents
Random
x1 (Table1) f(x1)
ifad(t) qfad(t) LFSRs B ‧ Number LUT
‧ Generator
‧ Sqrt(-ln(U1))
A
Fig.4 Rayleigh fading channel emulator.
n=f g
LFSRs C
A. White Gaussian Noise Generator
In designing a WGNG, here are some important points Random
(Table2)
LFSRs D
we should keep in mind : ‧ Number LUT
‧ Generator
1. The statistical characteristics of the Gaussian ‧
B
x2 Sqrt(2)*cos(2pU2) g(x2)
random number should be white or nearly white.
LFSRs E
2. We should use enough number of bits to represent
the output signal with sufficiently high resolution.
3. The structure and the algorithms of the emulator Fig.5 white Gaussian noise generator (WGNG).
should be simple.
4. The system should be stable, especially when it is
operated in high speed. V. REDUCED-MEMORY DIRECT DIGITAL FREQUENCY
SYNTHESIZER
In this paper we use the Box-Muller method [5] to To modulate the baseband signal to passband, a high-
design our WGNG. The algorithm of the Box-Muller precision and variable-frequency direct digital frequency
method is shown below. synthesizer (DDFS) is designed and implemented. The
digital nature of the DDFS has the advantages of
1. Generate two independent random values x1 and x2,
implementational easiness, fast switching in frequency, (c) Use the phase address x to retrieve the value of
and flexibility. Thus, it is used extensively in digital (sinx-x) stored in the ROM.
communication systems. The traditional DDFS consists (d) By using the 1st-MSB, the polarity of the output
of a phase accumulator and a Look-Up-Table which voltage is set.
stores a sine or cosine waveform [4]. Assume that the Before output to D/A, an inverter is inserted to invert
input to phase accumulator is an N-bits control codeword the MSB bit, which gives the offset binary representation
WCTRL, and the resolution of the output sample is B bits, for the Analog Devices DAC904 D/A converter.
then for a conventional DDFS, the required ROM size is
2N×B bits. Besides, the output frequency is
Wcntl (11)
f out = fCLK
2N
where fCLK is the clock frequency. In our FPGA board,
we set fCLK=80MHz, N=14bits, and B=14bits, then the
frequency resolution is
fCLK (12)
Δf = = 4.8828 ×103 Hz
2N
With a voltage swing from -1V to +1 V, the amplitude
resolution is
2
ΔR = = 1.2207 × 10−4 (V) (13)
2B Fig. 6 The dynamic range of sin(x) - x.
14
The total used ROM size is 2 ×14=229,376 bits. 2 bits 11 bits
1
bits
To reduce the ROM size without losing frequency 0
resolution, we exploit the following two methods [6]:
#
1. By using the property of quarter-wave symmetry, it
only needs to store a quarter of one cycle of the sine 212 − 1
ROM address
COS ROM
cos(2ٛWCTRLk)
stored sample codeword can be reduced to attain the (a)
Phase accumulator
M-2
M-1
same resolution.
M
M-2
REFERENCES
[1] M. Courtoy, “Rapid System Prototyping for Real-time
Design Validation,” Proc. Ninth International Workshop
on Rapid System Prototyping, pp. 108-112, 1998.
[2] Rohde&Schwarz, “SMIQ03B Vector Signal Generator
Operating Manual Volume 1“,2001.
[3] Altera : Stratix EP1S25 DSP Development Board Data
Sheet, May 2003, ver.1.4.
[4] Jeffrey H. Reed, Software Radio: A Modern Approach to
Radio Engineering, Prentice Hall PTR, 2002.
Fig. 11 The PSD of the Rayleigh fading process [5] A. Gazel, E. Boutillon, J.L. Danger, G. Gulak, “Design
resulted from the Doppler filter. and performance analysis of a high speed AWGN
communication channel emulator”, IEEE PACRIM
5
conference, Victoria, B.C., Canada, Aug. 2001.
0 [6] Charles Chien: Digital Radio System on A Chip – A
System Approach, Klumer Academic Publishers, 2001.
-5
-10
Volt(dB)
-15
-20
-25
-30
0.32 0.34 0.36 0.38 0.4 0.42 0.44 0.46 0.48 0.5
time(sec)