Beruflich Dokumente
Kultur Dokumente
html
GSM Tutorial-Page1
This GSM tutorial covers GSM basics, network architecture, network elements, system specifications, applications, GSM burst types, GSM frame structure or
frame hierarchy, logical channels, physical channels, GSM physical layer or speech processing, GSM mobile phone network entry or call setup or Power ON
procedure, MO/MT call, VAMOS, AMR, MSK/GMSK modulation, physical layer, protocol stack, mobile phone basics, RF planning, PS call downlink and PS call
uplink.
GSM introduction
GSM is the short form of Global System for Mobile Communications. It is called 2G or Second Generation technology. It is developed to make use of same
subscriber units or mobile phone terminals throughout the world. There are various GSM standards such as GSM900, EGSM900, GSM1800 and GSM 1900;
they mainly differ based on RF carrier frequency band and bandwidth. This gsm tutorial covers network architecture, network elements, various interfaces,
specifications, GSM frame structure or GSM frame hierarchy, GSM burst types, GSM physical layer, GSM physical channels, GSM logical channels and their
functions, logical channel mapping, GSM mobile network entry procedure, GSM MO call and GSM MT call, VAMOS basics, AMR basics and MSK & GMSK
modulation types.
GSM Interfaces
Air interface between Mobile station and BTS
Abis interface between BTS and BSC
A interface between BSC and MSC
SS7 interface between MSC and PSTN
Refer GSM network interfaces page of gsm tutorial for detailed description.
GSM Tutorial-Page2
This page on GSM tutorial covers GSM frame structure including concept of slot, frame, multiframe, superframe and hyperframe. It covers both 51 frame
multiframe and 26 frame multiframe structure of GSM.
Normal burst(NB)
Synchronization Burst(SB)
TB (3 bits)
Coded Data (39 bits)
Synchronization sequence (264 bits)
Coded Data (39 bits)
TB (3 bits)
Guard Time (8.25 bits)
Dummy Burst
TB (3 bits)
Mixed (142 bits)
TB (3 bits)
Guard period (8.25 bits)
Access Burst(AB)
Extended TB (8 bits)
Synch sequence bits(41)
Encrypted bits (36)
TB (3 bits)
Extended Guard period (68.25 bits)
https://sites.google.com/site/thotranphuoc/collections/gsm-tutorials
GSM tutorials
Time Division Multiple Access (TDMA)
Time Division Multiple Access
Introduction
GSM uses Time Division Multiple Acces (TDMA) as its access scheme. This is how the MS interfaces
with the network. TDMA is the protocol used on the Air (Um) Link. GSM uses Gaussian Minimum-Shift
Keying (GMSK) as its modulation methos.
Time Division means that the frequency is divided up into blocks of time and only certain logical
channels are transmitted at certain times. Logical channels will be introduced in the next lesson.The
time divisions in TDMA are known as Time Slots.
Time Slots
A frequency is divided up into 8 time slots, numbered 0 to 7.
Time Slots
On a side note, also remember that GSM carrier frequencies are separated by 200kHz and that GSM
operates in duplex. A channel number assigned to a pair of frequencies, one uplink and one
downlink, is known as an Absolute Radio Frequency Channel Number (ARFCN). For a review of the
ARFCN go to the Introduction to GSM Tutorial.
Each time slot lasts 576.9 s. A time slot is the basic radio resource used to facilitate communication
between the MS and the BTS.
[Back to Top]
Data Rates
As stated earlier, GSM uses Gaussian Minimum-Shift Keying (GMSK) as its modulation method. GMSK
provides a modulation rate of 270.833 kilobits per second (kb/s).
At that rate, a maximum of 156.25 bits can be transmitted in each time slot (576.9 s).
Math:
270.833 kb/s 1000 = 270,833 bits/sec (Converting from kilobits to bits)
270,833 b/sec 1,000,000 = .207833 b/s (Calculating bits per miscrosecond)
.207833 b/s 576.9 s = 156.25 bits (Calculating number of bits per time slot)
So, 156.25 bits can be transmitted in a single time slot
[Back to Top]
Data Burst
The data transmitted during a single time slot is known as a burst. Each burst allows 8.25 bits
for guard time within a time slot. This is to prevent bursts from overlapping and interfering with
transmissions in other time slots. Subtracting this from the 156.25 bits, there are 148 bits usable for
each burst.
There are four main types of bursts in TDMA:
Normal Burst (NB)
Frequency Correction Burst (FB)
Synchronization Burst (SB)
Access Burst (AB)
Normal Burst
The data transmitted during a single time slot is known as a burst. Each burst allows 8.25 bits
for guard time. This is to prevent bursts from overlapping and interfering with transmissions in other
time slots.
Out of 156.25, this leaves 148 bits usable for each burst.
Here is the structure of a normal burst:
Burst
Tail Bits - Each burst leaves 3 bits on each end in which no data is transmitted. This is designed
to compensate for the time it takes for the power to rise up to its peak during a transmission. The
bits at the end compensate for the powering down at the end of the transmission.
Data Bits - There are two data payloads of 57 bits each.
Stealing Flags - Indicates whether the burst is being used for voice/data (set to "0") or if
the burst is being "stolen" by the FACCH to be used for singalling (set to "1"). *The FACCH is
discussed in the Logical Channels Tutorial
Training Sequence - The training sequence bits are used to overcome multi-path fading and
propagation effects through a method called equalization.
*Note: 3GPP TS 45.001 Standard does not describe stealing bits, and instead allows for two 58-bit
data payloads in a burst. However, it is common practice in GSM networks to use 57-bit payloads and
stealing bits.
This diagram illustrates a single burst inside a time slot. Remember that 8.25 bits are not used in
order to allow for a guard time.
Since each burst has two 57-bit data segments, we can see that a single burst has a data payload of
114 bits.
[Back to Top]
[Back to Top]
Synchronization Burst
This burst is used for time synchronization of the mobile. The data payload carries the TDMA Frame
Number (FN) and the Base Station Identity Code (BSIC). It is broadcast with the frequency correction
burst. The Synchronization Burst is broadcast on the Synchronization Channel (SCH).
*The SCH is discussed in the Logical Channels Tutorial
Synchronization Burst
[Back to Top]
Access Burst
This burst is used the by mobile station for random access. It has a much longer guard period (68.25
bits compared to the 8.25 bits in a normal burst). It is designed to compensate for the unknown
distance of the mobile station from the tower, when the MS wants access to a new BTS, it will not
know the correct Timing Advance.
*The RACH is discussed in the Logical Channels Tutorial
Access Burst
[Back to Top]
So, using GMSK modulation there is a maximum bit rate of 24.7 kb/s for a single time slot. Note that
this bit rate does not account for any error correction bits. Any bits used for error correction would
have to be stolen from the 114-bit data payload of each burst.
[Back to Top]
Each sequence of 8 time slots is known as a TDMA frame. The duration of a TDMA frame is 4.615
milliseconds (ms) (576.9 s 8).
* Remember that a TDMA frame is 8 time slots and that no one resource will be given an entire TDMA
frame, the resources must share them.
A TDMA Frame
[Back to Top]
Multiframe
Here is a diagram comparing the Control Channel multiframe and a traffic channel multiframe.
The next diagram shows a Traffic Channel (TCH) Multiframe with TS2 (green) being allocated to a
Mobile Station (MS). The red arrow indicates the sequence of transmission. The sequence starts in
TDMA frame 0 at TS0, proceeds through all eight time slots, then starts again with TDMA frame 1.
In this example, the MS has been allocated a Traffic Channel in TS2. Therefore the MS will
only transmit/receive during TS2 of each TDMA frame (TDMA frame is 8 timeslot).
[Back to Top]
Superframe
Hyperframe
The following diagram shows the relationship between all of the various time segments introduced in
this tutorial.
Logical Channels
Introduction
As you remember from the Introduction to TDMA tutorial. GSM divides up each ARFCN into 8 time
slots.
These 8 timeslots are further broken up into logical channels.
Logical channels can be thought of as just different types of data that is transmitted only on certain
frames in a certain timeslot.
Different time slots will carry different logical channels, depending on the structure the BSS uses.
There are two main categories of logical channels in GSM:
Signaling Channels
Traffic Channels (TCH)
Signaling Channels
Broadcast Channels (BCH) - Transmitted by the BTS to the MS. This channel carries system
parameters needed to identify the network, synchronize time and frequency with the network,
and gain access to the network.
Common Control Channels (CCH) - Used for signaling between the BTS and the MS and to request
and grant access to the network.
Standalone Dedicated Control Channels (SDCCH) - Used for call setup.
Associated Control Channels (ACCH) - Used for signaling associated with calls and call-setup. An
ACCH is always allocated in conjunction with a TCH or a SDCCH.
*keep in mind, these are only categories of logical channels, they are not logical channels
themselves.
The above categories can be divided into the following logical channels:
Broadcast Channels (BCH)
Broadcast Control Channel (BCCH)
Frequency Correction Channel (FCCH)
Synchronization Channel (SCH)
Cell Broadcast Channel (CBCH)
Common Control Channels (CCCH)
Paging Channel (PCH)
Random Access Channel (RACH)
Access Grant Channel (AGCH)
Standalone Dedicated Control Channel (SDCCH)
Associated Control Channel (ACCH)
Fast Associated Control Channel (FACCH)
Slow Associated Control Channel (SACCH)
TCH is alway associated with this group
[Back to Top]
Broadcast Control Channel (BCCH) - DOWNLINK - This channel contains system parameters
needed to identify the network and gain access. These paramters include the Location Area Code
(LAC), the Mobile Network Code (MNC), the frequencies of neighboring cells, and access parameters.
BCCH :
- LAC
- MNC
- frequency of neighboring
- access parameters
FCCH:
Synchronization Channel (SCH) - DOWNLINK - This channel is used by the MS to learn the Base
Station Information Code (BSIC) as well as the TDMA frame number (FN). This lets the MS know what
TDMA frame they are on within the hyperframe.
* The BSIC was covered in the Introduction to GSM Tutorial. You can also read about the numbering
schemes used in GSM.
SCH:
- BSIC
- TDMA frame number (FN)
Cell Broadcast Channel (CBCH) - DOWNLINK - This channel is not truly its own type of logical
channel. The CBCH is for point-to-omnipoint messages. It is used to broadcast specific information to
network subscribers; such as weather, traffic, sports, stocks, etc. Messages can be of any nature
depending on what service is provided. Messages are normally public service type messages or
announcements. The CBCH isnt allocated a slot for itself, it is assigned to an SDCCH. It only occurs
on the downlink. The CBCH usually occupies the second subslot of the SDCCH. The mobile will not
acknowledge any of the messages.
[Back to Top]
Paging Channel (PCH) - DOWNLINK - This channel is used to inform the MS that it has incoming
traffic. The traffic could be a voice call, SMS, or some other form of traffic.
Random Access Channel (RACH) - UPLINK This channel is used by a MS to request an initial
dedicated channel from the BTS. This would be the first transmission made by a MS to access the
network and request radio resources. The MS sends an Access Burst on this channel in order to
request access.
Access Grant Channel (AGCH) - DOWNLINK - This channel is used by a BTS to notify the MS of the
assignement of an initial SDCCH for initial signaling.
[Back to Top]
Fast Associated Control Channel (FACCH) - UPLINK/DOWNLINK - This channel is used for control
requirements such as handoffs. There is
The FAACH is a burst-stealing channel, it steals a Timeslot from a Traffic Channel (TCH).
[Back to Top]
Downlink
Uplink
[Back to Top]
BCCH + CCCH
Downlink
Uplink
[Back to Top]
The SACCH that is associated with each SDCCH is only transmitted every other multiframe. Each
SACCH only gets half of the transmit time as the SDCCH that it is associated with. So, in one
multiframe, SACCH0 and SACCH1 would be transmitted, and in the next multiframe, SACCH2 and
SACCH3 would be transmitted. The two sequential multiframes would look like this:
Downlink
Uplink
You will also notice that the downlink and uplink multiframes do not align with each other. This is
done so that if the BTS sends an information request to the MS, it does not have to wait an entire
multiframes to receive the needed information. The uplink is transmitted 15 TDMA frames behind the
downlink. For example, the BTS might send an authentication request to the MS on
SDCCH0 (downlink) which corresponds to TDMA frames 22-25. The MS then has enough time to
process the request and reply on SDCCH0 (uplink) which immediately follows it on TDMA frames 3740.
[Back to Top]
Once again, the SACCH that is associated with an SDCCH is only transmitted every other multiframe.
Two consecutive multiframes would look like this:
Downlink
Uplink
[Back to Top]
Traffic Channels are used to carry two types of information to and from the user:
Encoded Speech
Data
There are two basic types of Encoded Speech channels:
Encoded Speech - Encoded speech is voice audio that is converted into digital form and
compressed. See the Speech Encoding tutorial to see the process.
Full Rate Speech TCH (TCH/FS) - 13 kb/s
Half Rate Speech TCH (TCH/HS) - 5.6 kb/s
Data - Data refers to user data such as text messages, picture messages, internet browsing, etc. It
includes pretty much everything except speech.
Full rate Data TCH (TCH/F14.1) - 14.4 kb/s
Full rate Data TCH (TCH/F9.6) - 9.6 kb/s
Full rate Data TCH (TCH/F4.8) - 4.8 kb/s
Half rate Data TCH (TCH/F4.8) - 4.8 kb/s
Full rate Data TCH (TCH/F2.4) - 2.4 kb/s
Half rate Data TCH (TCH/H2.4) - 2.4 kb/s
[Back to Top]
Time slots 2 through 7 are normally used for Traffic Channels (TCH)
Traffic Channel Multiframes are composed of only 26 TDMA frames. On each
multiframe, there are 24 frames for Traffic Channels, 1 frame for a SACCH,
and the last frame is Idle. Remember that a MS (or other device) only gets
one time slot per TDMA frame to transmit, so in the following diagrams we
When using Half-Rate Speech Encoding (TCH/HS), the speech encoding bit rate is 5.6 kb/s, so one
time slot can handle two half-rate channels. In this case, one channel will transmit every other TDMA
frame, and the other channel would be transmitted on the other frames. The final frame (25), which
is normally used as an Idle frame, is now used as a SACCH for the second half-rate channel.
[Back to Top]
ARFCN Mapping
This diagram shows a sample Multiframe with logical channels mapped to time slots and TDMA
frames. This is just one possible configuration for an ARFCN.
*For illustrative purposes, half of the traffic channels are full-rate and the other half are half-rate
TS0
TS1
TS2
TS3
TS4
TS5
TS6
TS7
*Remember that CCH Multiframes have 51 frames and TCH Multiframes only have 26. Their
sequences will synchronize every superframe.
[Back to Top]
Offset
Even though GSM uses a full duplex radio channel, the MS and the BTS do not transmit at the exact
same time. If a MS is assigned a given time slot, both the MS and the BTS will transmit during that
given time slot, but their timing is offset. The uplink is exactly 3 time slots behind the downlink. For
example, if the MS was allocated a TCH on TS3, the BTS would transmit when the downlink is on TS3
and the MS is set to receive on TS3. At this point, the uplink is only on TS0. Once the uplink reaches
TS3, the MS would begin to transmit, and the BTS is set to receive on TS3. At this point, the downlink
would be at TS6. When the MS is not transmitting or receiving, it switches frequencies to monitor the
BCCH of adjacent cells.
[Back to Top]
A single BTS may have several Transceivers (TRX) assigned to it, each TRX has its own ARFCN (one
frequency) , each ARFCN having 8 time slots.
The logical channels that support signaling will normally only be on one ARFCN. All of the other
ARFCNs assigned to a BTS will allocate all 8 time slots to Traffic Channels, to support multiple users.
The following diagram is an example of how a medium-sized cell might be set up with 4 TRX
(ARFCNs).
[Back to Top]
Frequency Hopping
Each radio frequency Channel (ARFCN) is influenced differently by propagation conditions (ty theo
mi trng truyn m mi tn s b nh hng khc nhau) . What affects channel 23 may not affect
channel 78 at all. Within a given cell, some frequencies will have good propagation in a certain area
and some will have poor propagation in that area. In order to take advantage of the good
propagation and to defeat the poor propagation, GSM utilizes frequency hopping. Frequency hopping
means that a transceiver hops from one frequency to another in a predetermined sequence. If a
transceiver hops through all of the avilable frequencies in a cell then it will average out the
propagation. GSM uses Slow Frequency Hopping (SFH). It is considered slow becuase the system
hops relatively slow, compared with other frequency hopping systems. In GSM, the operating
frequency is changed every TDMA frame.
The main reason for using slow frequency hopping is because the MS must also change its frequency
often in order to monitor adjacent cells. The device in a transceiver that generates the frequency is
called a frequency synthesizer. On a MS, a synthesizer must be able to change its frequency within
the time frame of one time slot, which is equal to 577 s. GSM does not require the BTS to utilize
frequency hopping. However, a MS must be capable of utilizing frequency hopping when told to do
so.
The frequency hopping and timing sequence is known as the hopping algorithm. There are two types
of hopping algorithms available to a MS.
Cyclic Hopping - The transceiver hops through a predefined list of frequencies in sequential
order.
Random Hopping - The transceiver hops through the list of frequencies in a random manner.
The sequence appears random but it is actually a set order.
There are a total of 63 different hopping algorithms available in GSM. When the MS is told to switch
to frequency hopping mode, the BTS will assign it a list of channels and the Hopping Sequence
Number (HSN), which corresponds to the particular hopping algorithm that will be used.
The base channel on the BTS does not frequency hop. This channel, located in time slot 0, holds the
Broadcast Control Channels which the MS needs to monitor to determine strength measurements,
Synthesizer Hopping - This requires the TRX itself to change frequencies according to the
hopping sequence. So, one TRX would hop between multiple frequencies on the same sequence
that the MS is required to.
Baseband Hopping - In this method there are several TRX and each one stays on a fixed
frequency within the hopping frequency plan. Each TRX would be assigned a single time
slot within a TDMA frame. For example, time slot 1 might be assigned to TRX 2 in one TDMA
frame and in the next TDMA frame it would be assigned to TRX 3, and the next frame would be
TRX 3. So, the data on each time slot would be sent on a different frequency each frame, but
the TRXs on the BTS do not need to change frequency. The BTS simply routes the data to the
appropriate TRX, and the MS knows which TRX to be on for any given TDMA frame.