12-multipleaccess (1)
TRANSCRIPT
-
7/30/2019 12-MultipleAccess (1)
1/48
Multiple Access
01204325: Data Communication
and Computer Networks
Asst. Prof. Chaiporn Jaikaeo, [email protected]
http://www.cpe.ku.ac.th/~cpj
Computer Engineering DepartmentKasetsart University, Bangkok, ThailandAdapted from lecture slides by Behrouz A. Forouzan The McGraw-Hill Companies, Inc. All rights reserved
mailto:[email protected]:[email protected] -
7/30/2019 12-MultipleAccess (1)
2/48
2
Outline
Multiple access mechanisms Random access
Controlled access
Channelization
-
7/30/2019 12-MultipleAccess (1)
3/48
-
7/30/2019 12-MultipleAccess (1)
4/48
4
Multiple Access Mechanisms
-
7/30/2019 12-MultipleAccess (1)
5/48
Random Access
-
7/30/2019 12-MultipleAccess (1)
6/48
6
Random Access
Also called contention-based access No station is assigned to control another
-
7/30/2019 12-MultipleAccess (1)
7/487
ALOHA Network
-
7/30/2019 12-MultipleAccess (1)
8/488
Frames in Pure ALOHA
-
7/30/2019 12-MultipleAccess (1)
9/489
ALOHA Protocol
-
7/30/2019 12-MultipleAccess (1)
10/48
-
7/30/2019 12-MultipleAccess (1)
11/4811
ALOHA: Vulnerable Time
-
7/30/2019 12-MultipleAccess (1)
12/4812
ALOHA: Throughput
Assume number of stations trying totransmit follow Poisson Distribution
The throughput for pure ALOHA is
S = G e2Gwhere G is the average number of framesrequested per frame-time
The maximum throughput Smax = 0.184 when G= 1/2
-
7/30/2019 12-MultipleAccess (1)
13/4813
Example
A pure ALOHA network transmits 200-bitframes on a shared channel of 200 kbps.What is the throughput if the system (allstations together) produces
1000 frames per second
500 frames per second
250 frames per second
-
7/30/2019 12-MultipleAccess (1)
14/4814
Slotted ALOHA
-
7/30/2019 12-MultipleAccess (1)
15/4815
Slotted ALOHA: Vulnerable Time
-
7/30/2019 12-MultipleAccess (1)
16/4816
Slotted ALOHA: Throughput
The throughput for Slotted ALOHA is
S = G eG
where G is the average number of framesrequested per frame-time
The maximum throughput Smax = 0.368 when G= 1
-
7/30/2019 12-MultipleAccess (1)
17/4817
Example
A Slotted ALOHA network transmits 200-bit frames on a shared channel of 200kbps. What is the throughput if the system(all stations together) produces
1000 frames per second
500 frames per second
250 frames per second
-
7/30/2019 12-MultipleAccess (1)
18/4818
CSMA
Carrier Sense MultipleAccess "Listen before talk"
Reduce the possibility of collision
But cannot completely eliminate it
-
7/30/2019 12-MultipleAccess (1)
19/4819
Collision in CSMA
-
7/30/2019 12-MultipleAccess (1)
20/48
-
7/30/2019 12-MultipleAccess (1)
21/4821
Persistence Methods
What a station does when channel is idle or busy
-
7/30/2019 12-MultipleAccess (1)
22/48
22
Persistence Methods
-
7/30/2019 12-MultipleAccess (1)
23/48
23
CSMA/CD
Carrier Sense MultipleAccess withCollision Detection
Station monitors channel when sending a
frame
-
7/30/2019 12-MultipleAccess (1)
24/48
24
Energy Levels
-
7/30/2019 12-MultipleAccess (1)
25/48
25
CSMA/CD: Minimum Frame Size
Each frame must be large enough for a senderto detect a collision
Worst case scenario:
"A" is transmitting
"D" starts transmitting just before A's signal arrives
A B C D
Long enough to
hear colliding signalfrom D
-
7/30/2019 12-MultipleAccess (1)
26/48
26
Example
A CSMA/CD network has a bandwidth of10 Mbps. If the maximum propagationtime is 25.6 s, what is the minimum sizeof the frame?
-
7/30/2019 12-MultipleAccess (1)
27/48
-
7/30/2019 12-MultipleAccess (1)
28/48
28
CSMA/CA
Carrier Sense MultipleAccess withCollisionAvoidance
Used in a network where collision cannot
be detected E.g., wireless LAN
IFS Interframe Space
-
7/30/2019 12-MultipleAccess (1)
29/48
-
7/30/2019 12-MultipleAccess (1)
30/48
-
7/30/2019 12-MultipleAccess (1)
31/48
31
Control Access
A station must be authorized by someone(e.g., other stations) before transmitting
Three common methods:
Reservation Polling
Token passing
-
7/30/2019 12-MultipleAccess (1)
32/48
32
Reservation Method
-
7/30/2019 12-MultipleAccess (1)
33/48
33
Polling Method
-
7/30/2019 12-MultipleAccess (1)
34/48
-
7/30/2019 12-MultipleAccess (1)
35/48
Channelization
-
7/30/2019 12-MultipleAccess (1)
36/48
-
7/30/2019 12-MultipleAccess (1)
37/48
37
FDMA
-
7/30/2019 12-MultipleAccess (1)
38/48
38
TDMA
-
7/30/2019 12-MultipleAccess (1)
39/48
39
CDMA
One channel carries all transmissions atthe same time
Each channel is separated by code
-
7/30/2019 12-MultipleAccess (1)
40/48
40
CDMA: Chip Sequences
Each station is assigned a unique chip sequence
Chip sequences are orthogonal vectors
Inner product of any pair must be zero
With N stations, sequences must have the
following properties: They are of length N
Their self inner product is always N
-
7/30/2019 12-MultipleAccess (1)
41/48
41
CDMA: Bit Representation
-
7/30/2019 12-MultipleAccess (1)
42/48
42
Transmission in CDMA
-
7/30/2019 12-MultipleAccess (1)
43/48
-
7/30/2019 12-MultipleAccess (1)
44/48
44
Signal Created by CDMA
-
7/30/2019 12-MultipleAccess (1)
45/48
-
7/30/2019 12-MultipleAccess (1)
46/48
46
Sequence Generation
Common method: Walsh Table Number of sequences is always a power of two
-
7/30/2019 12-MultipleAccess (1)
47/48
-
7/30/2019 12-MultipleAccess (1)
48/48