Project

General

Profile

AMR » History » Version 2

laforge, 02/19/2016 10:48 PM

1 1 laforge
2 2 laforge
h1. AMR (Adaptive Multi Rate)
3
4
5 1 laforge
The AMR codec is the latest and most advanced member of the GSM voice codec family.
6
7
8 2 laforge
h2. Specification
9
10
11 1 laforge
AMR is specified in the following specs:
12
13 2 laforge
* TS 26.090: AMR Speech Codec; Speech Transcoding Functions
14
** mathematical description of the encoding functions and adaptive/algebraic codebook
15
* TS 26.091: AMR Speech Codec; Error concealment of lost frames
16
* TS 26.092; AMR Speech Codec; Comfort Noise Aspects
17
** how to detect background noise, encode its parameters and re-create it at the decoder
18
* TS 26.093: AMR Speech Codec; Source Controlled Rate Operation (old 06.93)
19
** Controlled Rate Operation is what happens during DTX (discontinuous transmission)
20
** 
21
* TS 26.094: AMR Speech Codec; Voice Activity Detector
22
* TS 26.101: AMR Speech Codec; Frame Structure
23
** defines FR1 and FR2 frame formats used in the back-haul/core network
24
* TS 26.073: AMR Speech Codec; ANSI C source code
25
** reference implementation of the codec
26
* TS 26.074: AMR Speech Codec; Test sequences
27
** test sequences for testing a codce implementation
28
* TS 45.009: Link Adaption
29
** describe the mechanism + inband signalling for rate/link adaption
30
** SID, codec mode indication/request/command, RATSCCH
31 1 laforge
32
Related specs
33 2 laforge
* TS 28.062: Tandem Free Operation
34
** a method by which the double-transcoding in a MO-to-MT call can be avoided
35
* TS 26.071: Overall description of speech processing
36 1 laforge
37
38 2 laforge
h2. Details
39 1 laforge
40 2 laforge
41
42
h3. Codec Negotiaiton / Adaption
43
44
45 1 laforge
At any given time, there is an active set of four speech codecs.  Which four is defined by a number of different procedures, e.g. 
46 2 laforge
* Layer 3 signalling (CHANNEL MODE MODIFY, ASSIGNMENT COMMAND, HANDOVER COMMAND)
47
* RATSCCH based signalling, using stealing frames from the speech channel (like FACCH)
48 1 laforge
49 2 laforge
During call set-up and/or handover, there is a _MultiRate configuration IE_ (TS 44.018 10.5.2.21aa) that gives
50 1 laforge
a description of the multi-rate function to the MS.
51
There can also be CHANNEL MODE MODIFY and HANDOVER COMMAND messages, containing the same IE.
52
53
If at channel activation time there is no codec mode specified by Layer3 or RATSCCH, there are some
54
default rules (TS 45.009 Chapter 3.4.3) that define which of the codecs will be used for the first speech frames.
55
The content of this configuration is a set of codec rates and C/I (carrier/inteference) thresholds,
56
which are to be applied. Also, the initial codec mode can be specified.
57
58
When one of the network-specified thresholds is reached, the codec mode command/command procedure is
59
invoked.
60
61 2 laforge
* Downlink
62
** if the MS detects a C/I threshold on incoming downlink bursts was hit, it requests a new codec mode using the _CODEC MODE REQUEST (CMR)_
63
* Uplink
64
** if the BTS detects a C/i threshold on incoming uplink bursts was hit, it will instruct the MS to use a different codec in the uplink direction using a _CODEC MODE COMMAND (CMC)_
65 1 laforge
66 2 laforge
Furthermore, the sender frequently uses the _CODEC MODE INDICATION (CMI)_ to let the recipient know which codec was used to encode the speech frames.
Add picture from clipboard (Maximum size: 48.8 MB)