• 沒有找到結果。

Multiple Access Techniques

N/A
N/A
Protected

Academic year: 2022

Share "Multiple Access Techniques"

Copied!
35
0
0

加載中.... (立即查看全文)

全文

(1)

Multiple Access Techniques

PROF. MICHAEL TSAI

2014/5/5

(2)

Multiple Access Scheme

• Allow many users to share simultaneously a finite amount of radio spectrum

• Need to be done without severe degradation of the performance

• Duplexing: allow one subscriber to send and receive

simultaneously

(3)

Frequency Division Duplexing &

Time Division Duplexing

• Frequency Division Duplexing (FDD):

Two distinct frequency bands for every user

Forward band (BSuser) & reverse band (userBS)

Frequency separation between forward band & reverse band is fixed (regardless of the channel used)

• Time Division Duplexing (TDD)

Separate time into time slots (fixed duration of time)

Each user use a particular forward time slot and a reverse time slot FDD

TDD

(4)

Trade-offs between FDD & TDD

• FDD

• Transmitting and receiving signals which can vary by 100 dB

• Need to carefully allocate the frequency bands

• Avoid interference to both in-band and out-of-band users

• TDD

• Not actually full duplex (transmitting and receiving at the same time)  slight latency

• Time slotting needs precise timing

• Varying propagation delay is harmful

• Would be good for services with stationary users

(5)

Narrowband & Wideband Systems

• Narrowband & Wideband:

with respect to coherence bandwidth

• Narrowband systems:

usually uses FDMA or FDD to divide the available spectrum to a large number of narrowband channels.

• Wideband systems:

a large number of transmitters are allowed to transmit on the same channel; usually TDMA or CDMA.

Channel frequency response (coherence bandwidth)

Wideband Narrowband

f

Power

(6)

Frequency Division Multiple Access (FDMA)

• Individual channels are assigned to

individual users

• Channels are assigned on demand to users, no other users can share the same channel

• Can be used together with (FDD/TDD).

(think about how)

(7)

Features of FDMA

• The FDMA channel carries only one phone circuit at a time (one user)

• If an FDMA is not in use, then it is wasted

• BS and the user transmit simultaneously

• ISI is low and no equalization is needed

• FDMA is a continuous transmission scheme, less overhead

• Costly bandpass filters are necessary

• Need tight RF filtering to minimize adjacent channel interference

• Costly duplexers in the transmitter and receiver (for both

the user and the BS)

(8)

Example

• If a US AMPS cellular operator is allocated 12.5 MHz for each simplex band, the guard band at the two edges of the

allocated band is 10 KHz, and the channel bandwidth (for

each user) is 30 KHz, find the number of channels available in an FDMA systems.

• Ans:

• 𝑁 =

12.5×106−2(10×103)

30×103

= 416

• There are 416 channels. Since we need 2 channels for each

user (forward and reverse channels), this can support 208

users.

(9)

Time Division Multiple Access (TDMA)

• Divide the spectrum into time slots

• In each slot only one user is allowed to either transmit or receive

• “Buffer-and-Burst” method (transmission is NOT

continuous for each user)

• Can be used together with

(FDD/TDD). (think about

how)

(10)

TDMA Frame Structure

• Need the following extra “overhead” in addition to the information bits:

• Preamble:

Synchronization: so that all users & the BS have a common time reference

Address: Identify the service provider

• Guard bits (guard time):

To prevent time drift over time

• Trail bits:

Error detection bits (checksum or CRC)

(11)

Guard bits (guard time)

• Oscillators in each transceiver is different;

accurate oscillator is expensive

• Maximum time drift cannot be larger than ±

𝑡𝐺

2

!

data time

𝑡𝐺

Time for “info”

When there is no difference between BS and the user’s time

When the “time of the user” is going faster/slower:

Sync

data

𝑡𝐺

Time for “info”

𝑡𝐺

𝑡𝐺

data time

For example, if it is even slower than this,

then it could collide with the transmission in the next time slot!

data (next)

Sync

(12)

Features of TDMA

• TDMA shares a single carrier frequency with several users

• Data transmission for a user is not continuous

low battery consumption:

transmitter can be turned off when not in use!)

Mobile Assisted Handoff (MAHO): listening to other base station when on an idle slot

• Different slots for transmission & reception: duplexers are not required (even when FDD is used)

• Usually transmission rates are very high (equalization is required)

• Guard time should be minimized. However, this could increase the interference to the adjacent channels

• High overhead bits (TDMA frame structure)

• Can allocate different number of slots to different users:

adjustable bandwidth to different users

(13)

Example

• GSM is a TDMA/FDD system that uses 25 MHz for the forward link, with channels of 200 KHz. If 8 speech

channels are supported on a single radio channel, and if no guard band is assumed, find the number of

simultaneous users that can be accommodated in GSM.

• Ans:

• 𝑁 =

25 𝑀𝐻𝑧

(200 𝐾𝐻𝑧)/8

= 1000

• Thus, GSM can accommodate 1000 simultaneous users.

(14)

Example

• If GSM uses a frame structure where each frame consists of 8 time slots, with each time slot of 156.25 bits, and data is

transmitted at 270.833 kbps.

• The time duration of a bit is 𝑇

𝑏

=

1

270.833𝑘𝑏𝑝𝑠

= 3.692 𝜇𝑠

• The time duration of a slot is 𝑇

𝑠𝑙𝑜𝑡

= 156.25 × 𝑇

𝑏

= 0.577 𝑚𝑠

• The time duration of a frame is 𝑇

𝑓

= 8 × 𝑇

𝑠𝑙𝑜𝑡

= 4.615 𝑚𝑠

• A user has to wait 4.615 ms for its next transmission

(15)

Packet Radio

• Other than video/voice transmissions, most data transmissions are bursty

• “Dedicated channel” is wasteful

• Uncoordinated (or minimally coordinated) is more efficient

• Data is arranged in packets for transmission

• Collision is possible

• Error is detected by error detection code (in footer/trail bits)

• ACK or NACK to notify the transmitter

• Can do retransmission if the packet is not correctly received

(16)

Poisson Process

• Use to describe events which occur continuously and independently of one another

• N(t): the number of events that have occurred up to time t (starting from time 0)

• The number of events between time a and time b has a Poisson distribution

𝑃 𝑁 𝑡 + 𝜏 − 𝑁 𝑡 = 𝑘 = 𝑒

−𝜆𝜏

𝜆𝜏

𝑘

𝑘! , 𝑘 = 0,1, …

(17)

Basic ALOHA

to- P to to+P to+P+2 to+P+2+B

to+2P+2+B Time

Typical Scenario:

Arrival at typical Station i

Station learns fate of packet

Retransmission if necessary Backoff Period

Vulnerable Period

Station 2 Station 3

Max end-to-end propagation delay 

Bus with data rate R bps

Station Interface

Station 1 Station m

(18)

Basic ALOHA: Performance Analysis

• Packet lengths are constant and equal to L

• Packet transmission time is L/R = P

• Total arrival distribution is Poisson with average rate = G/P, where G is the offered traffic

(1)

where S is the normalized network throughput

P[ a successful transmission] = P[0 arrivals in the vulnerable interval 2P sec]

= e-2P (2)

(3) 𝑃 k arrivals in 𝜏 = 𝜆𝜏 𝑘

𝑘! 𝑒−𝜆𝜏

𝑆 = 𝐺𝑒−2𝜆𝑃 = 𝐺𝑒−2G

(19)

Slotted-ALOHA:

Performance Analysis

• Packet transmissions must be initiated at the beginning of a slot

• Arrival in the slot preceding the slot in which station I transmits will result in a collision

• Vulnerable interval is reduced to 1 slot of length P 𝑆 = 𝐺𝑃{successful transmission}

Therefore

𝑆 = 𝐺𝑒−𝐺

• Observation: maximum throughput of

Pure ALOHA = 1

2𝑒 = 0.184

Slotted ALOHA = 1

𝑒 = 0.368

(20)

Throughput vs. Offered traffic

Offered Traffic (G) Throughput

(S)

Slotted ALOHA

ALOHA

Smax = 0.368

Smax= 0.184

(21)

Carrier Sense Multiple Access (CSMA)

• If the channel is “idle”, then the user is allowed to transmit a packet.

• Idle = RSSI is below a certain threshold for a particular user

• (Clear Channel Assessment (CCA) threshold in nano-RK)

• Two important parameters:

• Detection delay: the time required to sense whether a channel is idle (usually small)

• Propagation delay: how fast it takes for a packet to travel from the transmitter to the receiver (can be large)

• If propagation delay is large, then

• The transmitted packet has not yet reached the “sensing user”

• The user considers the channel idletransmit its own packetcollisions

(22)

Variations of CSMA

• 1-persistent CSMA:

Always transmit when the channel is idle

• P-persistent CSMA:

When the channel is idle, the packet is transmitted:

in the first available time slot with probability p

or delay until later with probability 1-p (continue this process)

• Non-persistent CSMA:

Transmit immediately when the channel is idle.

When the channel is busy, wait for a random time and sense again.

• CSMA/Collision Detection (CD):

Abort a transmission when a collision is detected.

(Harder for wireless: need to stop the transmission to listen)

(23)

Performance Increase of CSMA over ALOHA

Channel Capacity Smax

0 0.01 0.1 1.0

a

Normalized

Propagation Delay 0.2

0.4 0.6 0.8 1.0

ALOHA

SLOTTED – ALOHA

1-persistent CSMA Slotted 1-persistent CSMA Nonpersistent CSMA

Slotted nonpersistent CSMA/CD Nonpersistent CSMA/CD Slotted nonpersistent CSMA

Normalized Propagation Delay a=propagation delay packet length

(24)

Hidden Terminal Problem

• A and B both want to transmit to C

• A collision at C is possible since A & B cannot sense each other’s transmission

C B

A

A’s transmission range

B’s transmission range

(25)

Exposed Terminal Problem

• A and B can hear each other’s transmission

• Although collisions at C and D are both “not possible”, A &

B do not transmit at the same time due to carrier sense

C A B D

A’s transmission range

B’s transmission range

(26)

CSMA/Collision Avoidance (CA)

• In IEEE 802.11 (WiFi)

• Use a four-way handshake

• RTS (Request to send)

• CTS (Clear to send)

• Data

• ACK (Acknowledgement)

• Need NAV

C A B D

C B

A

CTS is received by both A&B,

So that they are aware of each other

RTS of CA is not received by B RTS of DB is not received by A They can transmit at the same time

(27)

Network Allocation

Vector (NAV) in CSMA/CA

• NAV is an indicator

• Transmission will not be initiated even though the channel is sensed to be idle

• Why is RTS/CTS not enabled in most systems?

• Additional overhead: packet length threshold for using it

• Cannot resolve all collision problems

• Alternative solution?

• Busy tone channel

(28)

Example:

Wireless Sensor Network MAC

• MAC=Media Access Control

• Energy constrained scenario

• Limited energy supply

• Need years of operation time

• Communications spend lots of energy

• Compared to computation: an order of 106 per bit

• Today we will talk about two examples

• B-MAC

• WiDOM

(29)

Energy Supply for Sensor Nodes

Passive Active Energy harvester

Energy from a base station (transmitted wirelessly)

Convert heat,

vibration, pressure to electricity

Batteries

RFIDs

(30)

Minimize Energy Consumption

1.

2.

• Lower transmission power idle tx

rx

E E

E  

Operation Current consumption

at 3V

Radio Transmitting 17.4 mA

Radio Receiving (or waiting for incoming pkts)

18.8 mA

Microprocessor 6 mA

Radio Idle + Microprocessor Idle 0.0002 mA

Transmission Power

Current consumption at 3V

0 dBm 17.4 mA

-5 dBm 13.9 mA

-10 dBm 11.2 mA

-15 dBm 9.9 mA

-25 dBm 8.5 mA

25 ,

5 , 0

,

tx

 ... 

tx

tx

E E

E

TX TX RX

Sleep Sleep

(31)

10-3 10-2 10-1 100 101 102 102

103 104 105 106 107

Sensor Packet Sending Interval

Sensor Node Lifetime (Hrs)

0 dBm -5 dBm -10 dBm -15 dBm -25 dBm 10 Years 5 Years 1 Year 6 Months

Sensor Node Lifetime

31

Lower TX Power !!

(Max: 2 times lifetime)

TX

Sleep Sleep

TX

2 AA Batteries

(32)

Nodes wake up for a short period and check for channel activity.

Return to sleep if no activity detected.

If a sender wants to transmit a message, it sends a long preamble to make sure that the receiver is listening for the packet.

preamble has the size of a sleep interval

Very robust

No synchronization required

Instant recovery after channel disruption

Save energy for receivers (transfer to transmitters)

Good since there is only 1 transmitter, but many receivers

Low Power Listening (B-MAC)

preamble data listen Carrier sensing

(33)

• Problem: All nodes in the vicinity of a sender wake-up and wait for the packet.

Solution 1: Send wake-up packets instead of preamble, wake-up packets tell when data is starting so that receiver can go back to sleep as soon as it

received one wake-up packet.

Solution 2: Just send data several times such that receiver can tune in at any time and get tail of data first, then head.

• Communication costs are mostly paid by the sender.

The preamble length can be much longer than the actual data length.

• Idea: Learn wake-up schedules from neighboring nodes.

Start sending preamble just before intended receiver wakes up.

WiseMAC

Low Power Listening

(B-MAC)

overhearing problem

encode wake-up pattern in ACK

message

(34)

WiDOM

• Wireless Dominance Protocol

• Idea:

• Packets have different importance

• How to let the ones with higher priority to use the channel first?

• Provide upper bounds to the delay

• Distributed protocol – no central authority (BS) to assign time slots

• Requirements:

• Everyone can hear each other (for the basic version)

• Need time synchronization

(35)

WiDOM

• Each node which has a packet to transmit goes through a tournament phase to determine the winner:

The winner gets the channel (to transmit)

The losers wait for the next chance

• Tournament: in each small slot for that priority bit

Transmit if you have a “1” bit in the priority

Listen if you have a “0” bit in the priority

If you hear something, that means someone else has a higher priority, you lose (go back to sleep)

If you hear nothing, continue.

參考文獻

相關文件

synchronized: binds operations altogether (with respect to a lock) synchronized method: the lock is the class (for static method) or the object (for non-static method). usually used

OpenGL 4.2 Reference card: Blue means!. deprecated

grep - print lines matching a pattern. $ grep [OPTIONS]

▪ Can we decide whether a problem is “too hard to solve” before investing our time in solving it.. ▪ Idea: decide which complexity classes the problem belongs to

• If we want analysis with amortized costs to show that in the worst cast the average cost per operation is small, the total amortized cost of a sequence of operations must be

To convert a string containing floating-point digits to its floating-point value, use the static parseDouble method of the Double class..

Starting from this form, it is easier to derive the expected values associated with the stochastic process.. For most time, you

Developing a signal logic to protect pedestrian who is crossing an intersection is the first purpose of this study.. In addition, to improve the reliability and reduce delay of