Lecture4 CS169
Lecture4 CS169
LECTURE 4
Medium Access Control
Introduction
2
user 3
guard band
guard time
guard time
frequency
frequency
frequency
user 2 user 1 21,2,3 3
user 2
user 3
guard band
user 1 3 1
time time time
frequency
time
FDMA
7
f
893.97MHz 799
20 MHz
849.97 MHz 799
355
835.65 MHz
t
slot
frame
frequency
time
TDMA
10
935-960 MHz
124 channels (200 kHz)
downlink
890-915 MHz
124 channels (200 kHz)
uplink
higher GSM frame structures
time
1 2 3 4 5 6 7 8
4.615 ms
417 µs
1 2 3 11 12 1 2 3 11 12
t
downlink uplink
time
frequency
CDMA
14
0.8
0.6
0.5
chip 0.4
0.3
0.2
0.1
0
-10 -8 -6 -4 -2 0 2 4 6 8 10
1 0 1
V 0 chip
1
Data 1
time
T T T T
User 1 data in
Spread
User 2 data in
Spread
T 2T 3T 4T
t
Transmitted signal
Simple CDMA Receiver
18
V
2
Received
signal T 2T 3T 4T t
∫ = -2 x T/2 = -T
V
1
Alice’s
Code T 2T 3T 4T t = -T has a negative sign
⇒ Alice sent a 1
as the first bit
Simple CDMA continued
19
Base station
Random access protocols
23
¨ ALOHA
¤ Transmit whenever you want
n If
you are acknowledged, everything is fine
n Otherwise retransmit packets
• If successful, they
hold onto the slot.
• If collision occurs, the
slot is open again for
contention.
Reservation TDMA
26
¨ Capture
The Hidden Terminal Problem
29
range of A
Mechanisms for overcoming collisions due to
hidden terminals
30
¨ Capture
¤ A receiver can “cleanly” receive a signal from one of many simultaneous
transmissions
¨ Suppose MS-A, MS-B and MS-3 all simultaneously transmit to an AP
with the same transmit power
¤ MS-A is the closest and its signal is received with a larger strength
obscuring the transmissions from MS-B and MS-C
¤ The AP is said to have “captured” the signal from MS-A
¤ Common in FM or FSK transmissions but not a big problem in other
systems
¨ Capture improves the throughput
¨ Capture results in unfair sharing of bandwidth
¤ Need protocols to ensure fairness
Problems with Collision Detection
33
¤ Transmission
Prioritization
37
¨ After sending a burst, a MS listens to the channel for 256 bit durations
(elimination survival verification interval)
¨ If it hears a burst in this period, it eliminates itself
¨ Longest burst wins!
Contention (Yield)
39
Contention Phase
Prioritization
Cycle Phase
Synch. Yield Phase
Elimination Burst
Interval
ACK
Frame