cdma basics 101

34
CDMA 101 Scott Baxter

Upload: jcaldwell17

Post on 28-Nov-2014

50 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: CDMA Basics 101

CDMA101

Scott Baxter

Page 2: CDMA Basics 101

CDMA 101 Outline

❖ CDMA Basics� Multiple Access Technology Survey� CDMA coding principles� Spread Spectrum principles� Forward and Reverse Channel Structure

❖ Nortel CDMA System Architecture� MTX BSC BSM BTS

❖ CDMA Details and Operation� Power Control� Handoff mechanics� Optimization concepts

Page 3: CDMA Basics 101

CDMABasics

Page 4: CDMA Basics 101

Multiple Access Technologies

❖ FDMA (example: AMPS)Frequency Division Multiple Access� each user has a private frequency

❖ TDMA (examples: IS-54/136, GSM)Time Division Multiple Access� each user has a private time on a private

frequency❖ CDMA (IS-95, J-Std. 008)

Code Division Multiple Access� users co-mingle in time and frequency but

each user has a private code FrequencyTime

Power

FrequencyTime

Power

FrequencyTime

Power

FDMA

TDMA

CDMA

Page 5: CDMA Basics 101

Other Technologies:Other Technologies:Avoiding InterferenceAvoiding Interference

❖ AMPS, TDMA and GSM depend on physical distance separation to keep interference at low levels

❖ Co-channel users are kept at a safe distance by careful frequency planning

❖ Nearby users and cells must use different frequencies to avoid interference

2

3

4

5 6

7

4

6

47 2

7

2

5

35

36

1

1

1

1

1

1

1

AMPS-TDMA-GSM

Figure of Merit: C/I(carrier/interference ratio)

AMPS: +17 dBTDMA: +14 to 17 dB

GSM: +7 to 9 dB.

Page 6: CDMA Basics 101

CDMA: Using A New DimensionCDMA: Using A New Dimension

❖ All CDMA users occupy the same frequency at the same time! Time and frequency are not used as discriminators

❖ CDMA interference comes mainly from nearby users

❖ CDMA operates by using CODING to discriminate between users

❖ Each user is a small voice in a roaring crowd -- but with a uniquely recoverable code

CDMA

Figure of Merit: C/I(carrier/interference ratio)

AMPS: +17 dBTDMA: +14 to +17 dB

GSM: +7 to 9 dB.CDMA: -10 to -17 dB.CDMA: Eb/No ~+6 dB.

Page 7: CDMA Basics 101

CDMA Uses Code ChannelsCDMA Uses Code Channels

❖ A CDMA signal uses many chips to convey just one bit of information

❖ Each user has a unique chip pattern, in effect a code channel

❖ To recover a bit, integrate a large number of chips interpreted by the user’s known code pattern

❖ Other users’ code patterns appear random and integrate toward low values, hence don’t disturb the bit decoding decision

Building aBuilding aCDMA SignalCDMA Signal

Bitsfrom User’s Vocoder

Symbols

Chips

Forward Error Correction

Coding and Spreading

Page 8: CDMA Basics 101

CDMA is a Spread-Spectrum System

❖ Traditional technologies try to squeeze signal into minimum required bandwidth

❖ CDMA uses larger bandwidth but uses resulting processing gain to increase capacity

Spread Spectrum Payoff:Processing Gain

Spread SpectrumTRADITIONAL COMMUNICATIONS SYSTEM

SlowInformation

SentTX

SlowInformationRecovered

RX

NarrowbandSignal

SPREAD-SPECTRUM SYSTEM

FastSpreadingSequence

SlowInformation

SentTX

SlowInformationRecovered

RX

FastSpreadingSequence

WidebandSignal

Page 9: CDMA Basics 101

Spreading: What we do, we can undo

❖ Sender combines data with a fast spreading sequence, transmits spread data stream

❖ Receiver intercepts the stream, uses same spreading sequence to extract original data

ORIGINATING SITE DESTINATION

SpreadingSequence

SpreadingSequence

InputData

RecoveredData

Spread Data Stream

Page 10: CDMA Basics 101

“Shipping and Receiving” via CDMA

❖ Whether in shipping and receiving, or in CDMA, packaging is extremely important!

❖ Cargo is placed inside “nested” containers for protection and to allow addressing

❖ The shipper packs in a certain order, and the receiver unpacks in the reverse order

❖ CDMA “containers” are spreading codes

FedE

x

Data Mailer

FedE

x

DataMailer

Shipping Receiving

Page 11: CDMA Basics 101

CDMA’s Nested Spreading Sequences

❖ CDMA combines three different spreading sequences to create unique, robust channels

❖ The sequences are easy to generate on both sending and receiving ends of each link

❖ “What we do, we can undo”

SpreadingSequence

ASpreadingSequence

BSpreadingSequence

CSpreadingSequence

CSpreadingSequence

BSpreadingSequence

A

InputDataX

RecoveredDataX

X+A X+A+B X+A+B+C X+A+B X+ASpread-Spectrum Chip Streams

ORIGINATING SITE DESTINATION

Page 12: CDMA Basics 101

The Three CDMA Spreading SequencesThe Three CDMA Spreading Sequences❖ Walsh Codes: 64 are available

� 64 chips long -- lasts 1/19200 sec� mutually orthogonal

❖ PN Short Code: one pair is used (I & Q)� 32K long -- lasts 26-2/3 mS, repeats 75x in 2 sec.

Ð generated in 15-bit tapped shift register� Nearly self-orthogonal if compared out-of-sync

❖ PN Long Code: only one is used� 242-1 chips long -- lasts 40+ days!

Ð generated in 42-bit tapped shift register� Any short sample is nearly orthogonal with any

other short sample

Page 13: CDMA Basics 101

Code Channels in the Forward DirectionMTX BSC BTS (1 sector)

FECWalsh #1

Sync FECWalsh #32

FECWalsh #0

FECWalsh #12

FECWalsh #23

FECWalsh #27

FECWalsh #44

Pilot

Paging

Vocoder

Vocoder

Vocoder

Vocoder

more more more

Short PN CodePN Offset 246

Trans-mitter,

Sector X

ΣΣΣΣ

I Q

A Forward Channel is identified by:

❖ its CDMA RF carrier Frequency

❖ the unique Short Code PN Offset of the sector

❖ the unique Walsh Code of the user

Page 14: CDMA Basics 101

Code Channels in the Reverse DirectionMTX BSC BTS (1 sector)

Channel Element

Access Channels

Vocoder

Vocoder

Vocoder

Vocoder

more more

Receiver,Sector X

A Reverse Channel is identified by:❖ its CDMA RF carrier Frequency❖ the unique Long Code PN Offset

of the individual handset

Channel Element

Channel Element

Channel Element

Channel Element

Long Code Gen

Long Code Gen

Long Code Gen

Long Code Gen

Long Code Gen

more

LongCode Long

Code LongCode

LongCode

LongCode

LongCode

Page 15: CDMA Basics 101

CDMA System

Architecture

Page 16: CDMA Basics 101

NORTEL CDMA System ArchitectureNORTEL CDMA System Architecture

BSC-BSMMTX BTS

CDSU DISCO

Ch. Card ACC

ΣΣΣΣα

ΣΣΣΣβ

ΣΣΣΣχ

TFU1

GPSRBSM

CDSU

CDSU

DISCO 1

DISCO 2

SBSVocodersSelectors

CDSU

CDSU

CDSU

CDSU

CDSU

CDSU

CMSLM

LPP LPPENET

DTCs

DMS-BUS

TxcvrA

TxcvrB

TxcvrC

RFFEA

RFFEB

RFFEC

TFU

GPSR

PSTN & Other MTXs

GPS GPS

IOC

Billing

Page 17: CDMA Basics 101

Signal Flow: TwoSignal Flow: Two--Stage MetamorphosisStage Metamorphosis

BSC-BSMMTX BTS

Ch. Card ACC

Σα

Σβ

Σχ

TFU1

GPSRBSM

CDSU

CDSU

SBSVocodersSelectors

CDSU

CDSU

CDSU

CDSU

CDSU

CMSLM

LPP LPPENET

DTCs

DMS-BUS

TxcvrA

TxcvrB

TxcvrC

RFFEA

RFFEB

RFFEC

TFU

GPSR

GPS GPS

IOC

PSTN

CDSU DISCOCDSU

DISCO 1

DISCO 2

DS0 in T1Packets

ChipsRFChannel

ElementVocoder

Page 18: CDMA Basics 101

Architecture: The MTXArchitecture: The MTX

❖ Primary functions� Call Processing� Mobility Management

Ð HLR-VLR accessÐ Intersystem call delivery

(IS-41C)Ð Inter-MTX handover (IS-41C)

� Billing Data Capture� Calling Features & Services� Collecting System OMs, Pegs

❖ High reliability, redundancy

MTX

CMSLM

LPP ENET

DTCs

DMS-BUS

PSTN & Other MTXs

CDMABSC

Unch. T1

IOC

CDMASBS

MAP,VDUs

Billing

LPP

CCS7

Ch.T1

ChT1

Page 19: CDMA Basics 101

Architecture: The BSCArchitecture: The BSC❖ Primary functions

� vocoding� soft handoff

management� FER-based power

control� routing of all traffic and

control packets❖ Scaleable architecture

� expand SBS to keep pace with traffic growth

� expandable DISCO

BSC

TFU1

GPSRBSM

CDSUCDSU

DISCO 1

DISCO 2

SBSVocodersSelectors

CDSU

CDSU

CDSU

CDSU

CDSU

CDSU

GPS

MTX(voicetrunks)

MTXLPP

BTSs

T1 channelized (24 DS0)T1 unchannelizedBCN link (HDLC)

Page 20: CDMA Basics 101

Architecture: The BTSArchitecture: The BTS❖ Primary function: Air link

� generate, radiate, receive CDMA RF signal IS-95/J.Std. 8

� high-efficiency T1 backhaul� test capabilities

❖ Configurations� 1, 2, or 3 sectors� 800 MHz.: indoor� 1900 MHz.: self-contained

outdoor, remotable RFFEs� future: 1900 MHz. indoor, 800

& 1900 multi-carrier options

BTS

CDSU DISCO

Ch. Card ACC

ΣΣΣΣα

ΣΣΣΣβ

ΣΣΣΣχ

TxcvrA

TxcvrB

TxcvrC

RFFEA

RFFEB

RFFEC

TFU

GPSRGPS

BSC

Page 21: CDMA Basics 101

Architecture: The BSMArchitecture: The BSM❖ Primary functions: OA&M

for CDMA components� Configuration management

Ð BSC, BTS configuration and parameters

� Fault managementÐ Alarm Reporting

� Performance managementÐ interface for CDMA

statistics and peg counts collection

� Security management� Unix-based

BSC BTS

CDSU DISCO

Ch. Card ACC

ΣΣΣΣα

ΣΣΣΣβ

ΣΣΣΣχ

TFU1

GPSR

CDSU

CDSU

DISCO 1

DISCO 2

SBSVocodersSelectors

CDSU

CDSU

CDSU

CDSU

CDSU

CDSU

TxcvrA

TxcvrB

TxcvrC

RFFEA

RFFEB

RFFEC

TFU

GPSR

GPS GPS

BSM

X-Windows terminals

Ethernet LAN

BSM Workstation

GNP TELCOWORKSERVER

SHELF---------HIGH

AVAILABILITY

NORTEL CDMA BSM

BCN Links

Page 22: CDMA Basics 101

CDMA Details and Operation

Page 23: CDMA Basics 101

Variable RateVariable Rate VocodingVocoding & Multiplexing& Multiplexing

❖ Vocoders compress speech, reduce bit rate

❖ CDMA uses a superior Variable Rate Vocoder

� full rate during speech� low rates in speech pauses� increased capacity� more natural sound

❖ Voice, signaling, and user secondary data may be mixed in CDMA frames

DSP QCELP VOCODER

Codebook

PitchFilter

FormantFilter

Coded Result Feed-back

20ms Sample

Frame SizesbitsFull Rate Frame

1/2 Rate Frame1/4 Rt.1/836

72144288

Frame Contents: can be a mixture ofVoice Signaling Secondary

Page 24: CDMA Basics 101

Forward Power ControlForward Power Control

❖ The BTS continually reduces the strength of each user’s forward baseband chip stream

❖ When a particular handset sees errors on the forward link, it requests more energy

❖ The complainer’s chip stream gets a quick boost; afterward, continues to diminish

ForwardRF

BSC BTS (1 sector)

SyncPilot

Paging

more

Short PN

Trans-mitter,

Sector XΣΣΣΣ I QUser 1

User 2User 3Vocoder/

Selector

Help!

Page 25: CDMA Basics 101

Reverse Power ControlReverse Power Control

❖ Three methods work in tandem to equalize all handset signal levels at the BTS

� Reverse Open Loop: handset adjusts power up or down based on received BTS signal (AGC)

� Reverse Closed Loop: Is handset too strong? BTS tells up or down 1 db 800 times/second

� Reverse Outer Loop: BSC has FER trouble hearing handset? BSC adjusts BTS setpoint

RX RF

TX RF Digital

BTSBSC

SetpointBad FER?

Raise Setpoint

Stronger thansetpoint?

ReverseRF

800 bits per second

Occasionally,as needed Handset

OpenLoop

ClosedLoop

Digital

Page 26: CDMA Basics 101

What’s In a Handset?What’s In a Handset?

ReceiverRF SectionIF, Detector

TransmitterRF Section

Vocoder

Digital Rake Receiver

Traffic CorrelatorPN xxx Walsh xx

ΣΣΣΣTraffic CorrelatorPN xxx Walsh xx

Traffic CorrelatorPN xxx Walsh xx

Pilot SearcherPN xxx Walsh 0

Viterbi Dec.,Conv. Dec.,

DEMUX

CPUDuplexer

TransmitterDigital SectionLong Code Gen.

Open Loop

Transmit Gain Adjust

Messages

Messages

Audio

Audio

Packets

Symbols

SymbolsChips

RF

RF

AGC

Page 27: CDMA Basics 101

The Rake Receiver

❖ Every frame, handset uses combined outputs of the three traffic correlators (“rake fingers”)

❖ Each finger can independently recover a particular PN offset and Walsh code

❖ Fingers can be targeted on delayed multipathreflections, or even on different BTSs

❖ Searcher continuously checks pilots

Handset Rake Receiver

RF

PN Walsh

PN Walsh

PN Walsh

SearcherPN W=0

ΣVoice,Data,

Messages

Pilot Ec/Io

BTS

BTS

Page 28: CDMA Basics 101

CDMA Soft Handoff MechanicsCDMA Soft Handoff Mechanics

❖ CDMA soft handoff is driven by the handset� Handset continuously checks available pilots� Handset tells system pilots it currently sees� System assigns sectors (up to 6 max.), tells handset� Handset assigns its fingers accordingly� All messages sent by dim-and-burst, no muting!

❖ Each end of the link chooses what works best, on a frame-by-frame basis!

� Users are totally unaware of handoff

Handset Rake Receiver

RFPN Walsh

PN Walsh

PN Walsh

SearcherPN W=0

ΣVoice,Data,

Messages

Pilot Ec/Io

BTS

BSCMTX

BTS

Sel.

Page 29: CDMA Basics 101

Softer HandoffSofter Handoff

❖ Each BTS sector has unique PN offset & pilot ❖ Handset will ask for whatever pilots it wants❖ If multiple sectors of one BTS simultaneously

serve a handset, this is called Softer Handoff❖ Handset is unaware, but softer handoff

occurs in BTS in a single channel element❖ Handset can even use combination soft-softer

handoff on multiple BTS & sectors

Handset Rake Receiver

RFPN Walsh

PN Walsh

PN Walsh

SearcherPN W=0

ΣVoice,Data,

Messages

Pilot Ec/Io

BTS

BSCMTXSel.

Page 30: CDMA Basics 101

Pilot Sets and Soft Handoff ParametersPilot Sets and Soft Handoff Parameters

❖ Handset views pilots in sets❖ Handset sends message to

system whenever:� It notices a pilot in neighbor or

remaining set exceeds T_ADD� An active set pilot drops below

T_DROP for T_TDROP time� A candidate pilot exceeds an

active by T_COMP❖ Handoff setup processing

time usually <<1 second

65

Remaining

ActiveCandidateNeighbor 20

PILOT SETS

Max. M

embers

T_COMPT_ADD T_DROPT_TDROP

HANDOFF PARAMETERS

Page 31: CDMA Basics 101

Overall Handoff PerspectiveOverall Handoff Perspective

❖ Soft & Softer Handoffs are the best� but a handset can receive BTS/sectors

simultaneously only on one frequency � all involved BTS/sectors must connect to a single

BSC (the BSC must choose packets each frame)� frame timing must be same on all BTS/sectors

❖ If above not possible, handoff still can occur but will be “hard” like AMPS/TDMA/GSM

� intersystem handoff: hard� change-of-frequency handoff: hard� CDMA-to-AMPS handoff: hard, no handback

Ð auxiliary trigger mechanisms available

Page 32: CDMA Basics 101

CDMA Performance OptimizationCDMA Performance Optimization

❖ Key Performance Indicators and Objectives� Dropped Calls, Access Failures, system FER� Soft Handoff Percentage� Capacity

❖ Success comes from managing resources� Handoff: keep dynamics fast, delays short

Ð Neighbor lists well-optimized� RF Coverage: holes vs. excessive overlap� PN Planning, optimum Search Window sizes� Per-Cell anomalies: watch parameters for clues

Page 33: CDMA Basics 101

CDMA Mobile Analysis ToolsCDMA Mobile Analysis Tools

❖ Handset Maintenance Mode

❖ Real-Time Data Collection Tools

� Qualcomm MDM� Grayson WMI, Surveyor� Grayson Invex3G� Agilent Nitro, Viper� Comarco

318 2 94X A 7F

D

❖ Pilot Ec/Io❖ Finger Information❖ RX Level, TX Power

output, TX Gain Adjust, Forward FER

❖ Temporal Analyzer❖ Markov Call Statistics❖ Messaging Activity❖ Pilot Set Activity

Page 34: CDMA Basics 101

CDMA Network Analysis ToolsCDMA Network Analysis Tools

❖ Post-Processing Tools

� Actix Analyzer� Grayson Interpreter� Agilent OPAS� Nortel RFOptimizer

❖ OM Analysis Tools� Metrica Kingfisher

❖ Map Plots❖ Best Ec/Io, PN, FER,

handset RX & TX Powers, Transmit Gain Adjust, Number of active pilots

❖ Charts, Tables & Graphs❖ Handoff statistics (per-

neighbor tables), parameter distributions

❖ Access, Drop Call rates❖ Message Search/Analysis❖ Analysis of Anomalies

❖ Pre-drop parameters