Mobile Communications

Similar documents
Mobile Communications Chapter 3 : Media Access

Chapter 3 MEDIA ACCESS CONTROL

Aloha and slotted aloha

Wireless Transmission and Mobility

ICE 1332/0715 Mobile Computing (Summer, 2008)

Mobile and Sensor Systems

Computer Communication III

Lecture 4: Wireless MAC Overview. Hung-Yu Wei National Taiwan University

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

Data Communications. Data Link Layer Protocols Wireless LANs

Data Link Layer Technologies

Medium Access Control. MAC protocols: design goals, challenges, contention-based and contention-free protocols

Wireless Communications

Local Area Networks NETW 901

Computer Networks. Today. Principles of datalink layer services Multiple access links Adresavimas, ARP LANs Wireless LANs VU MIF CS 1/48 2/48

Cisco Cisco Certified Network Associate (CCNA)

Chapter 12 Multiple Access 12.1

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061/1110. Lecture 8. Medium Access Control Methods & LAN

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

The Link Layer and LANs. Chapter 6: Link layer and LANs

CSE 461 Multiple Access. David Wetherall

Chapter 4. The Medium Access Control Sublayer. Points and Questions to Consider. Multiple Access Protocols. The Channel Allocation Problem.

CS 455/555 Intro to Networks and Communications. Link Layer

MULTIPLE ACCESS PROTOCOLS 2. 1

EE 122: Ethernet and

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

CS 716: Introduction to communication networks. - 8 th class; 17 th Aug Instructor: Sridhar Iyer IIT Bombay

Media Access Control. Chapter 6. Ad Hoc and Sensor Networks. Roger Wattenhofer 6/1

COS 140: Foundations of Computer Science

Data Communication and Network. Introducing Networks

Lecture 6. Data Link Layer (cont d) Data Link Layer 1-1

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK UNIT-1 WIRELESS COMMUNICATION FUNDAMENTALS

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과.

Multiple Access in Cellular and Systems

Mobile Communications Chapter 7: Wireless LANs

CSE 461: Multiple Access Networks. This Lecture

Chapter 5 Link Layer and LANs

Lecture 23 Overview. Last Lecture. This Lecture. Next Lecture ADSL, ATM. Wireless Technologies (1) Source: chapters 6.2, 15

OSI Reference Model. Computer Networks lab ECOM Prepared By : Eng. Motaz Murtaja Eng. Ola Abd Elatief

Data Link Layer: Multi Access Protocols

Multiple Access Technique. Media Access Control (Intro.) Outline. Multiple Access Technique. Designing Issues of MAC protocols. Protocols examples

Reminder: Datalink Functions Computer Networking. Datalink Architectures

6.9 Summary. 11/20/2013 Wireless and Mobile Networks (SSL) 6-1. Characteristics of selected wireless link standards a, g point-to-point

Module 10 Data Link Layer CS655! 10-1!

ITEC 3800 Data Communication and Network. Introducing Networks

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

CMPE 257: Wireless and Mobile Networking

Computer Networks. Wireless LANs

Wireless Local Area Networks. Networks: Wireless LANs 1

Lecture 12 December 04, Wireless Access. Graduate course in Communications Engineering. University of Rome La Sapienza. Rome, Italy

Medium Access Control

Goals. Fundamentals of Network Media. More topics. Topics. Multiple access communication. Multiple access solutions

CHAPTER 7 MAC LAYER PROTOCOLS. Dr. Bhargavi Goswami Associate Professor & Head Department of Computer Science Garden City College

COS 140: Foundations of Computer Science

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties

Multiple Access Links and Protocols

Redes de Computadores. Medium Access Control

ECE 4450:427/527 - Computer Networks Spring 2017

Chapter 5: Link layer

CSC 4900 Computer Networks: The Link Layer

Physical Layer. Medium Access Links and Protocols. Point-to-Point protocols. Modems: Signaling. Modems Signaling. Srinidhi Varadarajan

King Fahd University of Petroleum and Minerals College of Computer Sciences and Engineering Department of Computer Engineering

CS 4453 Computer Networks Winter

Test Bank for A Guide to Designing and Implementing Local And Wide Area Networks 2nd Edition by Palmer and Sinclair

MAC LAYER. Murat Demirbas SUNY Buffalo

Network Review TEJ4M. SBrace

CC451 Computer Networks

Chapter 6 The Link Layer and LANs

Medium Access Control Sublayer Chapter 4

WiFi Networks: IEEE b Wireless LANs. Carey Williamson Department of Computer Science University of Calgary Winter 2018

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

Intelligent Transportation Systems. Medium Access Control. Prof. Dr. Thomas Strang

Link Layer and Ethernet

Data and Computer Communications. Chapter 13 Wireless LANs

ECE 4450:427/527 - Computer Networks Spring 2017

IT 4504 Section 4.0. Network Architectures. 2008, University of Colombo School of Computing 1

IT4405 Computer Networks (Compulsory)

Advanced Computer Networks WLAN

1: Review Of Semester Provide an overview of encapsulation.

IEEE , Token Rings. 10/11/06 CS/ECE UIUC, Fall

Link Layer and Ethernet

Local Networks. Lecture 4 6-Apr-2016

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 16

Chapter 6 Local Area Networks and Media Access Control. School of Info. Sci. & Eng. Shandong Univ.

Master Course Computer Networks IN2097

Jaringan Komputer. Broadcast Network. Outline. MAC (Medium Access Control) Channel Allocation Problem. Dynamic Channel Allocation

CMPE 257: Wireless and Mobile Networking

Chapter 1 Basic concepts of wireless data networks (cont d)

INTRODUCTION DATA COMMUNICATION TELECOMMUNICATIONS SYSTEM COMPONENTS 1/28/2015. Satish Chandra satish0402.weebly.com

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Shared Access Networks Wireless. 1/27/14 CS mywireless 1

Chapter 6 Wireless and Mobile Networks

ECEN 5032 Data Networks Medium Access Control Sublayer

Chapter 16 Networking

CSC 4900 Computer Networks: Wireless Networks

Transcription:

Mobile Communications Semester B, Mandatory modules, ECTS Units: 3 George Pavlides http://georgepavlides.info Book: Jochen H. Schiller, Mobile Communications Second Edition, Addison- Wesley, Pearson Education Limited, ISBN 0321123816 Presentation based on the course presentation by Prof. Dr.-Ing. Jochen H. Schiller, Freie Universität Berlin - Computer Systems & Telematics

course outline Chapter 10: Support for Mobility Chapter 9: Mobile Transport Layer Chapter 8: Mobile Network Layer Chapter 4: Telecommunication Systems Chapter 5: Satellite Systems Chapter 6: Broadcast Systems Chapter 7: Wireless LAN Chapter 3: Medium Access Control Chapter 2: Wireless Transmission

Medium Access Control Motivation SDMA, FDMA, TDMA Aloha, reservation schemes Collision avoidance, MACA Polling CDMA, SAMA Comparison

MAC in the OSI model OSI - Open Systems Interconnection model ISO/IEC 7498-1 7- Application: provides services & protocols to applications Protocols: FTP, DNS, Telnet, HTTP, SNMP, NFS 6- Presentation: provides coding and conversion functions to the application layer such as compression, decompression, encryption and decryption Protocols: Binary, ASCII, GIF, Encryption 5- Session: controls sessions - sets up, manages and tears down sessions between presentation layer entities Protocols: SMB, RPC, SQL, NetBIOS, SAP 4- Transport: provides flow control to prevent loss of data - supports reliable (connection-oriented, TCP) and unreliable (connectionless-oriented, UDP) data transport Protocols: TCP, UDP, SPX, SSL, TLS, SCTP 3- Network: end to end delivery logical addressing fragmentation for MTU Routing Protocols: IP, ICMP, IPsec, IGMP, IPX, AppleTalk 2- Data Link: provides media access(mac) error detection and assembles frames from bits Hubs, Switches or Bridges Protocols: ARP, PPP, PPTP, L2TP, Ethernet, Frame Relay 1- Physical: media interface - sends and receive bits, provides specification voltage, wire speed and cable pin-outs Protocols: RS-232,DSL,POTS, BLUETOOTH, SONET/SDH, T1, E1

purpose for this chapter Introduction to several Medium Access Control (MAC) algorithms specifically adapted to the wireless domain Medium access control (MAC) comprises all mechanisms that regulate user access to a medium similar to traffic regulations in the highway The fact that several vehicles use the same street crossing requires rules to avoid collisions; one mechanism to enforce these rules is traffic lights belongs to layer 2, the data link control layer (DLC) Layer 2 is subdivided into the logical link control (LLC), layer 2b, and the MAC, layer 2a (Halsall, 1996) The task of DLC is to establish a reliable point to point or point to multi-point connection between different devices over a wired or wireless medium

layer 2: data link layer The data link layer provides the functional and procedural means to transfer data between network entities and to detect and possibly correct errors that may occur in the physical layer Originally intended for point-to-point and point-tomultipoint media, characteristic of wide area media in the telephone system LAN architecture, which included broadcast-capable multi-access media, was developed independently of the ISO work in IEEE Project 802 IEEE work assumed sub-layering and management functions not required for WAN use In modern practice only error detection, not flow control using sliding window, is present in data link protocols such as Pointto-Point Protocol (PPP) on local area networks, the IEEE 802.2 LLC layer is not used for most protocols on the Ethernet on other local area networks, its flow control and acknowledgment mechanisms are rarely used Sliding window flow control and acknowledgment is used at the transport layer by protocols such as TCP, but is still used in niches where X.25 offers performance advantages

MAC In the seven-layer OSI model, MAC is a sub-layer of the data link layer(layer 2) The MAC sub-layer provides addressing and channel access control mechanisms that make it possible for several terminals or network nodes to communicate within a multiple access network that incorporates a shared medium, e.g. Ethernet acts as an interface between the logical link control (LLC) sub-layer and the network's physical layer emulates a full-duplex logical communication channel in a multi-point network This channel may provide unicast, multicast or broadcast communication service The hardware that implements the MAC is referred to as a medium access controller

MAC According to 802.3-2002 section 4.1.4, the functions required of a MAC are receive/transmit normal frames half-duplex retransmission and backoff functions append/check FCS (frame check sequence) interframe gap enforcement discard malformed frames append(tx)/remove(rx) preamble, SFD (start frame delimiter), and padding half-duplex compatibility: append(tx)/remove(rx) MAC address

MAC Addressing The LAN addresses used in IEEE 802 networks and FDDI networks are called MAC addresses FDDI: Fiber distributed data interface, provides a 100 Mbit/s optical standard for data transmission in local area network that can extend in range up to 200 kilometers a MAC address is a unique serial number once a MAC address has been assigned to a particular network interface (typically at time of manufacture), that device should be uniquely identifiable amongst all other network devices in the world guarantees that each device in a network will have a different MAC address (analogous to a street address) makes it possible for data packets to be delivered to a destination within a sub-network

MAC Channel access control mechanisms also known as a multiple access protocol makes it possible for several stations connected to the same physical medium to share it Examples of shared physical media are bus networks, ring networks, hub networks, wireless networks and half-duplex point-to-point links the multiple access protocol may detect or avoid data packet collisions if a packet mode contention based channel access method is used or reserve resources to establish a logical channel if a circuit switched or channelization based channel access method is used

purpose for this chapter This chapter aims to explain why special MACs are needed in the wireless domain and why standard MAC schemes known from wired networks often fail While SDM and FDM are typically used in a rather fixed manner i.e. a certain space or frequency (or frequency hopping pattern) is assigned for a longer period of time the main focus of this chapter is on TDM mechanisms TDM can be used in a very flexible way, as tuning in to a certain frequency does not present a problem, but time can be allocated on demand and in a distributed fashion Well-known algorithms are Aloha (in several versions), different reservation schemes, or simple polling

motivation Can we apply media access methods from fixed networks? Example CSMA/CD Carrier Sense Multiple Access with Collision Detection send as soon as the medium is free, listen into the medium if a collision occurs legacy method in IEEE 802.3 Problems in wireless networks signal strength decreases proportional to the square of the distance the sender would apply CS and CD, but the collisions happen at the receiver it might be the case that a sender cannot hear the collision, i.e., CD does not work furthermore, CS might not work if, e.g., a terminal is hidden

motivation - hidden and exposed terminals Hidden terminals A sends to B, C cannot receive A C wants to send to B, C senses a free medium (CS fails) collision at B, A cannot receive the collision (CD fails) A is hidden for C Exposed terminals B sends to A, C wants to send to another terminal (not A or B) C has to wait, CS signals a medium in use but A is outside the radio range of C, therefore waiting is not necessary C is exposed to B A B C

motivation - near and far terminals Terminals A and B send, C receives signal strength decreases proportional to the square of the distance the signal of terminal B therefore drowns out A s signal C cannot receive A A B C If C for example was an arbiter for sending rights, terminal B would drown out terminal A already on the physical layer Also severe problem for CDMA-networks - precise power control needed!

access methods SDMA/FDMA/TDMA SDMA(Space Division Multiple Access) segment space into sectors, use directed antennas cell structure FDMA(Frequency Division Multiple Access) assign a certain frequency to a transmission channel between a sender and a receiver permanent (e.g., radio broadcast), slow hopping (e.g., GSM), fast hopping (FHSS, Frequency Hopping Spread Spectrum) TDMA(Time Division Multiple Access) assign the fixed sending frequency to a transmission channel between a sender and a receiver for a certain amount of time The multiplexing schemes presented in previous chapter are now used to control medium access!

FDD/FDMA - general scheme, example GSM According to FDMA, the base station allocates a certain frequency for up- and downlink to establish a duplex channel with a mobile phone Up- and downlink have a fixed relation If the uplink frequency is fu = 890 MHz + n 0.2 MHz, the downlink frequency is fd = fu + 45 MHz, i.e., fd = 935 MHz + n 0.2 MHz for a certain channel n. f 960 MHz 124 935.2 MHz 1 200 khz 915 MHz 124 20 MHz 890.2 MHz 1 t

TDD/TDMA - general scheme, example DECT The base station uses one out of 12 slots for the downlink, whereas the mobile station uses one out of 12 different slots for the uplink Uplink and downlink are separated in time. Up to 12 different mobile stations can use the same frequency without interference using this scheme Each connection is allotted its own up- and downlink pair In the DECT cordless phone system, the pattern is repeated every 10 ms, i.e., each slot has a duration of 417 μs. This repetition guarantees access to the medium every 10 ms, independent of any other connections 417 µs 1 2 3 11 12 1 2 3 11 12 downlink uplink t

aloha/slotted aloha What if TDM is applied without controlling access? ALOHA Mechanism random, distributed (no central arbiter), time-multiplex Slotted Aloha additionally uses time-slots, sending must always start at slot boundaries Aloha collision sender A sender B sender C Slotted Aloha collision t sender A sender B sender C t

demand assigned multiple access (DAMA) Channel efficiency only 18% for Aloha, 36% for Slotted Aloha assuming Poisson distribution for packet arrival and packet length Reservation can increase efficiency to 80% a sender reserves a future time-slot sending within this reserved time-slot is possible without collision reservation also causes higher delays typical scheme for satellite links Examples for reservation algorithms: Explicit Reservation according to Roberts (Reservation ALOHA) Implicit Reservation (PRMA) Reservation-TDMA

DAMA - explicit reservation Explicit Reservation (Reservation Aloha): two modes: ALOHA mode for reservation: competition for small reservation slots, collisions possible reserved mode for data transmission within successful reserved slots (no collisions possible) it is important for all stations to keep the reservation list consistent at any point in time and, therefore, all stations have to synchronize from time to time collision Aloha reserved Aloha reserved Aloha reserved Aloha t

DAMA - PRMA Implicit reservation (PRMA - Packet Reservation Multiple Access) a certain number of slots (8 in the example) form a frame, and frames are repeated in time stations compete for empty slots according to the slotted aloha principle once a station reserves a slot successfully, this slot is automatically assigned to this station in all following frames as long as the station has data to send competition for this slots starts again as soon as the slot was empty in the last frame reservation ACDABA-F frame 1 ACDABA-F frame 2 AC-ABAFframe 3 A---BAFD frame 4 ACEEBAFD frame 5 1 2 3 4 5 6 7 8 time-slot A C D A B A A C A A A B A B A F F B A F D A C E E B A F D t collision at reservation attempts

DAMA - reservation-tdma Reservation Time Division Multiple Access every frame consists of N mini-slots and x dataslots every station has its own mini-slot and can reserve up to k data-slots using this mini-slot (i.e. x = N * k). other stations can send data in unused data-slots according to a round-robin sending scheme (besteffort traffic) guarantees certain bandwidth and fixed delay N mini-slots N * k data-slots e.g. N=6, k=2 reservations for data-slots other stations can use free data-slots based on a round-robin scheme

MACA - collision avoidance MACA - Multiple Access with Collision Avoidance uses short signaling packets for collision avoidance RTS (request to send): a sender requests the right to send from a receiver with a short RTS packet before it sends a data packet CTS (clear to send): the receiver grants the right to send as soon as it is ready to receive Signaling packets contain sender address receiver address packet size Variants of this method can be found in IEEE 802.11 as DFWMAC (Distributed Foundation Wireless MAC)

MACA examples MACA avoids the problem of hidden terminals A and C want to send to B A sends RTS first C waits after receiving CTS from B RTS CTS CTS A B C MACA avoids the problem of exposed terminals B wants to send to A, C to another terminal now C does not have to wait for it, cannot receive CTS from A RTS CTS RTS A B C

MACA variant: DFWMAC in IEEE802.11 sender receiver idle idle ACK RxBusy packet ready to send; RTS wait for the right to send time-out NAK; RTS CTS; data time-out; RTS data; ACK time-out data; NAK RTS; CTS wait for ACK wait for data ACK: positive acknowledgement NAK: negative acknowledgement RxBusy: receiver busy RTS; RxBusy simplified state machines for a sender and receiver

polling mechanisms If one terminal can be heard by all others, this central terminal (a.k.a. base station) can poll all other terminals according to a certain scheme now all schemes known from fixed networks can be used (typical mainframe - terminal scenario) Example: Randomly Addressed Polling base station signals readiness to all mobile terminals terminals ready to send can now transmit a random number without collision with the help of CDMA or FDMA (the random number can be seen as dynamic address) the base station now chooses one address for polling from the list of all random numbers (collision if two terminals choose the same address) the base station acknowledges correct packets and continues polling the next terminal this cycle starts again after polling all terminals of the list

inhibit sense multiple access (ISMA) Current state of the medium is signaled via a busy tone the base station signals on the downlink (base station to terminals) if the medium is free or not terminals must not send if the medium is busy terminals can access the medium as soon as the busy tone stops the base station signals collisions and successful transmissions via the busy tone and acknowledgements, respectively (media access is not coordinated within this approach) mechanism used, e.g. for Cellular Digital Packet Data - CDPD (USA, integrated into AMPS)

access method CDMA CDMA (Code Division Multiple Access) all terminals send on the same frequency probably at the same time and can use the whole bandwidth of the transmission channel each sender has a unique random number, the sender XORs the signal with this random number the receiver can tune into this signal if it knows the pseudo random number, tuning is done via a correlation function Disadvantages: higher complexity of a receiver (receiver cannot just listen into the medium and start receiving if there is a signal) all signals should have the same strength at a receiver Advantages: all terminals can use the same frequency, no planning needed huge code space (e.g. 2 32 ) compared to frequency space interferences (e.g. white noise) is not coded forward error correction and encryption can be easily integrated

CDMA in theory Sender A sends A d = 1, key A k = 010011 (assign: 0 = -1, 1 = +1) sending signal A s = A d * A k = (-1, +1, -1, -1, +1, +1) Sender B sends B d = 0, key B k = 110101 (assign: 0 = -1, 1 = +1) sending signal B s = B d * B k = (-1, -1, +1, -1, +1, -1) Both signals superimpose in space interference neglected (noise etc.) A s + B s = (-2, 0, 0, -2, +2, 0) Receiver wants to receive signal from sender A apply key A k bitwise (inner product) A e = (-2, 0, 0, -2, +2, 0) A k = 2 + 0 + 0 + 2 + 2 + 0 = 6 result greater than 0, therefore, original bit was 1 receiving B B e = (-2, 0, 0, -2, +2, 0) B k = -2 + 0 + 0-2 - 2 + 0 = -6, i.e. 0

CDMA on signal level sender A data A key A key sequence A data key 1 0 1 0 1 0 1 0 0 1 0 0 0 1 0 1 1 0 0 1 1 1 0 1 0 1 1 1 0 0 0 1 0 0 0 1 1 0 0 A d A k signal A A s Real systems use much longer keys resulting in a larger distance between single code words in code space.

CDMA on signal level sender A+B signal A A s data B 1 0 0 B d key B key sequence B data key 0 0 0 1 1 0 1 0 1 0 0 0 0 1 0 1 1 1 1 1 1 0 0 1 1 0 1 0 0 0 0 1 0 1 1 1 B k signal B B s A s + B s

CDMA on signal level receiver for A data A 1 0 1 A d A s + B s A k (A s + B s ) * A k integrator output comparator output 1 0 1

CDMA on signal level receiver for B data B 1 0 0 B d A s + B s B k (A s + B s ) * B k integrator output comparator output 1 0 0

CDMA on signal level receiver with wrong key A s + B s wrong key K (A s + B s ) * K integrator output comparator output (0) (0)?

spread aloha multiple access (SAMA) Aloha has only a very low efficiency, CDMA needs complex receivers to be able to receive different senders with individual codes at the same time Idea: use spread spectrum with only one single code (chipping sequence) for spreading for all senders accessing according to aloha collision sender A sender B 1 0 0 1 1 1 narrow band send for a shorter period with higher power spread the signal e.g. using the chipping sequence 110101 ( CDMA without CD ) t Problem: find a chipping sequence with good characteristics

comparison SDMA/TDMA/FDMA/CDMA Ap p r o a c h SDMA TDMA F DMA CDMA Idea Terminals Signal separation segment space into cells/sectors only one terminal can be active in one cell/one sector cell structure, directed antennas Advantages very simple, increases capacity per km² Disadvantages Comment inflexible, antennas typically fixed only in combination with TDMA, FDMA or CDMA useful segment sending time into disjoint timeslots, demand driven or fixed patterns all terminals are active for short periods of time on the same frequency synchronization in the time domain established, fully digital, flexible guard space needed (multipath propagation), synchronization difficult standard in fixed networks, together with FDMA/SDMA used in many mobile networks segment the frequency band into disjoint sub-bands every terminal has its own frequency, uninterrupted filtering in the frequency domain simple, established, robust inflexible, frequencies are a scarce resource typically combined with TDMA (frequency hopping patterns) and SDMA (frequency reuse) spread the spectrum using orthogonal codes all terminals can be active at the same place at the same moment, uninterrupted code plus special receivers flexible, less frequency planning needed, soft handover complex receivers, needs more complicated power control for senders still faces some problems, higher complexity, lowered expectations; will be integrated with TDMA/FDMA