SlideShare a Scribd company logo
1 of 32
CDMA-Based MACCDMA-Based MAC
Protocol for WirelessProtocol for Wireless
Ad Hoc NetworksAd Hoc Networks
Alaa Muqattash and Marwan KrunzAlaa Muqattash and Marwan Krunz
Presented by: Habibullah PagarkarPresented by: Habibullah Pagarkar
for 600.647-Advanced Topics in Wireless Networks.for 600.647-Advanced Topics in Wireless Networks.
JHU. Spring 04JHU. Spring 04
Today’s PresentationToday’s Presentation
IntroductionIntroduction
The Near-Far problemThe Near-Far problem
Protocol designProtocol design
Protocol descriptionProtocol description
SimulationSimulation
Results and EvaluationResults and Evaluation
Conclusion and future workConclusion and future work
Introduction: MotivationIntroduction: Motivation
Mobile Ad hoc NETworks (MANETs)Mobile Ad hoc NETworks (MANETs)
Ability to provide temporary wireless networkingAbility to provide temporary wireless networking
capability; low throughputcapability; low throughput
Challenge: Increases overall n/w throughputChallenge: Increases overall n/w throughput
maintaining low energy consumptionmaintaining low energy consumption

Harsh characteristics of channelHarsh characteristics of channel

Contention based nature of MACContention based nature of MAC
Focus: CDMA based design of MAC protocol toFocus: CDMA based design of MAC protocol to
improve n/w throughputimprove n/w throughput
Intro: CDMA?Intro: CDMA?
Code Division Multiple AccessCode Division Multiple Access
Bandwidth = ScarceBandwidth = Scarce
Traditional methods: transmit using leastTraditional methods: transmit using least
b/wb/w
Eg. TDMA, FDMAEg. TDMA, FDMA
CDMA based on Spread Spectrum: EachCDMA based on Spread Spectrum: Each
user occupies entire available b/w.user occupies entire available b/w.
Transmitter B1 bits/sTransmitter B1 bits/s spreadspread with pseudo-with pseudo-
random noise (PN) B2 bits/srandom noise (PN) B2 bits/s
Intro: CDMA!Intro: CDMA!
B2/B1 >> 1 (processing gain)B2/B1 >> 1 (processing gain)
PN statistically random but can be exactlyPN statistically random but can be exactly
reproduced through precise math rulesreproduced through precise math rules
Using locally generated PN receiverUsing locally generated PN receiver de-de-
spreadsspreads signal; recovers original infosignal; recovers original info
Several independently coded signals canSeveral independently coded signals can
occupy the same channel b/w providedoccupy the same channel b/w provided
each signal has diff PN codeeach signal has diff PN code
Intro: CDMA PropagandaIntro: CDMA Propaganda
3G’s choice3G’s choice
6 times capacity of TDMA, FDMA6 times capacity of TDMA, FDMA
Graceful signal degradationGraceful signal degradation
Multi-path resistanceMulti-path resistance
Interference rejectionInterference rejection
802.11 spreads signals with common PN code802.11 spreads signals with common PN code
at physical layerat physical layer
Thus not allowing concurrent transmissionsThus not allowing concurrent transmissions
DiagramDiagram
Intro: Code Assignment IssuesIntro: Code Assignment Issues
Absence of centralized control (baseAbsence of centralized control (base
station)station)
Code assignment protocol: diff codes toCode assignment protocol: diff codes to
diff terminalsdiff terminals
Trivial in small n/wsTrivial in small n/ws
Not feasible for MANET’s time asyncNot feasible for MANET’s time async
systemssystems
Spatial code reuse necessarySpatial code reuse necessary
Intro: Spreading Code protocolIntro: Spreading Code protocol
Which codes to use for packetWhich codes to use for packet
transmission and monitoring for packettransmission and monitoring for packet
receptionreception
3 types3 types

Receiver basedReceiver based

Transmitter basedTransmitter based

HybridHybrid
Intro: Receiver basedIntro: Receiver based
Transmitter uses code of intended receiver toTransmitter uses code of intended receiver to
spread packetspread packet
Idle node will monitor its own code onlyIdle node will monitor its own code only
Advantages:Advantages:

Simple receiver circuitSimple receiver circuit
Disadvantage:Disadvantage:

Primary collision can happenPrimary collision can happen

Broadcast requires transmitter to unicast to eachBroadcast requires transmitter to unicast to each
receiverreceiver
DiagramDiagram
Intro: Transmitter basedIntro: Transmitter based
A different code is assigned to each nodeA different code is assigned to each node
But, the receiving node must listen to allBut, the receiving node must listen to all
codescodes
Advantages:Advantages:

Avoids Primary CollisionAvoids Primary Collision

Simplified BroadcastSimplified Broadcast
Disadvantage:Disadvantage:

Increased complexity of the receiverIncreased complexity of the receiver
Intro: Hybrid basedIntro: Hybrid based
Prevalent ApproachPrevalent Approach

Fields of the packet are spread using a common codeFields of the packet are spread using a common code

Other fields are spread by a receiver or a transmitterOther fields are spread by a receiver or a transmitter
based mechanismbased mechanism
In the reservation based schemes:In the reservation based schemes:

a code is used for RTS/CTSa code is used for RTS/CTS

Another code for data exchangeAnother code for data exchange
Receivers will listen to the common codeReceivers will listen to the common code

If a receiver was intended by the transmitterIf a receiver was intended by the transmitter

Switch to own (or transmitter) code to receive theSwitch to own (or transmitter) code to receive the
signalsignal
Example: RA-CDMAExample: RA-CDMA
Intro: RA-CDMAIntro: RA-CDMA
Guaranteed free of primary collisionsGuaranteed free of primary collisions
However, non-zero cross-correlationHowever, non-zero cross-correlation
causes multi-access interference; MAIcauses multi-access interference; MAI
Results in secondary collision at receiverResults in secondary collision at receiver
(collisions between transmissions using(collisions between transmissions using
diff codes)diff codes)
This is known as Near-Far problem; theThis is known as Near-Far problem; the
bane of MANETsbane of MANETs
The Near-Far problem in RA-The Near-Far problem in RA-
CDMACDMA
System is time-sync if signals originate fromSystem is time-sync if signals originate from
same transmitter. Eg downlink in cellular CDMAsame transmitter. Eg downlink in cellular CDMA

Common time reference, diff receivers, same pathCommon time reference, diff receivers, same path
and same time delaysand same time delays

Complete orthogonal codesComplete orthogonal codes
System is time-async if signals originate fromSystem is time-async if signals originate from
multiple transmitters. Eg uplink in cellular ormultiple transmitters. Eg uplink in cellular or
MANETsMANETs

No common time reference, diff transmitters, diff pathNo common time reference, diff transmitters, diff path
and diff time delaysand diff time delays

Not possible to have orthogonal codesNot possible to have orthogonal codes
The Near-Far problem in RA-The Near-Far problem in RA-
CDMACDMA
CDMA codes suffer from non-zero cross-corrCDMA codes suffer from non-zero cross-corr
Receiver computes cross corr between signalReceiver computes cross corr between signal
and local PNand local PN
If PN same message intended for this receiverIf PN same message intended for this receiver
Else 0 or non-zero depending if sync or asyncElse 0 or non-zero depending if sync or async
Near-Far severe consequence of MAI: receiverNear-Far severe consequence of MAI: receiver
trying to detect signal of one is closer to anothertrying to detect signal of one is closer to another
Transmission power equal, closer signalTransmission power equal, closer signal
higher powerhigher power incorrect decoding. Collisionincorrect decoding. Collision
DiagramDiagram
NFP: ImpactNFP: Impact
d0=distance between receiver andd0=distance between receiver and
intended transmitterintended transmitter
Calculations show that if there is only 1Calculations show that if there is only 1
interferer at distance < 0.38 d0 frominterferer at distance < 0.38 d0 from
receiver, secondary collision will occurreceiver, secondary collision will occur
p=probability that terminal is transmittingp=probability that terminal is transmitting
in a given slotin a given slot
L=number of nodes within a circleL=number of nodes within a circle
centered at transmitter radius d0centered at transmitter radius d0
NFP: ImpactNFP: Impact
Proposed protocolProposed protocol
Main Goals:Main Goals:

To provide a CDMA-based MAC solution thatTo provide a CDMA-based MAC solution that
addresses near-far problemaddresses near-far problem

A Protocol that can achieve enhanced throughputA Protocol that can achieve enhanced throughput
keeping the same energy requirementkeeping the same energy requirement
Basic ideaBasic idea

a distributed admission and feedback among nodesa distributed admission and feedback among nodes
DiagramDiagram
Proposed protocolProposed protocol
Suppose that A wants to communicate
with B using a given code and C wants to communicate
with D using a different code. Suppsoe that dAB ≈ dCD,
dCB << dAB, and dAD << dCD. Then, the MAI caused by C
makes it impossible for B to receive A’s transmission. Similarily,
the MAI caused by A makes it impossible for D to
receive C’s transmission.
ComparisonComparison
MAC ProtocolMAC Protocol
Responsible forResponsible for
minimizing orminimizing or
eliminatingeliminating
collisionscollisions
Even if a terminalEven if a terminal
has an availablehas an available
spreading code, itspreading code, it
may not bemay not be
allowed to transmitallowed to transmit
SS protocolSS protocol
Decides which PNDecides which PN
code used tocode used to
Spread the signalSpread the signal
Doesn’t solveDoesn’t solve
contention on thecontention on the
mediummedium
Design GoalsDesign Goals
Asynchronous, distributed, scalable solution forAsynchronous, distributed, scalable solution for
large Networks (Matches MANETlarge Networks (Matches MANET
environment)environment)
Receiver stage shouldn’t be overly complexReceiver stage shouldn’t be overly complex
(Receiver Based spreading code)(Receiver Based spreading code)
Adapt to channel characteristics and mobilityAdapt to channel characteristics and mobility
patternspatterns
Able to coupe with incorrect code assignmentAble to coupe with incorrect code assignment
“code assignment is left to the upper layers”“code assignment is left to the upper layers”
Design ArchitectureDesign Architecture
Two Separate Frequency channels (FDM-likeTwo Separate Frequency channels (FDM-like
partitioning) - one for the RTS/CTS and the otherpartitioning) - one for the RTS/CTS and the other
for data exchangefor data exchange
Common Spreading Code for the controlCommon Spreading Code for the control
channelchannel
Receiver Based spreading codes for the dataReceiver Based spreading codes for the data
channelchannel
Codes are not assumed to be orthogonalCodes are not assumed to be orthogonal
Control and data channels are completelyControl and data channels are completely
orthogonalorthogonal
DiagramDiagram
Design ArchitectureDesign Architecture
Protocol AssumptionsProtocol Assumptions
Control and data channels are completelyControl and data channels are completely
orthogonalorthogonal
Channel gain is stationary for the duration of theChannel gain is stationary for the duration of the
control and data packet Transfercontrol and data packet Transfer
Gain is same in both directionsGain is same in both directions
Data packets between pair of terminals observeData packets between pair of terminals observe
similar gainsimilar gain
The radio stage can provide a feedback to theThe radio stage can provide a feedback to the
upper MAC layer (about the interference level)upper MAC layer (about the interference level)
“both ways”“both ways”
Protocol DescriptionProtocol Description
Contention based. Uses a variant of RTS/CTSContention based. Uses a variant of RTS/CTS
reservation schemereservation scheme
RTS and CTS are spread using a common code andRTS and CTS are spread using a common code and
transmitted over the control channel using fixed powertransmitted over the control channel using fixed power
PmaxPmax
RTS and CTS are heard by potentially interfering nodes,RTS and CTS are heard by potentially interfering nodes,
however, these nodes are allowed to transmit based onhowever, these nodes are allowed to transmit based on
some constraintssome constraints
For the Data channel, Receive and Transmitter shouldFor the Data channel, Receive and Transmitter should
agree on:agree on:

Spreading Code: “code assignment is dealt with at upper layers”Spreading Code: “code assignment is dealt with at upper layers”

Transmit PowerTransmit Power
Choice of power is critical and represents a trade-offChoice of power is critical and represents a trade-off
between link quality and max allowable interferencebetween link quality and max allowable interference
More protocol descriptionMore protocol description
In addition, the protocol incorporates anIn addition, the protocol incorporates an Interference MarginInterference Margin intointo
the power computation. Allows nodes at some distance from athe power computation. Allows nodes at some distance from a
receiver to start new transmissions in the futurereceiver to start new transmissions in the future
Nodes exploit the knowledge of the power level of the overheardNodes exploit the knowledge of the power level of the overheard
RTS and CTS transmissions to compute this marginRTS and CTS transmissions to compute this margin
A transmitter can decide when and at what power it can transmitA transmitter can decide when and at what power it can transmit
without disturbing ongoing transmissions in its surrounding and atwithout disturbing ongoing transmissions in its surrounding and at
the same time ensuring enough power at the receiver given thethe same time ensuring enough power at the receiver given the
current “MAI at the receiver”.current “MAI at the receiver”.
Distribute feedbackDistribute feedback to neighbors, through the CTS messages.to neighbors, through the CTS messages.
Channel Access MechanismChannel Access Mechanism
Transmissions that cause neither primary norTransmissions that cause neither primary nor
secondary collisionssecondary collisions
RTS/CTS provide 3 functions:RTS/CTS provide 3 functions:

Allow nodes to estimate channel gains betweenAllow nodes to estimate channel gains between
transmitter and receivertransmitter and receiver

A receiver uses CTS to notify its neighbors of theA receiver uses CTS to notify its neighbors of the
additional interference noise “allowable noise rise” itadditional interference noise “allowable noise rise” it
can accept without impacting its current receptioncan accept without impacting its current reception

Each terminal keeps listening to the control channelEach terminal keeps listening to the control channel
regardless of the signal destinationregardless of the signal destination
Protocol recoveryProtocol recovery
When transmission and propagation timesWhen transmission and propagation times
of control packets are long high probabilityof control packets are long high probability
of collision of CTS and RTS of anotherof collision of CTS and RTS of another
contending terminal leading to collisioncontending terminal leading to collision
with data packetswith data packets
EgEg
Code AssignmentCode Assignment
N/w topology continuously changingN/w topology continuously changing
Diff to guarantee correct code assignmentDiff to guarantee correct code assignment
Duty of MAC to reduce/eliminateDuty of MAC to reduce/eliminate
contentioncontention
(see previous slide)(see previous slide)
SimulationSimulation
Used CSIM programsUsed CSIM programs
Focused on 1 hop throughputFocused on 1 hop throughput
Data packets have fixed sizeData packets have fixed size
Transmission periods for RTS, CTS, data, ACKTransmission periods for RTS, CTS, data, ACK
in tens of msin tens of ms
Used random grid and clustered topologiesUsed random grid and clustered topologies
M=number of mobile hosts. Assume 36 Length 3M=number of mobile hosts. Assume 36 Length 3
kmkm
CA-CDMA 280% throughput increase overCA-CDMA 280% throughput increase over
802.11. Due to simultaneous transmissions802.11. Due to simultaneous transmissions
Uses shorter links to save energyUses shorter links to save energy
GraphsGraphs
Conclusion & Future WorkConclusion & Future Work
Conclusion:Conclusion:

CA-CDMA is a distributed power control CDMACA-CDMA is a distributed power control CDMA
based MAC protocol.based MAC protocol.

CA-CDMA provides an enhancement for theCA-CDMA provides an enhancement for the
throughput in MANETs through addressing the nearthroughput in MANETs through addressing the near
far problemfar problem
Future Work:Future Work:

Combine CA-CDMA with other capacity optimizationCombine CA-CDMA with other capacity optimization
schemes. E.g. directional antennasschemes. E.g. directional antennas

Multi-rate support is also another opportunity forMulti-rate support is also another opportunity for
capacity optimizationcapacity optimization

Devise better schemes for access control over theDevise better schemes for access control over the
control channelcontrol channel
Thank you!Thank you!
PS: I hope I get a good grade!PS: I hope I get a good grade!

More Related Content

What's hot

Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...
Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...
Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...IDES Editor
 
Gsm training
Gsm trainingGsm training
Gsm traininggernaz55
 
Orthogonal Frequency Division Multiplexing (OFDM)
Orthogonal Frequency Division Multiplexing (OFDM)Orthogonal Frequency Division Multiplexing (OFDM)
Orthogonal Frequency Division Multiplexing (OFDM)Gagan Randhawa
 
Interview questions
Interview questionsInterview questions
Interview questionsYayvo.com
 
For spreading factor & channels
For spreading factor & channelsFor spreading factor & channels
For spreading factor & channelsShivendra Verma
 
The ABCs of ADCs Understanding How ADC Errors Affect System Performance
The ABCs of ADCs Understanding How ADC Errors Affect System PerformanceThe ABCs of ADCs Understanding How ADC Errors Affect System Performance
The ABCs of ADCs Understanding How ADC Errors Affect System Performancecriterion123
 
Huawei UMTS Inter-rat cs THD trial
Huawei UMTS Inter-rat cs THD trialHuawei UMTS Inter-rat cs THD trial
Huawei UMTS Inter-rat cs THD trialA Sahab
 
Owa200002 wcdma basic principle issue1.0
Owa200002 wcdma basic principle issue1.0Owa200002 wcdma basic principle issue1.0
Owa200002 wcdma basic principle issue1.0Szymon Nowak
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Orthogonal frequency division multiplexing (ofdm)
Orthogonal frequency division multiplexing (ofdm)Orthogonal frequency division multiplexing (ofdm)
Orthogonal frequency division multiplexing (ofdm)Dilip Mathuria
 

What's hot (20)

Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...
Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...
Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...
 
Gsm training
Gsm trainingGsm training
Gsm training
 
Orthogonal Frequency Division Multiplexing (OFDM)
Orthogonal Frequency Division Multiplexing (OFDM)Orthogonal Frequency Division Multiplexing (OFDM)
Orthogonal Frequency Division Multiplexing (OFDM)
 
Wcdma p&amp;o-c-en-basic theory-1-51
Wcdma p&amp;o-c-en-basic theory-1-51Wcdma p&amp;o-c-en-basic theory-1-51
Wcdma p&amp;o-c-en-basic theory-1-51
 
OFDM Basics
OFDM BasicsOFDM Basics
OFDM Basics
 
Interview questions
Interview questionsInterview questions
Interview questions
 
PAPR Reduction
PAPR ReductionPAPR Reduction
PAPR Reduction
 
10 wman2[1]
10 wman2[1]10 wman2[1]
10 wman2[1]
 
G0361052058
G0361052058G0361052058
G0361052058
 
Cdma and 3 g
Cdma and 3 gCdma and 3 g
Cdma and 3 g
 
For spreading factor & channels
For spreading factor & channelsFor spreading factor & channels
For spreading factor & channels
 
The ABCs of ADCs Understanding How ADC Errors Affect System Performance
The ABCs of ADCs Understanding How ADC Errors Affect System PerformanceThe ABCs of ADCs Understanding How ADC Errors Affect System Performance
The ABCs of ADCs Understanding How ADC Errors Affect System Performance
 
Huawei UMTS Inter-rat cs THD trial
Huawei UMTS Inter-rat cs THD trialHuawei UMTS Inter-rat cs THD trial
Huawei UMTS Inter-rat cs THD trial
 
Owa200002 wcdma basic principle issue1.0
Owa200002 wcdma basic principle issue1.0Owa200002 wcdma basic principle issue1.0
Owa200002 wcdma basic principle issue1.0
 
Gsm
GsmGsm
Gsm
 
Irat handover basics
Irat handover basicsIrat handover basics
Irat handover basics
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Orthogonal frequency division multiplexing (ofdm)
Orthogonal frequency division multiplexing (ofdm)Orthogonal frequency division multiplexing (ofdm)
Orthogonal frequency division multiplexing (ofdm)
 
Cdma
CdmaCdma
Cdma
 
Bluetooth
BluetoothBluetooth
Bluetooth
 

Viewers also liked

Near-Far Resistance of MC-DS-CDMA Communication Systems
Near-Far Resistance of MC-DS-CDMA Communication SystemsNear-Far Resistance of MC-DS-CDMA Communication Systems
Near-Far Resistance of MC-DS-CDMA Communication SystemsIDES Editor
 
Wireless communication theodore rappaport
Wireless communication   theodore rappaportWireless communication   theodore rappaport
Wireless communication theodore rappaportDaud Khan
 
Chap 1&2(history and intro) wireless communication
Chap 1&2(history and intro) wireless communicationChap 1&2(history and intro) wireless communication
Chap 1&2(history and intro) wireless communicationasadkhan1327
 
Code Division Multiple Access- CDMA
Code Division Multiple Access- CDMA Code Division Multiple Access- CDMA
Code Division Multiple Access- CDMA ViVek Patel
 
Cdma ppt for ECE
Cdma ppt for ECECdma ppt for ECE
Cdma ppt for ECEajitece
 
cellular concepts in wireless communication
cellular concepts in wireless communicationcellular concepts in wireless communication
cellular concepts in wireless communicationasadkhan1327
 

Viewers also liked (7)

Near-Far Resistance of MC-DS-CDMA Communication Systems
Near-Far Resistance of MC-DS-CDMA Communication SystemsNear-Far Resistance of MC-DS-CDMA Communication Systems
Near-Far Resistance of MC-DS-CDMA Communication Systems
 
Cdma
CdmaCdma
Cdma
 
Wireless communication theodore rappaport
Wireless communication   theodore rappaportWireless communication   theodore rappaport
Wireless communication theodore rappaport
 
Chap 1&2(history and intro) wireless communication
Chap 1&2(history and intro) wireless communicationChap 1&2(history and intro) wireless communication
Chap 1&2(history and intro) wireless communication
 
Code Division Multiple Access- CDMA
Code Division Multiple Access- CDMA Code Division Multiple Access- CDMA
Code Division Multiple Access- CDMA
 
Cdma ppt for ECE
Cdma ppt for ECECdma ppt for ECE
Cdma ppt for ECE
 
cellular concepts in wireless communication
cellular concepts in wireless communicationcellular concepts in wireless communication
cellular concepts in wireless communication
 

Similar to Habibullah cdmabased

86139 633562325641406250
86139 63356232564140625086139 633562325641406250
86139 633562325641406250sunnybhoyar3
 
PRESRNTER SUNNY BHOYAR
PRESRNTER SUNNY BHOYAR PRESRNTER SUNNY BHOYAR
PRESRNTER SUNNY BHOYAR sunnybhoyar3
 
Chapter_03_Data Link Layer and its protocols.pptx
Chapter_03_Data Link Layer and its protocols.pptxChapter_03_Data Link Layer and its protocols.pptx
Chapter_03_Data Link Layer and its protocols.pptxmsohail37
 
Division multiple access technology
Division multiple access technologyDivision multiple access technology
Division multiple access technologyAdams Firdaus
 
Forward error correction
Forward error correctionForward error correction
Forward error correctionPrankit Mishra
 
01principlesofthewcdmasystem 120627071558-phpapp02
01principlesofthewcdmasystem 120627071558-phpapp0201principlesofthewcdmasystem 120627071558-phpapp02
01principlesofthewcdmasystem 120627071558-phpapp02Rupam Karmakar
 
Code division Duplexing
Code division DuplexingCode division Duplexing
Code division DuplexingBharathi Devi
 
Iaetsd ber performance of cdma, wcdma, ieee802.11g in awgn
Iaetsd ber performance of cdma, wcdma, ieee802.11g in awgnIaetsd ber performance of cdma, wcdma, ieee802.11g in awgn
Iaetsd ber performance of cdma, wcdma, ieee802.11g in awgnIaetsd Iaetsd
 
Public Switched Telephone Network (PSTN)
Public Switched Telephone Network (PSTN)Public Switched Telephone Network (PSTN)
Public Switched Telephone Network (PSTN)J.T.A.JONES
 
Introduction to gsm
Introduction to gsmIntroduction to gsm
Introduction to gsmsivakumar D
 
Modern devices with spread spectrum application opportunities for wireless co...
Modern devices with spread spectrum application opportunities for wireless co...Modern devices with spread spectrum application opportunities for wireless co...
Modern devices with spread spectrum application opportunities for wireless co...Олександр Мазуренко
 
Lecture 7 8 ad hoc wireless media access protocols
Lecture 7 8 ad hoc wireless media access protocolsLecture 7 8 ad hoc wireless media access protocols
Lecture 7 8 ad hoc wireless media access protocolsChandra Meena
 

Similar to Habibullah cdmabased (20)

Ai Cdma
Ai CdmaAi Cdma
Ai Cdma
 
86139 633562325641406250
86139 63356232564140625086139 633562325641406250
86139 633562325641406250
 
PRESRNTER SUNNY BHOYAR
PRESRNTER SUNNY BHOYAR PRESRNTER SUNNY BHOYAR
PRESRNTER SUNNY BHOYAR
 
Chapter_03_Data Link Layer and its protocols.pptx
Chapter_03_Data Link Layer and its protocols.pptxChapter_03_Data Link Layer and its protocols.pptx
Chapter_03_Data Link Layer and its protocols.pptx
 
Division multiple access technology
Division multiple access technologyDivision multiple access technology
Division multiple access technology
 
Forward error correction
Forward error correctionForward error correction
Forward error correction
 
01principlesofthewcdmasystem 120627071558-phpapp02
01principlesofthewcdmasystem 120627071558-phpapp0201principlesofthewcdmasystem 120627071558-phpapp02
01principlesofthewcdmasystem 120627071558-phpapp02
 
Code division Duplexing
Code division DuplexingCode division Duplexing
Code division Duplexing
 
Final prentation M.TECH ( PPT )
Final prentation  M.TECH ( PPT )Final prentation  M.TECH ( PPT )
Final prentation M.TECH ( PPT )
 
Iaetsd ber performance of cdma, wcdma, ieee802.11g in awgn
Iaetsd ber performance of cdma, wcdma, ieee802.11g in awgnIaetsd ber performance of cdma, wcdma, ieee802.11g in awgn
Iaetsd ber performance of cdma, wcdma, ieee802.11g in awgn
 
Public Switched Telephone Network (PSTN)
Public Switched Telephone Network (PSTN)Public Switched Telephone Network (PSTN)
Public Switched Telephone Network (PSTN)
 
Mobile Broadband
Mobile BroadbandMobile Broadband
Mobile Broadband
 
Cdma
CdmaCdma
Cdma
 
Introduction to gsm
Introduction to gsmIntroduction to gsm
Introduction to gsm
 
Intro to gsm
Intro to gsmIntro to gsm
Intro to gsm
 
Ad-Hoc Networks
Ad-Hoc NetworksAd-Hoc Networks
Ad-Hoc Networks
 
Modern devices with spread spectrum application opportunities for wireless co...
Modern devices with spread spectrum application opportunities for wireless co...Modern devices with spread spectrum application opportunities for wireless co...
Modern devices with spread spectrum application opportunities for wireless co...
 
Lecture 7 8 ad hoc wireless media access protocols
Lecture 7 8 ad hoc wireless media access protocolsLecture 7 8 ad hoc wireless media access protocols
Lecture 7 8 ad hoc wireless media access protocols
 
6 chapter 1,2,3,4,5 (15%) M.TECH ( PDF FILE )
6 chapter 1,2,3,4,5 (15%) M.TECH ( PDF FILE )6 chapter 1,2,3,4,5 (15%) M.TECH ( PDF FILE )
6 chapter 1,2,3,4,5 (15%) M.TECH ( PDF FILE )
 
6 chapter 1,2,3,4,5 (15%) M.TECH ( M S WORD FILE )
6 chapter 1,2,3,4,5 (15%) M.TECH ( M S WORD FILE )6 chapter 1,2,3,4,5 (15%) M.TECH ( M S WORD FILE )
6 chapter 1,2,3,4,5 (15%) M.TECH ( M S WORD FILE )
 

More from hinalala

More from hinalala (12)

Wsn 08
Wsn 08Wsn 08
Wsn 08
 
View
ViewView
View
 
Tr 97 67
Tr 97 67Tr 97 67
Tr 97 67
 
Topic5
Topic5Topic5
Topic5
 
Sensys ch5-mac
Sensys ch5-macSensys ch5-mac
Sensys ch5-mac
 
Mac adhoc
Mac adhocMac adhoc
Mac adhoc
 
Mac adhoc (1)
Mac adhoc (1)Mac adhoc (1)
Mac adhoc (1)
 
Mac
MacMac
Mac
 
Lect04
Lect04Lect04
Lect04
 
Lect04 (1)
Lect04 (1)Lect04 (1)
Lect04 (1)
 
Fuessler wkmh03
Fuessler wkmh03Fuessler wkmh03
Fuessler wkmh03
 
Cm chou 20050124
Cm chou 20050124Cm chou 20050124
Cm chou 20050124
 

Habibullah cdmabased

  • 1. CDMA-Based MACCDMA-Based MAC Protocol for WirelessProtocol for Wireless Ad Hoc NetworksAd Hoc Networks Alaa Muqattash and Marwan KrunzAlaa Muqattash and Marwan Krunz Presented by: Habibullah PagarkarPresented by: Habibullah Pagarkar for 600.647-Advanced Topics in Wireless Networks.for 600.647-Advanced Topics in Wireless Networks. JHU. Spring 04JHU. Spring 04
  • 2. Today’s PresentationToday’s Presentation IntroductionIntroduction The Near-Far problemThe Near-Far problem Protocol designProtocol design Protocol descriptionProtocol description SimulationSimulation Results and EvaluationResults and Evaluation Conclusion and future workConclusion and future work
  • 3. Introduction: MotivationIntroduction: Motivation Mobile Ad hoc NETworks (MANETs)Mobile Ad hoc NETworks (MANETs) Ability to provide temporary wireless networkingAbility to provide temporary wireless networking capability; low throughputcapability; low throughput Challenge: Increases overall n/w throughputChallenge: Increases overall n/w throughput maintaining low energy consumptionmaintaining low energy consumption  Harsh characteristics of channelHarsh characteristics of channel  Contention based nature of MACContention based nature of MAC Focus: CDMA based design of MAC protocol toFocus: CDMA based design of MAC protocol to improve n/w throughputimprove n/w throughput
  • 4. Intro: CDMA?Intro: CDMA? Code Division Multiple AccessCode Division Multiple Access Bandwidth = ScarceBandwidth = Scarce Traditional methods: transmit using leastTraditional methods: transmit using least b/wb/w Eg. TDMA, FDMAEg. TDMA, FDMA CDMA based on Spread Spectrum: EachCDMA based on Spread Spectrum: Each user occupies entire available b/w.user occupies entire available b/w. Transmitter B1 bits/sTransmitter B1 bits/s spreadspread with pseudo-with pseudo- random noise (PN) B2 bits/srandom noise (PN) B2 bits/s
  • 5. Intro: CDMA!Intro: CDMA! B2/B1 >> 1 (processing gain)B2/B1 >> 1 (processing gain) PN statistically random but can be exactlyPN statistically random but can be exactly reproduced through precise math rulesreproduced through precise math rules Using locally generated PN receiverUsing locally generated PN receiver de-de- spreadsspreads signal; recovers original infosignal; recovers original info Several independently coded signals canSeveral independently coded signals can occupy the same channel b/w providedoccupy the same channel b/w provided each signal has diff PN codeeach signal has diff PN code
  • 6. Intro: CDMA PropagandaIntro: CDMA Propaganda 3G’s choice3G’s choice 6 times capacity of TDMA, FDMA6 times capacity of TDMA, FDMA Graceful signal degradationGraceful signal degradation Multi-path resistanceMulti-path resistance Interference rejectionInterference rejection 802.11 spreads signals with common PN code802.11 spreads signals with common PN code at physical layerat physical layer Thus not allowing concurrent transmissionsThus not allowing concurrent transmissions DiagramDiagram
  • 7. Intro: Code Assignment IssuesIntro: Code Assignment Issues Absence of centralized control (baseAbsence of centralized control (base station)station) Code assignment protocol: diff codes toCode assignment protocol: diff codes to diff terminalsdiff terminals Trivial in small n/wsTrivial in small n/ws Not feasible for MANET’s time asyncNot feasible for MANET’s time async systemssystems Spatial code reuse necessarySpatial code reuse necessary
  • 8. Intro: Spreading Code protocolIntro: Spreading Code protocol Which codes to use for packetWhich codes to use for packet transmission and monitoring for packettransmission and monitoring for packet receptionreception 3 types3 types  Receiver basedReceiver based  Transmitter basedTransmitter based  HybridHybrid
  • 9. Intro: Receiver basedIntro: Receiver based Transmitter uses code of intended receiver toTransmitter uses code of intended receiver to spread packetspread packet Idle node will monitor its own code onlyIdle node will monitor its own code only Advantages:Advantages:  Simple receiver circuitSimple receiver circuit Disadvantage:Disadvantage:  Primary collision can happenPrimary collision can happen  Broadcast requires transmitter to unicast to eachBroadcast requires transmitter to unicast to each receiverreceiver DiagramDiagram
  • 10. Intro: Transmitter basedIntro: Transmitter based A different code is assigned to each nodeA different code is assigned to each node But, the receiving node must listen to allBut, the receiving node must listen to all codescodes Advantages:Advantages:  Avoids Primary CollisionAvoids Primary Collision  Simplified BroadcastSimplified Broadcast Disadvantage:Disadvantage:  Increased complexity of the receiverIncreased complexity of the receiver
  • 11. Intro: Hybrid basedIntro: Hybrid based Prevalent ApproachPrevalent Approach  Fields of the packet are spread using a common codeFields of the packet are spread using a common code  Other fields are spread by a receiver or a transmitterOther fields are spread by a receiver or a transmitter based mechanismbased mechanism In the reservation based schemes:In the reservation based schemes:  a code is used for RTS/CTSa code is used for RTS/CTS  Another code for data exchangeAnother code for data exchange Receivers will listen to the common codeReceivers will listen to the common code  If a receiver was intended by the transmitterIf a receiver was intended by the transmitter  Switch to own (or transmitter) code to receive theSwitch to own (or transmitter) code to receive the signalsignal Example: RA-CDMAExample: RA-CDMA
  • 12. Intro: RA-CDMAIntro: RA-CDMA Guaranteed free of primary collisionsGuaranteed free of primary collisions However, non-zero cross-correlationHowever, non-zero cross-correlation causes multi-access interference; MAIcauses multi-access interference; MAI Results in secondary collision at receiverResults in secondary collision at receiver (collisions between transmissions using(collisions between transmissions using diff codes)diff codes) This is known as Near-Far problem; theThis is known as Near-Far problem; the bane of MANETsbane of MANETs
  • 13. The Near-Far problem in RA-The Near-Far problem in RA- CDMACDMA System is time-sync if signals originate fromSystem is time-sync if signals originate from same transmitter. Eg downlink in cellular CDMAsame transmitter. Eg downlink in cellular CDMA  Common time reference, diff receivers, same pathCommon time reference, diff receivers, same path and same time delaysand same time delays  Complete orthogonal codesComplete orthogonal codes System is time-async if signals originate fromSystem is time-async if signals originate from multiple transmitters. Eg uplink in cellular ormultiple transmitters. Eg uplink in cellular or MANETsMANETs  No common time reference, diff transmitters, diff pathNo common time reference, diff transmitters, diff path and diff time delaysand diff time delays  Not possible to have orthogonal codesNot possible to have orthogonal codes
  • 14. The Near-Far problem in RA-The Near-Far problem in RA- CDMACDMA CDMA codes suffer from non-zero cross-corrCDMA codes suffer from non-zero cross-corr Receiver computes cross corr between signalReceiver computes cross corr between signal and local PNand local PN If PN same message intended for this receiverIf PN same message intended for this receiver Else 0 or non-zero depending if sync or asyncElse 0 or non-zero depending if sync or async Near-Far severe consequence of MAI: receiverNear-Far severe consequence of MAI: receiver trying to detect signal of one is closer to anothertrying to detect signal of one is closer to another Transmission power equal, closer signalTransmission power equal, closer signal higher powerhigher power incorrect decoding. Collisionincorrect decoding. Collision DiagramDiagram
  • 15. NFP: ImpactNFP: Impact d0=distance between receiver andd0=distance between receiver and intended transmitterintended transmitter Calculations show that if there is only 1Calculations show that if there is only 1 interferer at distance < 0.38 d0 frominterferer at distance < 0.38 d0 from receiver, secondary collision will occurreceiver, secondary collision will occur p=probability that terminal is transmittingp=probability that terminal is transmitting in a given slotin a given slot L=number of nodes within a circleL=number of nodes within a circle centered at transmitter radius d0centered at transmitter radius d0
  • 17. Proposed protocolProposed protocol Main Goals:Main Goals:  To provide a CDMA-based MAC solution thatTo provide a CDMA-based MAC solution that addresses near-far problemaddresses near-far problem  A Protocol that can achieve enhanced throughputA Protocol that can achieve enhanced throughput keeping the same energy requirementkeeping the same energy requirement Basic ideaBasic idea  a distributed admission and feedback among nodesa distributed admission and feedback among nodes DiagramDiagram
  • 18. Proposed protocolProposed protocol Suppose that A wants to communicate with B using a given code and C wants to communicate with D using a different code. Suppsoe that dAB ≈ dCD, dCB << dAB, and dAD << dCD. Then, the MAI caused by C makes it impossible for B to receive A’s transmission. Similarily, the MAI caused by A makes it impossible for D to receive C’s transmission.
  • 19. ComparisonComparison MAC ProtocolMAC Protocol Responsible forResponsible for minimizing orminimizing or eliminatingeliminating collisionscollisions Even if a terminalEven if a terminal has an availablehas an available spreading code, itspreading code, it may not bemay not be allowed to transmitallowed to transmit SS protocolSS protocol Decides which PNDecides which PN code used tocode used to Spread the signalSpread the signal Doesn’t solveDoesn’t solve contention on thecontention on the mediummedium
  • 20. Design GoalsDesign Goals Asynchronous, distributed, scalable solution forAsynchronous, distributed, scalable solution for large Networks (Matches MANETlarge Networks (Matches MANET environment)environment) Receiver stage shouldn’t be overly complexReceiver stage shouldn’t be overly complex (Receiver Based spreading code)(Receiver Based spreading code) Adapt to channel characteristics and mobilityAdapt to channel characteristics and mobility patternspatterns Able to coupe with incorrect code assignmentAble to coupe with incorrect code assignment “code assignment is left to the upper layers”“code assignment is left to the upper layers”
  • 21. Design ArchitectureDesign Architecture Two Separate Frequency channels (FDM-likeTwo Separate Frequency channels (FDM-like partitioning) - one for the RTS/CTS and the otherpartitioning) - one for the RTS/CTS and the other for data exchangefor data exchange Common Spreading Code for the controlCommon Spreading Code for the control channelchannel Receiver Based spreading codes for the dataReceiver Based spreading codes for the data channelchannel Codes are not assumed to be orthogonalCodes are not assumed to be orthogonal Control and data channels are completelyControl and data channels are completely orthogonalorthogonal DiagramDiagram
  • 23. Protocol AssumptionsProtocol Assumptions Control and data channels are completelyControl and data channels are completely orthogonalorthogonal Channel gain is stationary for the duration of theChannel gain is stationary for the duration of the control and data packet Transfercontrol and data packet Transfer Gain is same in both directionsGain is same in both directions Data packets between pair of terminals observeData packets between pair of terminals observe similar gainsimilar gain The radio stage can provide a feedback to theThe radio stage can provide a feedback to the upper MAC layer (about the interference level)upper MAC layer (about the interference level) “both ways”“both ways”
  • 24. Protocol DescriptionProtocol Description Contention based. Uses a variant of RTS/CTSContention based. Uses a variant of RTS/CTS reservation schemereservation scheme RTS and CTS are spread using a common code andRTS and CTS are spread using a common code and transmitted over the control channel using fixed powertransmitted over the control channel using fixed power PmaxPmax RTS and CTS are heard by potentially interfering nodes,RTS and CTS are heard by potentially interfering nodes, however, these nodes are allowed to transmit based onhowever, these nodes are allowed to transmit based on some constraintssome constraints For the Data channel, Receive and Transmitter shouldFor the Data channel, Receive and Transmitter should agree on:agree on:  Spreading Code: “code assignment is dealt with at upper layers”Spreading Code: “code assignment is dealt with at upper layers”  Transmit PowerTransmit Power Choice of power is critical and represents a trade-offChoice of power is critical and represents a trade-off between link quality and max allowable interferencebetween link quality and max allowable interference
  • 25. More protocol descriptionMore protocol description In addition, the protocol incorporates anIn addition, the protocol incorporates an Interference MarginInterference Margin intointo the power computation. Allows nodes at some distance from athe power computation. Allows nodes at some distance from a receiver to start new transmissions in the futurereceiver to start new transmissions in the future Nodes exploit the knowledge of the power level of the overheardNodes exploit the knowledge of the power level of the overheard RTS and CTS transmissions to compute this marginRTS and CTS transmissions to compute this margin A transmitter can decide when and at what power it can transmitA transmitter can decide when and at what power it can transmit without disturbing ongoing transmissions in its surrounding and atwithout disturbing ongoing transmissions in its surrounding and at the same time ensuring enough power at the receiver given thethe same time ensuring enough power at the receiver given the current “MAI at the receiver”.current “MAI at the receiver”. Distribute feedbackDistribute feedback to neighbors, through the CTS messages.to neighbors, through the CTS messages.
  • 26. Channel Access MechanismChannel Access Mechanism Transmissions that cause neither primary norTransmissions that cause neither primary nor secondary collisionssecondary collisions RTS/CTS provide 3 functions:RTS/CTS provide 3 functions:  Allow nodes to estimate channel gains betweenAllow nodes to estimate channel gains between transmitter and receivertransmitter and receiver  A receiver uses CTS to notify its neighbors of theA receiver uses CTS to notify its neighbors of the additional interference noise “allowable noise rise” itadditional interference noise “allowable noise rise” it can accept without impacting its current receptioncan accept without impacting its current reception  Each terminal keeps listening to the control channelEach terminal keeps listening to the control channel regardless of the signal destinationregardless of the signal destination
  • 27. Protocol recoveryProtocol recovery When transmission and propagation timesWhen transmission and propagation times of control packets are long high probabilityof control packets are long high probability of collision of CTS and RTS of anotherof collision of CTS and RTS of another contending terminal leading to collisioncontending terminal leading to collision with data packetswith data packets EgEg
  • 28. Code AssignmentCode Assignment N/w topology continuously changingN/w topology continuously changing Diff to guarantee correct code assignmentDiff to guarantee correct code assignment Duty of MAC to reduce/eliminateDuty of MAC to reduce/eliminate contentioncontention (see previous slide)(see previous slide)
  • 29. SimulationSimulation Used CSIM programsUsed CSIM programs Focused on 1 hop throughputFocused on 1 hop throughput Data packets have fixed sizeData packets have fixed size Transmission periods for RTS, CTS, data, ACKTransmission periods for RTS, CTS, data, ACK in tens of msin tens of ms Used random grid and clustered topologiesUsed random grid and clustered topologies M=number of mobile hosts. Assume 36 Length 3M=number of mobile hosts. Assume 36 Length 3 kmkm CA-CDMA 280% throughput increase overCA-CDMA 280% throughput increase over 802.11. Due to simultaneous transmissions802.11. Due to simultaneous transmissions Uses shorter links to save energyUses shorter links to save energy
  • 31. Conclusion & Future WorkConclusion & Future Work Conclusion:Conclusion:  CA-CDMA is a distributed power control CDMACA-CDMA is a distributed power control CDMA based MAC protocol.based MAC protocol.  CA-CDMA provides an enhancement for theCA-CDMA provides an enhancement for the throughput in MANETs through addressing the nearthroughput in MANETs through addressing the near far problemfar problem Future Work:Future Work:  Combine CA-CDMA with other capacity optimizationCombine CA-CDMA with other capacity optimization schemes. E.g. directional antennasschemes. E.g. directional antennas  Multi-rate support is also another opportunity forMulti-rate support is also another opportunity for capacity optimizationcapacity optimization  Devise better schemes for access control over theDevise better schemes for access control over the control channelcontrol channel
  • 32. Thank you!Thank you! PS: I hope I get a good grade!PS: I hope I get a good grade!