CDMA (Part 2) kaiser.juniv.edu.

Slides:



Advertisements
Similar presentations
Chapter Thirteen: Multiplexing and Multiple- Access Techniques.
Advertisements

Signal Encoding Techniques
Source coding and Channel coding
Spread Spectrum Chapter 7.
Spread Spectrum Chapter 7. Spread Spectrum Input is fed into a channel encoder Produces analog signal with narrow bandwidth Signal is further modulated.
Multiple Access Techniques for wireless communication
April 25, 2005ECE 457 Cellular Communication ECE 457 Spring 2005.
Lecture 8: Spread Spectrum
4. Cellular Systems: Multiple Access and Interference Management Fundamentals of Wireless Communication, Tse&Viswanath 1 4. Cellular Systems: Multiple.
CDMA Technology Overview
II. Medium Access & Cellular Standards. TDMA/FDMA/CDMA.
1 CMPT 371 Data Communications and Networking Spread Spectrum.
Wireless & Mobile Networking: Multiple Division Techniques
CDMA Technology OverviewFebruary, Page 1-1 CDMA Technology Overview Lesson 1 – CDMA Basics.
Multiplexing.
CDMA Technology Overview
1 Introduction to. 2 Contents: DEFINITION OF SPREAD SPECTRUM ( SS ) CHARACTERISTICS OF SPREAD SPECTRUM BASIC PRINCIPLES OF DIRECT SEQUENCE SPREAD SPECTRUM.
Lecture 8: Spread Spectrum
An Introduction to CDMA Air Interface: IS-95A
Signal Encoding, Spread Spectrum. Basic Encoding Techniques Digital data to analog signal Amplitude-shift keying (ASK) Amplitude difference of carrier.
1 Chapter 7. Spread Spectrum Wen-Shyang Hwang KUAS EE.
CDMA TECHNOLOGY DEFINITION OF CDMA TECHNOLOGY A coding scheme, used as a modulation technique, in which multiple channels are independently coded for.
ECE 4710: Lecture #13 1 Bit Synchronization  Synchronization signals are clock-like signals necessary in Rx (or repeater) for detection (or regeneration)
Stallings, Wireless Communications & Networks, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Multiple Access Techniques.
Code Division Multiple Access (CDMA) Transmission Technology
Stallings, Wireless Communications & Networks, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Spread Spectrum Chapter.
1 Wireless Networks Lecture 19 cdmaOne/IS-95 Dr. Ghalib A. Shah.
Outline  Introduction (Resource Management and Utilization).  Compression and Multiplexing (Other related definitions).  The Most Important Access Utilization.
DATA AND COMPUTER COMMUNICATIONS Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 9 – Spread Spectrum.
6.1 Chapter 6 Bandwidth Utilization: Multiplexing and Spreading Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Transmission Techniques Traffic channels: different users are assigned unique code and transmitted over the same frequency band, for example, WCDMA and.
The Cellular Concept and Its Implementations. The Cellular Concept The cellular concept was developed and introduced by the Bell Laboratories in the early.
SPREAD SPECTRUM AND MULTIPLE ACCESS. Consider a situation There is a big gathering You and your friend are attending You want to communicate something.
Bandwidth Utilization: Multiplexing and Spreading
William Stallings Data and Computer Communications 7th Edition
CSE 5345 – Fundamentals of Wireless Networks
Advanced Wireless Communication Systems
Multiple Access Techniques for Wireless Communication
Outline Introduction Type of Multiplexing FDMA TDMA CDMA Future Work
244-6: Higher Generation Wireless Techniques and Networks
Bandwidth Utilization
Subject Name: Digital Communication Subject Code: 10EC61
Advanced Wireless Networks
Bandwidth Utilization
Chapter 6 Bandwidth Utilization: Multiplexing and Spreading
Bandwidth Utilization
Bandwidth Utilization: Multiplexing and Spreading
Wireless & Mobile Networking: Multiple Division Techniques
Introduction to electronic communication systems
Overview Communication is the transfer of information from one place to another. This should be done - as efficiently as possible - with as much fidelity/reliability.
Coding Methods in CDMA.
Spread Spectrum Chapter 7.
Chapter 4: Digital Transmission
Chapter 9 Science and Technology Tutorials
Chapter 6 North American Cellular System Based on Code Division Multiple Access 2018/9/16 Peter Yeh.
CDMA BASIC PRINCIPLE
CDMA Technology Overview
Dr. Clincy Professor of CS
CDMA Theory.
EEC4113 Data Communication & Multimedia System Chapter 3: Broadband Encoding by Muhazam Mustapha, October 2011.
Code Division Multiple Access(CDMA)
Wireless Networks Fall 2007
Spread Spectrum Chapter 7.
William Stallings Data and Computer Communications 7th Edition
Cellular Telephone Networks
Analog Transmission Example 1
Multiplexing and Demultiplexing
An Introduction to CDMA Air Interface: IS-95A
Multiplexing Simultaneous transmission of multiple signals across a single data link As data & telecomm use increases, so does traffic Add individual links.
William Stallings Data and Computer Communications 7th Edition
Presentation transcript:

CDMA (Part 2) kaiser.juniv.edu

Multiple Access Types of Media -- Examples: Twisted pair - copper Each pair of users enjoys a dedicated, private circuit through the transmission medium, unaware that the other users exist. Since the beginning of telephony and radio, system operators have tried to squeeze the maximum amount of traffic over each circuit. Multiple Access: Simultaneous private use of a transmission medium by multiple, independent users. Transmission Medium Types of Media -- Examples: Twisted pair - copper Coaxial cable Fiber optic cable Air interface (radio signals) Advantages of Multiple Access Increased capacity: serve more users Reduced capital requirements since fewer media can carry the traffic Decreased per-user expense Easier to manage and administer 11/7/2018

Channels FDMA TDMA CDMA FDMA Frequency Division Multiple Access Time Power FDMA TDMA CDMA Channel: An individually-assigned, dedicated pathway through a transmission medium for one user’s information. The transmission medium is a resource that can be subdivided into individual channels according to the technology used. FDMA Frequency Division Multiple Access Each user on a different frequency A channel is a frequency TDMA Time Division Multiple Access Each user on a different window period in time (“time slot”) A channel is a specific time slot on a specific frequency CDMA Code Division Multiple Access A channel is a unique code pattern Each user uses the same frequency all the time, but mixed with different distinguishing code patterns 11/7/2018

Defining Our Terms CDMA Channel or CDMA Carrier or CDMA Frequency Duplex channel made of two 1.25 MHz-wide bands of electromagnetic spectrum, one for Base Station to Mobile Station communication (called the FORWARD LINK or the DOWNLINK) and another for Mobile Station to Base Station communication (called the REVERSE LINK or the UPLINK) In 800 Cellular these two simplex 1.25 MHz bands are 45 MHz apart In 1900 MHz PCS they are 80 MHz apart CDMA Forward Channel 1.25 MHz Forward Link CDMA Reverse Channel 1.25 MHz Reverse Link CDMA Code Channel Each individual stream of 0’s and 1’s contained in either the CDMA Forward Channel or in the CDMA Reverse Channel Code Channels are characterized (made unique) by mathematical codes Code channels in the forward link: Pilot, Sync, Paging and Forward Traffic channels Code channels in the reverse link: Access and Reverse Traffic channels 45 or 80 MHz CDMA CHANNEL CDMA Reverse Channel 1.25 MHz Forward 11/7/2018

CDMA Is a Spread-Spectrum System Spread Spectrum Payoff: Processing Gain Spread Spectrum TRADITIONAL COMMUNICATIONS SYSTEM Slow Information Sent TX Recovered RX Narrowband Signal SPREAD-SPECTRUM SYSTEM Fast Spreading Sequence Wideband Signal Traditional technologies try to squeeze the signal into the minimum required bandwidth Direct-Sequence Spread spectrum systems mix their input data with a fast spreading sequence and transmit a wideband signal The spreading sequence is independently regenerated at the receiver and mixed with the incoming wideband signal to recover the original data 11/7/2018

What is Spread Spectrum SOURCE DESTINATION Spreading Sequence Input Data Recovered Spread Data Stream Definition:Spread spectrum technique ,employ a transmission bandwidth that is several orders of magnitude greater than the minimum required signal bandwidth. Sender combines data with a fast spreading sequence,transmits spread data stream Receiver intercepts the stream,uses same spreading sequence to extract original data 11/7/2018

Spread Process Digital Signal Spreading Signal Spreading Code -1 1 1 11/7/2018

De-spread Process -1 1 -1 1 1 -1 1 -1 -1 -1 -1 -1 1 1 1 1 -1 1 -1 1 1 spreading -1 1 -1 1 1 -1 1 -1 -1 -1 -1 -1 1 1 1 1 -1 1 -1 1 1 -1 1 -1 1 -1 1 -1 1 1 1 1 -4 4 -1 1 Adjudge Integrator 11/7/2018

Spread Spectrum Principles SHANON Formula C=B*log2(1+S/N) Where, C is capacity of channel, b/s B is signal bandwidth, Hz S is average power for signal N is average power for noise It is the landmark paper of information theory, a mathematical theory of spectrum communication. 11/7/2018

How DSSS Spectrum Change User 1 Code 1 Composite Time Frequency + = Direct Sequence CDMA 11/7/2018

Spectrum Variation of Spread & De-spread Signal Spectrum Before Decoding Signal Spectrum Before SS S(f) f0 Signal Signal Spectrum after SS Signal Spectrum After Decoding Noise Signal Pulse Noise Other Noise 11/7/2018

Illustration to SS Principle(1) 1.25 MHz 9.6 KHz Power is “Spread” Over a Larger Bandwidth MATH HAMMER MATH HAMMER 11/7/2018

Illustration to SS Principle(2) Many code channels are individually “spread” and then added together to create a “composite signal” 11/7/2018

Illustration to SS Principle(3) UNWANTED POWER FROM OTHER SOURCES Using the “right” mathematical Sequences, any Code Channel can be extracted from the received composite signal Eb/No PG 11/7/2018

Spectrum Usage and Capacity: Each wireless technology (AMPS, NAMPS, D-AMPS, GSM, CDMA) uses a specific modulation type with its own unique signal characteristics The total traffic capacity of a wireless system is determined largely by radio signal characteristics and RF design RF signal vulnerability to Interference dictates how much interference can be tolerated, and therefore how far apart same-frequency cells must be spaced For a specific S/N level, the Signal Bandwidth determines how many RF signals will “fit” in the operator’s licensed spectrum AMPS, D-AMPS, N-AMPS CDMA 30 10 kHz 200 kHz 1250 kHz 1 3 1 Users 8 Users 20 Users 2 4 5 6 7 Typical Frequency Reuse N=7 Typical Frequency Reuse N=4 Typical Frequency Reuse N=1 Vulnerability: C/I @ 17 dB C/I @ 12-14 dB Eb/No @ 6--7 dB GSM 17 dB = 101.7 @ 50 14 dB = 101.4 @ 25 12 dB = 101.2 @ 16 11/7/2018

Relationship Between Eb/N0 and S/N Signal Power Bit Rate S R E / t B / t Noise Power Bandwidth N W Eb = N0 = = = = Signal to Noise S R N W Eb N0 = S R W N X S N W R X = = Processing Gain W 1,250,000 8 Kb vocoder (Full Rate) 10 2.11 = = 130 = = 21.1 dB R 9,600 W 1,250,000 13 Kb vocoder (Full Rate) 10 1.94 = = 87 = = 19.4 dB R 14,400 11/7/2018

CDMA Spreading Principle Using Multiple Codes Sequence A B C Input Data X Recovered X+A X+A+B X+A+B+C Spread-Spectrum Chip Streams ORIGINATING SITE DESTINATION Multiple spreading sequences can be applied in succession and then reapplied in opposite order to recover the original data stream. The spreading sequences can have different desired properties. All spreading sequences originally used must be available in proper synchronization at the recovering destination. 11/7/2018

Advantages of Spread Spectrum Avoid interference arising from jamming signal or multi-path effects SS and demodulation, noise is suppressed and filtered resist intercept and capture: difficult to detect Achieve Privacy: Difficult to demodulate Implement Multiple Access Improve Frequency Reuse Enlarge Capacity 11/7/2018

Discriminating Among Forward Code Channels Sync Pilot FW Traffic (for user #1) Paging (for user #2) (for user #3) A Mobile Station receives a Forward Channel from a sector in a Base Station. The Forward Channel carries a composite signal of up to 64 forward code channels. Some code channels are traffic channels and others are overhead channels. A set of 64 mathematical codes is needed to differentiate the 64 possible forward code channels. The codes in this set are called “Walsh Codes” 11/7/2018

Discriminating Among Base Station Up to 64 Code Channels A mobile Station is surrounded by Base Stations, all of them transmitting on the same CDMA Frequency. Each Sector in each Base Station is transmitting a Forward Traffic Channel containing up to 64 forward code channels. A Mobile Station must be able to discriminate between different Sectors of different Base Stations. Two binary digit sequences called the I and Q Short PN Sequences (or Short PN Codes) are defined for the purpose of identifying sectors of different base stations. These Short PN Sequences can be used in 512 different ways in a CDMA system. Each one of them constitutes a mathematical code which can be used to identify a particular sector. 11/7/2018

Discriminating Among Reverse Code Channels RV Traffic from M.S. #1837732008 #1997061104 #1994011508 System Access Attempt by M.S. #2000071301 (on access channel #1) The CDMA system must be able to identify each Mobile Station that may attempt to communicate with a Base Station. A very large number of Mobile Stations will be in the market. One binary digit sequence called the Long PN Sequence (or Long PN Code) is defined for the purpose of uniquely identifying each possible reverse code channel. This sequence is extremely long and can be used in trillions of different ways. Each one of them constitutes a mathematical code which can be used to identify a particular user (and is then called a User Long Code) or a particular “user Reverse Traffic channel”. 11/7/2018

CDMA Spread Code Selection Walsh Codes Short PN Sequences Long PN Sequences Type of Sequence Mutually Orthogonal Orthogonal with itself at any time shift value except 0 near-orthogonal if shifted Special Properties 64 2 1 How Many 64 chips 1/19,200 sec. 32,768 chips 26-2/3 ms 75x in 2 sec. 242 chips ~41 days Length Orthogonal Modulation (information carrier) Quadrature Spreading (Zero offset) Distinguish users Reverse Link Function User identity within cell’s signal Distinguish Cells & Sectors Data Scrambling to avoid strings of 1’s or 0’s Forward Link Function 11/7/2018

Definition of Walsh code Walsh function is formed by recursion relationship of Hadamard matrix. Hadamard matrix is an orthogonal square matrix.It is just composed of +1(0) and –1(1). H n 2n = ___ 1 11/7/2018

Correlation of Walsh Code #23 with Walsh Code #59 Walsh Codes 64 Sequences, each 64 chips long A chip is a binary digit (0 or 1) Each Walsh Code is Orthogonal to all other Walsh Codes This means that it is possible to recognize and therefore extract a particular Walsh code from a mixture of other Walsh codes which are “filtered out” in the process Two same-length binary strings are orthogonal if the result of XORing them has the same number of 0s as 1s WALSH CODES # ---------------------------------- 64-Chip Sequence ------------------------------------------ 0 0000000000000000000000000000000000000000000000000000000000000000 1 0101010101010101010101010101010101010101010101010101010101010101 2 0011001100110011001100110011001100110011001100110011001100110011 3 0110011001100110011001100110011001100110011001100110011001100110 4 0000111100001111000011110000111100001111000011110000111100001111 5 0101101001011010010110100101101001011010010110100101101001011010 6 0011110000111100001111000011110000111100001111000011110000111100 7 0110100101101001011010010110100101101001011010010110100101101001 8 0000000011111111000000001111111100000000111111110000000011111111 9 0101010110101010010101011010101001010101101010100101010110101010 10 0011001111001100001100111100110000110011110011000011001111001100 11 0110011010011001011001101001100101100110100110010110011010011001 12 0000111111110000000011111111000000001111111100000000111111110000 13 0101101010100101010110101010010101011010101001010101101010100101 14 0011110011000011001111001100001100111100110000110011110011000011 15 0110100110010110011010011001011001101001100101100110100110010110 16 0000000000000000111111111111111100000000000000001111111111111111 17 0101010101010101101010101010101001010101010101011010101010101010 18 0011001100110011110011001100110000110011001100111100110011001100 19 0110011001100110100110011001100101100110011001101001100110011001 20 0000111100001111111100001111000000001111000011111111000011110000 21 0101101001011010101001011010010101011010010110101010010110100101 22 0011110000111100110000111100001100111100001111001100001111000011 23 0110100101101001100101101001011001101001011010011001011010010110 24 0000000011111111111111110000000000000000111111111111111100000000 25 0101010110101010101010100101010101010101101010101010101001010101 26 0011001111001100110011000011001100110011110011001100110000110011 27 0110011010011001100110010110011001100110100110011001100101100110 28 0000111111110000111100000000111100001111111100001111000000001111 29 0101101010100101101001010101101001011010101001011010010101011010 30 0011110011000011110000110011110000111100110000111100001100111100 31 0110100110010110100101100110100101101001100101101001011001101001 32 0000000000000000000000000000000011111111111111111111111111111111 33 0101010101010101010101010101010110101010101010101010101010101010 34 0011001100110011001100110011001111001100110011001100110011001100 35 0110011001100110011001100110011010011001100110011001100110011001 36 0000111100001111000011110000111111110000111100001111000011110000 37 0101101001011010010110100101101010100101101001011010010110100101 38 0011110000111100001111000011110011000011110000111100001111000011 39 0110100101101001011010010110100110010110100101101001011010010110 40 0000000011111111000000001111111111111111000000001111111100000000 41 0101010110101010010101011010101010101010010101011010101001010101 42 0011001111001100001100111100110011001100001100111100110000110011 43 0110011010011001011001101001100110011001011001101001100101100110 44 0000111111110000000011111111000011110000000011111111000000001111 45 0101101010100101010110101010010110100101010110101010010101011010 46 0011110011000011001111001100001111000011001111001100001100111100 47 0110100110010110011010011001011010010110011010011001011001101001 48 0000000000000000111111111111111111111111111111110000000000000000 49 0101010101010101101010101010101010101010101010100101010101010101 50 0011001100110011110011001100110011001100110011000011001100110011 51 0110011001100110100110011001100110011001100110010110011001100110 52 0000111100001111111100001111000011110000111100000000111100001111 53 0101101001011010101001011010010110100101101001010101101001011010 54 0011110000111100110000111100001111000011110000110011110000111100 55 0110100101101001100101101001011010010110100101100110100101101001 56 0000000011111111111111110000000011111111000000000000000011111111 57 0101010110101010101010100101010110101010010101010101010110101010 58 0011001111001100110011000011001111001100001100110011001111001100 59 0110011010011001100110010110011010011001011001100110011010011001 60 0000111111110000111100000000111111110000000011110000111111110000 61 0101101010100101101001010101101010100101010110100101101010100101 62 0011110011000011110000110011110011000011001111000011110011000011 63 0110100110010110100101100110100110010110011010010110100110010110 EXAMPLE: Correlation of Walsh Code #23 with Walsh Code #59 #23 0110100101101001100101101001011001101001011010011001011010010110 #59 0110011010011001100110010110011010011001011001100110011010011001 XOR 0000111111110000000011111111000011110000000011111111000000001111 Correlation Results: 32 1’s, 32 0’s: Orthogonal!! 11/7/2018

Correlation and Orthogonality Code #23 0110100101101001100101101001011001101001011010011001011010010110 –(Code #23) 1001011010010110011010010110100110010110100101100110100101101001 Code #59 0110011010011001100110010110011010011001011001100110011010011001 PARALLEL XOR: all 0s Correlation: 100% (100% match) ORTHOGONAL XOR: half 0s, half 1s Correlation: 0% (50% match, 50% no-match) ANTI-PARALLEL XOR: all 1s Correlation: –100% (100% no-match) #23 –(#23) #59 Correlation is a measure of the similarity between two binary strings 11/7/2018

Properties of the Walsh Codes When a Walsh code is XORed chip by chip with itself, the result is all 0’s (100% correlation) When a Walsh code is XORed chip by chip with its logical negation, the result is all 1’s (–100% correlation) When a Walsh code is XORed chip by chip with any other code or its logical negation, the result is half 0’s and half 1’s (0% correlation) 0 0 0 0 0 1 0 1 0 0 1 1 0 1 1 0 1 1 1 1 1 0 1 0 1 1 0 0 1 0 0 1 11/7/2018

Walsh Code Table 0 1 2 3 4 5 6 7 1 1 8 9 0 1 1 1 1 1 2 3 4 5 6 7 8 9 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 5 5 5 5 5 5 6 6 6 6 1 2 3 0 0 0 0 0 1 0 1 0 0 1 1 0 1 1 0 4 5 6 7 1 0 1 0 1 1 0 0 1 0 0 1 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 11/7/2018

the Application of Walsh code 64-rank Walsh code Forward Link: spread spectrum and indicate forward channel Backward Link: Orthogonal modulation 11/7/2018

PN Sequence Similar with noise sequence property Seemingly like random sequence,but it is regular and periodic binary code sequence 11/7/2018

m Sequence Definition m sequence is an important binary pseudo noise sequence m sequence is the short term of “Maximal-Length linear feedback shift register sequence” Definition:If the output sequence period of r-stage linear feedback shift register is P=2r – 1,Then this sequence is m sequence m sequence generator consists of three parts:shift register, modulo-2 Adder, feedback path 11/7/2018

Four-Stage Linear Feedback Shift Register + Modulo-2 Adder X1 X2 X3 X4 Output Clock Pulse Output + X=X1 X2 X3 X4=10001001101011110 We suppose the initial state of the register X1X2X3X4=0001 11/7/2018

Orthogonal Orthogonal Definition Orthogonal From the standpoint of mathematics,two lines plumb each other From the standpoint of analogical,compare with two random line or row,if the number of the same digits and different digits are equal,we call it orthogonal. In CDMA system,in order to protect less interference between signals,signals between each other should be orthogonal Sequence 1: 1 0 0 1 1 0 0 0 Orthogonal Sequence 2: 0 0 1 1 0 0 0 1 11/7/2018

Self-correlation & Cross-correlation Self-correlation refers to the degree of correspondence or comparability between a sequence and a phase-shifted replica of itself In CDMA system,should select the good Autocorrelation code to insure demodulation and distinguish at the receiver side Cross-Correlation refers to the correlation or comparability between two different signals In CDMA system,different user should select less Cross-correlation signal as a code 11/7/2018

Two conceptions Mask: Phase: Different mask can make the different phase for m sequence. In CDMA system,the mask of different user is calculated by the ESN in the mobile phone Phase: Different phase of difference sequence identify different base station and user 11/7/2018

The basic property of m sequence Pseudo noise sequence Period :P=2r-1,r is the stage of shift register When the period is very long, m sequence is almost orthogonal The self correlation of m sequence is very well but the cross correlation is weak.That means if two m sequence with different phase,it is almost orthogonal 11/7/2018

Short PN Sequences The two Short PN Sequences, I and Q, are 32,768 chips long I Q 32,768 chips long 26 2/3 ms. (75 repetitions in 2 sec.) 100% Correlation: All bits = 0 Short PN Sequence vs. Itself @ 0 Offset Orthogonal: 16,384 1’s + 16,384 0’s Short PN Sequence vs. Itself @ Any Offset Unique Properties: Together, they can be considered a two-dimensional binary “vector” with distinct I and Q component sequences, each 32,768 chips long Each Short PN Sequence (and, as a matter of fact, any sequence) correlates with itself perfectly if compared at a timing offset of 0 chips Each Short PN Sequence is special: Orthogonal to a copy of itself that has been offset by any number of chips (other than 0) 11/7/2018

Short PN: 4-bits register example 1 p1 p2 p3 p4 p5 p5 = p1 + p4 The PN sequences are deterministic and periodic. The length of the generated string is 2n-1, where “n” is the number of elements in the register The number of zeroes in the sequence is equal to the number of ones minus 1 11/7/2018

Long Code Register (@ 1.2288 MCPS) The Long PN Sequence Long Code Register (@ 1.2288 MCPS) Public Long Code Mask (STATIC) User Long Code Sequence (@1.2288 MCPS) 1 P E R M U T D S N AND = Modulo-2 Addition Each mobile station uses a unique User Long Code Sequence generated by applying a mask, based on its 32-bit ESN, to the 42-bit Long Code Generator which was synchronized with the CDMA system during the mobile station initialization. Generated at 1.2288 Mcps, this sequence requires 41 days, 10 hours, 12 minutes and 19.4 seconds to complete. Portions of the User Long Codes generated by different mobile stations for the duration of a call are not exactly orthogonal but are sufficiently different to permit reliable decoding on the reverse link. 11/7/2018

Long PN:4-bits shift register example 1 Original PN sequence XOR mask AND AND AND AND XOR) New PN sequence Attention:different mask lead to different offset! 11/7/2018

PN code application in CDMA PN code used in CDMA system Long code:242 – 1 (r = 42) Short code:215 (r = 15) Different purpose ---Forward channel long code : scramble short code :orthogonal modulation and identify base station ---Reverse channel long code :spread spectrum and identify user short code :orthogonal modulation 11/7/2018

CDMA Communication Model Information Stream Speech Coding Channel Coding Scramble Spread Spectrum Modulation RF transmit Channel decoding De-scramble Speech decoding De-spread Spectrum De-Modulation RF receive Information Stream 11/7/2018

Coding Technology In Digital communication coding technology,include two types: Speech coding is critical to digital transmission.CDMA system use an efficient method of speech coding and extensive error recovery techniques to overcome the harsh nature of the radio channel. The objective of speech coding is not only to maintain speech quality but also to reduce the quantity of transmitting data. Channel coding usually falls into two classes:Block interleaver codes and Convolutional codes. The objective of channel coding is adding additional supervising bits in the information stream to ensure get correct signal at receive side. 11/7/2018

Speech Coding A-to-D C O N V E R T 64 Kbps D “Codebook” Instruction 8Kbps MTX Speech coding algorithms (digital compression) are necessary to increase cellular system capacity. Coding must also ensure reasonable fidelity, that is, a maximum level of quality as perceived by the user. Coding can be performed in a variety of ways (for example, waveform, time or frequency domain). Vocoders transmit parameters which control reproduction of voice instead of the explicit, point-by-point waveform description. 11/7/2018

Variable Rate Vocoding 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 Pitch Filter Formant Coded Result Feed- back 20ms Sample 11/7/2018

Variable Rate Vocoding Rate Set 2 Frame Sizes bits Full Rate Frame 1/2 Rate Frame 1/4 Rt. 1/8 36 72 144 288 Rate Set 1 Frame Sizes 24 48 96 192 The output is 20 ms frames at fixed rates: Full Rate, 1/2 Rate , 1/4 Rate , 1/8 Rate, & Blank CRC is added to all the frames for the 13 kb vocoder, but only to the Full and 1/2 rate frames for the 8 kb vocoder. CRC is not added to the lower rate frames in the 8 kb vocoder, but that is ok because they consist mostly of background noise and have a higher processing gain. Current vocoder rates are 8kbps, 13kbps, and 8kbps EVRC (Enhanced Variable Rate Coder) 11/7/2018

Variable Rate Voice Bit and PCM Where is Vocoder? BTS BSC MSC Analog voice Variable Rate PCM 11/7/2018

Convolutional Coding & Interleaving Convolutionally Encoded: Interleaving Method Convolutional Coding & Interleaving Example: Bits to be Txed: HELLO FOLKS Hello… Convolutional Encode Convolutionally Encoded: HHEELLLLOO FFOOLLKKSS Interleaver Interleaved: ELSOLHLOFK LEOLSHOLKF Bits Rxed: EL SOL HLOFK LEOLSHOLKF De-Interleaver De-Interleaved: HHEELLL – OO FFO – LLKK- S Decoder Viterbi Decoded: HELLO FOLKS 11/7/2018

Channel Coding -Convolutional Encoder From this figure: Constraint length(K) = 4 Code length(N) =3 Code rate=1/3 Constraint length(K) = Shift Register Number + 1 Code length(N) = input information bit + supervising bit Code rate(R) = input information bit/code length 11/7/2018

Channel Coding -Block Interleaver Encoder Block Interleaver principle:input according to row and output according to columns For example: An Origination stream 1 1 0 1 0 0 1 1 0 1 0 0 1 1 1 0,arrange in 4 by 4 matrix 1 1 0 1 0 0 1 1 0 1 0 0 1 1 1 0 1 x 0 1 0 x 1 1 0 x 0 0 1 x 1 0 The 384 modulation symbols in a frame are input into a 24 by 16 block interleave array read down by columns, from left to right The modulation symbols are then read out of the array in rows Row by Columns Left matrix is transmitting matrix, input/write according to row and output/read according to columns,Before receiving,one column has been interferenced. Right matrix is receiving matrix, input/write according to columns and output/read according to rows Interference sequence: 1 0 0 1 x x x x 0 1 0 1 1 1 0 0 Output from receiver matrix:1 x 0 1 0 x 1 1 0 x 0 0 1 x 1 0 11/7/2018

Convolutional Encoder & Interleaver Encoder Convolutional Encoder: increase the reliability but reduce the transmitting efficiency,because each code stream adds supervising bit for rectified Block Interleaver Encoder: not change the efficiency but have some delays,because the transmitter and receiver must process to writing first and then reading 11/7/2018

Scramble The paging channel also includes many import information such as user’s IMSI,In order to keep the user’s information secret ,we use the data scrambling. 11/7/2018

Spread Spectrum Spread code rate: 1.2288Mcps Spread code Forward Link:Walsh code Reverse Link: Long PN code 11/7/2018

Modulation-QPSK&OQPSK Walsh Function 1.2288 Mcps 19.2 ksps from Power Control Mux I-Channel Pilot PN Sequence 1.2288 Mcps Baseband Filter I Q S Q-Channel Pilot PN Sequence cos(2pfct) sin(2pfct) G A I N The forward traffic channel is combined with two different PN sequences: “I” and “Q” Baseband filtering ensures the waveforms are contained within the 1.25 MHz frequency range The final step is to convert the two baseband signals to radio frequency (RF) in the 800 MHz or 1900 MHz range 11/7/2018