data 3 (2)
data 3 (2)
1. RANDOM ACCESS
2. CONTROLLED ACCESS
3. CHANNELIZATION
Chapter 12: Objective
❑ The first section discusses random-access protocols. Four
protocols, ALOHA, CSMA, CSMA/CD, and CSMA/CA, are
described. These protocols are mostly used in LANs and WANs.
■ Methods
1) ALOHA
2) CSMA/CD
3) CSMA/CA
ALOHA
□ALOHA, the earliest random access method, was
developed at the University of Hawaii in early 1970.
□ It was designed for a radio (wireless) LAN, but it
can be used on any shared medium.
□ It is obvious that there are potential collisions in this
arrangement.
□ The medium is shared between the stations. When a
station sends data, another station may attempt to do
so at the same time.
□The data from the two stations collide and become
garbled.
Pure ALOHA
■ Original ALOHA protocol is called Pure
ALOHA. Idea is
1) Each station sends a frame whenever it has frame to
send.
2) Since there is only one channel to share, there is
possibility of collision between frames from different
stations.
Frames in a pure ALOHA network
ALOHA
Eg: There are 4 stations that content with one
another for access to the shared channel.
□ Each station sends two frames, there are totally
Solution:
To find T = (600 × 103) / (3 × 108) = 2 ms.
p
Solution
Average frame transmission time Tfr is 200 bits/200 kbps or
1 ms.
The vulnerable time is 2 × 1 ms = 2 ms.
This means no station should send later than 1 ms
before this station starts transmission and no station should
start sending during the period (1 ms) that this station is
sending.
Throughput
■ Let G be the average number of frames
generated by the system during one frame
transmission time.
■ It can be proved that, average number of
successful transmission for pure ALOHA is
b) G = 1/2.
In this case S = G × e−G = 0.303 (30.3 percent).
This means that the throughput 500 × 0.303 = 151.5.
Only 151 frames out of 500 will probably survive.
c) G = 1/4.
In this case S = G × e−G = 0.195 (19.5 percent).
This means that the throughput is 250 × 0.195 = 49.
Only 49 frames out of 250 will probably survive.
CSMA
□To minimize the chance of collision and, therefore,
increase the performance, the CSMA method was
developed.
1) 1-Persistent method
2) Non persistent method.
3) p-Persistent method
■ When a station finds channel is busy, behavior