Professional Documents
Culture Documents
Figure 1.
C/(I+N)norm
CODEC_MODE_4
THR_3 + HYST_3 = THR_MX_Up(3)
THR_3
= THR_MX_Dn(4)
CODEC_MODE_3
THR_2 + HYST_2 = THR_MX_Up(2)
THR_2
CODEC_MODE_2
= THR_MX_Dn(3)
CODEC_MODE_1
= THR_MX_Dn(2)
Parameter
name
Description
Range
Bits
THR_1/2/3
Lowerthresholdsforswitching
betweenmodejandj1
063
HYST_1/2/3
Hysteresisvaluestoobtainthehigher
thresholdsforswitchingbetweenmode
jandj+1
015
A threshold (THR) is given as an absolute value in 0.5 dB steps. The THR values
between 0 and 63 shall be mapped to normalized C/(I+N) values as follows:
TIA/EIA-136-440
Table 2.
Encoding of Thresholds
Value
(integer)
Encoding
(binary)
Threshold
THR1/2/3
000000
0.0dB
THR1/2/3
000001
0.5dB
THR1/2/3
000010
1.0dB
THR1/2/3
62
111110
31.0dB
THR1/2/3
63
111111
31.5dB
NOTE: The threshold for codec mode j should be set to a normalized C/(I+N) value
where the speech quality of speech codec mode j-1 is better.
A hysteresis parameter is given 0.5 dB steps. The HYST values between 0 and 15 shall be
encoded as follows:
Table 3.
Encoding of Hysteresis
Value
(integer)
Encoding
(binary)
Hysteresis
HYST1/2/3
0000
0.0dB
HYST1/2/3
0001
0.5dB
HYST1/2/3
0010
1.0dB
HYST1/2/3
14
1110
7.0dB
HYST1/2/3
15
1111
7.5dB
If a common hysteresis is signaled, then this value shall be used for all hysteresises.
If a handoff is made without signaling new thresholds and hysteresises, then the
thresholds and hysteresises from before the handoff shall be used.
1.1
Inband Signaling
The inband signaling for AMR on full-rate and AMR on half-rate downlink uses the same
alternating transmission of Codec Mode Indication and Codec Mode Command/Request
as for GSM.
For AMR on half-rate uplink, since two speech frames are encoded and transmitted
together, both Codec Mode Indication and Codec Mode Request are transmitted every
time together with the speech data.
TIA/EIA-136-440
Channel coding for the inband channel is defined in Section Error: Reference source not
found for the uplink and in Section Error: Reference source not found for the downlink.
1.2
Out-of-Band Signaling
There are two types of out-of-band signaling carried in FACCH messages; codec mode
information during DTX and AMR Configuration using FACCH.
1.3
TIA/EIA-136-440
the FER after channel decoding becomes independent of the channel type. An example of
channel quality measuring is given in Annex A.
Uplink
(2-slot interleaving)
10 Hz
180 Hz
20.5
13.3
17.1
10.7
16.0
9.9
15.6
9.0
14.9
8.4
14.3
7.4
12.7
6.1
12.3
5.8
TIA/EIA-136-440
Table 5.
Link
Mode
MR795
MR74
MR67
MR59
MR515
MR475
Uplink
10 Hz
180 Hz
26.0
18.5
23.3
15.6
21.7
14.3
19.2
13.0
16.4
11.1
15.7
10.6
The difference between this reference performance and the performance of the used
receiver gives the normalization factor to be used when compensating for differences in
receiver performance.
TIA/EIA-136-440
1.4
TIA/EIA-136-440
2.
2.1
2.2
2.3
If a SID_FIRST frame is received in the TDMA BS from, for example, a GSM MS,
the BS shall replace it with an AMR Implicit Comfort Noise FACCH message, which
is then sent to the TDMA MS.
ONSET frames, as defined in GSM, are not forwarded to the TDMA MS, nor are
they generated by the TDMA MS.
The base station shall pass the comfort noise parameters to the mobile as FACCH
messages.
The BS shall send FACCH filler messages in-between the Comfort Noise FACCH
messages.
TIA/EIA-136-440
2.4
TIA/EIA-136-440
3.
Channel Coding
The channel error control for the speech codec data defined in this standard employs
three techniques for the mitigation of channel errors.
The first technique is to use a convolutional code to protect the more vulnerable bits
of the speech codec data stream.
The second technique interleaves the transmitted data for each speech codec frame
over two or three time slots to mitigate the effects of Rayleigh fading.
The third technique employs the use of a cyclic redundancy check over some of the
most perceptually significant bits of the speech codec output.
After the error correction is applied at the receiver, these cyclic redundancy bits are
checked to see if the most perceptually significant bits were received properly.
The channel error control for the inband signaling defined in this standard employs two
techniques for the mitigation of channel errors.
The second technique interleaves the transmitted data for each speech codec frame
over two or three time slots, in the same way as is done for the speech data.
For the MS, it is mandatory to support both 2-slot interleaving and 3-slot interleaving.
TIA/EIA-136-440
3.1
3.2
Datablockoutputfromsubjectivesorting
S1
Datablockoutputfromsubjectivesortingforfirstframein
HRUL(twospeechframesareencodedsimultaneously)
S2
Datablockoutputfromsubjectivesortingforsecondframe
inHRUL(twospeechframesareencodedsimultaneously)
Paritybits(7),outputfromCRCcalculation
P1
Paritybits(7),outputfromCRCcalculationforfirstframein
HRUL(twospeechframesareencodedsimultaneously)
P2
Paritybits(7),outputfromCRCcalculationforsecond
frameinHRUL(twospeechframesareencoded
simultaneously)
Codedbits,outputfromconvolutionalencoder
ID
Inputinbandbits(2forfullrateuplink,fullratedownlink
andhalfratedownlink,2+2forhalfrateuplink)
IC
Codedinbandbits(16forfullrateuplinkandfullrate
downlink,8forhalfratedownlink,8+8forhalfrateuplink)
Blockofmergedbits(codedbitsC,class2bitsandcoded
inbandbitsIC).
Blockofbitstobeconvolutionallyencoded,consistsofthe
class1bitsandthe7CRCbits
G0..G3
Polynomialsforconvolutionalencodingforuplink,
constraintlengthK=6.
G4..G7
Polynomialsforconvolutionalencodingfordownlink,
constraintlengthK=7.
Overview
The channel encoding is done in the following steps:
1.
Subjective ordering of the bits from the speech encoder; the most sensitive bit is
placed first in the output block and the least sensitive bit is placed last. See Section
3.4.
2.
Classification to class 1 and class 2 (if applicable) bits. The class 1 bits are the bits
that use the convolutional code for error correction. The class 2 bits (if used; not all
full-rate modes use class 2 bits) are sent unprotected over the channel. See Sections
3.5.1 and Error: Reference source not found.
3.
Calculation of CRC. The class 1 bits are further divided into two classes: the
perceptually most sensitive bits, the class 1a bits, over which the CRC is calculated,
and the remaining class 1 bits which are called the class 1b bits. See Sections 3.5.2
and Error: Reference source not found.
4.
Convolutional encoding with a rate 1/2, 1/3 or 1/4 convolutional code for the class 1
bits and the CRC bits. See Sections 3.5.3 and Error: Reference source not found.
10
TIA/EIA-136-440
5.
Channel encoding for the inband channel. See Sections Error: Reference source not
found and Error: Reference source not found.
6.
Puncturing and mapping to 8PSK symbols. See Sections Error: Reference source not
found and Error: Reference source not found.
7.
Interleaving. See Sections Error: Reference source not found and Error: Reference
source not found.
8.
Mapping to time slot format. See Sections Error: Reference source not found and
Error: Reference source not found.
The channel decoding is the reversed process. The fact that the inband channel is decoded
before the speech data allows decoding of the speech data with knowledge of the applied
mode.
3.3
Interleaving Options
If the MS support AMR on full-rate, it shall support the following interleaving formats:
Table 6.
Formatnumber
Description
1
(default)
2slotinterleavingfortheuplink
2slotinterleavingforthedownlink
2slotinterleavingfortheuplink
3slotinterleavingforthedownlink
3slotinterleavingfortheuplink
2slotinterleavingforthedownlink
3slotinterleavingfortheuplink
3slotinterleavingforthedownlink
The interleaving format to be used is defined at call setup and may be changed at handoff, see Extended Voice Mode in TIA/EIA-136-123.
If the MS support AMR on half-rate, it shall support the following interleaving format:
Table 7.
Formatnumber
Description
1
(mandatory)
2slotinterleavingfortheuplink
3slotinterleavingforthedownlink
11
TIA/EIA-136-440
3.4
Subjective Ordering
The first step in the error correction process is to sort the speech codec bits into
subjective sensitivity order, so that the most sensitive bits are placed first in the
subjectively sorted vector and the least sensitive bits are placed last in the subjectively
sorted vector. See the following GSM specifications, see Section Error: Reference source
not found:
GSM05.03,version7.1.1
Tables714
Channelcoding
The subjective ordering is defined in the above referenced document and is identical for
both uplink, downlink, full-rate and half-rate. The sorting procedure produces the block
S(0)...S(N-1), where N is the number of bits produced by the speech encoder for each
mode as shown in the table below:
Table 8.
Numberofbitsineachframe
(N)
MR122
244
MR102
204
MR795
159
MR74
148
MR67
134
MR59
118
MR515
103
MR475
95
.
The ordering algorithm is in pseudo code as:
Fork=0toN1
S(k):=input_data(table(k)+1);
where input data is the speech encoded bits produced by the speech encoder in the order
described in GSM 06.90, and table(k) is read line by line left to right.
Note that input_data is a vector from 1N, while the sorting table has values from
0N-1.
12
TIA/EIA-136-440
3.5
Speech
frame
95..244
bits
Subjective
ordering
In:
95..244 bits
Out:
95..244 bits
class 1a
CRC
7 bits
Convolutional
code
In:
102..191 bits
Out:
360..501 bits
class 1b
Puncturing and
mapping to
symbols
In:
406..521 bits
Out:
124 symbols
class 2
Inband
data
2 bits
Symbol
interleaving
In:
124 symbols
Out:
124 symbols
Block code
In: 2 bits
Out: 16 bits
Figure 3.
2 Speech
frame
190..318
bits
Subjective
ordering
In:
190..318
bits
Out:
190..318
bits
class 1a
class 1b
class 2
Inband
data
4 bits
CRC
7+7
bits
Convolutional
code
In:
180..218 bits
Out:
370..446 bits
Puncturing and
mapping to
symbols
In:
410..560 bits
Out:
129 symbols
(some bits
unused)
Symbol
interleaving
In:
129 symbols
Out:
129 symbols
Block code
In: 2+2 bits
Out: 8+8 bits
13
TIA/EIA-136-440
Mode
Numberof
bitsclass1
(N1)
Numberof
bitsclass1a
(N1A)
Numberof
bitsclass1b
(N1B)
Numberof
bitsclass2
(N2)
MR122
184
81
103
60
MR102
168
65
103
36
MR795
155
70
85
MR74
148
55
93
MR67
134
55
79
MR59
118
55
63
MR515
103
45
58
MR475
95
40
55
Table 10.
Mode
Numberof
bitsclass1
(N1)
Numberof
bitsclass1a
(N1A)
Numberof
bitsclass1b
(N1B)
Numberof
bitsclass2
(N2)
MR795
98
74
24
61
MR74
96
55
41
52
MR67
102
55
47
32
MR59
98
55
43
20
MR515
83
45
38
20
MR475
83
40
43
12
The class 1a bits are the first bits in the subjectively sorted vector. Then comes the class
1b bits. The class 2 bits are the last bits in the subjectively sorted vector.
g( X ) 1 X X 2 X 4 X 5 X 7
14
TIA/EIA-136-440
from the first N1A bits of class 1, where N 1A refers to number of bits in protection class 1a
as shown above for each codec mode. The encoding of the cyclic code is performed in a
systematic form, which means that, in GF(2), the polynomial:
15