Multiple Access Protocol: Presented By, J.Merlin Florrence I M.SC
Multiple Access Protocol: Presented By, J.Merlin Florrence I M.SC
PRESENTED BY,
J.MERLIN FLORRENCE
I M.Sc
AGENDA
INTORDUCTION
ALOHA
CSMA
TAKING-TURNS PROTOCOLS
Point-to-point link:
Taking-turns
Protocols
Channel Partitioning Protocols
Techniques used to partition a broadcast channel’s
are,
• Time-division multiplexing
• Frequency-division multiplexing
For example, if the channel send N nodes and that
the transmission rate of the channel is R bps.
TDM divides time into time frames and further
divides each time frame into N time slots.
TEXT
Each slot time isTEXT TEXT
then assigned to one of the N
nodes.
whenever a node has a packet to send, it transmits
the packet’s bits during its assigned time slot in the
revolving TDM frame.
TDM is appealing because it eliminates collisions and
is perfectly fair : Each node gets a dedicated
transmission rate of R/N bps during each frame time.
DRAWBACKS:
time
FDMA: frequency division multiple access
Frequency
time
CDMA: code division multiple access
Same frequency and time but different codes.
11
FDM
While TDM shares the broadcast channel in time, FDM divides
the R bps channel into different frequencies and assigns each
frequency to one of the nodes.
CDMA:
It is Code Division Multiple Access.
Slotted ALOHA
we assume,
All frames consist of exactly L bits.
Time is divided into slots of size L/R seconds
Nodes start to transmit frames only at the beginning of slots
The nodes are synchronized so that each node knows when the
slots begin.
If two or more frames collide in a slot ; then all the nodes detect
the collision event before the slot ends
Let p be a probability ,that is, a number between o and 1.
the operation of slotted ALOHA in each node is.
Cons
• collisions, wasting slots
• idle slots
• nodes may be able to detect collision in less than time to
transmit packet
• clock synchronization
ALOHA
It required that all nodes synchronize their
transmissions to start at the beginning of a slot.
CARRIER SENSING:
A node is listens to the channel before transmitting.
If a frame from another nodes currently being transmitted into
the channel, a node then waits a random amount of time and
then again senses the channel.
If the channel is sensed to be idle, the node then begins frame
transmission.
Otherwise, the node waits another random amount of time and
repeats this process.
COLLISION DETECTION:
Collision:
Entire packet transmission
time wasted
Note:
Role of distance & propagation
delay in determining collision
probability
CSMA CD (Collision Detection)
CSMA/CD: carrier sensing, deferral as in CSMA
– collisions detected within short time
– colliding transmissions aborted, reducing channel
wastage
• collision detection:
– easy in wired LANs: measure signal strengths,
compare transmitted, received signals
– difficult in wireless LANs: receiver shut off
while transmitting
• human analogy: the polite conversationalist
CSMA/CD: like in CSMA
collisions are detected within a few bit times
Transmission is then aborted, reducing the
channel wastage considerably
persistent retransmission is implemented
Collision detection is easy in wired LANs:
can measure signal strength on the line
Collision detection cannot be done in wireless
LANs :
CSMA/CD can approach channel utilization =1 in
LANs:
low ratio of propagation over frame transmission
time
CSMA/CD collision detection
Comparison
29
TAKING -TURNS PROTOCOL