+ All Categories
Home > Documents > Physical Layer

Physical Layer

Date post: 12-Jan-2016
Category:
Upload: cain
View: 19 times
Download: 2 times
Share this document with a friend
Description:
Physical Layer. Radio Models: modulation, encoding, antenna, “capture” Propagation models: free space; fading Multiplexing (bandwidth sharing): FDMA, TDMA, CDMA. MAC Layer. Media Access Control protocol: coordination and scheduling of transmissions among competing neighbors - PowerPoint PPT Presentation
Popular Tags:
65
Transcript
Page 1: Physical Layer
Page 2: Physical Layer

Physical Layer

• Radio Models: modulation, encoding, antenna, “capture”

• Propagation models: free space; fading

• Multiplexing (bandwidth sharing): FDMA, TDMA, CDMA

Page 3: Physical Layer

MAC Layer

• Media Access Control protocol: coordination and scheduling of transmissions among competing neighbors

• Goals: low latency, good channel utilization; best effort + real time support

• MAC layer clustering: aggregation of nodes in a cluster (= cell) for MAC enhancement; different from network layer clustering/partitioning such as used for routing.

Page 4: Physical Layer

Frequency Hopping (FH)

• Frequency spectrum sliced into frequency subbands (eg, 125 subbands in a 25 Mhz range)

• Time is subdivided into slots; each slot can carry several bits (slow FH)

• A typical packet covers several time slots

• A transmitter changes frequency slot by slot (frequency hopping) according to unique, predefined sequence; all users are clock and slot synchronized

• Ideally, unique sequences are “orthogonal” (ie, non overlapped); in practice, come conflicts may occur

Page 5: Physical Layer

MAC protocols reviewed

• CSMA (Packet Radio Net)

• MACA, MACA-BI

• IEEE 802.11

• PRMA

• MACA/PR

• Cluster TDMA

• Bluetooth

• HomeFR

Page 6: Physical Layer

Foils from Kurose-Ross re MAC layer

Page 7: Physical Layer

Multiple Access Links and Protocols

Three types of links:

(a) Point-to-point (single wire)

(b) Broadcast (shared wire or medium; eg, E-net, wireless, etc.)

(c) Switched (eg, switched E-net, ATM etc)

We start with Broadcast links. Main challenge:

Multiple Access Protocol

Page 8: Physical Layer

Multiple Access Control (MAC) Protocols

• MAC protocol: coordinates transmissions from different stations in order to minimize/avoid collisions

• (a) Channel Partitioning MAC protocols

• (b) Random Access MAC protocols

• (c) “Taking turns” MAC protocols

• Goal: efficient, fair, simple, decentralized

Page 9: Physical Layer

Channel Partitioning MAC protocols

• TDM (Time Division Multiplexing): channel divided into N time slots, one per user; inefficient with low duty cycle users and at light load.

• FDM (Frequency Division Multiplexing): frequency subdivided.

Page 10: Physical Layer

Channel Partitioning (CDMA)

• CDMA (Code Division Multiple Access): exploits spread spectrum (DS or FH) encoding scheme

• unique “code” assigned to each user; ie, code set partitioning• Used mostly in wireless broadcast channels (cellular, satellite,etc)• All users share the same frequency, but each user has own “chipping”

sequence (ie, code)• Chipping sequence like a mask: used to encode the signal• encoded signal = (original signal) X (chipping sequence)• decoding: innerproduct of encoded signal and chipping sequence (note,

the innerproduct is the sum of the component-by-component products)• To make CDMA work, chipping sequences must be chosen orthogonal

to eachother (ie, innerproduct = 0)

Page 11: Physical Layer

CDMA Encode/Decode

Page 12: Physical Layer

CDMA: two-sender interference

Page 13: Physical Layer

CDMA (cont)

CDMA Properties:

• protects users from interference and jamming (used in WW II)

• protects users from radio multipath fading

• allows multiple users to “coexist” and transmit simultaneously with minimal interference (if codes are “orthogonal”)

• requires “chip synch” acquisition before demodulation

• requires careful transmit power control to avoid “capture” by near stations in near-far situations

• FAA requires use of SS (with limits on tx power) in the Unlicensed Spectrum region (ISM), eg, .9 Ghz and 2.4 Ghz (WaveLANs)

• CDMA used in Qualcomm cellphones (channel efficiency improved by factor of 4 with respect to TDMA)

Page 14: Physical Layer

Random Access protocols

• A node transmits at random (ie, no a priory coordination among nodes) at full channel data rate R.

• If two or more nodes “collide”, they retransmit at random times

• The random access MAC protocol specifies how to detect collisions and how to recover from them (via delayed retransmissions, for example)

• Examples of random access MAC protocols:

(a) SLOTTED ALOHA

(b) ALOHA

(c) CSMA and CSMA/CD

Page 15: Physical Layer

Slotted Aloha

• Time is divided into equal size slots (= full packet size)

• a newly arriving station transmits a the beginning of the next slot

• if collision occurs (assume channel feedback, eg the receiver informs the source of a collision), the source retransmits the packet at each slot with probability P, until successful.

• Success (S), Collision (C), Empty (E) slots

• S-ALOHA is channel utilization efficient; it is fully decentralized.

Page 16: Physical Layer

Slotted Aloha efficiency

If N stations have packets to send, and each transmits in each slot with probability P, the probability of successful transmission S is:

S = Prob (only one transmits) = N P (1-P)^(N-1)

Optimal value of P: P = 1/N

For example, if N=2, S= .5

For N very large one finds S= 1/e (approximately, .37)

Page 17: Physical Layer

Pure (unslotted) ALOHA

• Slotted ALOHA requires slot synchronization

• A simpler version, pure ALOHA, does not require slots

• A node transmits without awaiting for the beginning of a slot

• Collision probability increases (packet can collide with other packets which are transmitted within a window twice as large as in S-Aloha)

• Throughput is reduced by one half, ie S= 1/2e

Page 18: Physical Layer

CSMA (Carrier Sense Multiple Access)

• CSMA: listen before transmit. If channel is sensed busy, defer transmission

• Persistent CSMA: retry immediately when channel becomes idle (this may cause instability)

• Non persistent CSMA: retry after random interval

• Note: collisions may still exist, since two stations may sense the channel idle at the same time ( or better, within a “vulnerable” window = round trip delay)

• In case of collision, the entire pkt transmission time is wasted

Page 19: Physical Layer

CSMA collisions

Page 20: Physical Layer

CSMA/CD (Collision Detection)

• CSMA/CD: carrier sensing and deferral like in CSMA. But, collisions are detected within a few bit times.

• Transmission is then aborted, reducing the channel wastage considerably.

• Typically, persistent retransmission is implemented

• Collision detection is easy in wired LANs (eg, E-net): can measure signal strength on the line, or code violations, or compare tx and receive signals

• Collision detection cannot be done in wireless LANs (the receiver is shut off while transmitting, to avoid damaging it with excess power)

• CSMA/CD can approach channel utilization =1 in LANs (low ratio of propagation over packet transmission time)

Page 21: Physical Layer
Page 22: Physical Layer
Page 23: Physical Layer
Page 24: Physical Layer
Page 25: Physical Layer
Page 26: Physical Layer

(b) wireless LANs– mostly indoor

– base station ( like cellular); or ad hoc networking (mostly point to point)

– standards: IEEE802.11; HiperLAN (ETSI)

Wireless ground radio networks (cont’d)

Page 27: Physical Layer

Wireless LAN Configurations

BS

With or without control (base) station

Peer-to-peer NetworkingAd-hoc Networking

Page 28: Physical Layer
Page 29: Physical Layer
Page 30: Physical Layer
Page 31: Physical Layer

IEEE 802.11 Standard (Wireless LANs)

• Basic Service Set: single hop ad hoc network• Extended Service Set: multiple BSSs interconnected via wired

net• Physical Layer: DSSS, FHSS, IR (1 or 2 MBPS)

• MAC: several options:(a) DCF (Distr. Coord. Funct): CSMA or RTS-CTS-DATA; phy and

virtual carrier sense; pos ACK; p-persistent; binary backoff; priority access via staggered Inter Frame Spacing (IFS) eg., short IFS > high priority (ACKs, CTS)

(b) PCF (Point Coord.Funct): polling performed from Access Point (AP) ; connection oriented mode; PCF and DCF cycles are repeated (PCF repetition interval)

Page 32: Physical Layer

Voice support in IEEE 802.11 (Sobrinho, Krishnakumar Globcom 96)

• DCF mode, with CSMA• voice has priority over data (short IFS)• voice users tx staggered "black bursts", proportional to waiting

time (and speech bytes in buffer)• voice user who waited longest wins• pos ACK guarantees success (no hidden term.)

• voice connections tend to evenly spread out in time frame

Possible Improvement:• instead of pos ACK, neg ACK (less OH)• receiver "invites" the sender with neg ACK if did not receive

pkt after time out

Page 33: Physical Layer

PRMA (Packet Reservation Multiple Access)

• Developed at WINLAB,Rutgers (D. Goodman)• Cellular system for voice and data• Two separate carriers for upstream (terminal to

base station) & downstream (base station to terminal)

• A derivative of Reservation ALOHA (once you got a slot in the frame, you keep it until you clear your backlog)

Page 34: Physical Layer

PRMA (cont’d)

• Upstream channel: slotted time frame, with available and reserved time slots

• Successful terminal obtains reservation until it quits transmission

• Base station broadcasting feedback packet (success, collision, empty slot) at the end of each frame

• ALOHA contention with permission probability p (i.e. contending terminal transmits in available slot with prob. p)

Page 35: Physical Layer

PRMA protocol example

R11 R5 A R3 R1 R8 A R2

frame kcontending terminals: 6,4

transmitting

terminals 11 5 6,4 1 8 2

R11 R5 A R4 R1 A R6 R2

frame k+2contending terminals: 12

transmitting

terminals 11 5 12 24 6

- -

R11 R5 A A R1 R8 A R2

frame k+1contending terminals: 6,4

transmitting

terminals 11 5 1 24 6--

- -A: available slotRx: slot reserved for terminal x

Page 36: Physical Layer
Page 37: Physical Layer
Page 38: Physical Layer
Page 39: Physical Layer
Page 40: Physical Layer
Page 41: Physical Layer
Page 42: Physical Layer
Page 43: Physical Layer
Page 44: Physical Layer
Page 45: Physical Layer
Page 46: Physical Layer
Page 47: Physical Layer
Page 48: Physical Layer
Page 49: Physical Layer
Page 50: Physical Layer
Page 51: Physical Layer
Page 52: Physical Layer
Page 53: Physical Layer
Page 54: Physical Layer

Functional Integration

headset

cell phone

storage

palmtop

PDA

Page 55: Physical Layer
Page 56: Physical Layer
Page 57: Physical Layer

Network Topology – Piconet

master

slave 1

slave 2

slave 3• Piconets created ad-hoc• Master-Slave concept

• Piconets defined by itsfrequency hopping sequence

Page 58: Physical Layer
Page 59: Physical Layer
Page 60: Physical Layer

slave

master

master/slave

Multiple Piconets: A Scatternet

Page 61: Physical Layer
Page 62: Physical Layer

Topology

CP

CP

Connection PointPSTN

CP

CSMAA Node

TDMAI Node

TDMAI Node

TDMAI Node

CSMAA Node

CSMA & TDMA

A/I Node

Grandma’s3 cups flour1 cup sugar...

Fridge Pad

CSMAA Node

CSMAA Node

•It’s a circuit switched, isochronous network•It’s a packet switched, asynchronous network•It’s both - I nodes get priority on bandwidth

Page 63: Physical Layer
Page 64: Physical Layer
Page 65: Physical Layer

Recommended