Multiple Access
Multiple Access
Multiple Access
12.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 12
Multiple Access
12.2 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
MEDIA ACCESS PROTOCOLS
12.4
MEDIA ACCESS PROTOCOLS
12.5
Figure 12.2 Taxonomy of multiple-access protocols discussed in this chapter
12.6
12-1 RANDOM ACCESS
12.7
RANDOM ACCESS
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 noticeable 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
The original ALOHA protocol is called pure ALOHA. This is a simple
but elegant protocol. The idea is that each station sends a frame
whenever it has a frame to send (multiple access). However, because
there is only one channel to share, there is the possibility of collision
between frames from different stations. Figure 3.24 shows an example of
frame collisions in pure ALOHA.
12.8
Figure 12.3 Frames in a pure ALOHA network
12.9
RANDOM ACCESS
Slotted ALOHA
Slotted ALOHA was invented to improve the efficiency of
pure ALOHA.
In slotted ALOHA we divide the time into slots of Tfr
seconds and force the station to send only at the beginning of
the time slot.
12.10
Carrier sense multiple access
To minimize the chance of collision and, therefore, increase
the performance, the CSMA method was developed.
The chance of collision can be reduced if a station senses the
medium before trying to use it.
Carrier sense multiple access (CSMA) requires that each
station first listen to the medium (or check the state of the
medium) before sending.
In other words, CSMA is based on the principle “sense before
transmit” or “listen before talk.” CSMA can reduce the
possibility of collision, but it cannot eliminate it. The reason for
this is shown in Figure 3.29, a space and time model of a
CSMA network. Stations are connected to a shared channel
(usually a dedicated medium).
12.11
Figure 12.8 Space/time model of the collision in CSMA
12.12
Figure 12.9 Vulnerable time in CSMA
12.13
Figure 12.10 Behavior of three persistence methods
12.14
Figure 12.11 Flow diagram for three persistence methods
12.15
Figure 12.12 Collision of the first bit in CSMA/CD
12.16
Figure 12.13 Collision and abortion in CSMA/CD
12.17
Example 12.5
12.19
Figure 12.15 Energy level during transmission, idleness, or collision
12.20
Figure 12.16 Timing in CSMA/CA
12.21
Note
12.22
Note
12.23
Figure 12.17 Flow diagram for CSMA/CA
12.24
12-2 CONTROLLED ACCESS
12.25
Figure 12.18 Reservation access method
12.26
Figure 12.19 Select and poll functions in polling access method
12.27
Figure 12.20 Logical ring and physical topology in token-passing access method
12.28
12-3 CHANNELIZATION
12.29
Note
12.30
Figure 12.21 Frequency-division multiple access (FDMA)
12.31
Note
12.32
Figure 12.22 Time-division multiple access (TDMA)
12.33
Note
12.34
Note
12.35
Figure 12.23 Simple idea of communication with code
12.36
Figure 12.24 Chip sequences
12.37
Figure 12.25 Data representation in CDMA
12.38
Figure 12.26 Sharing channel in CDMA
12.39
Figure 12.27 Digital signal created by four stations in CDMA
12.40
Figure 12.28 Decoding of the composite signal for one in CDMA
12.41
Figure 12.29 General rule and examples of creating Walsh tables
12.42
Note
12.43
Example 12.6
Solution
We can use the rows of W2 and W4 in Figure 12.29:
a. For a two-station network, we have
[+1 +1] and [+1 −1].
12.44
Example 12.7
Solution
The number of sequences needs to be 2m. We need to
choose m = 7 and N = 27 or 128. We can then use 90
of the sequences as the chips.
12.45
Example 12.8
Solution
Let us prove this for the first station, using our previous
four-station example. We can say that the data on the
channel
D = (d1 ⋅ c1 + d2 ⋅ c2 + d3 ⋅ c3 + d4 ⋅ c4).
The receiver which wants to get the data sent by station 1
multiplies these data by c1.
12.46
Example 12.8 (continued)
12.47