CS263: Wireless Communications and Sensor Networks



Similar documents
How To Make A Multi-User Communication Efficient

EPL 657 Wireless Networks

Attenuation (amplitude of the wave loses strength thereby the signal power) Refraction Reflection Shadowing Scattering Diffraction

TCOM 370 NOTES LOCAL AREA NETWORKS AND THE ALOHA PROTOCOL

Revision of Lecture Eighteen

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

How To Understand The Theory Of Time Division Duplexing

Lecture 1. Introduction to Wireless Communications 1

GSM and Similar Architectures Lesson 07 GSM Radio Interface, Data bursts and Interleaving

3GPP Wireless Standard

EECS 122: Introduction to Computer Networks Multiaccess Protocols. ISO OSI Reference Model for Layers

Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

Multiple Access Techniques

Cellular Network Organization. Cellular Wireless Networks. Approaches to Cope with Increasing Capacity. Frequency Reuse

LANs. Local Area Networks. via the Media Access Control (MAC) SubLayer. Networks: Local Area Networks

Hello viewers, welcome to today s lecture on cellular telephone systems.

Bluetooth voice and data performance in DS WLAN environment

Lecture 7 Multiple Access Protocols and Wireless

CSE 123A Computer Networks

CDMA Network Planning

GSM Network and Services

Mobile Communications TCS 455

ECE 333: Introduction to Communication Networks Fall 2002

How To Understand The Gsm And Mts Mobile Network Evolution

Wireless Cellular Networks: 1G and 2G

Controlled Random Access Methods

INTRODUCTION TO COMMUNICATION SYSTEMS AND TRANSMISSION MEDIA

Random Access Protocols

CHAPTER 1 1 INTRODUCTION

Lecture 17: Wireless Networking"

ECE/CS 372 introduction to computer networks. Lecture 13

Lecture 18: CDMA. What is Multiple Access? ECE 598 Fall 2006

Mobile & Wireless Networking. Lecture 5: Cellular Systems (UMTS / LTE) (1/2) [Schiller, Section 4.4]

CSE331: Introduction to Networks and Security. Lecture 6 Fall 2006

GSM Channels. Physical & Logical Channels. Traffic and Control Mutltiframing. Frame Structure

RESOURCE ALLOCATION FOR INTERACTIVE TRAFFIC CLASS OVER GPRS

Appendix C GSM System and Modulation Description

Exercise 2 Common Fundamentals: Multiple Access

CHAPTER 8 MULTIPLEXING

Wireless Personal Area Networks (WPANs)

Chapter 6 Bandwidth Utilization: Multiplexing and Spreading 6.1

LoRaWAN. What is it? A technical overview of LoRa and LoRaWAN. Technical Marketing Workgroup 1.0

What is it all about? Some simple solutions. Multiple Access. Contexts for the multiple access problem. Outline. Contexts

How To Understand And Understand The Power Of A Cdma/Ds System

communication over wireless link handling mobile user who changes point of attachment to network

TABLE OF CONTENTS. Dedication. Table of Contents. Preface. Overview of Wireless Networks. vii xvii

Wireless Technologies for the 450 MHz band

CS Cellular and Mobile Network Security: CDMA/UMTS Air Interface

CS6956: Wireless and Mobile Networks Lecture Notes: 2/11/2015. IEEE Wireless Local Area Networks (WLANs)

Protocolo IEEE Sergio Scaglia SASE Agosto 2012

FIGURE 12-1 Original Advanced Mobile Phone Service (AMPS) frequency spectrum

VOICE OVER WI-FI CAPACITY PLANNING

GSM Radio Part 1: Physical Channel Structure

Introductory Concepts

EECC694 - Shaaban. Transmission Channel

Collision of wireless signals. The MAC layer in wireless networks. Wireless MAC protocols classification. Evolutionary perspective of distributed MAC

GSM System. Global System for Mobile Communications

Analog vs. Digital Transmission

Multiplexing on Wireline Telephone Systems

Frequency Hopping Spread Spectrum (FHSS) vs. Direct Sequence Spread Spectrum (DSSS) in Broadband Wireless Access (BWA) and Wireless LAN (WLAN)

CHAPTER - 4 CHANNEL ALLOCATION BASED WIMAX TOPOLOGY

Wireless Networks. Reading: Sec5on 2.8. COS 461: Computer Networks Spring Mike Freedman

Guide to Wireless Communications. Digital Cellular Telephony. Learning Objectives. Digital Cellular Telephony. Chapter 8

10. Wireless Networks

(Refer Slide Time: 2:10)

ERLANG CAPACITY EVALUATION IN GSM AND CDMA CELLULAR SYSTEMS

Wireless Cellular Networks: 3G

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Cellular Wireless Networks. Principles of Cellular Networks

CDMA TECHNOLOGY. Brief Working of CDMA

AN ANALYSIS OF DELAY OF SMALL IP PACKETS IN CELLULAR DATA NETWORKS

ADSL part 2, Cable Internet, Cellular

Frequency [MHz] ! " # $ %& &'( " Use top & bottom as additional guard. guard band. Giuseppe Bianchi DOWNLINK BS MS UPLINK MS BS

The Evolution of 3G CDMA Wireless Networks. David W. Paranchych IEEE CVT Luncheon January 21, 2003

Chapters 1-21 Introduction to Wireless Communication Systems

2G/3G Mobile Communication Systems

1 Lecture Notes 1 Interference Limited System, Cellular. Systems Introduction, Power and Path Loss

Introduction to EDGE. 2.1 What Is EDGE?

GSM: PHYSICAL & LOGICAL CHANNELS

frequency experienced by mobile is not f but distorted version of f: call it f

Express Forwarding : A Distributed QoS MAC Protocol for Wireless Mesh

Performance Issues of TCP and MPEG-4 4 over UMTS

Mobile Broadband of Deutsche Telekom AG LTE to cover White Spaces. Karl-Heinz Laudan Deutsche Telekom AG 16 June 2011

Adaptive DCF of MAC for VoIP services using IEEE networks

GTER 26 tudo o que você. quer saber sobre n

About Me" List of Lectures" In This Course" Mobile and Sensor Systems. Lecture 1: Introduction to Wireless Systems" " Dr. Cecilia Mascolo" "

: Instructor

Figure 1: cellular system architecture

8. Cellular Systems. 1. Bell System Technical Journal, Vol. 58, no. 1, Jan R. Steele, Mobile Communications, Pentech House, 1992.

COMP 3331/9331: Computer Networks and Applications

Imre Földes THE EVOLUTION OF MODERN CELLULAR NETWORKS

Chapter 6: Broadcast Systems. Mobile Communications. Unidirectional distribution systems DVB DAB. High-speed Internet. architecture Container

Computer Networks. Wireless and Mobile Networks. László Böszörményi Computer Networks Mobile - 1

Modern Wireless Communication

Data Transmission. Data Communications Model. CSE 3461 / 5461: Computer Networking & Internet Technologies. Presentation B

Lecture overview. History of cellular systems (1G) GSM introduction. Basic architecture of GSM system. Basic radio transmission parameters of GSM

Physical Layer. Communication Satellites. ECE 453 Introduction to Computer Networks. Lecture 3 Physical Layer II

DATA COMMUNICATIONS AND NETWORKING. Solved Examples

Location management Need Frequency Location updating

Introduction to Wireless Communications and Networks

Transcription:

CS263: Wireless Communications and Sensor Networks Matt Welsh Lecture 4: Medium Access Control October 5, 2004 2004 Matt Welsh Harvard University 1

Today's Lecture Medium Access Control Schemes: FDMA TDMA CDMA Examples from cell phone technology: AMPS, GSM Packet networks: ALOHA and Slotted ALOHA Capture effect and hidden terminal problem Use of power control Carrier Sense Multiple Access with Collision Detection (CSMA/CD) 2004 Matt Welsh Harvard University 2

Medium Access Control (MAC) Many mobile devices must share limited spectrum e.g., 802.11b networks in the US operate in the frequency range 2.402 2.479 GHz Most GSM networks in the US operate at 1850-1910 MHz (uplink) and 1930-1990 MHz (downlink) This is not a lot of spectrum!!! So... how do we carve up the spectrum to give multiple users access to it?? Three basic approaches: Divide the spectrum up by frequency Divide the spectrum up by time Divide the spectrum up by code (e.g., pattern of usage more later!) 2004 Matt Welsh Harvard University 3

Duplexing The first kind of multiple access is duplexing: Allowing simultaneous transmit and receive to a single user Frequency Division Duplexing (FDD) Each user assigned two channels Channel = range of frequencies for a single user to transmit or receive One channel used for transmission, another used for reception c 0 transmission c 1 time reception Time Division Duplexing (TDD) Uses only a single channel for both transmission and reception But, communication divided into time slots One time slot used for transmission, another used for reception c 0 tx rx tx rx tx rx tx rx tx rx tx rx tx rx tx time 2004 Matt Welsh Harvard University 4

FDD vs TDD Why use FDD or TDD? FDD requires each user to be allocated multiple channels Less efficient use of spectrum FDD requires slightly more complex electronics ($$$) TDD induces some latency between transmit and receive cycles Generally operates on level of milliseconds, so not generally noticeable With TDD, propagation delays may limit the distance of a user to a station e.g., In GSM, user must be < 35 km from the cell tower for timing to work out 2004 Matt Welsh Harvard University 5

Frequency Division Multiple Access How to allocate spectrum to multiple mobile users? Frequency Division Multiple Access (FDMA) Give each user her own channel (or pair of channels if using FDD) User 1 User 2 User 3 User 4 time Can be combined with either FDD or TDD If channel is unused by that user, it sits idle Channel is effectively wasted Must design system to avoid crosstalk across frequencies Increases cost of base must use bandpass filters on each channel 2004 Matt Welsh Harvard University 6

Example: AMPS First US analog cellular system, early 80's While call in progress, phone occupies one channel in each of the uplink and downlink bands Base-to-mobile spectrum 869-894 MHz Mobile-to-base spectrum 824-849 MHz Can you hear me now? NO! Each channel is 30 khz. So, how many simultaneous users? Bandwidth = (894-869) = 25 MHz However, each operator allocated only half of this 12.5 MHz / 30 khz per channel = 416 channels However, 21 data channels used for control messages Leaving 395 simultaneous channels available for voice 2004 Matt Welsh Harvard University 7

Time Division Multiple Access (TDMA) Divide radio channel into time slots In each slot, a given user is allowed to either transmit or receive TDMA typically uses a cyclic frame structure time Frame 1 Frame 2 Frame 3 Frame 4 Each user allocated one time slot out of each frame Max number of users therefore bounded by number of slots in a frame Each frame often has preamble/postamble bits Used for control, synchronization, etc. All nodes sharing a frame must be synchronized so they know when their slot begins! Slots within a frame protected by guard bits Extra (unused) bits used to prevent two users from overlapping in time 2004 Matt Welsh Harvard University 8

Example: GSM Global System for Mobile communications First commercial launch, mid-1991 in Europe Digital cellular system, combination of FDMA and TDMA Forward and reverse links each 25 MHz Broken into multiple channels of 200 khz each == 125 channels total Each channel broken into 8 time slots of 0.577 ms each Frame RX Channel 1... RX Channel 125 TX Channel 1... TX Channel 125 2004 Matt Welsh Harvard University 9

GSM Capacity GSM data transmission occurs at ~ 270 kbps Each user therefore gets 270 / 8 = 33.75 kbps of bandwidth Framing overhead limits this to 24.7 kbps per user Slots are only 0.577 ms long! How many simultaneous users can GSM support? 125 channels x 8 slots/channel = 1000 users However, each of the 1000 physical channels (FDMA channel plus TDMA time slot) can be assigned to different logical channels dynamically Example: voice data, control and signalling traffic, GPRS data, etc. General Packet Radio Service (GPRS) Allows GSM time slots to carry digital data (21.4 kbps per slot) If one user took over all 8 timeslots, could get 172.2 kbps through Most phones support 4 downstream channels + 1 upstream channel 85.6 kbps downstream, 21.4 kbps up EDGE (Enhanced Data GSM Environment) pushes each slot to 48 kbps 2004 Matt Welsh Harvard University 10

Code Division Multiple Access Recall Direct Sequence Spread Spectrum (DSSS) Original signal is modulated with a spreading code (pseudorandom bits) This effectively spreads the signal out over a wider bandwidth. CDMA = Use different spreading codes for each user All users share same carrier frequency and can transmit simultaneously Use codewords (spreading sequences) that are orthogonal That is, avoid overlap between different spreading sequences Issue: The more users, the higher the noise floor All other users' signals appear as noise to a particular receiver Adding users makes it more difficult to differentiate individual users Related problem: Weaker signals may be drowned out CDMA systems generally incorporate transmission power control Base may tell mobile unit to increase or decrease transmit power to equalize. 2004 Matt Welsh Harvard University 11

Example: IS-95 CDMA standard used in North America (e.g., Sprint PCS) Single 1.228 MHz (!!!) band shared by 64 code channels Mobile-to-base channel slightly different... One channel allocated for control data 8 channels allocated for paging data (special messages to mobile) 55 voice/data traffic channels Voice data encoded at 8550 bps (9600 bps with error coding) Data rate is lowered when user is not speaking Forward error correction increases this to 19.2 kbps Data spread to a rate of 1.2288 Mbps using DSSS Modulated using QPSK What is the increase in overhead due to spreading? 1.2288 Mbps / 8550 bps = 143 X!!! 2004 Matt Welsh Harvard University 12

Capacity of different MAC schemes FDMA, TDMA Channel capacity CDMA Number of simultaneous users FDMA and TDMA have a fixed capacity Once out of frequency or time slots, no more users can be admitted CDMA capacity degrades with number of users Interference depends on degree of overlap between codes 2004 Matt Welsh Harvard University 13

What about bursty communication??? In many systems, communication is bursty Would like to exploit statistical multiplexing Ability to share channel or time slots when no communication is happening User 1 User 2 User 3 time Seems silly to allocate each user an entire frequency (or time slot) 2004 Matt Welsh Harvard University 14

Packet Radio schemes Rather than carving up capacity for each user, allocate channel on demand All users share same channel (though FDMA, TDMA, or CDMA may be used as well) Users transmit data in bursts, called packets This is called contention-based access Multiple users might try to transmit at the same time Simultaneous transmissions result in a collision Typically will corrupt both transmissions Various schemes used to detect and avoid collisions e.g., Transmitter listens to channel before transmitting This is called Carrier Sense Multiple Access (CSMA) 2004 Matt Welsh Harvard University 15

Advantages and Disadvantages Packet Radio schemes easy to implement No need for centralized allocation of channel capacity to individual users System can scale up to very large number of users Depending, of course, on how much they wish to transmit Can result in poor channel efficiency Overhead involved in detecting collisions, backoff before transmission, etc. This overhead can severely limit the total data rate that the channel can support Contention-based access can induce delays One transmitter may delay transmissions by others May have to retransmit several times if lots of contention/collisions 2004 Matt Welsh Harvard University 16

ALOHA One of the first Packet Radio protocols Developed for use in satellite systems by University of Hawaii (1970's) Pure ALOHA: Ground stations transmit as soon as they have something to send No carrier sense before transmission Satellite detects collision and sets ACK bit when rebroadcasting message to other ground stations Transmitter looks for ACK bit to decide if collision occurred If no ACK, wait a random time and retransmit 2004 Matt Welsh Harvard University 17

Pure ALOHA Efficiency What is the efficiency of this approach? Assume fixed packet transmission time Assume Poisson packet transmissions at rate of packets/sec Channel utilization ratio R is: If R > 1, packet transmission rate exceeds channel capacity, so system is overloaded Throughput is calculated as: For Pure ALOHA, the time interval during which a collision might occur is 2 Assuming Poisson packet transmissions, Prob of n packets being generated during an interval of 2 is: Pr(n) = R = T = Pr[no collision] (2R) n e -2R n! Pr(0) = Pr[no collision] = e -2R Therefore, overall throughput is T = Re-2R = e -2 2004 Matt Welsh Harvard University 18

Slotted ALOHA Problem with Pure ALOHA: Stations can transmit any time Collisions become a problem as channel occupancy increases. Slotted ALOHA Time divided into equal-sized epochs, longer than a single transmission interval All transmitters have synchronized clocks Users only transmit at the beginning of an epoch Why is this better than Pure ALOHA? Prevents the end of one packet from colliding with the beginning of another So, this reduces the vulnerability window of a transmission Resulting throughput is therefore: T = Re -R = e - 2004 Matt Welsh Harvard University 19

Pure vs. Slotted ALOHA Performance Both protocols yield fairly low max channel utilization! 2004 Matt Welsh Harvard University 20

Capture Effect Problem with contention-based access: Strongest transmitter can capture the receiver Weak signal Strong signal Packets from nearer transmitter may survive despite collisions! However, receiver may never detect presence of weaker transmitter Hidden transmitter problem 2004 Matt Welsh Harvard University 21

Power control How to resolve the capture effect? Dynamically adjust transmit power of each transmitter Adjust tx power to 0 dbm Adjust tx power to -10 dbm Base station instructs stations to dynamically adjust transmit power Attempt to equalize received signal strength from individual transmitters 2004 Matt Welsh Harvard University 22

Power control How to resolve the capture effect? Dynamically adjust transmit power of each transmitter Signal strength is equalized Base station instructs stations to dynamically adjust transmit power Attempt to equalize received signal strength from individual transmitters 2004 Matt Welsh Harvard University 23

CSMA/CD A better approach to contention-based access: Carrier Sensing Each station listens on channel before transmitting If channel is busy, waits before transmission What happens as soon as the channel is clear? Transmit immediately? Good for minimizing delays... Wait for some random period of time? Avoids collisions from multiple stations detecting clear channel at the same time How do you determine whether the channel is clear? Must estimate noise floor or actively decode incoming data How do you determine if a collision has occurred? Transmitter listens for another packet immediately after its own transmission Or, wait to receive an ACK from the receiver, which implies no collision Carrier Sense Multiple Access with Collision Detection (CSMA/CD) 2004 Matt Welsh Harvard University 24

Next Lecture The 802.11 Wireless LAN Standard Reading: Stalling Chapter 14 2004 Matt Welsh Harvard University 25