Gsm review note by zemaryali

83
Section 0 Section 0 Review of GSM Principles Review of GSM Principles

description

GSM Note By Zemaryali

Transcript of Gsm review note by zemaryali

Page 1: Gsm review note by zemaryali

Section 0Section 0

Review of GSM PrinciplesReview of GSM Principles

Page 2: Gsm review note by zemaryali

GSM Architecture OverviewGSM Architecture Overview

BTSBTS BSCBSC

HLRHLR

MSCMSC AuCAuC

EIREIR

PSTNPSTN

TRXTRX

Air Interface Air Interface (Um)(Um)

BSSBSS

OMCOMC

A Interface A Interface AbisAbis Interface Interface

MSMS

MSMS

MSMS

VLRVLR

NSSNSS

Page 3: Gsm review note by zemaryali

GSM Mobile Terminal (MT)GSM Mobile Terminal (MT)

TETE MSMS

Mobile Terminal (MT)Mobile Terminal (MT)

TE - Terminal EquipmentTA - Terminal AdaptorMS - Mobile StationME - Mobile EquipmentSIM - Subscriber Identity Module

Base StationBase StationSubsystemSubsystem

S S UUmmInterfaceInterface

GSM Core GSM Core NetworkNetwork

AAInterfaceInterface

MEMESIMSIM

TA

Reference PointsReference Points

R R

Page 4: Gsm review note by zemaryali

The Mobile Station (MS)The Mobile Station (MS)

• The mobile station consists of:

• mobile equipment (ME)

• subscriber identity module (SIM)

• The SIM stores permanent and temporary data about the mobile, the subscriber and the network, including:

• The International Mobile Subscribers Identity (IMSI)

• MS ISDN number of subscriber

• Authentication key (Ki) and algorithms for authentication check

• The mobile equipment has a unique International Mobile Equipment Identity (IMEI), which is used by the EIR

Page 5: Gsm review note by zemaryali

The Base Station SubThe Base Station Sub--System (BSS)System (BSS)

• The BSS comprises:• Base Station Controller (BSC) • One or more Base Transceiver Stations (BTSs)

• The purpose of the BTS is to:• provide radio access to the mobile stations• manage the radio access aspects of the system

• BTS contains: • Radio Transmitter/Receiver (TRX)• Signal processing and control equipment• Antennas and feeder cables

• The BSC:• allocates a channel for the duration of a call • maintains the call:

– monitors quality– controls the power transmitted by the BTS or MS– generates a handover to another cell when required

• Siting of the BTS is crucial to the provision of acceptable radio coverage

BSCBSC

BTS

BTS

BTS

BSSBSS

BTS

Page 6: Gsm review note by zemaryali

BSS Network TopologiesBSS Network Topologies

• Chain: cheap, easy to implement• One link failure isolates several BTSs

• Ring: Redundancy gives some protection if a link fails

• More difficult to roll-out and extend

• ring must be closed

• Star: most popular configuration for first GSM systems

• Expensive as each BTS has its own link

• One link failure always results in loss of BTS

BSC

BSC

BSC

Page 7: Gsm review note by zemaryali

Network Switching System (NSS)Network Switching System (NSS)

• Key elements of the NSS:

• Mobile Switching Centre (MSC) with:• Visitor Location Register (VLR)

• Home Location Register (HLR) with:

• Authentication Centre (AuC)

• Equipment Identity Register (EIR)

• Gateway MSC (GMSC)

• These elements are interconnected by means of an SS7 network

EIR

PSTN/ISDN

SS7 Network

MSC

VLR

HLR

AuC

GMSC

Page 8: Gsm review note by zemaryali

Mobile Switching Centre (MSC)Mobile Switching Centre (MSC)

Functions of the MSC:

• Switching calls, controlling calls and logging calls

• Interface with PSTN, ISDN, PSPDN

• Mobility management over the radio network and other networks

• Radio Resource management - handovers between BSCs

• Billing Information

MSC

VLR

Page 9: Gsm review note by zemaryali

Visitor Location Register (VLR)Visitor Location Register (VLR)

• Each MSC has a VLR

• VLR stores data temporarily for mobiles served by the MSC

• Information stored includes:• IMSI

• MSISDN

• MSRN

• TMSI

• LAI

• Supplementary service parameters

MSC

VLR

Page 10: Gsm review note by zemaryali

Home Location Register (HLR)Home Location Register (HLR)

• Stores details of all subscribers in the network , such as:• Subscription information

• Location information: mobile station roaming number, VLR, MSC

• International Mobile Subscriber Identity (IMSI)

• MS ISDN number

• Tele-service and bearer service subscription information

• Service restrictions

• Supplementary services

• Together with the AuC, the HLR checks the validity and service profile of subscribers

HLR

AuC

Page 11: Gsm review note by zemaryali

HLR ImplementationHLR Implementation

• One HLR in a network

• May be split regionally

• Stores details of several thousand subscribers

• Stand alone computer - no switching capabilities

• May be located anywhere on the SS7 network

• Combined with AuC

HLR

AuC

Page 12: Gsm review note by zemaryali

Gateway Mobile Switching Centre (GMSC)Gateway Mobile Switching Centre (GMSC)

• A Gateway Mobile Switching Centre (GMSC) is a device which routes traffic entering a mobile network to the correct destination

• The GMSC accesses the network’s HLR to find the location of the required mobile subscriber

• A particular MSC can be assigned to act as a GMSC

• The operator may decide to assign more than one GMSC

GMSC

Page 13: Gsm review note by zemaryali

Equipment Identity Register (EIR)Equipment Identity Register (EIR)

• EIR is a database that stores a unique InternationalMobile Equipment Identity (IMEI) number for each item of mobile equipment

• The EIR controls access to the network by returning the status of amobile in response to an IMEI query

• Possible status levels are:

• White-listed The terminal is allowed to connect to the network.

• Grey-listed The terminal is under observation by the network for possible problems.

• Black-listed The terminal has either been reported stolen, or is not a type approved for a GSM network. The terminal is not allowed to connect to the network.

EIR

Page 14: Gsm review note by zemaryali

GSM Network InterfacesGSM Network Interfaces

BTSBTS BSCBSC

HLRHLR

MSCMSC

EIREIR

TRXTRX

BSSBSSMSMS

MSMS

MSMSVLRVLR

NSSNSS

CC

DD

FF

BB

AA

UUmm

AAbisbis

AuCAuC

HH

Page 15: Gsm review note by zemaryali

PP--GSM Spectrum (Primary GSM)GSM Spectrum (Primary GSM)

Uplink Downlink

890 915 935 960 MHz

Duplex spacing = 45 MHz

Guard Band100 kHz wide

Channel Numbers (n) (ARFCN)200 kHz spacing

Range of ARFCN:1 - 124

1 nGuard Band100 kHz wide

Fu(n)

2 3 4

Page 16: Gsm review note by zemaryali

EE--GSM Spectrum (Extended GSM)GSM Spectrum (Extended GSM)

Uplink Downlink

880 915 925 960 MHz

Duplex spacing = 45 MHz

Guard Band100 kHz wide

Channel Numbers (n) (ARFCN)200 kHz spacing

Range of ARFCN:1 – 124975 - 1023 1 n

Guard Band100 kHz wide

Fu(n)

2 3 4

Page 17: Gsm review note by zemaryali

DCS DCS -- 1800 Spectrum1800 Spectrum

Uplink Downlink

1710 1785 1805 1880 MHz

Duplex spacing = 95 MHz

Guard Band100 kHz wide

Channel Numbers (n) (ARFCN)200 kHz spacing

Range of ARFCN:512 - 885

1 nGuard Band100 kHz wide

Fu(n)

2 3 4

Page 18: Gsm review note by zemaryali

1800 MHz Utilization in UK1800 MHz Utilization in UK

The present distribution of frequencies among UK operator is:

DECT: Digital Enhanced Cordless Telecommunications

Vodafone/Cellnet

1710 1721.5 17851781.5

MHz

One 2 One

DE

CT

1805 1816.5 18801876.5

MHz

Uplink

Downlink

One 2 One

Orange

1751.5

1846.5

Page 19: Gsm review note by zemaryali

PCS PCS -- 1900 Spectrum1900 Spectrum

Uplink Downlink

1850 1910 1930 1990 MHz

Duplex spacing = 80 MHz

Guard Band100 kHz wide

Channel Numbers (n) (ARFCN)200 kHz spacing

Range of ARFCN:512 - 810

1 nGuard Band100 kHz wide

Fu(n)

2 3 4

Page 20: Gsm review note by zemaryali

Multiple Access TechniquesMultiple Access Techniques

• Purpose: to allow several users to share the resources of the air interface in one cell

• Methods:• FDMA - Frequency Division Multiple Access

• TDMA - Time Division Multiple Access

• CDMA - Code Division Multiple Access

Page 21: Gsm review note by zemaryali

Frequency Division Multiple Access (FDMA) Frequency Division Multiple Access (FDMA)

• Divide available frequency spectruminto channels each of the same bandwidth

• Channel separation achieved by filters:

• Good selectivity

• Guard bands between channels

• Signalling channel required to allocate a traffic channel to a user

• Only one user per frequency channel at any time

• Used in analog systems, such as AMPS, TACS

• Limitations on:

• frequency re-use

• number of subscribers per area channel bandwidth

User 1

User 2

User 3

User 4

User 5

Freq

uenc

y

Time

Page 22: Gsm review note by zemaryali

Time Division Multiple Access (TDMA)Time Division Multiple Access (TDMA)

• Access to available spectrum is limited to timeslots

• User is allocated the spectrum for the duration of one timeslot

• Timeslots are repeated in framesFr

eque

ncy

TimeFrame Timeslot

Use

r 1

Use

r 2

Use

r 3

Use

r 4

Use

r 5

Use

r 6

Use

r 7

Use

r 1

Use

r 2

Use

r 3

Use

r 4

Use

r 5

Use

r 6

Use

r 7

Sig

nalli

ng

Sig

nalli

ng

Page 23: Gsm review note by zemaryali

GSM ChannelsGSM Channels

GSM defines two fundamental channel types:

• Physical Channels:

• the individual channels carried by a radio frequency carrier

• Each carrier comprises 8 time-separated channels

• Logical Channels:

• time-dependant virtual channels carried on a single physical channel

• one physical channel may support one or multiple logical channels

Page 24: Gsm review note by zemaryali

GSM Physical ChannelsGSM Physical Channels

• GSM employs both FDMA and TDMA at the Air Interface

• Each BTS may comprise a number of TRXs, with the carrier of each TRX operating on a different frequency (FDM)

• Each GSM carrier supports 8 time-separated physical channels (TDMA)

• Each physical channel is allocated to a specific timeslot on the carrier

• A group of 8 timeslots on a carrier is known as a TDMA frame

0 1 2 3 4 5 6 7

4.615 ms

timeslot = 0.577 ms

1 frame period

Page 25: Gsm review note by zemaryali

GSM Logical ChannelsGSM Logical Channels

TCHTCH

TrafficTraffic

TCH/HTCH/H

TCH/FTCH/F

CCCHCCCH

ControlControl

BCHBCH DCCHDCCH

FCCHFCCH

SCHSCH

BCCHBCCH

PCHPCH

RACHRACH

AGCHAGCH

CBCHCBCH

SDCCHSDCCH

SACCHSACCH

FACCHFACCH

• Two types of logical channel are defined; traffic and control channels

• Each is further sub-divided as shown:

Page 26: Gsm review note by zemaryali

Traffic Channels (TCH)Traffic Channels (TCH)

• One physical channel (1 timeslot) can support:• 1 TCH/F or 2 TCH/H

• TCH/F: 13 kb/s voice or 9.6 kb/s data

• TCH/H: 6.5 kb/s voice or 4.8 kb/s data

0 1 2 3 4 5 6 7

5 6 7 0 1 2 3 4

BTS transmits:

MS transmits:

Uplink / Downlink SynchronisationThe MS transmit burst is delayed by 3 timeslots after the BTS burst.. This delay allows enables:

• Use of the same UL and DL timeslot number in TDMA frame

• Avoids simultaneous Tx/Rx requirement

• Allows for timing advance (TA)

• Allows time to switch between Tx and Rx

Page 27: Gsm review note by zemaryali

Broadcast Channels (BCH)Broadcast Channels (BCH)

• FCCH: Frequency control channel sends the MS a burst of all ‘0’ bits which acts as a beacon and allows MS to fine tune to the downlink frequency and time-synchronise.

• SCH: Synchronisation channel enables TDMA-Frame number synchronisation by sending the absolute value of the frame number (FN), together with the BTS’s BSIC

• BCCH: Broadcast Control Channel sends network-specific information such as radio resource management and control messages, LocationArea Code etc.

BCH channels are all downlink and are allocated to timeslot zero. BCH channels include:

Page 28: Gsm review note by zemaryali

Common Control Channels (CCCH) Common Control Channels (CCCH)

CCCH contains all point to multi-point downlink channels (BTS to

several MSs) and the uplink Random Access Channel:

• RACH: Random Access Channel is sent by the MS to request a resources from the network e.g. an SDCCH channel for call setup.

• AGCH: Access Grant Channel is used to allocate a dedicated channel (SDCCH) to the mobile.

• PCH: Paging Channel sends paging signal to inform mobile of a call.

• CBCH: Cell Broadcast Channel is an optional GSM Phase II implementations for SMS broadcast messages, for example road traffic reports or network engineering messages.

Page 29: Gsm review note by zemaryali

Dedicated Control Channels (DCCH)Dedicated Control Channels (DCCH)

• SDCCH: Standalone Dedicated Channel is used for call set up, location updating and also SMS

• SACCH: Slow Associated Control Channel is used for link measurements and signalling during a call

• FACCH: Fast Associated Control Channel is used (when needed) for signalling during a call, mainly for delivering handover messages and for acknowledgement when a TCH is assigned

DCCH comprise the following bi-directional (uplink / downlink) point to point control channels:

Page 30: Gsm review note by zemaryali

Logical ChannelsLogical Channels

• Multiframes provide a way of mapping the logical channels on to the physical channels (timeslots)

• A logical channel is a series of consecutive instances of a particular timeslot

• A multiframe is a repeating combination of logical channels

0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 70 1 2 3 4 5 6 7

1 1 1 1Logical Channel

TDMA FrameTime TDMA FrameTDMA Frame

Page 31: Gsm review note by zemaryali

Traffic Channel MultiframeTraffic Channel Multiframe

• The TCH multiframe consists of 26 timeslots.

• This multiframe maps the following logical channels:

• TCH Multiframe structure:

•TCH•SACCH•FACCH

T = TCH S = SACCH I = Idle

FACCH is not allocated slots in the multiframe. It steals TCH slots when required.

T TT T T T T T T T T T T T T T T T IT T T T T

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 24 2516 17 18 19 20 21 22 23

TS

Page 32: Gsm review note by zemaryali

Control Channel MultiframeControl Channel Multiframe

• The control channel multiframe is formed of 51 timeslots

• CCH multiframe maps the following logical channels:Downlink:

• FCCH• SCH• BCCH• CCCH (combination of PCH and AGCH)

Uplink:• RACH

0 1 42-45 46-49 5032-35 36-39 40 4122-25 26-29 30 3112-15 16-19 20 212-5 6-9 10 11

RACH

Uplink

Downlink F = FCCH S = SCH I = Idle

S BCCHF CCCH S CCCHF CCCH S CCCHF CCCH S CCCHF CCCH S CCCHF CCCH I

Page 33: Gsm review note by zemaryali

• In a non combined multiframe, up to 7 of the 9 blocks may be reserved for AGCH:

Multiple Signalling Channel ConfigurationsMultiple Signalling Channel Configurations

• In a combined multiframe, up to 2 of the 3 blocks may be reserved for AGCH:

• Additional CCCH capacity can be provided on other timeslots (TS 2,4 or 6) of the BCCH carrier if required

• The number of AGCH blocks reserved is indicated to the MS in the system information messages that the MS reads on the BCCH

S BCCHF CCCH S CCCHF CCCH S CCCHF CCCH S CCCHF CCCH S CCCHF CCCH I

S BCCHF CCCH S CCCHF CCCH SSDCCH

0F SF SF ISDCCH

1SDCCH

2SDCCH

3SACCH

0SACCH

1

Page 34: Gsm review note by zemaryali

Frame HierarchyFrame Hierarchy

0 1 2 3 4 5 6 7

1 timeslot = 0.577 ms

1 frame = 8 timeslots = 4.615 ms

= 26 TCH Frames (= 120 ms)or51 BCCH Frames (= 235 ms)

= 26 BCCH Multiframes (= 6.12s)or 51 TCH Multiframes (= 6.12s)

= 2048 Superframes(= 3 hr 28 min 53.76 s)

Multiframe:

Superframe:

Hyperframe:

Page 35: Gsm review note by zemaryali

TRAU ConfigurationsTRAU Configurations

BTS SiteBTS Site BSC SiteBSC Site MSC SiteMSC Site

TRAU

BTS SiteBTS Site

CCU

CCU

BSC SiteBSC Site MSC SiteMSC Site

BTS SiteBTS Site

CCU

CCU

BSC SiteBSC Site MSC SiteMSC Site

AA

BB

CC

AAbisbisUUmm AA

MSC NodeMSC Node BSC NodeBSC NodeCCU Channel Coding UnitChannel Coding Unit

TRAU

TRAU

16kbps16kbps

16kbps16kbps

16kbps16kbps 16kbps16kbps

64kbps64kbps

64kbps64kbps

64kbps64kbps

64kbps64kbps

16kbps16kbps

CCU

CCU

Page 36: Gsm review note by zemaryali

Air Interface Layer FunctionsAir Interface Layer Functions

Signalling

CC MM RR

Build framesRequest

acknowledgement

Channel codingError protection

Interleaving

RF modulation

Signalling

CC MM RR

Reconstruct framesSend acknowledgement

Error correctionDe - interleaving

Equalization

RF demodulation

Radio waves

CC: Call ControlMM: Mobility ManagementRR: Radio Resources

Speech and Data Speech and Data

Layer 1

Layer 3

Layer 2

Page 37: Gsm review note by zemaryali

GSM Voice & Channel Coding SequenceGSM Voice & Channel Coding Sequence

8000 Hz sampling

13-bit resolution

Quantization8000x13bits= 104 kbps

Channel Coding

2080-bit (20ms) blocks(note 1)

RPE-LTPSpeech Coder

260-bit blocks13 kbps

Interleaving

Encryption Radio BurstMultiplexing

GMSKModulation

note 1: 160 samples of 13 bits per 20ms

22.8 kbps456-bit blocks

156.25-bit bursts

Speech Coding

Channel Coding

Radio Interface

Page 38: Gsm review note by zemaryali

Speech CodingSpeech Coding

• GSM transmits using digital modulation - speech must be converted to binary digits

• Coder and decoder must work to the same standard

• Simplest coding scheme is Pulse Code Modulation (PCM)• Sampling every 125 µs

• Requires data rate of 64 kbps

• This is too high for the bandwidth available on the radio channels

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

1.2

Sample analog signal at 8 kHZ Digital pulse train at 64 kbps

PCM

Page 39: Gsm review note by zemaryali

Advanced Speech CodingAdvanced Speech Coding

• We cannot send the 64 kbps required by PCM• We need alternative speech encoding

techniques

• Estimates are that speech only contains 50 bits per second of information

• Compare time to speak a word or sentence with time to transmit corresponding text

• Attempts to encode speech more efficiently:• speech consists of periodic waveforms -

so just send the frequency and amplitude• model the vocal tract - phonemes, voiced

and unvoiced speech• Vocoder - synthetic speech quality

“yahoo”

Page 40: Gsm review note by zemaryali

GSM Voice Coding SequenceGSM Voice Coding Sequence

8000 Hz sampling

13-bit resolution

Quantization8000x13bits= 104 kbps

Channel Coding

2080-bit (20ms) blocks(note 1)

RPE-LTPSpeech Coder

260-bit blocks13 kbps

Interleaving

Encryption Radio BurstMultiplexing

GMSKModulation

note 1: 160 samples of 13 bits per 20ms

22.8 kbps456-bit blocks

156.25-bit bursts

Speech Coding

Channel Coding

Radio Interface

Page 41: Gsm review note by zemaryali

Speech DigitisationSpeech Digitisation

8000 samples per second

8192

(213

) qua

ntis

atio

n le

vels

8000 samples per second x 13 bits per sample = 104kbps per secondDivided into 20mS blocks = 2080 bits per block

Page 42: Gsm review note by zemaryali

GSM Channel CodingGSM Channel Coding

8000 Hz sampling

13-bit resolution

Quantization8000x13bits= 104 kbps

Channel Coding

2080-bit (20ms) blocks(note 1)

RPE-LTPSpeech Coder

260-bit blocks13 kbps

Interleaving

Encryption Radio BurstMultiplexing

GMSKModulation

note 1: 160 samples of 13 bits per 20ms

22.8 kbps456-bit blocks

156.25-bit bursts

Speech Coding

Radio Interface

Page 43: Gsm review note by zemaryali

53 bits

GSM (TCH/F) Channel CodingGSM (TCH/F) Channel Coding

78 Class 2 bits(side information)

½-rate convolution encoder

50 Class 1a bits

Inc 3 parity bits

4 tail bits

78 non-encoded bits378 convolution encoded bits +

456 bits

uncoded

260 bits

x2

132 Class 1b bits

189 bit block coding 132 bits

Page 44: Gsm review note by zemaryali

Block InterleavingBlock Interleaving

8000 Hz sampling

13-bit resolution

Quantization8000x13bits= 104 kbps

Channel Coding

2080-bit (20ms) blocks(note 1)

RPE-LTPSpeech Coder

260-bit blocks13 kbps

Interleaving

Encryption Radio BurstMultiplexing

GMSKModulation

note 1: 160 samples of 13 bits per 20ms

22.8 kbps456-bit blocks

156.25-bit bursts

Speech Coding

Radio Interface

Page 45: Gsm review note by zemaryali

Interleaving Interleaving -- Effects of Effects of ‘‘BurstBurst’’ NoiseNoise

1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 81 2 3 4 5 6 7 8

Noise burst

3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 81 1 1 2 2 2 3 3

Noise burst

1

1

1

Channel 1

Channel 2

Channel 3

• Non – Interleaved Channels:

• Interleaved Channels:

Page 46: Gsm review note by zemaryali

InterleavingInterleaving

456 bits

Channel Coder Channel Coder

1 2 3 4 5 6 7 8

456 bits

1 2 3 4 5 6 7 8

1 2 3 4 5 6 71 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8

(8 x 57 bit blocks)

Page 47: Gsm review note by zemaryali

GSM Burst MultiplexingGSM Burst Multiplexing

8000 Hz sampling

13-bit resolution

Quantization8000x13bits= 104 kbps

Channel Coding

2080-bit (20ms) blocks(note 1)

RPE-LTPSpeech Coder

260-bit blocks13 kbps

Interleaving

Encryption Radio BurstMultiplexing

GMSKModulation

note 1: 160 samples of 13 bits per 20ms

22.8 kbps456-bit blocks

156.25-bit bursts

Speech Coding

Channel Coding

Radio Interface

Page 48: Gsm review note by zemaryali

Radio Burst MultiplexingRadio Burst Multiplexing

1 burst = 156.25 bit periods (0.577mS)

456 bits

1 2 3 4 5 6 7 8

456 bits

1 2 3 4 5 6 7 8

1 2 3 4 5 6 7

13 8.2557 data bits26 training bits 1 357 data bits

1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8

(8 x 57 bit blocks)

Page 49: Gsm review note by zemaryali

Types of Data BurstTypes of Data Burst

• The 156.25 bit periods of a timeslot can hold different types of data burst:

8.2526 Training

Bits

142 fixed bits

8

Guard period

Normal Burst(Traffic and most control channels)

Frequency Correction Burst (FCCH)Data and tail bits are all 0

Synchronisation Burst (SCH)Data to synchronise MS with BTS

Dummy BurstTransmitted on BCCH carrier when there are no other

bursts - allows power level measurements

Access Burst (RACH)Long guard period to avoid collisions

Tail bits

Stealing flag bits

57 Data Bits

41 Training Bits 36 Data Bits

1 3

3 8.253

3 8.2539 Data Bits

64 Training BitsSync Sequence

39 Data Bits 3

26 Training Bits 8.2533

157 Data Bits3

3 68.25

Page 50: Gsm review note by zemaryali

GSM ModulationGSM Modulation

8000 Hz sampling

13-bit resolution

Quantization8000x13bits= 104 kbps

Channel Coding

2080-bit (20ms) blocks(note 1)

RPE-LTPSpeech Coder

260-bit blocks13 kbps

Interleaving

Encryption Radio BurstMultiplexing

GMSKModulation

note 1: 160 samples of 13 bits per 20ms

22.8 kbps456-bit blocks

156.25-bit bursts

Speech Coding

Channel Coding

Radio Interface

Page 51: Gsm review note by zemaryali

Speech

GSM Voice/Channel Coding SummaryGSM Voice/Channel Coding Summary

20ms Block 20ms Block

260 bits

456 bits

13kbps

Speech Coder

Channel Coder

260 bits

Speech Coder

Channel Coder

1 2 3 4 5 6 7 8

456 bits

1 2 3 4 5 6 7 8

1 2 3 4 5 6 7

13 8.2557 data bits26

training bits

1 357 data bits 1 burst = 156.25 bit periods (0.577mS)

22.8kbps

20ms Block

RPE-LTP encoding

Block and convolution encoding

Interleaving

8 x 57-bit blocks

1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8

(2080 bits per block)

Page 52: Gsm review note by zemaryali

Channel RequestChannel Request

Immediate AssignmentImmediate Assignment

RACHRACH

AGCHAGCH

MobileMobile BSSBSS

MobileMobile--Initiated RR Connection SetupInitiated RR Connection Setup

Channel RequestChannel Request RACHRACH

Channel RequestChannel Request RACHRACH

Page 53: Gsm review note by zemaryali

Paging RequestPaging Request

Channel RequestChannel Request

Immediate AssignmentImmediate Assignment

PCHPCH

RACHRACH

AGCHAGCH

MobileMobile BSSBSS

NetworkNetwork--Initiated RR Connection SetupInitiated RR Connection Setup

Page 54: Gsm review note by zemaryali

Channel ReleaseChannel Release

Return to idle stateReturn to idle state

SDCCHSDCCH

MobileMobile BSSBSS

RR Connection ReleaseRR Connection Release• Initiated by network only

• Reasons could include:• End of a call

• Too many errors

• Removal of channel in favour of higher priority call

• MS waits for a short random period and returns to idle state

Short random delayShort random delay

Page 55: Gsm review note by zemaryali

Handover TypesHandover Types

There are four different types of handover in the GSM system, which involve transferring a call between:

• Channels (time slots) in the same cell

• Cells within the same BSS (same BSC)

• Cells in different BSSs (different BSCs) but under the control of the same MSC

• Cells under the control of different MSCs

GSM handovers are ‘hard’ – i.e. mobile only communicates with one cell at a time

Internal

External

BSC

MSC

VLR

BSC

MSC

VLR

BSC

Page 56: Gsm review note by zemaryali

Handover CausesHandover Causes

• Handover can be initiated by either MS or MSC

• Handover decision is based on the following parameters (in priority order):

• Received signal quality

• Received signal strength

• Distance of MS from BTS

• Drops below power budget margin

• Each parameter has a operator-defined threshold and handover decisions can be based on one or a combination of the parameters

Page 57: Gsm review note by zemaryali

Handover Command MessageHandover Command Message

Structure of the message sent to MS by original BSS:

Message Type

Cell Description

Handover Reference

Power Command

Channel Description

Frequency List

or

Mobile Allocation

Includes Frequency Hopping information if required

Non - Frequency Hopping

Frequency Hopping

MS BSS

Handover Command

Page 58: Gsm review note by zemaryali

Handover MarginHandover Margin

Nom

inal

cel

l bou

ndar

y

BTS 1 BTS 2

Handover to BTS 2Handover to BTS 1

Mobile remains with BTS 1 or BTS 2

Hysteresis due to handover margin

Page 59: Gsm review note by zemaryali

Example of Handover SignallingExample of Handover Signalling

Signalling for a basic Inter-BSC handover involving only one MSC (Intra -MSC):

MS MSCBSS 1 BSS 2Measurement report

Measurement report

Measurement report

Measurement report

Handover Required

Handover Request

Handover Command

Acknowledgement

Handover Command

Handover AccessHandover Detection

Physical Information

Handover CompleteHandover Complete

Clear Command

Clear Complete

Measurement report

Measurement report

Page 60: Gsm review note by zemaryali

Network AreasNetwork Areas

• Cell: radio coverage area of one base station (BTS)• GSM assigns a cell global identity number to each cell

• Location Area: Group of cells served by one or more BSCs. • When there is an incoming call, the mobile is paged throughout

its location area. A unique Location Area Identity (LAI) is assigned to each LA.

• MSC Service Area: part of network covered by one MSC. • All mobiles in this area will be registered in the VLR associated

with the MSC.

• PLMN Service Area: public land mobile network area - the area served by one network operator

Page 61: Gsm review note by zemaryali

MS Mobility StatesMS Mobility States

A Mobile Station (MS) can be in one of three mobility states:

• MS turned off

• MS turned on in idle mode

• MS turned on in dedicated mode

Page 62: Gsm review note by zemaryali

MS Network Connection SequenceMS Network Connection Sequence

Power on Scan RFchannels

Select highestcarrier level

Scan for FCCHfrequency correction burst

Select next highestcarrier level

FCCHdetected?

Scan for SCHsynchronisation burst

SCHdetected?

‘camp-on’ to BCCH and start decoding

Monitor PCH and adjacent carriers

YES

YES

NO

NO

Page 63: Gsm review note by zemaryali

IMSI AttachIMSI Attach

• Mobile camps on to best serving BTS

• Mobile sends IMSI to MSC

• MSC/VLR is updated in HLR

• Subscriber data including current location area is added to local VLR

• MSC and HLR carry out authentication check -challenge and response using Ki

• Optionally EIR checks for status of mobile (white/grey/black)

BSC

EIRHLR

AuC

MSC

VLR

Page 64: Gsm review note by zemaryali

IMSI DetachIMSI Detach

• Explicit:• Mobile informs MSC it is switching off

• HLR stores last location area for mobile

• VLR records that mobile is no longer available on network

• Mobile powers down

• Implicit• VLR forces IMSI Detach due to no response

BSC

HLR

AuC

MSC

VLR

Page 65: Gsm review note by zemaryali

Location Update OptionsLocation Update Options

• Send location update on every cell change• No paging requirement• Excessive signalling traffic load

• Page every cell in network• No location update reuqirement• Excessive signalling traffic load

• Subdivide network into paging areas• Requires paging procedure with reduced traffic load• Required location updating with reduced traffic load

Page 66: Gsm review note by zemaryali

Location UpdatesLocation Updates

• Location Area Change

• Periodic Location Update

• IMSI Attach

• Cell change during call

• TMSI update on LA changeBSC

MSC

VLR

BSC

MSC

VLR

BSC

HLR

AuC

Page 67: Gsm review note by zemaryali

TMSI ReTMSI Re--allocationallocation

• Used to protect a subscriber’s IMSI

• TMSI only unique within a Location Area (LA)

• Outside an LA, TMSI must be combined with LAI to remain unique

• TMSI re-allocated on LA change (minimum) or as a result of an exceptional condition.

• Normally takes place in encrypted mode

• Normally tales place in conjunction with another procedure e.g. Location update, call setup etc

Page 68: Gsm review note by zemaryali

Mobile Originated CallMobile Originated Call

• When the mobile requests access to the network to make a call:

• BSS determines the nature of the call - e.g. regular voice call, emergency call, supplementary service

• Allocates radio resources to the mobile for the call

• NSS determines the destination of the call:•Mobile to mobile on same PLMN•Mobile to mobile on another PLMN•Mobile to fixed network (PSTN, ISDN)

• MSC / GMSC routes the call appropriately and handles signalling

?

Page 69: Gsm review note by zemaryali

Channel RequestChannel Request

Immediate AssignmentImmediate Assignment

RACHRACH

AGCHAGCH

MobileMobile BSSBSS

MobileMobile--Originated Call SetupOriginated Call Setup

LAPDmLAPDm Connection SetupConnection Setup

Channel RequestChannel Request RACHRACH

Channel RequestChannel Request RACHRACH

Unnumbered Acknowledgement Unnumbered Acknowledgement SDCCHSDCCH

Service RequestService Request SDCCHSDCCH

Radio Resource Connection

Page 70: Gsm review note by zemaryali

11 PSTNPSTNMSC

MobileMobile--Terminated (NetworkTerminated (Network--Originated) CallOriginated) Call

VLR HLR

GMSC

2244

44

33

55

6677

10101111

BSS

BSS

88

88

88

1212

9988

1212

99 BSS

Page 71: Gsm review note by zemaryali

Radio Resource Connection

Paging RequestPaging Request

Channel RequestChannel Request

Immediate AssignmentImmediate Assignment

Paging ResponsePaging Response

PCHPCH

RACHRACH

AGCHAGCH

SDCCHSDCCH

MobileMobile BSSBSS

NetworkNetwork--Initiated Call SetupInitiated Call Setup

LAPDmLAPDm Connection SetupConnection Setup

Unnumbered AcknowledgementUnnumbered AcknowledgementSDCCHSDCCH

Page 72: Gsm review note by zemaryali

BSSBSS

General Authentication ProcedureGeneral Authentication Procedure

[IMSI][IMSI]

Authentication & ciphering RequestAuthentication & ciphering Request

Send Authentication infoSend Authentication info

MSMS MSCMSC HLRHLR

Send Authentication info Send Authentication info AckAck

[IMSI, Triplet (RAND SRES[IMSI, Triplet (RAND SRES1 1 KKcc)])]

Authentication & ciphering ResponseAuthentication & ciphering Response

[RAND][RAND]

[SRES[SRES22]]

A3 A3

KiKi KiKiRANDRAND

==

SRESSRES11/RAND/RAND

MSMS HLR/HLR/AuCAuC[IMSI][IMSI]

Access RequestAccess Request

AuCAuC

MSCMSC

RANDRAND

SRESSRES11SRESSRES22

SRESSRES22

SRESSRES11

Page 73: Gsm review note by zemaryali

User Data EncryptionUser Data Encryption

• Benefits of user data encryption include:• Provides confidentiality for user data across air interface

• Selection from seven encryption algorithms

• Capability is mandatory for MS and network• Implementation is optional• Does not provide for end-to-end encryption

Page 74: Gsm review note by zemaryali

General GSM Encryption ProcedureGeneral GSM Encryption Procedure

A8 A8

KiKi KiKiRANDRAND

KcKc

KcKc

MSMS BTSBTS

A5 A5

DataDataDataData

Encrypted DataEncrypted Data

MSCMSC AuCAuC

KcKc

Page 75: Gsm review note by zemaryali

2.5 Generation GSM2.5 Generation GSM

Circuit Switched

Packet Switched22ndnd GenerationGeneration

33rdrd GenerationGeneration

2.5 Generatio

n

2.5 Generatio

n

CSD

GPRS

HSCSD

ECSD

UMTS

14.4 kb/s

21.4 kb/s

69.2 kb/s

384 kb/s 2 Mb/s

EGPRSEDGEEDGE

SMS

CSD9.6 kb/s

38.8 kb/s

• Evolution of GSM towards 3G systems

• Main requirement is for increased data rates

• Mobile access to:• Internet

• E-mail

• Corporate networks

Page 76: Gsm review note by zemaryali

HSCSDHSCSD

• Increases bit rate for GSM by a mainly software upgrade

• Uses multiple GSM channel coding schemes to give 4.8 kb/s, 9.6 kb/s or 14.4 kb/s per timeslot

• Multiple timeslots for a connectione.g. using two timeslots gives data rates up to 28.8 kb/s

• Timeslots may be symmetrical or asymmetrical, e.g. two downlink, one uplink, giving 28.8 kb/s downloads but 14.4 kb/s uploads.

Maximum data rate quoted as Maximum data rate quoted as 115 kb/s = 14.4 x 8115 kb/s = 14.4 x 8

Page 77: Gsm review note by zemaryali

HSCSD Mobile EquipmentHSCSD Mobile Equipment

• HSCSD handsets are typically limited to 4 timeslots, allowing:

• 2 up / 2 down (28.8 kb/s in both directions)

• 3 down and 1 up (43.2 kb/s down 14.4 kb/s up)

• This limitation arises because the handset operates in half duplex and needs time to change between transmit and receive modes

• Nokia cardphone (PCMCIA card for laptops) uses HSCSD (Orange network) - quotes data downloads at 28.8 kb/s

Page 78: Gsm review note by zemaryali

GPRSGPRS

• General Packet Radio Service

• Packet switching:• Data divided into packets

• Packets travel through network individually

• Connection only exists while packet is transferred from one node to next

• When packet has passed a node, the network resources become available for another packet

• User sees an ‘always on’ virtual connection through the network

Data packet

Page 79: Gsm review note by zemaryali

PCU Circuit/Packet Data SeparationPCU Circuit/Packet Data Separation

BTS BSC PCU

VisitedMSC/VLR

Serving GSN

GatewayMSC

GatewayGSN

HLR

Circuit Switched

Packet Switched

PSTNPSTN

PDNPDN

A

Gb

Page 80: Gsm review note by zemaryali

GPRS Air InterfaceGPRS Air Interface

• New ‘Packet’ logical channels defined - PBCCH, PDTCH etc.

• New multiframe structure based on ‘radio blocks’ of 4 timeslots

• Allows up to 8 mobiles to share a timeslot

• For high data rates, several physical channels may be allocated to one user

• 4 levels of channel coding schemes (CS-1 to CS-4):

• Decreasing level of error checking

• Greater data throughput rates

• Scheme selected according to interference level (C/I)

Dat

a th

roug

hput

C/I

CS-1

CS-2

CS-3

CS-4

Page 81: Gsm review note by zemaryali

Using Spare GSM Capacity Using Spare GSM Capacity

Timeslots

TimeTime

Tim

eslo

ts

Circuit Switched Demand

Availablefor GPRS

Availablefor GPRS

Maximum Capacity

0 24

T im

eslo

t Us a

ge

Time (hours)

• GPRS can use traffic capacity on the GSM network away from the busy hour for non time critical data transfers

• Even during the busy hour, there is spare capacity that GPRS can make use of:

• Voice calls start and finish at random times, leaving short periods when channels are unused

• Packets of data can be sent when these channels become available - dynamic allocation

Page 82: Gsm review note by zemaryali

Charging for GPRS ServicesCharging for GPRS Services

• GPRS allows the user to be ‘always connected’- charging by time is not appropriate

• Some possible methods of charging are:• By volume of data transferred

• Flat rate for Internet access

• By Quality of Service

• For content - operator may provide own pages (value added services)

• Quality of Service parameters:

• Service Precedence (priority)

• Reliability

• Delay

• Throughput

Internet

£

££

£

£

Page 83: Gsm review note by zemaryali

EDGEEDGE

• Enhanced Data rates for GSM Evolution• Use 8 Phase-Shift Keying (8PSK) modulation

- 3 bits per symbol

• Improved link control allows the system to adapt to variable channel quality - leads to slightly reduced coverage area

• Applied to GSM, EDGE allows a maximum data rate of 48 kb/s per timeslot, giving the quoted figure of 384 kb/s per carrier (8 timeslots)

• EDGE can be applied to HSCSD (ECSD) and GPRS (EGPRS)

• EDGE will be expensive for operators to implement:• Each base station will require a new EDGE transceiver

• Abis interface between BTS and BSC must be upgraded

(0,0,0)

(0,0,1)

(0,1,1)

(0,1,0)

(1,1,0)

(1,1,1)

(1,0,1)

(1,0,0)