3-mixer_nco
Click here to load reader
-
Upload
rajesh-kumar-r -
Category
Documents
-
view
12 -
download
4
Transcript of 3-mixer_nco
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Software Defined Radio
Digital mixer and numerical controlled
oscillators
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
2
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Block diagram
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
3
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Complex mixer
( ) ( ) ( )
( ) ( )ttinjtt
tjtjej tj
ωωωω
ωωω
cosImsResinImcosRe
sincosIm ReIm Re
⋅+⋅+⋅−⋅=
+⋅+=⋅+
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
4
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Spectrum
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
5
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Real up mixer
( )( ) ( ) ( )( )
tt
tjtjej tj
ωω
ωωω
sinImcosRe
sincosIm ReRealIm ReReal
⋅−⋅=
+⋅+=⋅+
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
6
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Spectrum
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
7
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Real down mixer
( )
tinjt
tjte tj
ωω
ωωω
s RecosRe
sincosReRe
⋅+⋅=
+⋅=⋅
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
8
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Spectrum
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
9
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Hardware implementation
• FPGA state of the art– Multiplier are available in silicon structure (DSP blocks)
– Memory are available in silicon structures (true dual port memories)
• Needed components for complex mixer– Multiplier
– Look up table for sine / cosine
– Address counter
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
10
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
The Numerical controlled Oscillator (NCO)
• Advantages– Frequency, Phase, and Amplitude can be manipulated precisely
– Changes are phase continuous
– No settling time after changes
– Extremely fine frequency resolution
– No thermal drift
– No aging
– No influence of parameter variations of analog components
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
11
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Principles of the NCO
Main blocks
– Phase Accumulator
– Phase to Amplitude converter
– D/A converter
– Antialiasing filter
( )tfts ⋅⋅= c2sin)( π
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
12
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Phase Accumulator
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
13
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Frequency Resolution
• High Frequency resolution requires high number of bits
in the phase accumulator
• High number of bits in the phase accumulator requires a
giant LUT
• Truncation is necessary → Spurious
HZ0,046612
MHz200
12
2
32c_res
m
clkc_res
m
clkc
=⋅=
⋅=
⋅=
f
ff
Mf
f
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
14
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Phase to Amplitude Convertera) 2
m
0
b) 2m
0
2P
2P
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
15
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Digital Direct Synthesizer (DDS)
Phase
accumulator
Phase-to-
amplitude
converter
DA converter
Reference
clock
fclock
m P P
Tuning word M
Digital representation of the signals Approximated
sine wave
Digital direct sequence DDS
( ) M2
MN
;2N
;2sin)(m
clockclockNCOm
clockclockNCONCO outmin
fff
ffftfts ====⋅⋅= π
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
16
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Truncation error
F1
F3
F2
F4
M
I
Q
m
P m-P
MSB LSB
X XX X X X0
000 (0)0011 (3)00011000 (24)
010 (2)0010 (2)00010010 (18)
100 (4)0001 (1)00001100 (12)
110 (6) 0000 (0)00000110 (6)
000 (0)0000 (0)00000000 (0)
Phase error e
bin (dec)
Phase word p
bin (dec)
Accumulator m
bin (dec)
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
17
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Spur ratio
( )
P
Pm
m
error
Pm
PmPmPmPm
Pm
error
PmPmPm
Pm
error
SPR
t
ttFP
tFPtfts
MifMt
MifMt
+
−−
−
−
−−−−−
−
−−−−
−
===
⋅=
−⋅⋅=
>−=
≤=
1
2
1
NCO
1
1
22
2
amplitudeSpur
amplitudeCarrier
2)(
)(2sin)(
2)2mod( )2mod(2
2
2)2mod(
)2mod(
2
π
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005
18
Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Sources of NCO spurious
Digital domain– Truncation of the phase accumulator word
– Finite precision of the sine values in the LUT
Analog domain– DA converter errors:
• Differential non linearity
• Integral non linearity
• Missing codes
– Anti aliasing filter
– Phase noise of the clock source
Please note, that a frequency offset of the clock does not
introduce spurious, but an corresponding frequency error!
Institute for Communication Networks and Satellite Communications
Professor Horst Cerjak, 19.12.2005Wolfgang Kogler Software Defined Radio Digital mixer and numerical oscillators
Thank you for your attention