30
ELEMENTS OF DIGITAL MOBILE By: Eng\ WALEED ELSAFOURY Copyright © 2013 Waleed Elsafour

Ch4 digital mobile systems

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Ch4 digital mobile systems

ELEMENTS OF DIGITAL MOBILE

By: Eng\ WALEED ELSAFOURY

Copyright © 2013 Waleed Elsafoury

Page 2: Ch4 digital mobile systems

GSM Transmission ChainSpeech encode

r

Channel encoder

Interleaver

Burst assembling

and multiplexing

Ciphering

Modulator

Channel

Acoustic signal

Analog electrical speech signal

Digital speech signal

13 kbps22.8 kbps

22.8 kbps

22.8 kbps

33.85 kbps

Microphone

ELEMENTS OF DIGITAL MOBILE

Page 3: Ch4 digital mobile systems

GSM Reception ChainChannel

Recovered speech

De-Interleaver

Deciphering

Demodulator

Burst Deassemblingand demultiplexing

Speech decode

rChannel decoder

33.85 kbps

22.8 kbps

22.8 kbps

22.8 kbps

13 kbps

ELEMENTS OF DIGITAL MOBILE

Page 4: Ch4 digital mobile systems

• speech coding must give :

1. Low bit rate

2. Preserving the essential elements of speech quality

3. An acceptable cost of the equipment

- GSM sends information about speech not the speech itself

ELEMENTS OF DIGITAL MOBILE

Page 5: Ch4 digital mobile systems

• First step A/D converter

ELEMENTS OF DIGITAL MOBILE

Page 6: Ch4 digital mobile systems

A/D is performed by PCM. PCM involves 4 steps:

1- Bandlimiting 2- Sampling3- Quantizing 4- Encoding

H(f)

Low-pass filter

ff

F(f)

Baseband signal

f

F(f)

Bandlimited signal

fX

-Bandlimiting

ELEMENTS OF DIGITAL MOBILE

Page 7: Ch4 digital mobile systems

-Sampling

Sampled signal

t

fs(t)Ts

t

Sampling

fs(t)

Analog signal

t

f(t)

fs = 2 fx sample/sec

ELEMENTS OF DIGITAL MOBILE

Page 8: Ch4 digital mobile systems

Bandlimiting + Sampling

PAM sampled signal

t

fs(t)

Ts

t

Sampling

fs(t)

Analog signal

t

f(t)

LowPassFilter

3.4 kHz Bandlimited to 3.4 kHz

t

f(t)

Electronic Switch

fs= 8 ksample/s

ELEMENTS OF DIGITAL MOBILE

Page 9: Ch4 digital mobile systems

Quantizing

q7

q6

q5

q4

q3

q2

q1

q0

Sampled value

Quantized value

time

Quantized error

o Number of levels = 2^13=8192 levels.o This gives 13 bit/sample.

ELEMENTS OF DIGITAL MOBILE

Page 10: Ch4 digital mobile systems

Encoding

0 1 0 1 1 0 0 1

Binary stream of bits

Quantized Samples

o Encoding rate = 8000 x 13 = 104 kb/sec.

Encoder

ELEMENTS OF DIGITAL MOBILE

Page 11: Ch4 digital mobile systems

ELEMENTS OF DIGITAL MOBILESegmentation

101010001001111101010010100110010010010100100100110

01000101111010

20 msec = 2080 bit

260 bit

8 : 1 compression

104 kb/sec

13 kb/sec

Page 12: Ch4 digital mobile systems

• Discontinuous TX

Voice frame

VADVoice activity

detection

Speech coder

Comfort noise Noise frame

Voice 8000 s/sec

13 b/sample

Discontinuoustransmission

ELEMENTS OF DIGITAL MOBILE

Page 13: Ch4 digital mobile systems

• DTX

ELEMENTS OF DIGITAL MOBILE

Page 14: Ch4 digital mobile systems

• Predictive decoding

ELEMENTS OF DIGITAL MOBILE

Page 15: Ch4 digital mobile systems

• Channel coding

o Mobile channel is error-prone.o Compressed speech is sensitive to errors.o Error correction is necessary.o Channel coding adds extra bits to help in error correction.

o GSM uses:1. Block code2. Convolutional code

ELEMENTS OF DIGITAL MOBILE

Page 16: Ch4 digital mobile systems

50 Very important bits

53 b

132 Important bits

0000

456 bits

378 b 378 bBlockcoder

1:2Convolutional

coder

• Convolutional code

ELEMENTS OF DIGITAL MOBILE

78 Not so important bits

Page 17: Ch4 digital mobile systems

• Convolutional code

ELEMENTS OF DIGITAL MOBILE

Page 18: Ch4 digital mobile systems

ELEMENTS OF DIGITAL MOBILE

Channel Coding for TCH/FR

Class 1a

50 bits

Class 1b132 bits

Class 278 bits

50 3 132 4

378

260 bits/20 msec

456 bits/20 msec

Parity check

Tail bits

1:2 Convolutional coder

78

Page 19: Ch4 digital mobile systems

• Interleaving- First level :Block interleaving

19

1725...

449

2101826...

450

3111927...

451

8162432...

456

4122028...

452

5132129...

453

6142230...

454

7152331...

455

57 bits

ELEMENTS OF DIGITAL MOBILE

Page 20: Ch4 digital mobile systems

57 bits57 bits57 bits

- second level :Burst interleaving- Normal Burst has 2 of 57b blocks- If Burst is lost BER=25%- To reduce it to 12.5% we put 2 blocks of two 20 msec

20 msec speech8x57=456 bits

Normal Burst

20 msec speech8x57=456 bits

20 msec speech8x57=456 bits

ELEMENTS OF DIGITAL MOBILE

Page 21: Ch4 digital mobile systems

ELEMENTS OF DIGITAL MOBILE

GSM security• TMSI• Authentication• IMEI check• ciphering

Page 22: Ch4 digital mobile systems

IMSI, Ki, A3, A8

SIM

A5

IMEI

Ciphered digital data

EIRIMEI

BTSVLR

MSC

GSM PLMN

AUCIMSI, Ki,A3, A8

HLR

A5

ELEMENTS OF DIGITAL MOBILE

Page 23: Ch4 digital mobile systems

Authentication - It is a processor system that performs the authentication

function

AUC

RAND

DatabaseIMSI,Ki

A8A3

RAND SRES Kc

Triplet

KiIMSI

Triplet

Request for Triplet from HLR,VLR

ELEMENTS OF DIGITAL MOBILE

Page 24: Ch4 digital mobile systems

A3

Ki

A3

KiRAND

VLR

SRES

=?

SRES

SRES

HLR/AUCMS

YesNo

“Authentication Refused" message

Continue ciphering

IMSI

ELEMENTS OF DIGITAL MOBILE

Page 25: Ch4 digital mobile systems

EIRCheck IMEI

MS

AuthenticationCiphering

IMEI Request

MSC/VLR

ME

IMEI

BSS

IMEI Response

Gray List

Black List

White List

MSC/VLRInitiateAuthenticationCipheringIMEI request

ELEMENTS OF DIGITAL MOBILE

IMEI check

Page 26: Ch4 digital mobile systems

• ciphering

A8 A8

Kc Kc

Ki KiRAND

NetworkMs

ELEMENTS OF DIGITAL MOBILE

Page 27: Ch4 digital mobile systems

6. Ciphering mode

complete

BTS

1. CMC + Kc 2. CMC

Kc FN

3.Encrypt CMC

4.Encrypted CMC

If yes

MSCipher mode command

VLR MSC

5. Decryption of

CMC successful?

Encryption processusing A5

CMC Kc FN

Decryption processusing A5

ELEMENTS OF DIGITAL MOBILE

Page 28: Ch4 digital mobile systems

• ciphering

A5 A5

1 0 1 1 0 0 1

1 1 0 1 0 1 1

0 1 1 0 0 1 00 1 1 0 0 1 0

1 0 1 1 0 0 1

Kc

FN

Kc

FN

SYNC.

Ciphered text

User data flow User data flow

Ciphering Process Deciphering

Process

Cipher sequence key flow

Cipher sequence key flow

ELEMENTS OF DIGITAL MOBILE

Page 29: Ch4 digital mobile systems

• Modulation

1. High bandwidth efficiency i.e. high bit rate per Hz

2. Low power drain

3. Good BER performance

4. Low implementation cost

• GMSK is the modulation scheme of the GSM system

ELEMENTS OF DIGITAL MOBILE

Page 30: Ch4 digital mobile systems

modulator

- Gaussian minimum shift keying

ELEMENTS OF DIGITAL MOBILE