Professional Documents
Culture Documents
1 2 3 4 5 6
AT Command CDMA Basics GSM Basics UMTS Basics FT Concepts Agilent 8960
know-how & Tools Hands-On
1
AT Commands
Know How
Training Agenda
1 4 7
What is AT Types of AT Sample
Command commands Command
3 6 9
Useful during the phase of development when the keypad & display features are
not integrated
Specific to OEMs
Run MS HyperTerminal by selecting Start -> Programs -> Accessories -> Communications ->
HyperTerminal.
In the Connection Description dialog box, enter a name and choose an icon you like for the
connection. Then click the OK button.
In the Connect To dialog box, choose the COM port that your mobile phone or
GSM/GPRS modem is connecting to in the Connect using combo box. For example,
choose COM1 if your mobile phone or GSM/GPRS modem is connecting to the COM1
port. Then click the OK button.
The Properties dialog box comes out. Enter the correct port settings for your
mobile phone or GSM/GPRS modem. Then click the OK button.
Type "AT" in the main window. A response "OK" should be returned from the mobile
phone or GSM/GPRS modem.
If you get the responses above, your mobile phone or GSM/GPRS modem is working
properly. You can start typing your own AT commands to control the mobile phone
or GSM/GPRS modem.
Get basic information about the mobile phone or GSM/GPRS modem. For example,
name of manufacturer (AT+CGMI), model number (AT+CGMM), IMEI number
(International Mobile Equipment Identity) (AT+CGSN) and software version
(AT+CGMR).
Get basic information about the subscriber. For example, MSISDN (AT+CNUM) and
IMSI number (International Mobile Subscriber Identity) (AT+CIMI).
Get the current status of the mobile phone or GSM/GPRS modem. For example,
mobile phone activity status (AT+CPAS), mobile network registration status
(AT+CREG), radio signal strength (AT+CSQ), battery charge level and battery
charging status (AT+CBC).
Get or change the configurations of the mobile phone or GSM/GPRS modem. For
example, change the GSM network (AT+COPS), bearer service type (AT+CBST),
radio link protocol parameters (AT+CRLP), SMS center address (AT+CSCA) and
storage of SMS messages (AT+CPMS).
Confidential | Copyright © Larsen
Basic Commands and Extended Commands
There are two types of AT commands: basic commands and extended commands.
Basic commands are AT commands that do not start with "+". For example, D (Dial),
A (Answer), H (Hook control) and O (Return to online data state) are basic
commands.
Extended commands are AT commands that start with "+". All GSM AT commands
are extended commands. For example, +CMGS (Send SMS message), +CMSS (Send
SMS message from storage), +CMGL (List SMS messages) and +CMGR (Read SMS
messages) are extended commands.
The OK Final Result Code indicates that a command line has been executed
successfully by the GSM/GPRS modem or mobile phone. It always starts and ends
with a carriage return character and a linefeed character.
Eg: “Suppose you send a AT command to list SMS messages stored in the message storage area
and another AT command to get the manufacturer name of the GSM/GPRS modem. If everything
works properly without any errors, the command line, together with the response returned,
should be something similar to this
AT+CMGL;+CGMI
+CMGL: 1,"REC UNREAD","+85291234567",,"06/11/11,00:30:29+32"
Welcome to our SMS tutorial.
Nokia
OK
The ERROR Final Result Code indicates that an error occurs when the GSM/GPRS
modem or mobile phone tries to execute a command line. After the occurrence of
an error, the GSM/GPRS modem or mobile phone will not process the remaining AT
commands in the command-line string.
Set operation. A set operation is used to change the settings used by the
GSM/GPRS modem or mobile phone for certain tasks. Set commands will be
with ‘=‘ attribute
Read operation. A read operation is used to retrieve the current settings used
by the GSM/GPRS modem or mobile phone for certain tasks. Read commands
can be with ‘?’ or some ‘=‘ attribute
In the above example, the AT command +CGMI does not have any parameters. If
the AT command to be tested has parameter(s), the parameter value(s) supported
by the GSM/GPRS modem or mobile phone may be printed additionally. Below is an
example that illustrates the format of the response. +COMMAND1 is a fictitious AT
command that has four parameters.
AT+COMMAND1=?
+COMMAND1: (0,1),(0-10),(0,1,5-10),("GSM","UCS2")
OK
The supported values of each of the four parameters are enclosed in parentheses.
Commas are used to delimit the parentheses and the values inside parentheses. A
hyphen is used to indicate a range of values. The values inside parentheses can be
of the string type.
In the above example, the response of the test command "+COMMAND1=?" provides
us the following information:
(0,1). The first parameter accepts either 0 or 1.
(0-10). The second parameter accepts any integer between 0 and 10.
(0,1,5-10). The third parameter accepts 0, 1 or any integer between 5 and
10.
("GSM","UCS2"). The fourth parameter accepts either the string "GSM" or
"UCS2".
To a few AT commands, the test operation does not return the parameter values supported. Instead, it returns
the values that are allowed to appear in the information response of the AT command. An example is the +CBC
AT command (command name in text: Battery Charge). The +CBC command is used to retrieve the connection
status and charge level of the battery of the mobile device. Two values are returned in the information
response of the +CBC AT command. The format is:
+CBC: connection_status,charge_level
For example, if the battery is placed in the mobile device with no charger connected and the charge level is
80%, the result of the execution of the +CBC AT command will be:
AT+CBC
+CBC: 0,80
OK
If you run the test command "+CBC=?", all the supported values that are allowed to appear in the connection
status field and charge level field will be provided. With my Nokia 6021, the result is:
AT+CBC=?
+CBC: (0,1),(0-100)
OK
"(0,1)" means the connection status field in the information response of the +CBC AT command can contain
either 0 or 1, while "(0-100)" means the charge level field can contain any integer between 0 and 100.
Suppose you have connected your GSM/GPRS modem or mobile phone to your PC /
computer and started a terminal program (such as HyperTerminal on Microsoft
Windows). Now you are ready to enter your first command. The first thing that is
usually done is to test the communication between the PC and GSM/GPRS
modem/mobile phone to confirm that everything is working properly so far. Simply
enter "AT" in the terminal program to perform the test. When the GSM/GPRS
modem or mobile phone receives "AT", it will send back the final result code "OK"
to indicate that it has received your command successfully, like this:
AT
OK
• 3gpp.org
• http://res.trilha21.com/001000340/doc/0707-780.pdf
• http://www.developershome.com
• http://en.wikipedia.org/wiki/AT_commands
• http://en.wikipedia.org/wiki/Motorola_phone_AT_commands
CDMA Basics
Training Agenda
1 4 7
Multiple CDMA CDMA Call
Access Handoffs. Processing.
Techniques.
3 6
CDMA Power CDMA Mobile
Control. Station
2
2 states.
5 8
CDMA
CDMA Registration. Q&A
System.
Introduction to MULTIPLE-ACCESS
TECHNIQUES
Advantages
– Efficient use of radio frequency.
– Higher Capacity.
What is MULTIPLE-ACCESS?
Goal in the design of cellular systems is to be able to handle as many calls as possible in a
given bandwidth with some reliability.
Pros
– Very Simple to design
– Narrowband (no ISI)
– Synchronization is easy
– No interference among
users in a cell
Cons
– Static spectrum allocation
– Freq. reuse is a problem
– High Q analog filters or
large guard band required
Time Division Multiple Access (TDMA)
All CDMA users occupy the same frequency at the same time! Frequency and time are
not used as discriminators.
CDMA operates by using CODING to discriminate between users.
Receiver detects only desired code word.
Each user is a small voice in a roaring crowd -- but with a uniquely recoverable code.
CDMA operating frequency
– The Short PN code with a length of 32, 768 chips, a speed of 1.2288 million chips per
second and a cyclic period of 26.67 ms.
– The Long PN code with a length of approximately 4.4 trillion chips, a speed of 1.2288
million chips per second and a period of 41-42 days.
Forward/Reverse Link Channels
TRAFFIC CHANNELS are used by individual users during their actual calls to transmit traffic to
the BTS.
– a reverse traffic channel is really just a user-specific public or private Long Code mask.
– there are as many reverse Traffic Channels as there are CDMA phones in the world!
ACCESS CHANNELS are used by mobiles not yet in a call to transmit registration requests, call
setup requests, page responses, order responses, and other signaling information.
– an access channel is really just a public long code offset unique to the BTS sector.
Claude Shannon: The Einstein of Information
Theory
The core idea that makes CDMA possible was first explained by Claude Shannon, a Bell Labs
research mathematicia
SHANNON’S CAPACITY EQUATION.
An elegant interpretation of this equation says that one can maintain or even increase
communication performance (high C) by allowing or injecting more bandwidth (high B), even
when signal power is below the noise floor.
Spread Spectrum Communication
The signal is rapidly switched between different frequencies within the hopping bandwidth
pseudo-randomly, and the receiver knows before hand where to find the signal at any given
time.
Direct Sequence SS
The digital data is directly coded at a much higher frequency. The code is generated pseudo-
randomly, the receiver knows how to generate the same code, and correlates the received
signal with that code to extract the data.
Direct Sequence SS - Example
Orthogonal Codes
The major benefit of noise-like carriers is that the system sensitivity to interference is
fundamentally altered.
Use of noise-like carriers, with all users occupying the same spectrum, makes the effective
noise the sum of all other-user signals.
The enhancement at receiver overcomes the summed noise enough to provide an adequate
SNR at the detector.
CDMA (and spread spectrum in general) was always dismissed as unworkable in the mobile
radio environment because of what was called the "near-far problem.“
The near-far problem arises from the fact that signals closer to the receiver of interest are
received with smaller attenuation than are signals located further away.
In order to minimize the near-far problem, the goal in CDMA systems is to assure that all
mobiles achieve the same received power levels (meet user-defined performance objectives)
at the Base Station.
In order to implement such a strategy, mobiles that are closer to the Base Station must
transmit less power than mobiles that are further away from the Base Station.
CDMA Power Control
The transmit power for each user must be reduced to limit interference, but enough to
maintain the required signal to noise ratio for a satisfactory call quality.
The aim of the dynamic power control is to limit transmitted power on both the links while
maintaining link quality under all conditions.
Additional advantages are longer mobile battery life and longer life span of BTS power
amplifiers.
Power Control
Power Control (Reverse Link)
Open Loop power control: The transmit power decreases when receiver signal strength
increases, and vice versa, so that the sum of the transmit power strength and received
power strength remains constant.
Open loop power control is only valid when the propagation losses in the forward link are
same.
Power Control (Reverse Link)
Power Control (Reverse Link)
Inner loop power control (every 1.25 ms) compensate the discrepancy of power leveling.
If the received power level from MS is less than the preset at BTS, the BTS directs the
MS to increase the transmit power.
The preset of BTS is adjusted by the outer loop power control.
This is performed every 20ms by the BSC selector according to frame quality of Veterbi
decoded packets.
Power Control (Forward Link)
The selector of the BSC receives the FER information from its corresponding MS.
If the FER is too high, the selector directs the responsible BTS to increase the power
transmitted.
CDMA Handoff
Inter-sector or softer handoff: The mobile communicates with two sectors of the same cell.
Inter-cell or soft handoff: The mobile communicates with two or three sectors of different
cells.
Soft-softer handoff: The mobile communicates with two sectors of one cell and one sector of
another cell.
Active set: It contains the pilots associated with the forward traffic channels (Walsh codes)
assigned to the mobile. An active pilot is a pilot whose paging or traffic channels are actually
being monitored or used.
Candidate set: Pilots that have been received with sufficient signal strength to indicate that
the associated forward traffic channels could be successfully demodulated.
Neighbor set: This set contains neighbor pilots that are not currently in the active or the
candidate set and are likely candidates for handoff.
Remaining set: This set contains all possible pilots in the current system, excluding pilots in
the active, candidate, or neighbor sets.
Hard Handoff
With hard handoff, the link to the prior base station is terminated before or as the user is
transferred to the new cell’s base station.
Initiation of the handoff may begin when the signal levels averaged over a chosen amount of
time from base station 2 is greater than that of base station 1.
Soft Handoff
"Soft" handoff are different from "hard" handoff in that soft handoff allows both the original
and new cell to temporarily service a call during the handoff transition.
Not only soft handoff minimize the probability of a dropped call, but also makes the handoff
virtually undetectable to the user.
A key benefit of soft handoff is the path diversity on the forward and reverse traffic channels.
Soft Handoff Setup
End of Soft Handoff
CDMA Registration
Registration is the process by which an idle mobile lets the system know it’s awake and
available for incoming calls.
– this allows the system to inform the mobile’s home switch of the mobile’s 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
Types of registration
1. Power-up registration: The mobile station registers when it powers on, switches from
using a different frequency block, switches from using a different band class, switches from
using an alternative operating mode, or switches from using the analog system.
2. Power-down registration: The mobile station registers when it powers off if previously
registered in the current serving system.
4. Distance-based registration: The mobile station registers when the distance between the
current base station and the base station in which it last registered exceeds a threshold.
5. Zone-based registration: The mobile station registers when it enters a new zone.
6. Parameter-change registration: The mobile station registers when certain of its stored
parameters change or when it enters a new system.
Idle mobiles use proprietary algorithms to find the initial CDMA carrier intended for them to
use.
Mobile scans forward link frequencies (Cellular or PCS, depending on model) in Preferred
Roaming List until a CDMA signal is found.
Slot Cycle Index: MS constantly turns parts of itself ON and OFF, ON to perform vital
functions and OFF to save power, so that battery last longer.
Slot cycle index are numbers from 0 to 7 and the period is 1.28 seconds multiplied by
2^index.
Advantage of longer slot cycle is phone spends lower percentage of timer with its receiver
and the advantage of shorter slot cycle is MS will receive page sooner.
CDMA Call Processing
Call processing is the complete process of routing, originating, terminating cellular telephone
calls, along with the necessary billings.
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 base station confirms that the mobile’s page response was received. Now the mobile is
waiting for channel assignment, expecting a response within 12 seconds.
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 other’s traffic channel signals and confirm their
presence by exchanging acknowledgment messages and preambles.
Service negotiation is completed.
Call notification is issued and the traffic flow begins on the acceptance of the call.
Message flow for call origination
BSC MSC
MS
Paging Ch. Overhead Info
Access Ch.Origination Msg
Paging Ch. BS Ack Order
CM Service Request
Fwd Traffic Null Frames
Ch. SCCP Connection Cfm
Paging Ch. Channel Assign Msg
GSM Basics
Training Agenda
1 4 7
Introductio
GSM GPRS & EDGE
n to GSM
Channels
3 6 9
GSM GSM Call
Network Flow Q&A
2
2 Architectur 5 8
e
GSM
GSM GSM Testing
Features
Handoff Scenarios
Introduction to GSM – History of GSM
• Early 80’s Europe was experiencing rapid growth in the analog cellular telephone systems.
• 1982 Conference of European Posts and Telegraphs (CEPT) GSM (Group Special Mobile)
group was formed to study and develop a pan-European public land mobile system.
• GSM mandate was to develop a standard to be common for the countries that created it –
provide service to the entire European continent.
• Formal objective of the GSM MoU Association is the promotion and evolution of the GSM
systems and GSM platforms
79
History of GSM
• Late 1989’s GSM work was transferred to the European Telecommunication Standards
Institute (ETSI) and SGM (Special Mobile Group) was created
80
History of GSM
81
History of GSM
CELLULAR TELEPHONY
A cellular telephone system links mobile subscribers into the public telephone system or
to another cellular subscriber.
Information between the mobile unit and the cellular network uses radio communication.
Hence the subscriber is able to move around and become fully mobile.
The service area in which mobile communication is to be provided is divided into regions
called cells.
Each cell has the equipment to transmit and receive calls from any subscriber located
within the borders of its radio coverage area.
Cell Radio
Mobile subscriber
82
Modulation Techniques
83
Modulation Techniques
FDMA
Time
84
Modulation Techniques
TDMA
85
Modulation Techniques
CDMA
86
Frequency Spectrum
GSM 900
GSM systems use radio frequencies between 890-915 MHz for receive and between 935-960
MHz for transmit.
RF carriers are spaced every 200 kHz, allowing a total of 124 carriers for use.
An RF carrier is a pair of radio frequencies, one used in each direction.
Transmit and receive frequencies are always separated by 45 MHz
Uplink Downlink
DCS 1800
DCS1800 systems use radio frequencies between 1710-1785 MHz for receive and
between 1805-1880 MHz for transmit.
RF carriers are spaced every 200 kHz, allowing a total of 373 carriers.
Transmit and receive frequencies are always separated by 95 MHz
INCREASED CAPACITY
The GSM system provides a greater subscriber capacity than analogue systems.
GSM allows 25 kHz per user, that is, eight conversations per 200 kHz channel pair (a
pair comprising one transmit channel and one receive channel).
Digital channel coding and the modulation used makes the signal resistant to
interference from cells where the same frequencies are re-used (co-channel
interference).
This allows increased geographic reuse by permitting a reduction in the number of
cells in the reuse pattern.
89
GSM Features
AUDIO QUALITY
Digital transmission of speech and high performance digital signal processors provide good
quality speech transmission.
Since GSM is a digital technology, the signals passed over a digital air interface can be
protected against errors by using better error detection and correction techniques.
In regions of interference or noise-limited operation the speech quality is noticeably better
than analogue.
USE OF STANDARDISED OPEN INTERFACES
Standard interfaces such as C7 and X25 are used throughout the system. Hence different
manufacturers can be selected for different parts of the PLMN.
There is a high flexibility in where the Network components are situated.
90
GSM Features
91
GSM Features
CLEANER HANDOVERS
92
GSM Features
93
GSM Features
FREQUENCY REUSE
There are total 124 carriers in GSM900 (additional 50 carriers are available in EGSM band).
Each carrier has 8 timeslots and if 7 can be used for traffic then a maximum of 868 ( 124 X 7 )
calls can be made. This is not enough and hence frequencies have to be reused.
The same RF carrier can be used for many conversations in several different cells at the same
time.
94
GSM Network Architecture
PSTN
MSC/VLR GMSC ISDN
GSM /GPRS BSS
BSC
MS HLR/AUC
BTS
PCU
SS7
BSC SMS system
MS
BTS
GPRS Backbone Internet,
SGSN Intranet
GGSN
OMC CG BG
Other PLMN
95
Mobile Station—MS
96
Mobile Station - MS
SIM
CLASS POWER OUTPUT
1 20W
2 8W
3 5W
4 2W
5 0.8W
97
Base Station Sub System
MSC
BSC
BTS
98
Base Station Sub System
The BSS is the fixed end of the radio interface that provides control and radio coverage
functions for one or more cells and their associated MSs.
It is the interface between the MS and the MSC.
The BSS comprises one or more Base Transceiver Stations (BTSs), each containing the radio
components that communicate with MSs in a given area, and a Base Site Controller (BSC)
which supports call processing functions and the interfaces to the MSC.
Digital radio techniques are used for the radio communications link, known as the Air
Interface, between the BSS and the MS.
The BSS consists of three basic Network Elements (NEs).
Base Transceiver Stations (BTSs) assigned to the BSC.
Base Station Controller (BSC).
Transcoder (XCDR) or Remote transcoder (RXCDR) .
99
Base Tran receiver Station-BTS
100
Base Station Sub System
The BSC network element provides the control for the BSS.
It controls and manages the associated BTSs, and interfaces with the Operations
and Maintenance Centre (OMC).
The purpose of the BSC is to perform a variety of functions. The following
comprise the functions provided by the BSC:
Controls the BTS components.-
Performs Call Processing.
Performs Operations and Maintenance (O & M).
Provides the O & M link (OML) between the BSS and the OMC.
Provides the A Interface between the BSS and the MSC.
Manages the radio channels.
Transfers signaling information to and from MSs.
101
Transcoder
The speech transcoder is the interface between the 64 Kbit/s PCM channel in the land
network and the 13 Kbits/s channel used on the Air Interface.
This reduces the amount of information carried on the Air Interface and hence, its
bandwidth.
If the 64 Kbits/s PCM is transmitted on the air interface without occupation, it would
occupy an excessive amount of radio bandwidth. This would use the available radio
spectrum inefficiently.
The required bandwidth is therefore reduced by processing the 64 Kbits/s PCM data so that
the amount of information required to transmit digitized voice falls to 13kb/s.
The XCDR can multiplex 4 traffic channels into a single 64 Kbit/s timeslot. Thus a E1/T1
serial link can carry 4 times as many channels.
When the transcoder is between the MSC and the BSC it is called a remote transcoder
(RXCDR).
102
Packet Control Unit - PCU
MSC
Packet data switching
Bridge between SGSN
and BSC
Provide Pb and Gb BSS
interface
TC/SM GPRS
Backbone
BSC PCU SGSN
BTS
103
Mobile-service Switching Center - MSC
The Mobile services Switching Centre (MSC) co-ordinates the setting up of calls to
and from GSM users.
It is the telephone switching office for MS originated or terminated traffic and
provides the appropriate bearer services, teleservices and supplementary services.
It controls a number of Base Station Sites (BSSs) within a specified geographical
coverage area and gives the radio subsystem access to the subscriber and
equipment databases.
The MSC carries out several different functions depending on its position in the
network.
When the MSC provides the interface between PSTN and the BSS in the GSM
network it is called the Gateway MSC.
Some important functions carried out by MSC are Call processing including
control of data/voice call setup, inter BSS & inter MSC handovers, control of
mobility management, Operation & maintenance support including database
management, traffic metering and man machine interface & managing the
interface between GSM & PSTN N/W.
Home Location Register - HLR
The HLR contains the master database of all subscribers in the PLMN.
This data is remotely accessed by the MSC´s and VLRs in the network. The data can also
be accessed by an MSC or a VLR in a different PLMN to allow inter-system and inter-
country roaming.
A PLMN may contain more than one HLR, in which case each HLR contains a portion of
the total subscriber database. There is only one database record per subscriber.
The subscribers data may be accessed by the IMSI or the MSISDN.
The parameters stored in HLR are
Subscribers ID (IMSI and MSISDN )
Current subscriber VLR.
Supplementary services subscribed to.
Supplementary services information (eg. Current forwarding address ).
Authentication key and AUC functionality.
TMSI and MSRN
Visitor Location Register -VLR
The OMC controls and monitors the Network elements within a region.
The OMC also monitors the quality of service being provided by the Network.
The following are the main functions performed by the OMC-R
The OMC allows network devices to be manually removed for or restored to
service. The status of network devices can be checked from the OMC and
tests and diagnostics invoked.
The alarms generated by the Network elements are reported and logged at
the OMC. The OMC-R Engineer can monitor and analyze these alarms and
take appropriate action like informing the maintenance personal.
The OMC keeps on collecting and accumulating traffic statistics from the
network elements for analysis.
Software loads can be downloaded to network elements or uploaded to the
OMC.
Interface Between Different Entities
PSTN
MSC/VLR GMSC ISDN
GSM /GPRS BSS
A
Abis BSC
MS HLR/AUC
BTS C/D/Gs
PCU
SS7
BSC Gb SMS system
MS Um Gr/Gs/Gd/Ge Gc
BTS
GPRS backbone Internet,
SGSN Gi Intranet
Ga GGSN
OMC CG BG
Gp Other PLMN
Interface Names
NAME INTERFACE
Um MS ----- BTS
Abis BTS ----- BSC
Ater BSC ----- TRC
A MSC ------ BSC
B MSC ------ VLR
C MSC ------ HLR
D VLR ----- HLR
E MSC ------ MSC
F MSC ------ EIR
G VLR ------ VLR
H HLR ------ AUC
GSM Channels- Channel Concepts
Downlink
Uplink
Physical channel - Each timeslot on a carrier is referred to as a physical channel. Per carrier
there are 8 physical channels.
Logical channel - Variety of information is transmitted between the MS and BTS. There are
different logical channels depending on the information sent. The logical channels are of
two types
• Traffic channel
• Control channel
Page112
Physical and Logical Channel
0 1 2 3 4 5 6 7 0 1 2 3
Timeslot The information carried in one time
slot is called a “burst”
TDMA TDMA
FRAME FRAME
Two types of Logical Channel
TCH
Traffic Channels
Speech Data
TCH/FS TCH/HS
TCH/9.6 TCH/2.4
TCH Traffic Channel
TCH/FS Full rate Speech Channel
TCH/HS Half rate Speech Channel
TCH/9.6 Data Channel 9.6kb/s
TCH/4.8 Data Channel 4.8kb/s TCH/4.8
TCH/2.4 Data Channel 2.4Kb/s
Traffic Channel (TCH)
DCCH BCH
SDCCH ACCH
BCCH Synch. CH.
Uplink only
Used by the MS to access the Network.
Downlink only
Used by the network to assign a signaling channel upon
successful decoding of access bursts.
Downlink only.
Used by the Network to contact the MS.
DCCH Channels
CCH
RACH CCCH
SDCCH
SACCH DCCH DCH
FACCH
TCH/F
TCH
TCH/H
Downlink Logical channel
FCCH
BCCH SCH
CCH BCCH
PCH
CCCH
AGCH
SDCCH
DCCH SACCH
DCH FACCH
TCH/F
TCH
TCH/H
Handover
The GSM handover process uses a mobile assisted technique for accurate
and fast handovers, in order to:
MS END
MS measurements include:
Serving cell downlink received signal level, and six best neighbor
cells downlink received signal level.
The MS also decodes the Base Station ID Code (BSIC) from the six
best neighbor cells, and reports the BSICs and the measurement
information to the BSS.
Handover
BTS END
The BTS measures the uplink link quality, received signal level, and MS
to BTS site distance.
Intra-Cell Handover
BSC
0 1 2 3 4 5 6 7
Call is handed
BTS from timeslot 3 to timeslot 5
Handover takes place in the same cell from one timeslot to another timeslot of the same
carrier or different carriers( but the same cell).
Intra-cell handover is triggered only if the cause is interference.
Intra-cell handover can be enabled or disabled in a cell.
Handover Types
Intra-BSC Handover
BSC1
0 1 2 3 4 5 6 7
BTS1
Call is handed from timeslot 3
of cell1 to timeslot 1 of cell2 .
Both the cells are controlled
by the same BSC.
0 1 2 3 4 5 6 7
Handover takes place between different cell which are controlled by the same BSC.
Handover Types
Inter-BSC Handover
BSC1
0 1 2 3 4 5 6 7
BTS1
Call is handed from timeslot 3
MSC of cell1 to timeslot 1 of cell2 .
Both the cells are controlled
by the different BSC.
BSC2
0 1 2 3 4 5 6 7
BTS2
Handover takes place between different cell which are controlled by the different BSC.
Handover Types
Inter-MSC Handover
MSC1 BSS1
BTS1
0 1 2 3 4 5 6 7
131
Channel Usage During Call Flow
Power-off
Search for frequency correction burst FCCH
Search for synchronous burst SCH
Extract system information BCCH
Idle mode
Send access burst RACH
Allocate signaling channel AGCH
Monitor paging message PCH
Dedicated mode
Set up the call SDCCH
GPRS:
The first phase of GSM network architecture enhancements that
allow mobiles to connect to IP or X.25 networks.
Characteristics of GPRS:
Packet-switched
Data rate: 14.4Kbps ~ 115Kbps
New functionalities: point-to-point data transferring,
routing, logical link management, radio resource
management
Modulation: GMSK
GPRS N/W architecture
134
GPRS Network Elements
135
GPRS Network Elements
136
GPRS Network Elements
137
GPRS Architecture with interfaces
138
GPRS Interfaces
139
Enhanced Data Rates for GSM Evolution
EDGE Characteristics
Uses 200kHz carrier/multi-slot operation, time slot
structure
Modulation: 8PSK(8-phase Shift Keying)
modulation(3bits per modulated symbol) <-> apposed to
the 1-bit per symbol GMSK in GSM/GPRS
Data rates: 384Kbps
GSM Development Evolution
3G
2Mbps
2.5G IMT-2000
384kbps
EDGE
115 kbps
2G
57.6 kbps GPRS
GSM
GSM Testing Scenarios
UMTS Basics
Training Agenda
1 4 7
Introduction UMTS Call
to UMTS Flows UMTS Releases
3 6 9
UMTS Q&A
Channels HSUPA
2
2 5 8
UMTS
Network HSDPA UMTS
Architecture Testing
Introduction to UMTS
146
IMT-2000 in GSM & CDMA
GSM
EDGE (Enhanced Data rates for GSM Evolution)
DECT (Digital Enhance Cordless Telecommunications)
UMTS (Universal Mobile Telecommunication System)
HSPA (High Speed Packet Access)
– HSDPA (High Speed Download Packet Access)
– HSUPA (High Speed Uplink Packet Access)
HSPA+
LTE (Long Term Evolution)
WiMAX
CDMA
CDMA 2000
EVDO (Evolution-Data Optimized)
UMB (Ultra Mobile Broadband)
147
UMTS (Universal Mobile Telecommunication System)
Also known as WCDMA – as it uses Wideband CDMA to carry the radio transmission
operations (UTRAN air interface).
Frequency Division Duplex (FDD) and Time Division Duplex (TDD) variants are supported.
Supports both packet-switched (PS) and circuit switched (CS) data transmission.
UMTS uses a core network derived from that of GSM, ensuring backward compatibility of
services and allowing seamless handover between GSM access technology and W-CDMA.
UMTS Specification:
Parameter Specification
Data rate 384 kbps to 2048 kbps
RF Channel Bandwidth 5 MHz
Duplex schemes FDD, TDD
Multiple access technique - CDMA, OVSF (Orthogonal
Channelization Coding technique Variable Spreading Factor) -
spreading through Scrambling
technique
Spreading Factor 4 – 512 (256 UL / 512 DL)
Modulation QPSK
Chip rate 3.84 Mcps (38400 chips/10 148
UMTS Key Features
Global and Inter-network roaming – Consistent Service and Coverage - VHE (Virtual Home
Environment)
UMTS is designed to offer “data rate on demand”
Backward compatible with GSM/GPRS Core Network
Common RAN-CS & RAN-PS interface
ATM (Asynchronous Transfer Mode) or IP based transport
Introduced new Service called as IMS – IP Multimedia Subsystem (for SIP & VoIP enabled)
Offers different QoS (Quality of Service) parameters for maximum transfer delay, delay
variation and bit error rate
Bit Rate:
– Rural outdoor 144 kbps (500 km/h) {Macro cell}
– Suburban outdoor 384 kbps (120 km/h) {Micro cell}
– Indoor 2 Mbps (10 km/h) {Pico cell}
ATM (Asynchronous Transfer Mode)
ATM is a cell-based switching technique that uses asynchronous time division multiplexing. It
encodes data into small fixed-sized cells (cell relay) and provides data link layer services over the
physical links.
ATM is connection-oriented model and establishes a ‘Virtual Channel’ between two endpoints
before the actual data exchange begins. A 5 byte header with a unique Virtual Path Identifier
(VPI) and Virtual Channel Identifier (VCI) are established for the transmission.
UE’s ability to negotiate the QoS parameters for a radio bearer (RB).
Renegotiate these parameters while the connection is active if the requirements of the
application changes (UE-initiated renegotiation) or if the network resource status changes
(NW-initiated renegotiation).
QoS requirements can be divided into four classes:
1. Conversational real-time services
2. Interactive services
3. Streaming services
4. Background services
These classes are characterized by e.g.:
– Guaranteed / max. Bit rate
– max packet size
– transfer delay
– traffic handling priority
UMTS QoS Classes
UMTS Network Architecture
Base Station
Network Subsystem
Mobile Station Subsystem Other Networks
MSC/ GMSC
BSC VLR PSTN
BTS
ME
SIM
RNS
GGSN
SGSN
Node RNC Internet
ME B
USIM
UTRAN
+
SD
153
UMTS Network
154
Core Network (CN)
The Core Network is divided in circuit switched and packet switched domains.
– Circuit Switch elements:
- Mobile services Switching Centre (MSC), Visitor location register (VLR) and Gateway
MSC.
– Packet Switch elements:
- Packet switched elements are Serving GPRS Support Node (SGSN) and Gateway GPRS
Support Node (GGSN).
– Some network elements, like EIR, HLR, VLR and AUC are shared by both domains.
The Asynchronous Transfer Mode (ATM) is defined for UMTS core transmission. ATM
Adaptation Layer type 2 (AAL2) handles circuit switched connection and packet connection
protocol AAL5 is designed for data delivery.
155
UTRAN (UMTS Terrestrial Radio Access Network)
Functions of Node-B
– Air interface Transmission / Reception
– Modulation / Demodulation
– CDMA Physical Channel coding
– Micro Diversity
– Error Handing
– Closed loop power control
Functions of RNC
– Radio Resource Control
– Channel Allocation
– Power Control Settings
– Handover Control
– Macro Diversity
– Ciphering
– Segmentation / Reassembly
– Broadcast Signaling
– Open Loop Power Control
156
UE (User Equipment)
UE is responsible for:
– International Mobile Subscriber Identity (IMSI)
– Temporary Mobile Subscriber Identity (TMSI)
– Packet Temporary Mobile Subscriber Identity (P-TMSI)
– Temporary Logical Link Identity (TLLI)
– Mobile station ISDN (MSISDN)
– International Mobile Station Equipment Identity (IMEI)
– International Mobile Station Equipment Identity and Software Number (IMEISV)
157
UMTS Interfaces
158
UMTS Interfaces
The Iu, Iub and Iur interfaces are based on the transmission principles of asynchronous
transfer mode (ATM).
159
UMTS Protocol Structure & Channels
160
Channel classification
161
Logical Channels
162
Logical Channels
163
Transport Channels
164
Transport Channels
165
Physical Channels
166
Physical Channels
167
Physical Channels
168
UMTS Call flow: Attach Procedure
UE RNC SGSN
RRC Connection
Establishment
Attach Request
Authentication
Security
(Ciphering)
Attach
completion
Iu Release
RR Release
169
UMTS Call flow: Combined Attach procedure
170
UMTS Call flow: Voice Call setup
UE RNC SGSN
Paging
RRC Connection
Establishment
Paging Response Iu Connection
Establishment
Authentication
Security
Call Negotiation
171
UMTS Call flows: Data Call setup
Service Request
Security Procedure
RAB Assignment
RL Setup
Bearer Sync
172
HSPA Overview
HSPA:
3G HSPA High Speed Packet Access is the combination of two technologies, one for the
downlink (HSDPA) and the other for the uplink (HSUPA) that can be built onto the existing 3G
UMTS or W-CDMA technology to provide increased data transfer speeds.
HSDPA:
High Speed Downlink Packet Access (HSDPA) is a packet-based data service in W-CDMA
downlink with data transmission up to 8-14 Mbps (and 20 Mbps for MIMO systems) over a
5MHz bandwidth in WCDMA downlink.
High Speed Uplink Packet Access (HSUPA) is a packet-based data service in W-CDMA uplink
with data transmission up to 5.76 Mbps over a 5MHz bandwidth in WCDMA uplink.
173
HSDPA (High Speed Downlink Packet Access
174
Need for HSDPA?
175
HSDPA comparison with UMTS data call
176
UMTS Network Architecture
177
UMTS to HSDPA Network Upgrade
178
HSDPA UE Categories
179
HSDPA Protocol Architecture
RLC RLC
UE UTRAN
MAC MAC-d
MAC
HS-DSCH HS-DSCH
(add DSCH DSCH
FP FP FP FP
MAC-hs)
MAC-hs
L2 L2
PHYPHY PHYPHY L1 L1
(add (add 3
process) channels)
Uu Iub/ Iur
RNC, Node B: add HS-DSCH FP protocol process, involve Iub/Iur
Node B: add MAC-hs, responsible for AMC, HARQ, etc.
Node B: add 3 physical channels: HS-PDSCH,HS-SCCH,HS-DPCCH
UE: add MAC-hs, physical channels and process, modulation
180
Functions of Mac-hs & New physical channel
Functions of Mac-hs:
A new entity has been added to the MAC layer –MAC-hs
On the UE side, the MAC-hs is responsible for
H-ARQ–Reordering
On the Node B side, the MAC-hs is responsible for
Flow Control
Scheduling/Priority Handling
HARQ–TFRI selection
182
HSDPA Basic Principles
183
Shared Channel Transmission
184
Fast Link Adaptation
185
Fast Channel-dependent Scheduling
186
Fast Hybrid ARQ with Soft Combining
187
Dynamic Power allocation
188
HSDPA Download comparison
189
HSUPA overview
The main aim of HSUPA is to increase the uplink data transfer speed in the UMTS environment and offer
data speeds of up to 5.76 Mbps in the uplink.
Increase Capacity
• HSUPA aims to increase capacity by frequently modifying the power used by the UEs in a
cell – only assigning as much resource as necessary. This will allow more efficient
management of the cell resource.
Throughput
• HSUPA allows a UE to transmit on up to 4 physical channels, use spreading factors as low
as 2 and lower the level of coding protection.
Reduce delay
• HSUPA introduces a shorter TTI. It also introduces new entities into the MAC layer to
perform Hybrid ARQ. The scheduling mechanism is also modified
190
Need for HSUPA?
191
HSUPA Key Features
-SAW Protocol
-Chase combining or Incremental redundancy
192
HSUPA Channels
193
New MAC-layer protocols
– MAC-e
- Between UE and Node B
- Controls HARQ processes and scheduling
– MAC-es
- Between UE and SRNC
- Reorders MAC-es Protocol Data Units (PDUs) in case of soft handover
- Disassembles dedicated channels in RNC
194
How Uplink is achieved
195
HSUPA UE Categories
196
HSUPA –Benefits
197
UMTS - Releases
UMTS Rel 99
– 2 Mbps theoretical peak packet data rates
– 384 kbps (practical)
• UMTS Rel 4
• MSC Server-based architecture
– Bearer Independent Call Control (CS)
• UMTS Rel 5
– HSDPA (14 Mbps downlink theoretical)
– IMS (IP Multimedia Subsystem for multimedia)
UMTS Rel 6
– HSUPA (up to 5.76 Mbps uplink)
– MBMS (Multimedia Broadcast Multicast Service)
• UMTS Rel 7
– MIMO Antenna systems with OFDM (Orthogonal Frequency Division Multiplexing)
– Functionality of HSPA+ defined
• UMTS Rel 8
– LTE (Long Term Evolution) introduced with radical changes in air interface and network architecture
• UMTS Rel 9
– SAES Enhancements, WiMAX and LTE/UMTS Interoperability. Dual-Cell HSDPA with MIMO, Dual-Cell
HSUPA.
• UMTS Rel 10
– LTE Advanced fulfilling IMT Advanced 4G requirements. Backwards compatible with release 8 (LTE). Multi-
Cell HSDPA (4 carriers).
• UMTS Rel 11
– Advanced IP Interconnection of Services. Service layer interconnection between national
operators/carriers as well as third party application providers
UMTS Testing
PTCRB Testing:
• PTCRB is a global organization created by Mobile Network Operators to provide an
independent evaluation process where GSM / UMTS Type Certification can take place.
• The technical evaluation is based on standards as well the needs of the Operators, who
determine the requirements for the Type Certification Process. The PTCRB authorizes
third party laboratories to conduct testing.
GCF Testing
• Global Certification Forum (GCF) maintains an independent certification scheme for
mobile phones and wireless devices that are based on 3GPP standards.
GCF Certification helps ensure that a mobile device works effectively on mobile networks
anywhere in the world.
199
Advantages of Certifications
Manufacturers who certify their mobile devices to GCF rules and procedures are assured that:
• time-to-market for new products is reduced using this respected 'one-stop' verification
process
• expensive and time-consuming duplication of testing effort can be avoided
• their products will benefit from a high degree of interoperability
200
5
FT Concepts &
Tools
Training Agenda
1 4
7 10
Introduction Field Testing Bug Reporting Mobile FT
to Field Scenarios Format Requirements
Testing
3 6
9
Roles & Release
Responsibilit Testing Tools
2 ies Description
2
5 8
Field Testing Field Test 11
Overview Product
Activities Challenges &
Testing
Report Advantages
Introduction to Field Testing
Field Testing is the testing of a product in the actual context in which it will be used
as opposed to laboratory testing or testing the product in its development environments.
Field testing can be useful for spotting a wide range of interaction problems such as
problems with software being incompatible with other software on the target system, and also a
wide range of network interaction problems.
Field testing covers all the real time scenarios that an advanced device uses.
203
Introduction to Field Testing
In FT role, tester will identify issues arising in the field and perform first level trouble-
shooting where appropriate, accurately describing the issues, and be responsible for
submitting them internally for further analysis and resolution. Tester will also assist in
writing/updating test cases and procedures to facilitate the test efforts as well as
contributing to process improvement to develop and maintain a consistent test strategy.
Tester will be required to submit detailed reports and keeping records of testing activities for
later review and analysis.
FT teams travels across the globe using proven methodologies and best practices to test,
measure and document the functionality and performance of mobile devices in a real-world
environment across different network infrastructures.
Primary Objective
The primary objective of Field testing is to make sure that the mobile device meets the full
requirements, including quality requirements (Non-functional requirements) and fit metrics
for each quality requirement and satisfies the use case scenarios and maintain the quality of
the product in a real network environment. At the end of the Mobile development life cycle,
the user should find that the project has met or exceeded all of their expectations as detailed
in the requirements
Secondary Objective
The secondary objective of Field testing will be to identify and expose all issues and
associated risks, communicate all known issues to the project team, and ensure that all
issues are addressed in an appropriate matter before release. As an objective, this requires
careful and methodical testing of the device to first ensure all areas of the system are
scrutinized and, consequently, all issues (bugs) found are dealt with appropriately.
GCF (Global •The test cases run for GCF certification involve RF transmission/reception, Protocol
conformance, Video Telephony (VT) etc. A handset is deemed certified if it has passed
Certification an agreed set of conformance tests and field trials. Once certified, their phones should
operate on any network.3GPP has overall control of the test cases for GSM & UMTS. The
Forum) validation and approval of the implemented test cases then handled by the GCF.
• This Regression testing is carried throughout the entire Field testing cycle to
Regression Testing test the functionality and performance of mobile devices in a real-world
environment
Performance and • Performance and Stability testing is done for a number of scenarios on both
Stability Testing DUT & Reference handset and results are compared for a final conclusion.
Operator • Operator acceptance testing is performed to Verify the mobile device meet
the Operator’s original requirements and the needs of the end users. Primary
Acceptance emphasis is verification from the end users perspective. Performance testing
(including stress, load, and response time) has to be conducted again. There
Testing may be non-testable requirement which needs to be tested at this phase.
Identification of major service providers for each individual cities and prioritizing the test
networks.
Most of the operators are serving for the whole country either via
I. Their own PLMN
II. National roaming partners.
208
Roles and Responsibilities
209
View of Board Used for FT
Performance and Stability testing is done for a number of scenarios on both DUT &
Reference handset and results are compared for a final conclusion.
MO/MT VT call
In this test together with above parameters for voice call, video quality of VT call is also
captured.
213
Field Testing Activities
3G UL throughput/3G DL throughput
In this test parameters captured are a. Throughput b. Connection status
2G UL throughput/2G DL throughput
In this test parameters captured are a. Throughput b. Connection status
HSDPA Throughput
MultiRAB call
In this test parameters captured are a. Call status b. Data connection
214
Sample Test cases
A sample document for test cases from DG-11 and KPI test cases has been attached.
There are data related test cases, which are being tested for throughput in benchmark to
reference phone.
Release Testing
Release Testing:
Release Testing has to be carried out with different software build releases
periodically.
Sanity Test:
Sanity testing is carried out with each new software released. It would be
a basic static testing to ensure that all major functionalities are working
fine in GSM & UMTS environment.
Regression Testing:
Functional Testing:
Video Telephony
Web Browser
Messaging
Streaming & Multimedia
Third party applications
All defects found during test execution should be logged immediately into the defect logging
system with all necessary information about the defect and all possible logs captured during
testing.
Many times it’s necessary to work together with Developers in order to help them in finding
out the issue in a proper way. Need to provide developer with proper logs collected during
testing to make debugging easier. Always should keep track of the issues which are not
always in nature and update the developers with updated logs as and when they are
reproduced.
Software Version:
Hardware Version:
Identifier: One liner to describe the issue.
Pre Conditions:
Bug Description:
Actual Result:
Expected Result:
Other Information:
Severity: Critical/High/Medium/Minor
Frequency: Always/Frequent/Rare
Network name: Vodafone/T-mobile etc
Infra: ZTE,Huwaei,Ericsson etc.
Battery level: High/Medium/Low
Location: Mumbai , Bangalore etc.
Nature of testing: Static/Drive
Attachments: Log file name
221
Product Testing Report
– A daily & Weekly/Bi-Weekly status report will be provided by the Test Lead to project
management. These reports will summarize daily/weekly testing activities, issues, risks,
bug counts, test case coverage, and other relevant metrics.
– Total Test Cases, Number Executed, Number Passes / Fails, Number Yet to Execute
– Number of Bugs Found to Date, Number Resolved, and Number still Open
– Breakdown of Bugs by Severity / Priority Matrix
– Discussion of Unresolved Risks
– Discussion of Schedule Progress (are we where we are supposed to be?)
• Advance tools were used for traces for 3G/HSDPA Leading European chipset vendor chipset, i.e.
Artemis ,Mobile analyzer.
• QXDM,QCAT are FT tools used for QUALCOMM chipsets.
• Windows-7 is the compatible version OS for Leading European chipset vendor tools. On
windows-XP these tools create problem with USB ports and connectivity.
• For Qualcomm chipsets Windows-XP is correct OS.
• Flash tool is used for flashing board. For different platforms, we may require different flash
tools, for QUALCOMM chipsets Flashing is done using memory cards.
• Separate Phone tool is used to read/write the IMEI and other security parameters.
• AT console window from Mobile analyzer is connected to specific port and will be used for
testing.
• Install the Comodo firewall & enable it whenever there is a need for packet data testing with
limited packet access. Test cases have a reference to enabling the firewall wherever required.
Laptops .
Extra Laptop batteries as a Power-backup during drive test.
Car charger for charging Laptops and Proto-types.
Extension cord for multiple power supply.
Travelers adaptor.
5 GB/location FTP server for uploading Logs and Test results.
Post-paid SIM cards at each Onsite locations.
Shield box at each location .
USB stick at each location.
Challenges
Agilent 8960
Hands-on
Thank You