Slotted ALOHA is an improvement over Pure ALOHA, designed to increase the efficiency of channel utilization in random access protocols. It was developed as a modification to the original ALOHA system at the University of Hawaii in the early 1970s.
Slotted ALOHA is a medium access control (MAC) protocol that divides time into discrete slots of fixed length. Devices are only allowed to transmit at the beginning of a time slot, which reduces the probability of collisions compared to Pure ALOHA.
The operation of Slotted ALOHA can be described as follows:
Time Synchronization: All devices in the network are synchronized to a common clock, which defines the boundaries of time slots.
Transmission: When a device has data to send, it waits until the beginning of the next time slot and then transmits.
Acknowledgment: After transmitting, the device waits for an acknowledgment (ACK) from the receiver.
Collision Detection: If the device does not receive an ACK within a specified timeout period, it assumes that a collision has occurred.
Backoff and Retransmission: After detecting a collision, the device waits for a random number of time slots (backoff) before retransmitting. This random backoff helps reduce the probability of repeated collisions.
Repeat: The device continues this process until it successfully transmits its data or reaches a maximum number of retransmission attempts.
In Slotted ALOHA, a collision occurs only if two or more devices transmit in the same time slot. Unlike Pure ALOHA, where the vulnerable time is twice the frame transmission time, in Slotted ALOHA, the vulnerable time is exactly one time slot.
This reduction in vulnerable time from 2 × T to T is the key reason for the improved efficiency of Slotted ALOHA compared to Pure ALOHA.
Time Synchronization: Slotted ALOHA requires all devices to be synchronized to a common clock, which can be challenging to achieve in some networks.
Still Inefficient: Despite the improvement over Pure ALOHA, Slotted ALOHA still wastes more than 60% of the channel capacity due to collisions and idle time.
Unstable under Heavy Load: As the network load increases, the number of collisions increases, leading to a decrease in throughput.
No Collision Detection: Devices do not check if the channel is free before transmitting, which increases the probability of collisions.
No Fairness Guarantee: There is no mechanism to ensure fair access to the channel, so some devices may dominate the channel while others starve.
CSMA improves upon ALOHA by having devices listen to the channel before transmitting. If the channel is busy, the device waits until it becomes idle. This significantly reduces the probability of collisions.
CSMA/CD, used in traditional Ethernet, adds collision detection to CSMA. Devices listen to the channel while transmitting and stop immediately if they detect a collision. This further improves efficiency by reducing the time wasted in collisions.
CSMA/CA, used in wireless networks like Wi-Fi, tries to avoid collisions by using techniques like random backoff before transmission and the Request to Send (RTS) / Clear to Send (CTS) mechanism.
Reservation-based protocols, such as Reservation ALOHA (R-ALOHA), allow devices to reserve future time slots for transmission, reducing the probability of collisions.
Slotted ALOHA and its variants have been used in various applications:
Satellite Communication: Slotted ALOHA has been used in satellite communication systems, where the propagation delay is significant.
RFID Systems: Some RFID systems use Slotted ALOHA-based protocols for tag identification.
Cellular Networks: Early cellular networks used variants of Slotted ALOHA for random access channels.
Wireless Sensor Networks: In some wireless sensor networks, Slotted ALOHA is used for its simplicity and reasonable efficiency under light to moderate loads.
Slotted ALOHA is an improvement over Pure ALOHA that increases the maximum channel utilization from 18.4% to 36.8% by dividing time into discrete slots and restricting transmissions to the beginning of these slots. This reduces the vulnerable time from twice the frame transmission time to exactly one time slot.
While Slotted ALOHA is more efficient than Pure ALOHA, it still wastes more than 60% of the channel capacity due to collisions and idle time. It also requires time synchronization among all devices, which can be challenging to achieve in some networks.
Despite these limitations, Slotted ALOHA laid the foundation for more advanced MAC protocols like CSMA, CSMA/CD, and CSMA/CA, which are widely used in modern networks. The principles of Slotted ALOHA are still relevant in certain applications where simplicity and reasonable efficiency under light to moderate loads are important.
Test Your Knowledge
Take a quiz to reinforce what you've learned
Exam Preparation
Access short and long answer questions for written exams