Slides 8
Slides 8
1
Outline
What we have see so far? PHY layer functions and parameters
General Wireless System Architecture
Media Access Control
Classes of MAC protocols
TDMA
Capacity of TDMA systems and which factors affect the capacity.
Spread Spectrum Access Methods
FHMA
Case study: Bluetooth
CDMA
Hybrid Spread Spectrum Schemes.
Random MAC Schemes
CSMA
MACA and MACAW
Case Study: IEEE 802.11 MAC
TCP/IP
Neighbor Discovery and Registration,
Wireless Subnet Multicasting, Power Saving Modes, Address
Translation (IP-MAC), Routing, Quality of Services,
Controller Subnet Security
Reverse Forward
Channel Channel
Frequency separation
Slot number 0 1 2 3 4 5 6 7 …
channel F R F R F R F R ….
Reverse Forward
Channel Channel
Ti Ti+1 time
Time separation
channel is small)
More precisely, the channel bandwidth is large compared to the coherence
bandwidth of the channel (remember that coherence bandwidth is related
with reciprocal of the delay spread of multipath channel)
AMPS is a narrowband system (channel bandwidth is 30kHz in one-way)
Wideband Systems
The channel bandwidth is large
More precisely, the channel bandwidth is much larger that the coherence
bandwidth of the multipath channel.
A large number of users can access the same channel (frequency band)
at the same time.
…
Guard channel Guard
Band Band
Bt 2 Bguard
N
Bc
Bt : Total spectrum allocation
Bguard: Guard band allocated at the edge of the spectrum band
Bc : Bandwidth of a channel
AMPS has 12.MHz simplex spectrum band, 10Khz guard band, 30kHz
channel bandwidth (simplex): Number of channels is 416.
1 2 3 … N 1 2 3 …. N …
Upstream and downstream traffic uses of the two different carrier frequencies.
Upstream slots 8 3 3 12
per frame
Efficiency of 73 % 80 % 80 % 67 %
Time Slots
Cluster size = 7
C B
y
A B D
x
A G
z
G E A
A mobile in cell x receives carrier signal from base x and interferences from
base stations at cells y and z. The carrier signal strength of all combined signal
strength from interfering base stations is called C/I or S/I ratio.
1
system_cap acity frequency_reuse_factor
cluster_size
capacity(GSM) 1 / 3 1 / 25
2.8
capacity(AMPS) 1 / 7 1 / 30
assuming other factors are same like the range of base stations.
0 1 2 3 ..... 77 78
79-Hop System
1 MHZ
Range = 10m
FHSS Raw Data-rate: 1 Mbps/piconet
M
Radio channel used by devices in
a piconet is 79MHz channel, which
Is frequency hopped: hopping
S S though 789 channels.
Hoprate = 1600 hops/sec
All slaves and the master hops according to the same hopping sequence.
The hopping sequence is determined by the clock and BT_address of the master.
S
FHSS M1
0 1 2 3 4 5 6 7 …..
M-S1 S1-M M-S2 S2-M M-S3 S3-M M-S1 S1-M ……
slot time=625s
1 1
Data
0
PN-Code 1 1 1 0 1 0 1 1 1 1 1 0 1 0 1 1
(codeword)
Coded
Signal
Chip period
Input to the modulator (phase modulation)
Bspread Bchip
Gp
R R
Gp: processing gain
Bspread: PN code rate
Bchip: Chip rate
R: Data rate
IS-95 System (Narrowband CDMA) has a gain of 64. Other systems have
gain between 10 and 100.
1.228 Mhz chipping rate
1.25 MHz spread bandwidth
PN Code
Generator Oscillator
fc
Chip Clock
2 Es
sss (t ) m(t ) p (t ) cos(2f c t )
Ts
2 Es
s1 (t ) m(t ) cos(2f c t )
Ts
Interference
Signal
Frequency Frequency
Data=1011… Data=0010…
A B
(*) This example is adapted from the CDMA example of Prof. Randy Katz at UC-Berkeley.
A Data
1 0 1 1
A 0 1 0 0 1 1 0 1 0 0 1 1 0 1 0 0 1 1 0 1 0 0 1 1
Codeword
Data Code 1 0 1 1 0 0 0 1 0 0 1 1 1 0 1 1 0 0 1 0 1 1 0 0
A Signal
B Data 0 0 1 0
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
B
Codeword
Data Code 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 1 0
B Signal
Transmitted
A+B
Signal
A+B
Signal
received
A
Codeword
at
receiver
(A B) Code
Integrator
Output
Comparator
Output 0 1 0 1
A+B
Signal
received
B
Codeword
at
receiver
(A B) Code
Integrator
Output
Comparator
Output
1 1 0 1
A+B
Signal
received
Wrong
Codeword
Used at
receiver
Integrator
Output
Comparator
Output X 0 1 1
Noise
Wrong codeword will not be able to decode the original data!
FDMA/CDMA
Available wideband spectrum is frequency divided into
number narrowband radio channels. CDMA is employed
inside each channel.
DS/FHMA
The signals are spread using spreading codes (direct
sequence signals are obtained), but these signal are not
transmitted over a constant carrier frequency; they are
transmitted over a frequency hopping carrier frequency.
~0.185 0.18
0.16
0.14
0.12
0.1
0.08
0.06
0.04
0.02
0
0 0.2 0.4 0.5 0.6 0.8 1
Normalized
Channel Occupancy
A B C
Hidden
terminal
• A is transmitting to B.
• C is sensing the carrier and detects that it is idle (It can not hear A’s
transmission).
• C also transmits and collision occurs at B.
• A is hidden from C.
A B C D
Exposed
terminal
Can
Can, I want to Can, I want to
talk to you! talk to you!
Biltepe
Mountain
Ali Veli
RTS(n) RTS(n)
A B C D
RTS(m)
CTS(n)
CTS(m)
Data(n)
Data(m)
• C defers transmission upon hearing B’s RTS until B could get CTS from A.
• After that C can start transmission to D. For that it first sends an RTS.
• C is not longer exposed to the data transmission of B.
Infrastructure Mode
Access
Access Point Point
Wireless Link
Wireless Link Wireless Link
Mobile
Station
Mobile Stations can talk directly with each-other. All stations in an IBSS
need to be in the range of each-other.
2.400 2.484
GHz GHz
Signal from A
Signal from B
11 11
6 6
1 1 1
11 11
6 6
Source Data
SIFS
Destination ACK
Contention Window
DIFS (Slot Times)
Others Data
Defer Access
Backoff after
Defer
Others
DIFS
Defer Access for NAV(RTS)