Professional Documents
Culture Documents
Conclusions
D/A Conversion - 2 / 54
D/A Conversion
Audible ranges of acoustic signals
D/A Conversion - 3 / 54
D/A Conversion
Psychoacoustic Compression for MP3
• Thresholding sounds below the hearing range
• Frequency masking
• Temporal masking
• Elimination of low frequency stereo information
D/A Conversion - 4 / 54
D/A Conversion
D/A conversion
D/A Conversion - 5 / 54
D/A Conversion (cont.)
Interpolation understood in time domain (cont.)
[ Example 1 ] Rectangular interpolation func. [ Example 2 ] Triangular interpolation func.
p(t) p(t)
1 1
t t
T -T T
y(t) y(t)
x[0]
x[0]
x[1]
x[1]
x[-1] x[-1]
x[2] x[2]
x[-2] x[-2]
In general, a practical interpolation function may be more complex than the above examples.
By Nyquist theorem, sinc pulse makes the perfect reconstruction of the original signal.
D/A Conversion - 6 / 54
D/A Conversion (cont.)
Interpolation understood in frequency domain
−∞
Q. When y (t ) = ∑ x[n]p(t − nT ) , find Yc(f ) in terms of Xd(f ), T , and P(f ).
n =∞
A. Yc ( f ) = P( f ) Xd ( fT)
∞
(Sol) Yc ( f ) = ∫ x(t )e− j 2πft dt
−∞
∞ ∞
=∫
−∞ ∑ x[n]p(t − nT )e − j 2πft dt
n = −∞
∞ ∞
= ∑ x[n]∫ −∞
p(t − nT )e − j 2πft dt
n = −∞
∞
= ∑ x[n]P( f )e − j 2πfnT
n = −∞
∞
= P( f ) ∑ x[n]e − j 2πfnT
n =-∞
= P( f ) X d ( fT )
D/A Conversion - 7 / 54
D/A Conversion (cont.)
Interpolation understood in frequency domain (cont.)
[ Example 1 ] Xd( fT)
f
-2/T -1/T 1/T 2/T
P( f )
f
-2/T -1/T -1/2T 1/2T 1/T 2/T
Yc( f )
f
-2/T -1/T 1/T 2/T
D/A Conversion - 8 / 54
D/A Conversion (cont.)
Interpolation understood in frequency domain (cont.)
[ Example 2 ] Xd( fT)
f
-4/T -3/T -2/T -1/T 1/T 2/T 3/T 4/T
|P( f )|
Fourier transform of
rectangular pulse
f
-4/T -3/T -2/T -1/T 1/T 2/T 3/T 4/T
|Yc( f )|
f
-4/T -3/T -2/T -1/T 1/T 2/T 3/T 4/T
By using the rectangular pulse interpolation, the high frequency components are made.
D/A Conversion - 9 / 54
D/A Conversion (cont.)
Interpolation understood in frequency domain (cont.)
[ Example 3 : WAV file ]
|Yc( f )|
f
-4/T -3/T -2/T -1/T 1/T 2/T 3/T 4/T
(1) Audio file extracted from a movie (2) Sinusoid freq is swept as a ramp function
Sampling rate : 4kHz / Mono / 8bit Sampling rate : 4kHz / Mono / 8bit
D/A Conversion - 10 / 54
D/A Conversion (cont.)
D/A converter with pre-distortion
∞
Q. Suppose that we want to generate y (t ) = ∑ x[n]p(t − nT ) .
n = −∞
However, if we only have an interpolator with 1/T and g(t), what can we do?
~
A. We filter x[n] to ~x [n] such a way that X d ( fT )Q( f ) = P( f ) X d ( fT ).
We need to design a discrete time filter h[n] such that
x[n] h[n] ~
x[n]
~ P( f )
with X d ( fT ) = X d ( fT ) H ( fT ) = X d ( fT )
Q( f )
P( f )
However, may not be easy to design.
Q( f )
Î Usually a DAC upsamples the input discrete time signal and processes it.
D/A Conversion - 11 / 54
D/A Conversion (cont.)
Upsampling
A. Yd ( f ) = Xd ( fN)
∞
(Sol) Yd ( f ) = ∑ y[n]e− j 2πfn
n=−∞
∞
= ∑ x[m]e − j 2πfNm
m = −∞
= X d ( fN )
D/A Conversion - 12 / 54
D/A Conversion (cont.)
Upsampling (cont.)
[ Example : 3X upsampling with zero insertion ]
Time domain
x[n] y[n]
n n
-1 0 1 2 -1 0 1 2 3 4 5 6 7 8
f
-2 -1 1 2
Yd( f )
f
-2 -1 1 2
D/A Conversion - 13 / 54
D/A Conversion (cont.)
Examples for Upsampling
We want to generate a continuous-time signal x(t) having
X( f)
f
-B B
Assume : A discrete-time system that generates a discrete-time signal y[n] is given.
Yd( f)
f
-2 -1 1 2
Assume : A continuous-time system h1(t) is given.
H1( f)
1
∝
⎛ f ⎞
sin c⎜ ⎟
⎝ 2B ⎠
f
-2B -B B 2B D/A Conversion - 14 / 54
D/A Conversion (cont.)
Examples for Upsampling (cont.)
Q1. Sketch the output frequency response of x1(t)
DAC with
y[n] p1(t) y1(t)
1 h1(t) x1(t)
-1/4B 1/4B
t
Clock rate 2B
P1( f )
⎛ f ⎞
∝ sin c⎜ ⎟
⎝ 2B ⎠
f
-2B -B B 2B
H1( f)
D/A Conversion - 15 / 54
D/A Conversion (cont.)
Yd( f/2B)
f
-2B -B B 2B
P1( f )
f
-2B -B B 2B
H1( f)
f
-2B -B B 2B
X1( f)
f
-2B -B B 2B
D/A Conversion - 16 / 54
D/A Conversion (cont.)
Examples for Upsampling (cont.)
Q2. Sketch the output frequency response of x2(t)
DAC with
y[n] y2[n] p2(t) y2(t)
3X upsampling 1 h2(t) x2(t)
-1/12B 1/12B
t
Clock rate 6B
H2( f) 1
∝
⎛ f ⎞
sin c⎜ ⎟
⎝ 6B ⎠
f
-2B -B B 2B Same as H1(f)
f
-2B -B B 2B
P2( f )
f
-2B -B B 2B
H2( f)
f
-2B -B B 2B
X2( f)
Same as X1(f)
Out of band component
may be different of X1(f)
f
-2B -B B 2B
D/A Conversion - 18 / 54
D/A Conversion (cont.)
Examples for Upsampling (cont.)
Q3. Sketch the output frequency response of x3(t)
Digital LPF
Y4,d( f )
f
-2 -1 1 2
D/A Conversion - 19 / 54
D/A Conversion (cont.)
G(f/6B)Yd( f/2B)
f
-2B -B B 2B
P2( f )
f
-2B -B B 2B
H2( f)
f
-2B -B B 2B
X3( f)
D/A Conversion - 20 / 54
D/A Conversion (cont.)
Digital IF upconversion
∞
We want to generate a real-values bandpass signal x(t ) = Re{ ∑ d [m] p(t − mT )e j 2πfct }
n = −∞
D/A Conversion - 21 / 54
D/A Conversion (cont.)
Examples : Digital IF upconversion
We want to generate a continuous-time IF signal with bandwidth 1MHz by using
a D/A with conversion-rate 200MHz and maximum output BW 100MHz.
∞
IF signal : x(t ) = Re{ ∑ d [m] p(t − mT )e j 2πf IF t }, f IF ≈ 100 MHz
n = −∞
P( f )
f
-0.5MHz 0.5MHz
Q2. Compared to the BW 1MHz of the signal, is 200MHz sampling rate too high?
A. Yes : sampled more than 100 times per symbol interval Î not necessary
D/A Conversion - 22 / 54
D/A Conversion (cont.)
Examples : Digital IF upconversion (cont.)
Q3. How can we reduce the complexity?
f
-1 -0.5 0.5 1
(-10MHz) (-5MHz) (5MHz) (10MHz)
(2) 4X upsampling
f
-0.5 0.5 1
(-20MHz) (20MHz) (40MHz)
D/A Conversion - 23 / 54
D/A Conversion (cont.)
Examples : Digital IF upconversion (cont.)
(3) HPF
f
-0.5 0.5 1
(20MHz) (20MHz) (40MHz)
(4) 5X upsampling
f
-0.8 -0.6 -0.4 -0.2 0.2 0.4 0.6 0.8 1
(200MHz)
(5) HPF
f
-0.8 -0.6 -0.4 -0.2 0.2 0.4 0.6 0.8 1
(200MHz)
D/A Conversion - 24 / 54
D/A Conversion (cont.)
Examples : Digital IF upconversion (cont.)
(7) D/A conversion using DAC with conversion rate 200MHz and output BW 100MHz
f
-100MHz 100MHz
Summary
10MHz 4X 5X
sampling of HPF HPF
a low IF upsampling upsampling
2 cos{2π ( f c − f IF )t}
D/A Conversion - 25 / 54
Introduction to OFDM
D/A Conversion - 26 / 54
Introduction to OFDM (cont.)
General system structure of OFDM transmitter
Add
Modulation
Data Inverse Cyclic
and S/P
Sequence
DFT Prefix/
Coding
Postfix
D/A Conversion - 27 / 54
Review of Non-IDFT-Based Signal Model and its PSD
which leads to the orthogonality of the signals e j 2πf k t for k=1,2,…,K in the
observation interval with time duration T0 .
• For simplicity, assume that Xk ’s are uncorrelated, proper complex, zero-mean
random variables with unit variance.
D/A Conversion - 28 / 54
Review of Non-IDFT-Based Signal Model and its PSD (cont.)
D/A Conversion - 29 / 54
Review of Non-IDFT-Based Signal Model and its PSD (cont.)
Windowing
function
(overlapping t
Guard One OFDM
with interval symbol period
adjacent τ max T0
OFDM block)
One block period
Tb
D/A Conversion - 30 / 54
Review of Non-IDFT-Based Signal Model and its PSD (cont.)
D/A Conversion - 31 / 54
Review of Non-IDFT-Based Signal Model and its PSD (cont.)
Tb k =1
D/A Conversion - 32 / 54
Review of Non-IDFT-Based Signal Model and its PSD (cont.)
• Rectangular windowing
(a) : Tb = T0
(b) : Tb = 1.25T0
Window duration= Tb
D/A Conversion - 34 / 54
Review of Non-IDFT-Based Signal Model and its PSD (cont.)
Parameter Value
NSD : Number of data subcarriers 48
NSP : Number of pilots subcarriers 4
NST : Number of total subcarriers 52 (NSD +NSP)
∆ f : Subcarrier frequency spacing 0.3125 MHz (=20 MHz/64)
TFFT : IFFT/FFT period 3.2 μs (1 / ∆ f )
TPREAMBLE : PLCP Preamble duration 16 μs (TSHORT + TLONG )
TSIGNAL : Duration of the SIGNAL BPSK-OFDM symbol 4.0 μs (TGI + TFFT )
TGI : GI duration 0.8 μs (TFFT /4)
TGI2 : Training symbol GI duration 1.6 μs (TFFT /2)
TSYM : Symbol interval 4 μs (TGI + TFFT )
TSHORT : Short training sequence duration 8 μs (10TFFT /4)
TLONG : Long training sequence duraion 8 μs (TGI2 + 2TFFT )
D/A Conversion - 35 / 54
Review of Non-IDFT-Based Signal Model and its PSD (cont.)
⎧ N ST / 2 ⎫
⎪ j 2πk∆ f ( t − t g ) ⎪
s (t ) = Re⎨ ∑ Ck e ⎬,0 ≤ t ≤ Ts
⎪kk =≠ −0 N ST / 2 ⎪
⎩ ⎭
- Ck : Complex number of data symbol (QAM)
- ∆ f = Fs / N FFT : Subcarrier frequency spacing
- NFFT : Smallest power by 2 greater than number of used subcarriers
- Fs : Smallest power by 2 greater than number of used subcarriers
- Tg : Guard time to create the cyclic prefix
D/A Conversion - 36 / 54
IDFT-Based Signal Model and its PSD
D/A Conversion - 37 / 54
IDFT-Based Signal Model and its PSD (cont.)
• Operation characteristics
- The data symbols {X k }k =1 are orthogonally multiplexed.
K
D/A Conversion - 38 / 54
IDFT-Based Signal Model and its PSD (cont.)
D/A Conversion - 39 / 54
IDFT-Based Signal Model and its PSD (cont.)
Add
Modulation
Data Subcarrier Cyclic
Sequence and S/P IDFT
weighting Prefix/
Coding
Postfix
Complex
RF baseband
Transmit signal Z(t) Analog P/S
Windowing
signal to Device D/A P/S
channel filtering
(Upconversion)
Digital interpolation
D/A Conversion - 41 / 54
IDFT-Based Signal Model and its PSD (cont.)
D/A Conversion - 42 / 54
IDFT-Based Signal Model and its PSD (cont.)
D/A Conversion - 43 / 54
IDFT-Based Signal Model and its PSD (cont.)
1 K + L+ 2 M ⎛ ⎛ k ⎞⎞ 1 ⎛ k⎞
Sk ( f ) = P( f ) ∑ wD [ l ] exp⎜⎜ − j 2π ⎜⎜ f − ⎟⎟ ⎟⎟ = P( f )WD ⎜⎜ f − ⎟⎟
K k =1 ⎝ ⎝ T0 ⎠ ⎠ K ⎝ T0 ⎠
2 K 2
P( f ) k
∑ αk
2
S ZZ ( f ) = WD ( f − )
( K + L + M )T0 k =1 T0
∑ w [l ]e
D
− j 2πfTc l
.
l =1
D/A Conversion - 44 / 54
IDFT-Based Signal Model and its PSD (cont.)
2 K 2
P( f ) k
∑ αk
2
IDFT-based : S ZZ ( f ) = WD ( f − )
( K + L + M )T0 k =1 T0
• Significant difference from the non-IDFT-based model is that the Fourier transform
of the windowing sequence {wD [l ]}l =1
K + L+ 2 M
is used instead of that of the continuous
windowing function wc(t)
• [Note] Two properties of WD(f)
(1) WD(f) is periodic with a period 1/Tc
(2) WD ( f − k T0 ) is periodic in k with a period K under the assumption KTc = T0
D/A Conversion - 45 / 54
IDFT-Based Signal Model and its PSD (cont.)
• Parameter
Rectangular windowing sequence for
(a) : K = 10, L + M = 0
(b) : K = 10, L + M = 2
2
2sin( πf ( K + L + 2 M )Tc )
• [Note] WD ( f ) =
sin( πfTc )
• Increase in (K+L+2M) Î Decrease in the width of the main lobe and increase in
1 1
the amount of in-band energy contained in the interval − ≤f≤
2T0 2T0
• Periodic with period 1/Tc
D/A Conversion - 46 / 54
IDFT-Based Signal Model and its PSD (cont.)
D/A Conversion - 47 / 54
IDFT-Based Signal Model and its PSD (cont.)
• p(t) is the SRRC pulse with β=0.5, K=8, L=0, M=0, no null subcarrier
• The subcarriers with indexes k=3,4, and 5 have the significant portion of the
energy split into two physical subcarriers located 1/Tc [Hz] apart.
D/A Conversion - 48 / 54
IDFT-Based Signal Model and its PSD (cont.)
D/A Conversion - 49 / 54
IDFT-Based Signal Model and its PSD (cont.)
D/A Conversion - 50 / 54
IDFT-Based Signal Model and its PSD (cont.)
In WiBro standard, the signal model is given by
⎧ N ST / 2 ⎫
⎪ j 2πk∆ f ( t −t g ) ⎪
s (t ) = Re⎨ ∑ Ck e ⎬,0 ≤ t ≤ Ts
⎪kk =≠ −0 N ST / 2 ⎪
⎩ ⎭
D/A Conversion - 51 / 54
IDFT-Based Signal Model and its PSD (cont.)
2
sin(πf ( K + L )Tc )
WD ( f ) =
2
sin(πfTc )
2
sin(πf ( K + L )Tc )
≈
πfTc
D/A Conversion - 52 / 54
IDFT-Based Signal Model and its PSD (cont.)
D/A Conversion - 53 / 54
Conclusions
D/A conversion is a necessary procedure in modern digital audio systems and in
digital communication systems.
Yc ( f ) = P( f ) Xd ( fT)
Yd ( f ) = Xd ( fN)
To ease the burden of designing a good interpolation filter, null subcarriers are used.
The interpolation filter must have the transition from passband to stopband in the null
subcarriers’ frequency band.
D/A Conversion - 54 / 54