Cse3213 05 Digitalsignal w2010
Cse3213 05 Digitalsignal w2010
Digital Transmission
Fundamentals
Analog vs. Digital
Digital Representation of Analog Signals
Why Digital Communications?
Data vs. Signal
z Data: piece of information formatted in human/machine
readable form: voice, music, image, file
z Signal: electric or electromagnetic (EM) representation of
data; transmission media work by conducting energy along
a physical path; thus, to be transmitted, data must be
turned into energy in the form of EM signals
z Transmission : communication of data through propagation
and processing of signals
Coding Decoding
Data Signal Signal Data
7Δ/2 Approximation
5Δ/2
3 bits / sample
3Δ/2
Δ/2
−Δ/2
−3Δ/2
−5Δ/2
−7Δ/2
t t
1 ms 1 ms
“DC” fundamental
long-term frequency f0=1/T kth harmonic
average first harmonic
t t
T2 =0.25 ms T1 = 1 ms
4 4
x1(t) = 0 + cos(2π4000t) x2(t) = 0 + cos(2π1000t)
π π
4 4
+ cos(2π3(4000)t) + cos(2π3(1000)t)
3π 3π
4 4
+ cos(2π5(4000)t) + … + cos(2π5(1000)t) + …
5π 5π
Only odd harmonics have power
http://www.nst.ing.tu-bs.de/schaukasten/fourier/en_idx.html
Spectra & Bandwidth
Spectrum of x1(t)
z Spectrum of a signal: 1.2
magnitude of amplitudes as 1
0.8
0.4
9
12
15
18
21
24
27
30
33
36
39
42
content than x2(t) frequency (kHz)
1
a signal has non-negligible 0.8
0.4
signal power
0
0
9
12
15
18
21
24
27
30
33
36
39
42
frequency (kHz)
Bandwidth of General Signals
“speech”
Transmission
or storage
Approximation y(t)
2W samples / sec
Digital Transmission of Analog
Signals (Cont.)
Digitization Procedure consists of two steps:
(1) sampling – obtain signal values at equal intervals (T)
(2) quantization – approximate samples to certain values
t Sampler t
(b)
x(nT) x(t)
t Interpolation t
filter
Quantization
PAM signal samples have amplitudes of ‘∞ precision” –direct encoding of
such amplitudes would require ∞ number of bits (digital pulses) per sample
to convert PAM signal to digital signal (that is practical for transmission), each
sample has to be ‘rounded up’ to the nearest of M possible quantization levels
Original signal
Sample value
7Δ/2 Approximation
3 bits / sample
5Δ/2
3Δ/2
Δ/2
-Δ/2
-3Δ/2
-5Δ/2
-7Δ/2
Quantizer Performance
M = 2m levels, Dynamic range( -V, V) ∆ = 2V/M
error = y(nT)-x(nT)=e(nT)
Δ
2
... −2Δ Δ Δ 2Δ 3Δ ... input
V x(nT)
-V −
Δ
2
24