GSM System Overview
GSM System Overview
GSM System Overview
The GSM system is the most widely used cellular technology in use in the world today. It has
been a particularly successful cellular phone technology for a variety of reasons including the
ability to roam worldwide with the certainty of being able to be able to operate on GSM
networks in exactly the same way - provided billing agreements are in place.
The letters GSM originally stood for the words Groupe Speciale Mobile, but as it became clear
this cellular technology was being used world -wide the meaning of GSM was changed to Global
System for Mobile Communications. Since this cellular technology was first deployed in 1991,
the use of GSM has grown steadily, and it is now the most widely cell phone system in the
world. GSM reached the 1 billion subscriber point in February 2004, and is now well over the 3
billion subscriber mark and still steadily increasing.
GSM services
Speech or voice calls are obviously the primary function for the GSM cellular system. To
achieve this the speech is digitally encoded and later decoded using a vocoder. A variety of
vocoders are available for use, being aimed at different scenarios.
In addition to the voice services, GSM cellular technology supports a variety of other data
services. Although their performance is nowhere near the level of those provided by 3G, they are
nevertheless still important and useful. A variety of data services are supported with user data
rates up to 9.6 kbps. Services including Group 3 facsimile, videotext and teletex can be
supported.
One service that has grown enormously is the short message service. Developed as part of the
GSM specification, it has also been incorporated into other cellular technologies. It can be
thought of as being similar to the paging service but is far more comprehensive allowing bi-
directional messaging, store and forward delivery, and it also allows alphanumeric messages of a
reasonable length. This service has become particularly popular, initially with the young as it
provided a simple, low fixed cost.
GSM basics
The GSM cellular technology had a number of design aims when the development started:
The resulting GSM cellular technology that was developed provided for all of these. The overall
system definition for GSM describes not only the air interface but also the network or
infrastructure technology. By adopting this approach it is possible to define the operation of the
whole network to enable international roaming as well as enabling network elements from
different manufacturers to operate alongside each other, although this last feature is not
completely true, especially with older items.
GSM cellular technology uses 200 kHz RF channels. These are time division multiplexed to
enable up to eight users to access each carrier. In this way it is a TDMA / FDMA system.
The base transceiver stations (BTS) are organised into small groups, controlled by a base station
controller (BSC) which is typically co-located with one of the BTSs. The BSC with its associated
BTSs is termed the base station subsystem (BSS).
Further into the core network is the main switching area. This is known as the mobile switching
centre (MSC). Associated with it is the location registers, namely the home location register
(HLR) and the visitor location register (VLR) which track the location of mobiles and enable
calls to be routed to them. Additionally there is the Authentication Centre (AuC), and the
Equipment Identify Register (EIR) that are used in authenticating the mobile before it is allowed
onto the network and for billing. The operation of these are explained in the following pages.
Last but not least is the mobile itself. Often termed the ME or mobile equipment, this is the item
that the end user sees. One important feature that was first implemented on GSM was the use of
a Subscriber Identity Module.
This card carried with it the users identity and other information to allow the user to upgrade a
phone very easily, while retaining the same identity on the network. It was also used to store
other information such as "phone book" and other items. This item alone has allowed people to
change phones very easily, and this has fuelled the phone manufacturing industry and enabled
new phones with additional features to be launched. This has allowed mobile operators to
increase their average revenue per user (ARPU) by ensuring that users are able to access any new
features that may be launched on the network requiring more sophisticated phones.
VLR
Base Station Subsystem (BSS): The Base Station Subsystem (BSS) section of the
GSM network architecture that is fundamentally associated with communicating with the
mobiles on the network. It consists of two elements:
Base Station Controller (BSC) : The BSC forms the next stage back into the
GSM network. It controls a group of BTSs, and is often co-located with one of the BTSs
in its group. It manages the radio resources and controls items such as handover within
the group of BTSs, allocates channels and the like. It communicates with the BTSs over
what is termed the Abis interface.
AT Commands :
AT commands are used to control MODEMs. AT is the abbreviation for Attention. These
commands come from Hayes commands that were used by the Hayes smart modems. The
Hayes commands started with AT to indicate the attention from the MODEM. The dial
up and wireless MODEMs (devices that involve machine to machine communication)
need AT commands to interact with a computer. These include the Hayes command set
as a subset, along with other extended AT commands.
SMS services.
MMS services.
Fax services.
1. basic command set - A capital character followed by a digit. For example, M1.
2. extended command set - An “&” (ampersand) and a capital character followed by a digit.
This extends the basic command set. For example, &M1. Note that M1 is different from
&M1.
3. proprietary command set - Usually starting either with a backslash (“\”) or with a percent
sign (“%”); these commands vary widely among modem-manufacturers.
4. register commands - Sr=n where r is the number of the register to be changed, and n is
the new value that is assigned.
P - Pulse Dial
T - Touch Tone Dial
W - Wait for the second dial tone
R - Reverse to answer-mode after dialing
@ - Wait for up to 30 seconds for one or more
ringbacks
, - Pause for the time specified in register S8
(usually 2 seconds)
; - Remain in command mode after dialing.
! - Flash switch-hook (Hang up for a half
second, as in transferring a call.)
L - Dial last number
GSM Testing :
Before Connecting to 8051 it is good to test GSM modem on PC using HyperTerminal. We
will test basic AT commands on GSM modem and try to send SMS & read SMS
HyperTerminal setup :
AT+CMGL="ALL"
+CMGL: 123,"REC READ","+123456789"
Hello World
OK
Use the following command to read a message with has index of 123:
AT+CMGR=123
+CMGR: "REC READ","+919986111439","02/04/10,17:46:49-12"
Hello World