13 (Multiple Access) 46 Slides
13 (Multiple Access) 46 Slides
Multiple
Access
MA
CSMA
CSMA/CD
CSMA/CA
» PERSISTENT: A station senses a line, if the line is idle, the station sends a
frame.
» This method has two variations: 1-Persistent and p-persistent.
» 1-Persistent: The station senses the medium and if finds it idle, it sends the
frame immediately (with a probability of 1).
» This increases the chances of collision.
» p-persistent: If the station finds the medium idle, the station may or may not
sends the frame.
» It sends with the probability p and refrains from sending with probability 1-p.
» e.g, If p is 0.2, means each station, after sensing the idle line, sends with a
probability of 0.2 (20% of time).
» The station generates a random number between 1-100.
» If the random number is less than 20%, the station will send, otherwise the
station refrains from sending.
» This methods reduces the chances of collision and improves the efficiency.
Reservation
Polling
Token Passing
» The polling function is used by the primary device to solicit the transmission
from the secondary devices.
» When the primary is ready to receive data, it must ask (poll) each device in
turn if it has anything to send.
» When first secondary is approached it either respond with NAK frame
or with data frame.
» If NAK frame is responded then next secondary is polled by primary.
» When response is data frame then primary reads the frame and ACK it.
» When no data are being sent, a token circulates around the ring.
» If a station needs to send data, it waits for the token.
» The station captures the token and send one or more frames.
» When finished it releases the token to successor station.
» Priority and reservation is also used to enhance the procedure.
FDMA
TDMA
CDMA
» The sequences are not chosen randomly, they are carefully selected.
» Theses sequences are called Orthogonal Sequences.
W1 and W2N
Solution
The inner product of each code by itself is N. This is shown for code C; you
can prove for yourself that it holds true for the other codes.
C. C=
B . C =
Solution
The inner product of each code by its complement is N. This is shown for
code C; you can prove for yourself that it holds true for the other codes.
C . (C ) =
B . (C ) =
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004