• Sonuç bulunamadı

GSM TRANSRECEIVER

N/A
N/A
Protected

Academic year: 2021

Share "GSM TRANSRECEIVER"

Copied!
13
0
0

Yükleniyor.... (view fulltext now)

Tam metin

(1)

Speech coding

LPC-PEA

Shufling Interleaving

Linear Predictive cooding Rgular Pulse Excitation

Analysis Long-Term Prediction Microphone ADC Channel cooding Ciphering Modulation Speech Decoding DeShufling DeInterleaving Microphone ADC Channel decooding Deciphering Demodulation

Channel

Is used to protect data Ki+Rand A8 Kc Decreases possibility of distortion of consecitive bits in radio channel

Cyclic and Convolutional codes for error detection and correction purpose

GMSK

(2)

SPEECH CODING

Speech encoder LPC/RPE = Linear Predictive Code with Regular Pulse Edcitation Analysis

BPF

ADC

Speech

Encoder

Channel

Encoder

M

300-4000 Hz To Modulator

LPF

DAC

Speech

decoder

Channel

decoder

4000 Hz From demodulator

Codec

Fs=8 kHz; Ts=125 μs; N=13 bits; RAdC=8000d13=104 kbps

CN

VAD-

voice activitydetector-to determine the presence or abcence of speech at the microphone.Pauses in normal speech is about of half the time of speaker using a telephone. during pauses is sent silence descriptor (SId) frame onse every 480 ms. Upon receiving SId frame Comfort Noise

CN

or backround noise is generated by decoderthat gives the system ”presence”

(3)

L

inear

P

redictive

C

ode

a

1

T

s

a

2

a

N-1

a

N

. . .

. . .

. . .

T

s

T

s d(t) d(t-Ts) d(t-2Ts) d(t-NTs+Ts) d(t-NTs) dlpc(t)

1 2 N

T T N 1 n s n

.a

.

.

,

a

,

a

a

nTs)

x(t

.

.

.

2Ts)

x(t

Ts),

x(t

x

x

a

)

nT

x(t

a

x

~

Equation

Hopf

-r Wiene-r

R

a

(t))

x

(x(t)

E

MS E

1 2

~

(4)

EG

SF

MPWE

Output Input speech

MPWE- Block of Minimization of perceptually weighted error

Multiple Excited LPF

a

1

..a

8

20 ms-160 samples – is used for computing the filter parameters 5ms – 40 samples – is used for optimizing edcitation parameters Sequence 1- samples: 1, 5.9,...37

Sequence 2- samples: 2, 6.9,...38 Sequence 3- samples: 3, 7.9,...39 Sequence 4- samples: 4, 8.10,....40

Speech encoder selects

The sequence the most energy

Short Term Prediction - using 8 to 16 samples to predict a present sample

Long Term Prediction(LTP)-Comparison present sequense withearlier sequences and finding sequence having highest correletion with presence. Transmit the difference between two sequences. This feature reduces the amount of transmitted data.

(5)

CONVOLUTIONAL CODING

The coder may be viewed as a finite stae machine that consist M shift register with prescribed connections to n-modulo 2 adders and multipleder that serializesthe outputs of the adders.

A convolutional coder generates redundant bits by using modulo-2convolutions . L bits message produces output sequence of length n(L+M), where M is number of shift register that contains coder.

Convolutional Encoder

M shift registers,

n modulo 2 adder

Input L bits Output n( L+M) bits data rate: For L>>M; r=1/n

l

bits/symbo

M)

n(L

L

r

(6)

Convolutional Encoder with n=2and K=3

Output

Input

10011

M

M

+

+

Path 2 Path 1

The impulse response of path 1

(101):

g

1

(d)= 1+d

2

The impulse response of path 2(111

): g

2

(d)= 1+d+d

2

The Message 10011

m(d)=1+d

3

+d

4

The outputs:

c

1

(d)= g

1

(d)m(d)=1+d

2

+d

3

+d

4

+d

5

+d

6

- 1011111

c

2

(d)= g

2

(d)m(d)=1+d+d

2

+d

3

+d

6

- 1111001

After multipleding:

C =11, 10, 11, 1

1, 01, 01,11

1111001

1011111

11, 10, 11, 11, 01, 01,11

In GSM:

g

1

(d)= 1+d

3

+d

4

g2(d)= 1+d+d

3

+d

4

(7)

CHANNEL CODING

Output Input M M

+

+

2 1 00 00 00 00 00 11 11 11 11 11 10 10 10 10 00 00 00 00 11 11 11 11 01 01 01 01 01 10 01 10 01 10 01 10 01 J=0 1 2 3 4 5 6 a b c d

Trellis diagram

01 01 10 00 11 11 10 00 c d b a

Satae diagram

a 00 b 01 c 10 d 11 a b c a b c 00 11 11 00 01 01 10

(8)

Free Distance of a Convolutionaql Code

Hamming weights

– number of nonzero elements in a code vector

Hamming distance between a pair code vectors- number of different elements .

Free distance d

free

– minimum Hamming distance between any 2 code vectors.

Error correction ability of Conv. Code: d

free

>2t ; (t-number of error)

Konstraint length, K Systematic Non-Systematic 2 3 3 3 4 5 4 4 6 5 5 7 6 6 8

Systematic CC- incomming message bits are transmitted in unaltered form,

(9)

Maximum Likelihood Decoding (MLD)

m

– message vector; c- code vector applied to encoder

r-received vector; m

e

- estimation of m

The MLD decoders decision rule:

Choose the estimate c

e

for which log-likehood function log p(r/c) is maximum

p(r/c) denote aconditional probability

of receiving

r

, given that

c

sent

Or

Choose the estimate c

e

that minimizies Hamming distance d between

a candidate Code vector c

e

and the received vector r.

In such a decoder the received vector r is compared with each possible candidate vector ce, and tha particvular one closestto r is chosen as an estimate of the transmitted code vector(or with minimum Hamming distance)

(10)

10

INTERLEAVING

Wireless channel has 2 conflicting fenomena:

• Presence a burst of error;

• Convolutional Encoding can not handle error bursts (example due a mulipath fading).

(

examples of burst of error-signal fading due a mulipath propogations, defect in the disc result

clusers of errors).

Interleaving-Randomizing the order of encoded bits after channel encoder.

Has the effect of breaking up any error bursts that occurs during the transmission

Channel

Encoder Interleaver Modulator

Channel

Decoder Interleaver Modulator

Channel Data Output 1 8 15 22 .. 2 9 16 23 .. 3 10 17 24 .. 4 11 18 25 .. 5 12 19 26 .. 6 13 20 27 ..

Block interleaver

(11)

B

A1 A2 A3 A4 A5 B1 B2 B3 B4 B5 C1 C2 C3 C4 C5 D1 D2 D3 D4 D5

A

E1.

B

A1 A2 A3 A4 A5 B1 B2 B3 B4 B5 C1 C2 C3 C4 C5 D1 D2 D3 D4 D5

A

E1. x x x

1. Block interleaving

C

D

A1 C1 D1 B1 E1 A2 C2 D2 B2 E2 A3 C3 B3 E3 D3 A4 C4 D4 B4 E4

1

2

3

4

x x x x Original sequences Interleaved sequences Deinterleaved sequences

(12)
(13)

Referanslar

Benzer Belgeler

lık teneklerde kilosu Sıcak tutkal (İngiliz) kilosu (Hematekt) izolâsyon maddesi Emülzer (C). Emülzer katranlı

Yine güneye bakan küçükler okulu dershaneleri bloku, bu okulun palto odalarını, yıkanma yerlerini ve öğretmen odalarını ih- tiva eden diğer bir blokla ilkokul

Genel bina İskeletinin statik ve neticede maliyette eko- nomik, azlık, suların akışında temizlik ve evin içine alabil- mek imkânı; düz çatıda dilatasyon ve neticesi dam - bahçe

(Bugünkü yollar; kurunu vustadan kalmış keçi yolları üzerine kaldırım döşenerek meydana gelmiştir. Bunlar mo- dern teknik neticesi hasıl olmuş değildir. Eşeklerin sallana

Zira uzvi- yet teneffüs ederken başlıca olmak üzere "sû buharı, gazı karbonik «C02» ve bir kısım da uz- vl mevat hasıl eder. Her hangi bir mahallin havasının bozulması

Atelye muallimle- rinin nezaretleri altında hazırlanan bu projeler sayesinde talebeler, nazariyatla öğrendikleri malûmatı, tatbika muvaffak olmaktadırlar.. Atelye,

ı Candan dileriz ki: san'at tekniği, san'at ta- rihi bilgilerile dolgun san'atkâr meslektaşlar sa- de bir zevk meselesi olarak değil, fakat millî bir vazife bilerek millî

Bu nedenle, uyku bozukluğu olan hastalara melatonin desteği yapılmasının iyi bir çözüm olacağı açık, ancak klinik çalışmalar melatoninin kaşıntı, baş ağrısı, kalp