EEE 2313 Lecture 5 Sampling and Pulse Modulation 2023
EEE 2313 Lecture 5 Sampling and Pulse Modulation 2023
Communication System
1 2
1
10/19/2023
2
10/19/2023
3
10/19/2023
4
10/19/2023
De-Multiplexer Duplexing
• De-multiplexers are used to connect a single • De-multiplexers are used as serial to parallel converters.
• For voice or data communications, must
source to multiple destinations. • The serial data is given as input to DEMUX at regular assure two way communication (duplexing, it
• This process is the reverse process of multiplexing. interval and a counter is attached to it to control the is possible to talk and listen simultaneously).
• As mentioned previously, it is used mostly at the output of the de-multiplexer. Duplexing may be done using frequency or
receivers. • Both the multiplexers and de-multiplexers play an
time domain techniques.
– Forward (downlink) band provides traffic from the
• DEMUX has many applications. It is used in:- important role in communication systems, both at the
BS to the mobile
receivers in the communication systems. It is used in transmitter and the receiver sections.
arithmetic and logical unit in computers to supply power and to
– Reverse (uplink) band provides traffic from the
pass on communication, etc. mobile to the BS.
f2’
f2 Protecting
MS #2 bandwidth
User n Reverse channels Forward channels
Frequency
…
…
User 2 fn’ Wg Wc
fn
User 1 MS #n …
Time 1 2 3 4 N
Reverse channels Forward channels BS Frequency
• Single channel per carrier (Uplink) (Downlink) Total Bandwidth W = NWc
• All first generation systems use FDMA
34 35 36
5
10/19/2023
Time Division Multiple Access (TDMA) The Concept of TDMA TDMA: Channel Structure
Orthogonality conditions of two signals in TDMA: f
Frequency f ’ Slot Frequency f Frame Frame Frame
1 i j
s ( f , t ) s ( f , t )dt 0 , i, j 1,2,..., k … … … … … …
#1
#1
i j
#1
i j … … …
#n
#n
#n
#1
#2
#1
#2
#1
#2
#1
t
T MS #1 t t
… … … … … …
#2
#2
#2
#2
MS #2 t t (a) Forward channel
Frequency
f’
User n
User 1
User 2
…
… … … … … …
…
#n
Frame Frame Frame
#n
#n
#n
MS #n t t
… … …
#n
#n
#n
#2
#1
#2
#1
#1
#2
Frame Frame t
Time Frame Frame BS
(b) Reverse channel
• Multiple channels per carrier Reverse channels Forward channels
(Uplink) (Downlink) Channels in TDMA/FDD (Frequency Division Duplexing )
• Most of second generation systems use TDMA
37 38 39
0 i j
i j
C
… … …
#1
#1
#n
#n
#n
#1
#2
#2
#2
… … … … Time
Frequency
#n
#n
#n
#n
#2
#1
#1
#2
#2
#1
#2
#1
User 1
User 2
User n
Reverse Forward Time .. .
Forward Reverse
channel channel Time
channel channel
Head Data
Guard
time Code
Channels in TDMA/TDD
• Users share bandwidth by using code sequences that are orthogonal to each other
• Some second generation systems use CDMA
40 41 •42Most of third generation systems use CDMA
6
10/19/2023
1 1 1 1 1 1 1 1
slot 1 slot 0 MS #2 C2’ C2
Code Channel Channel
…
…
-1 -1 -1 -1 -1 -1 -1 -1
output output
…
Sender Slot 1 Slot 0
Cn’ Cn
MS #n
BS
di = Zi,m.cm Reverse channels Forward channels
Received 1 1 1 1 1 1 1 1
d0 = 1 (Uplink) (Downlink)
input -1 -1 -1 -1 -1 -1 -1 -1
d1 = -1
Slot 1 Slot 0
Receiver Code 1 1 1 1 1 1 1 1
channel channel Ci’ x Cj’ = 0, i.e., Ci’ and Cj’ are orthogonal codes,
-1 -1 -1 -1 -1 -1 -1 -1
output output Ci x Cj = 0, i.e., Ci and Cj are orthogonal codes
Slot 1 Slot 0 44 45
43
7
10/19/2023
51
B/W Continued….
Negative Frequency
• Operational meaning of “negative frequency”
in spectrum
– If time-domain signal is real-valued, the negative
frequency spectrum is simply a mirror of the
positive frequency spectrum.
– We may then define a one-sided spectrum as
Sone -sided ( f ) 2 S ( f ) for f 0.
– Hence, if only real-valued signal is considered, it is
unnecessary to introduce “negative frequency.”
8
10/19/2023
9
10/19/2023
• The sampling rate should be such that the data in the frequency of the given signal W, then it is called as Nyquist
message signal should neither be lost nor it should get over- rate.
lapped.
• The sampling theorem states that, “a signal can be exactly • The sampling theorem, which is also called as Nyquist
reproduced if it is sampled at the rate fs which is greater than theorem, delivers the theory of sufficient sample rate in
or equal to twice the maximum frequency of the given signal
W.” terms of bandwidth for the class of functions that are
bandlimited.
10
10/19/2023
11
10/19/2023
x(t) x[n]
• Distortion after recovery depends on τ/Ts C-to-D
80
12
10/19/2023
f 100Hz
• SAMPLING RATE (fs) Given the samples, draw a sinusoid through the values
fs =1/Ts
f s 2 kHz
• NUMBER of SAMPLES PER SECOND
Ts = 125 microsec fs = 8000 samples/sec
– UNITS ARE HERTZ: 8000 Hz
• UNIFORM SAMPLING at t = nTs = n/fs
IDEAL: x[n] = x(nTs)=x(n/fs)
f s 500Hz
x(t)
C-to-D
x[n]=x(nTs) x[n ] cos(0.4 n ) When n is an integer
cos(0.4 n) cos(2.4 n)
81 82 83
13
10/19/2023
ˆ 2
f 1
2 X
*
? 1
2 X • Spectrum of x[n] has more than one line for • Other Frequencies give the same
ˆ
fs each complex exponential
x1 (t ) cos(400 t ) sampled at f s 1000Hz
– Called ALIASING
f s 100Hz –2 2(1)
ˆ x1[n] cos(400 1000
n
) cos(0.4 n)
– MANY SPECTRAL LINES
x[n ] A cos(2 (100)(n / 100) ) x2 (t ) cos(2400 t ) sampled at f s 1000Hz
• SPECTRUM is PERIODIC with period = 2 x2 [n] cos(2400 1000
n
) cos(2.4 n)
– Because
x2 [n] cos(2.4 n) cos(0.4 n 2 n) cos(0.4 n)
A cos(
ˆ n ) A cos((
ˆ 2 )n ) x2 [n] x1[n] 2400 - 400 2 (1000)
87 88 89
x[n] is zero frequency???
2 f
ˆ Ts 2
90 fs 91 92
14
10/19/2023
fs fs
• INCLUDE ALL SPECTRUM LINES
– ALIASES –1.8 –0.2
ˆ
–2.5 –1.5 –0.5
ˆ
f s 1 kHz 2(0.1) 1.8
f s 80 kHz
0.5 1.5 2.5
• ADD MULTIPLES of 2 x[n ] A cos(2 (100)(n / 80) )
x[n ] A cos(2 (100)(n / 1000) )
• SUBTRACT MULTIPLES of 2
– FOLDED ALIASES
• ALIASES of NEGATIVE FREQS
93 94 95
ˆ 2
f 1
2 X
* 1
2 X 1
X
* 1
2 X • Negative Freqs can give the same
ˆ
x(t) Acos(2(- f f s )t - )
2
fs
–1.6 –0.4
ˆ
x[n] x(nTs ) A cos(2(- f f s )nTs - )
f s 125Hz 0.4 1.6
x[n ] A cos(2 (100)(n / 125) ) x[n] A cos((-2 fTs )n (2 f sTs )n - )
x[n] A cos((2 f Ts )n - 2 n )
x[n] A cos(
ˆ n )
SAME DIGITAL SIGNAL
96 97 98
15
10/19/2023
Pulse Modulation
16
10/19/2023
17
10/19/2023
18