Professional Documents
Culture Documents
CDMA Overview: By: Raj Pratap Singh
CDMA Overview: By: Raj Pratap Singh
Introduction
CMDAOne and CDMA2000 are the wireless standards proposed by 3GPP2. CDMAOne is a collective name given to IS95A, JSTD008 and IS95B. IS95A operates in the Cellular Band whereas the JSTD operates in the PCS band. Is95B is an upgrade to both these standards and operates in both bands. The point in favour of CDMA 1x is that it requires narrow band CDMA (1.25Mhz) to operate. In CDMA each user (the MS) is assigned a unique code (in radio environment terms, it is unique spreading waveform). This unique code distinguishes different users in the radio environment. Spreading the user waveform (small bit rate) with code (fast bit rate) is called Spread Spectrum. Spread Spectrum is accomplished before transmission through the use of a code that is independent of data sequences .The same code is used at the receiver to despread the received signal so that the original data sequence may be recovered.
Band of Operation
There are 2 CDMA common air interface standards: Cellular (824-894 MHz) - IS-95A PCS (1850-1990 MHz) - Joint-STD-008 Cellular Band 45 MHz spacing for forward & reverse channel Frequency assignments are on 30 kHz increments
PCS Band 80 MHz spacing for forward & reverse channel Frequency assignments are on 50 kHz increments
In Wireless communication we divide a whole geographical area into smaller chunks called cells. A single BS services each of these cells. These cells are grouped into groups of 3 7 cells to form a cluster. Groups of clusters are put under a single Base Station Controller (BSC). All the BSCs in PLMN are controlled by a MSC (Master Switching center).
Long PN Code: This code on the reverse link is used for spreading
meaning identifying the mobile station. It is 42-bit code. On the forward link it is used for data scrambling.
Continued...
Reverse Link: Reverse CDMA Channel consists of 242-1 logical
channels. One of the logical channels is permanently and uniquely associated with each MS. The channel does not change upon handoff. signaling information. Access channels are paired to Paging Channels. Each paging channel can have up to 32 access channels. These channels operate at 4800 bps.
individual users during their actual calls to transmit traffic to the BTS .
CALL PROCESSING
MS-Initialization State
MS-Idle state
The MS enters this state and listens to the Primary Paging Channel with the PRAT read from the Sync channel message.
Call Processing
Messages in CDMA
In CDMA, most call processing events are driven by messages Some CDMA channels exist for the sole purpose of carrying messages; they never carry users voice traffic
Sync Channel (a forward channel) Paging Channel (a forward channel) Access Channel (a reverse channel) On these channels, there are only messages, continuously all of the time Forward Traffic Channel Reverse Traffic Channel On these channels, most of the time is filled with traffic and messages are sent only when there is something to do
All CDMA messages have very similar structure, regardless of the channel on which they are sent
Sync Channel
Sync Channel Msg BTS
Paging Channel
Access Parameters Msg System Parameters Msg CDMA Channel List Msg Extended System Parameters Msg Extended Neighbor List Msg Global Service Redirection Msg Service Redirection Msg SSD Update Msg Null Msg General Page Msg
Base Station Acknowledgment Lock until Power-Cycled Maintenance required many others..
Access Channel
Registration Msg Order Msg
Mobile Station Acknowldgment Long Code Transition Request SSD Update Confirmation many others..
Order Msg
Channel Assignment Msg Feature Notification Msg Authentication Challenge Msg Status Request Msg TMSI Assignment Msg Data Burst Msg
Origination Msg Page Response Msg Authentication Challenge Response Msg Status Response Msg TMSI Assignment Completion Message Data Burst Msg
Alert With Information Msg Service Request Msg Service Response Msg Service Connect Msg Service Option Control Msg Status Request Msg Flash With Information Msg Data Burst Msg Extended Handoff Direction Msg Neighbor List Update Msg In-Traffic System Parameters Msg
Authentication Challenge Msg TMSI Assignment Msg Send Burst DTMF Msg Set Parameters Msg Power Control Parameters Msg. Retrieve Parameters Msg Analog Handoff Direction Msg SSD Update Msg Mobile Station Registered Msg
A
825
B
D B E F C
A
A D B
B
891.5
A
1850MHz.
E F
C
1990 MHz.
1910MHz.
1930MHz.
Mobile scans forward link frequencies: (Cellular or PCS, depending on model) History List Preferred Roaming List until a CDMA signal is found. NO CDMA?! power-saving standby mode
FREQUENCY LISTS:
HISTORY LIST
Last-used: Freq Freq Freq Freq Freq etc.
-20 Chips 0 PN 0
2. Put Rake finger(s) on strongest available PN, decode Walsh 32, and read Sync Channel Message Active Pilot
Rake Fingers
Reference PN
After reading the Sync Channel, the mobile is now capable of reading the Paging Channel, which it now monitors constantly Before it is allowed to transmit or operate on this system, the mobile must collect a complete set of configuration messages Collection is a short process -- all configuration messages are repeated on the paging channel every 1.28 seconds The configuration messages contain sequence numbers so the mobile can recognize if any of the messages have been freshly updated as it continues to monitor the paging channel Access parameters message sequence number
Configuration message sequence number If a mobile notices a changed sequence number, or if 600 seconds passes since the last time these messages were read, the mobile reads all of them again
32K 512
Keep Rake finger(s) on strongest available PN, decode Walsh 1, and monitor the Paging Channel
CDMA Channel List Msg Extended System Parameters Msg (*opt.) (Extended*) Neighbor List Msg Global Service Redirection Msg (*opt.)
98/05/24 23:14:11.126 [PCH] System Parameter Message MSG_LENGTH = 264 bits MSG_TYPE = System Parameters Message PILOT_PN = 168 Offset Index CONFIG_MSG_SEQ = 0 SID = 179 NID = 0 REG_ZONE = 0 TOTAL_ZONES = 0 ZONE_TIMER = 60 min MULT_SIDS = 0 MULT_NID = 0 BASE_ID = 8710 BASE_CLASS = Public Macrocellular PAGE_CHAN = 1 channel MAX_SLOT_CYCLE_INDEX = 0 HOME_REG = 0 FOR_SID_REG = 0 FOR_NID_REG = 1 POWER_UP_REG = 0 POWER_DOWN_REG = 0 PARAMETER_REG = 1 REG_PRD = 0.08 sec BASE_LAT = 00D00'00.00N BASE_LONG = 000D00'00.00E REG_DIST = 0 SRCH_WIN_A = 40 PN chips SRCH_WIN_N = 80 PN chips SRCH_WIN_R = 4 PN chips NGHBR_MAX_AGE = 0 PWR_REP_THRESH = 2 frames PWR_REP_FRAMES = 56 frames PWR_THRESH_ENABLE = 1 PWR_PERIOD_ENABLE = 0 PWR_REP_DELAY = 20 frames RESCAN = 0 T_ADD = -13.0 Db T_DROP = -15.0 dB T_COMP = 2.5 dB T_TDROP = 4 sec EXT_SYS_PARAMETER = 1 RESERVED = 0 GLOBAL_REDIRECT = 0
NEIGHBOR LIST
98/05/24 23:14:11.486 [PCH] Neighbor List Message MSG_LENGTH = 216 bits MSG_TYPE = Neighbor List Message PILOT_PN = 168 Offset Index CONFIG_MSG_SEQ = 0 PILOT_INC = 4 Offset Index NGHBR_CONFIG = 0 NGHBR_PN = 220 Offset Index NGHBR_CONFIG = 0 NGHBR_PN = 52 Offset Index NGHBR_CONFIG = 0 NGHBR_PN = 500 Offset Index NGHBR_CONFIG = 0 NGHBR_PN = 8 Offset Index NGHBR_CONFIG = 0 NGHBR_PN = 176 Offset Index NGHBR_CONFIG = 0 NGHBR_PN = 304 Offset Index NGHBR_CONFIG = 0 NGHBR_PN = 136 Offset Index NGHBR_CONFIG = 0 NGHBR_PN = 384 Offset Index NGHBR_CONFIG = 0 NGHBR_PN = 216 Offset Index NGHBR_CONFIG = 0 NGHBR_PN = 68 Offset Index NGHBR_CONFIG = 0 NGHBR_PN = 328 Offset Index NGHBR_CONFIG = 0 NGHBR_PN = 112 Offset Index RESERVED = 0
A sectors Paging Channel announces 1 (typ) to 32 (max) Access Channels: PN Long Code offsets for mobiles to use if accessing the system.
On the access channel, phones are not yet under BTS closed-loop power control! Phones access the BTS by probing at power levels determined by receive power and an open loop formula
For mobiles sending Registration, Origination, Page Responses Base Station always listening!
The Access Parameters message on the paging channel announces values of all related parameters
If probe not acknowledged by BTS within ACC_TMO (~400 mS.), phone will wait a random time (~200 mS) then probe again, stronger by PI db. There can be 15 max. (typ. 5) probes in a sequence and 15 max. (typ. 2) sequences in an access attempt most attempts succeed on first probe!
Call is Established!
Registration
Registration
Registration is the process by which an idle mobile lets the system know its awake and available for incoming calls
this allows the system to inform the mobiles home switch of the mobiles current location, so that incoming calls can be delivered registration also allows the system to intelligently page the mobile only in the area where the mobile is currently located, thereby eliminating useless congestion on the paging channels in other areas of the system There are many different conditions that could trigger an obligation for the mobile to register there are flags in the System Parameters Message which tell the mobile when it must register on the current system
Registration
SYSTEM PARAMETERS MESSAGE
18:26.826 [PCH] System Parameters Message Pilot_PN: 32 CONFIG_MSG_SEQ: 14 SID: 16420 NID: 0, REG_ZONE: 0 TOTAL_ZONES: 0 Zone timer length (min): 1 MULT_SIDS: 0 MULT_NIDS: 0 BASE_ID: 1618 BASE_CLASS: Reserved PAG_CHAN: 1 MAX_SLOT_CYCLE_INDEX: 2 HOME_REG: 1 FOR_SID_REG: 1 FOR_NID_REG: 1, POWER_UP_REG: 1 POWER_DOWN_REG: 1 PARAMETER_REG: 1 Registration period (sec): 54 Base station 00000.00 Lon., 00000.00 Lat. REG_DIST: 0 SRCH_WIN_A (PN chips): 28 SRCH_WIN_N (PN chips): 100, SRCH_WIN_R (PN chips): 130 NGHBR_MAX_AGE: 2 PWR_REP_THRESH: 2 PWR_REP_FRAMES (frames): 15 PWR_THRESH_ENABLE: 1 PWR_PERIOD_ENABLE: 0, PWR_REP_DELAY: 1 (4 frames) RESCAN: 0, T_ADD: -14.0dB T_DROP: -16.0dB T_COMP: 2.5dB, T_TDROP: 4s EXT_SYS_PARAMETER: 1 EXT_NGHBR_LIST: 1 GLOBAL_REDIRECT: 0
The System Parameters Message tells all mobiles when they should register. This mobile notices that it is obligated to register, so it transmits a Registration Message. REGISTRATION MESSAGE
16:18:27.144 Access Channel: Registration ACK_SEQ: 7 MSG_SEQ: 1 ACK_REQ: 1 VALID_ACK: 0 ACK_TYPE: 0 MSID_TYPE: 3, ESN: [0x 01 99 0d fc] MFR 1, Reserved 38, Serial Number 69116, IMSI: (Class: 0, Class_0_type: 1) [0x 01 8d 31 74 29 36] 00-416-575-0421 AUTH_MODE: 0 REG_TYPE: Timer-based SLOT_CYCLE_INDEX: 2 MOB_P_REV: 1 EXT_SCM: 1 SLOTTED_MODE: 1 MOB_TERM: 1
The base station confirms that the mobiles registration message was received. Were officially registered
Incoming Call
All idle mobiles monitor the paging channel to receive incoming calls. When an incoming call appears, the paging channel notifies the mobile in a General Page Message. A mobile which has been paged sends a Page Response Message on the access channel. The system sets up a traffic channel for the call, then notifies the mobile to use it with a Channel Assignment Message. The mobile and the base station notice each others traffic channel signals and confirm their presence by exchanging acknowledgment messages. The base station and the mobile negotiate what type of call this will be -- i.e., 13k voice, etc. The mobile is told to ring and given a calling line ID to display. When the human user presses the send button, the audio path is completed and the call proceeds.
The base station confirms that the mobiles page response was received. Now the mobile is waiting for channel assignment, expecting a response within 12 seconds.
Only about 400 ms. after the base station acknowledgment order, the mobile receives the channel assignment message.
The base station is already sending blank frames on the forward channel,using the assigned Walsh code. BASE STATION ACKNOWLEDGMENT
18:14:47.581 Forward Traffic Channel: Order ACK_SEQ: 7 MSG_SEQ: 0 ACK_REQ: 1 ENCRYPTION: 0 USE_TIME: 0 ACTION_TIME: 0 Base Station Acknowledgement Order
The mobile sees at least two good blank frames in a row on the forward channel, and concludes this is the right traffic channel. It sends a preamble of two blank frames of its own on the reverse traffic channel. MOBILE STATION ACKNOWLEDGMENT
18:14:47.598 Reverse Traffic Channel: Order ACK_SEQ: 0 MSG_SEQ: 0 ACK_REQ: 0 ENCRYPTION: 0 Mobile Station Acknowledgement Order
The mobile station acknowledges the base stations acknowledgment. Everybody is ready!
Now that both sides have arrived on the traffic channel, the base station proposes that the requested call actually begin. SERVICE CONNECT COMPLETE MSG.
18:14:47.835 Reverse Traffic Channel: Service Connect Completion ACK_SEQ: 1 MSG_SEQ: 3 ACK_REQ: 1 ENCRYPTION: 0 SERV_CON_SEQ: 0
The base station orders the mobile to ring, and gives it the calling partys number to display.
July, 1998
The Human Answers! Connect Order The mobile has been ringing for several
seconds. The human user finally comes over and presses the send button to answer the call. CONNECT ORDER
18:14:54.758 Reverse Traffic Channel: Order ACK_SEQ: 6 MSG_SEQ: 0 ACK_REQ: 1 ENCRYPTION: 0 Connect Order
Now the switch completes the audio circuit and the two callers can talk!
Outgoing Call
The mobile user dials the desired digits, and presses SEND. Mobile transmits an Origination Message on the access channel. The system acknowledges receiving the origination by sending a base station acknowledgement on the paging channel. The system arranges the resources for the call and starts transmitting on the traffic channel. The system notifies the mobile in a Channel Assignment Message on the paging channel. The mobile arrives on the traffic channel. The mobile and the base station notice each others traffic channel signals and confirm their presence by exchanging acknowledgment messages. The base station and the mobile negotiate what type of call this will be -- I.e., 13k voice, etc. The audio circuit is completed and the mobile caller hears ringing.
ORIGINATION MESSAGE
17:48:53.144 Access Channel: Origination ACK_SEQ: 7 MSG_SEQ: 6 ACK_REQ: 1 VALID_ACK: 0 ACK_TYPE: 0 MSID_TYPE: 3 ESN: [0x 00 06 98 24] MFR 0 Reserved 1 Serial Number 170020 IMSI: (Class: 0, Class_0_type: 0) [0x 03 5d b8 97 c2] 972-849-5073 AUTH_MODE: 0 MOB_TERM: 1 SLOT_CYCLE_INDEX: 2 MOB_P_REV: 1 EXT_SCM: 1 DualMode: 0 SLOTTED_MODE: 1 PowerClass: 0 REQUEST_MODE: CDMA only SPECIAL_SERVICE: 1 Service option: (6) Voice (13k) (0x8000) PM: 0 DIGIT_MODE: 0 MORE_FIELDS: 0 NUM_FIELDS: 11 Chari: 18008900829 NAR_AN_CAP: 0
The base station confirms that the origination message was received.
The base station sends a Channel Assignment Message and the mobile goes to the traffic channel.
The mobile sees at least two good blank frames in a row on the forward channel, and concludes this is the right traffic channel. It sends a preamble of two blank frames of its own on the reverse traffic channel. MOBILE STATION ACKNOWLEDGMENT
17:48:54.835 Reverse Traffic Channel: Order ACK_SEQ: 0 MSG_SEQ: 0 ACK_REQ: 0 ENCRYPTION: 0 Mobile Station Acknowledgment Order
The mobile station acknowledges the base stations acknowledgment. Everybody is ready!
Now that the traffic channel is working in both directions, the base station proposes that the requested call actually begin. SERVICE CONNECT COMPLETE MSG.
17:48:55.137 Reverse Traffic Channel: Service Connect Completion ACK_SEQ: 1, MSG_SEQ: 0, ACK_REQ: 1, ENCRYPTION: 0, SERV_CON_SEQ: 0
Now the switch completes the audio circuit and the two callers can talk!
End Call
Ending A Call
A normal call continues until one of the parties hangs up. That action sends a Release Order, normal release. The other side of the call sends a Release Order, no reason given. If a normal release is visible, the call ended normally. At the conclusion of the call, the mobile reacquires the system. Searches for the best pilot on the present CDMA frequency Reads the Sync Channel Message Monitors the Paging Channel steadily Several different conditions can cause a call to end abnormally: the forward link is lost at the mobile, and a fade timer acts the reverse link is lost at the base station, and a fade timer acts a number of forward link messages arent acknowledged, and the base station acts to tear down the link a number of reverse link messages arent acknowledged, and the mobile station acts to tear down the link
At the end of a normal call, this mobile user pressed end. The base station acknowledged receiving the message, then sent a release message of its own.
The mobile left the traffic channel, scanned to find the best pilot, and read the Sync Channel Message.
Feature Notification
FEATURE NOTIFICATION MESSAGE
98/06/30 21:16:44.368 [PCH] Feature Notification Message MSG_LENGTH = 144 bits MSG_TYPE = Feature Notification Message ACK_SEQ = 0 MSG_SEQ = 0 ACK_REQ = 1 VALID_ACK = 0 ADDR_TYPE = IMSI ADDR_LEN = 56 bits IMSI_CLASS = 0 IMSI_CLASS_0_TYPE = 3 RESERVED = 0 MCC = 302 IMSI_11_12 = 00 IMSI_S = 9055170325 RELEASE = 0 RECORD_TYPE = Message Waiting RECORD_LEN = 8 bits MSG_COUNT = 1 RESERVED = 0
The Feature Notification Message on the Paging Channel tells a specific mobile it has voice messages waiting. There are other record types to notify the mobile of other features.
MOBILE STATION ACKNOWLEDGMENT The mobile confirms it has received the notification by sending a Mobile Station Acknowledgment Order on the access channel.