Docsity

Medium Sharing Techniques and Contention Protocols in Wireless Communications - Prof. Sudh, Study notes of Mass Communication

Partial preview of the text

Download Medium Sharing Techniques and Contention Protocols in Wireless Communications - Prof. Sudh and more Study notes Mass Communication in PDF only on Docsity!

ECE442: Wireless Communications

Lecture 8: Random-access Radio Protocols

Prof. Sudharman K. Jayaweera Department of Electrical and Computer Engineering University of New Mexico.

Medium Sharing Techniques for Multiple-access

Medium-sharing can be classified into two methods: static channelization: channel assignment is done in a pre-specified way and does not change with time dynamic channelization: channel assignment is allocated as needed and thus the allocation changes with time dynamic allocation can be divided also into two methods called scheduled and random-access

Random-access Protocols

Fixed-assignment channel-access methods: each user is given a share of the channel resources (e.g. a frequency band, a time-slot, or a code) through which to transmit e.g. FDMA, TDMA and CDMA Make relatively efficient use of radio resources when there is a steady flow of information from the source. e.g. voice, a data file, a fax However, for sources generating short messages at random times this is inefficient Random-access protocols, also called the packet radio are of interest in such cases

ISO/OSI Reference Model

Communication system management is organized in layers of responsibility A seven layer reference model has been introduced and widely used for computer networks and is called the International Standards Organization/Open Systems Interconnection (ISO/OSI) reference model The lowest three layers (physical, data link and network layers) in this model can be considered as the communication subnetwork The physical layer (lowest layer) refers to the transmission of data through the physical medium (i.e. via modulation/demodulation)

The MAC Sub-layer and Random-access

The next layer up in the ISO/OSI reference model is the data-link layer. It is responsible for, establishing and maintaining connections error control medium-access control (MAC) Multiple-access schemes are MAC protocols The MAC is a sub layer inside the data link layer The multiple-access protocols (MAC protocols) can be classified into two categories (see earlier figure): conflict-free contention-based

Data Packets

In random-access systems, a data sequence from a digital source is broken down into smaller pieces which are organized into so-called data packets A data packet is a series of digital symbols with a structure something like below (exact details depend on the particular system):

TAIL ERROR CONTROL DATA PAYLOAD ID HEADER

To transmit over the wireless channel, a data packet may be embedded in a radio packet, which also contains further symbols aiding in its demodulation, such as synch bits, training symbols, etc

Packet Switching and Routing

In large data networks (e.g., the Internet), packets are switched through the network from source to a destination by routers at the nodes (i.e. the points connecting the links) of the network. You may think of this as a kind of a postal system: data packets are like letters links are like postal routes and transportation routes between major cities nodes are like post offices end devices are like mailboxes Isn’t wireless communications so easy?

Random Access Protocols

Packets are transmitted to a destination through a shared wireless network without any explicit channel assignment (they can also be switched through a backbone network) Subscribers attempt to access a shared radio channel to transmit packets to a common receiver, e.g. a base station, in a minimally coordinated fashion If the packet is correctly received (as assessed by the CRC), an ACK (acknowledgement) identifying the received packet is broadcasted back to the subscribers If the receiver detects a collision of two packets or otherwise erroneous reception, it broadcasts a NACK (a negative acknowledgement). The transmitter must then re-send the packet When all packets arrive at the destination safely, the payloads are reassembled into the original data sequence

ALOHA

Aloha protocol was developed at the University of Hawaii for bursty, low-data-rate, radio communication between the central computer and other data terminals (in 1970’s) Since then, there have been various improved versions of the basic algorithm Original algorithm is usually referred to as the pure Aloha algorithm Pure ALOHA: a user transmits as soon as a packet is ready to go if a collision occurs (i.e. a NACK received) the transmitter waits a random period of time and then retransmits simple, but throughput is low

Throughput of ALOHA

Suppose that there are an infinite number of users and each user generates packets according to a Poisson process with arrival rate of λ packates/sec All packets are assumed to have the same fixed length of T sec If you consider a particular time instant t, there are not only new packet arrivals, but also those packets that were unsuccessful in getting through and thus are ready to be re-transmitted The combination of new and backlogged packets make the scheduling rate g (in packets/sec) to be such that g > λ The scheduling packet process is very difficult o model exactly, but if the retransmissions from backlogged nodes are random enough, then we can approximate the combined process to be also a Poisson process with rate g packets/sec Then, we can define the normalized offered load G as G = gT packets

Maximum Throughput of Pure ALOHA

It can be easily shown that the above throughput is maximized if the normalized offered load G = 0.5, and the resulting maximum throughput is

ηALOHA,max =

2 e

≈ 0. 184 packets

Clearly the throughput of pure ALOHA is not that great. We can certainly improve the basic algorithm in several ways.

Improved Versions of ALOHA Protocol

Slotted ALOHA: Time axis is discretized into slots. The slot size is equal to the packet interval T. Transmissions are allowed only at the beginning of a slot. The maximum throughput is doubled compared to pure Aloha Reservation ALOHA: A transmitter with a long file can reserve slots

These schemes may improve throughput at the expense of reduced flexibility and/or increased delay

Throughput and Maximum Throughput of Slotted-ALOHA

The normalized throughput of slotted-ALOHA is

ηs−ALOHA = GPsuc = gTe−gT^ = Ge−G^ packets

where normalized-load is G = gT. It can be shown that the above throughput is maximized if the normalized offered load is G = 1, and the resulting maximum throughput is

ηs−ALOHA,max =

e

≈ 0. 368 packets

Throughput of ALOHA vs. Slotted-ALOHA

.s

•... (^0) V:J ..c: 13 0,:::l:::lE-< co 0.20.

2 4 Traffic load G

6 8