HOME | REACH US  
 



.com .net .org .info .mobi
.biz .us .co.uk .in
.eu .ws .bz .cc .tv Etc.
Domain Names

Website Development
Web Hosting
Email Hosting
Digital Certificate
Etc.

@ Best Prices From

www.DomainsUAE.com
Viterbi decoder
   
Google
 
Web libraryoflibrary.com

A viterbi decoder uses the Viterbi algorithm for decoding a bitstream that has been encoded using Forward error correction based on a Convolutional code.

There are other algorithms for decoding a convolutionally encoded stream (for example, the Fano algorithm). The Viterbi algorithm is the most resource-consuming, but it does the maximum likelihood decoding. It is most often used for decoding convolutional codes with constraint lengths k<=10, but values up to k=15 are used in practice.

Viterbi decoding was developed by Andrew J. Viterbi and published in the paper "Error Bounds for Convolutional Codes and an Asymptotically Optimum Decoding Algorithm", IEEE Transactions on Information Theory, Volume IT-13, pages 260-269, in April, 1967.

There are both hardware (in modems) and software implementations of a Viterbi decoder.

Contents

Hardware implementation

A common way to implement a hardware viterbi decoder

A hardware viterbi decoder for basic (not perforated) code usually consists of the following major blocks:

  • Branch metric unit (BMU)
  • Path metric unit (PMU)
  • Traceback unit (TBU)

Branch metric unit (BMU)

A sample implementation of a branch metric unit

A branch metric unit's function is to calculate branch metrics, which are normed distances between every possible symbol in the code alphabet, and the received symbol.

There are hard decision and soft decision viterbi decoders. A hard decision viterbi decoder receives a simple bitstream on its input, and a Hamming distance is used as a metric. A soft decision viterbi decoder receives a bitstream containing information about the reliability of each received symbol. Usually this reliability information is encoded as follows (the table is shown for 3-bit input):

value meaning
000 strongest 0
001 relatively strong 0
010 relatively weak 0
011 weakest 0
100 weakest 1
101 relatively weak 1
110 relatively strong 1
111 strongest 1

Of course, it is not the only way to encode reliability data.

The squared Euclidean distance is used as a metric for soft decision decoders.

Path metric unit (PMU)

A sample implementation of a path metric unit for a specific K=4 decoder

A path metric unit summarizes branch metrics to get metrics for 2K - 1 paths, one of which can eventually be chosen as optimal. Every clock it makes 2K - 1 decisions, throwing off wittingly nonoptimal paths. The results of these decisions are written to the memory of a traceback unit.

The core elements of a PMU are ACS (Add-Compare-Select) units. The way in which they are connected between themselves is defined by a specific code's trellis diagram.

Since branch metrics are always \ge 0, there must be an additional circuit preventing metric counters from overflow (it isn't shown on the image). An alternate method that eliminates the need to monitor the path metric growth is to allow the path metrics to "roll over", to use this method it is necessary to make sure the path metric accumulators contain enough bits to prevent the "best" and "worst" values from coming within 2(n-1) of each other. The compare circuit is essentially unchanged.

A sample implementation of an ACS unit

It is possible to monitor the noise level on the incoming bit stream by monitoring the rate of growth of the "best" path metric, a simpler way to do this is to monitor a single location or "state" and watch it pass "upward" through say four discrete levels within the range of the accumulator. As it passes upward through each of these thresholds, a counter is incremented that reflects the "noise" present on the incoming signal.

Traceback unit (TBU)

A sample implementation of a traceback unit

Back-trace unit restores an (almost) maximum-likelihood path from the decisions made by PMU. Since it does it in inverse direction, a viterbi decoder comprises a FILO (first-in-last-out) buffer to reconstruct a correct order.

Note that the implementation shown on the image requires double frequency. There are some tricks that eliminate this requirement.

Implementation issues

Quantization for soft decision decoding

In order to fully exploit benefits of soft decision decoding, one needs to quantize input signal properly. The optimal quantization zone width is defined by the following formula:

\,\! T = \sqrt{N_0/2^k},

where N_0 is a noise power spectral density, and k is a number of bits for soft decision.

Euclidean metric computation

The squared norm distance (l2) distance between the received and the actual symbols in the code alphabet may be further simplified into a linear sum/difference form, which makes it less computationally intensive.

Consider a 1/2 convolutional coder, which generates 2 bits (00, 01, 10 or 11) for every input bit (1 or 0). These Return-to-Zero signals are translated into a Non-Return-to-Zero form shown alongside.

code alphabet vector mapping
00 1, 1
01 1, -1
10 -1, 1
11 -1, -1

Each received symbol may be represented in vector form as vr = {r0, r1}, where r0 and r1 are soft decision values, whose magnitudes signify the joint reliability of the received vector, vr.

Every symbol in the code alphabet may, likewise, be represented by the vector vi = {±1, ±1}.

The actual computation of the Euclidean distance metric is:

\,\!D = (\overrightarrow{v_r} - \overrightarrow{v_i})^2 = \overrightarrow{v_r}^2 - 2 \overrightarrow{v_r} \overrightarrow{v_i} + \overrightarrow{v_i}^2

Each square term is a normed distance, depicting the energy of the symbol. For ex., the energy of the symbol vi = {±1, ±1} may be computed as

\,\!\overrightarrow{v_i}^2 = (\pm 1)^2 + (\pm 1)^2 = 2

Thus, the energy term of all symbols in the code alphabet is constant (at (normalized) value 2).

The Add-Compare-Select (ACS) operation compares the metric distance between the received symbol ||vr|| and any 2 symbols in the code alphabet whose paths merge at a node in the corresponding trellis, ||vi(0)|| and ||vi(1)||. This is equivalent to comparing

\,\!D_0 = \overrightarrow{v_r}^2 - 2 \overrightarrow{v_r} \overrightarrow{v_i^0} + \overrightarrow{v_i^0}^2

and

\,\!D_1 = \overrightarrow{v_r}^2 - 2 \overrightarrow{v_r} \overrightarrow{v_i^1} + \overrightarrow{v_i^1}^2

But, from above we know that the energy of vi is constant (equal to (normalized) value of 2), and the energy of vr is the same in both cases. This reduces the comparison to a minima function between the 2 (middle) dot product terms,

\,\!min(-2 \overrightarrow{v_r} \overrightarrow{v_i^0},-2 \overrightarrow{v_r} \overrightarrow{v_i^1} = max(\overrightarrow{v_r} \overrightarrow{v_i^0}, \overrightarrow{v_r} \overrightarrow{v_i^1})

since a min operation on negative numbers may be interpreted as an equivalent max operation on positive quantities.

Each dot product term may be expanded as

\,\! max(\pm r_0 \pm r_1, \pm r_0 \pm r_1)

where, the signs of each term depend on symbols, vi(0) and vi(1), being compared. Thus, the squared Euclidean metric distance calculation to compute the branch metric may be performed with a simple add/subtract operation.

Traceback

The general approach to traceback is to accumulate path metrics for up to five times the constraint length (5 * (K - 1)), find the node with the largest accumulated cost, and begin traceback from this node.

However, computing the node which has accumulated the largest cost (either the largest or smallest integral path metric) involves finding the maxima or minima of several (usually 2K-1) numbers, which may be time consuming when implemented on embedded hardware systems.

Most communication systems employing Viterbi decoding involving data packets of fixed sizes, with a fixed bit/byte pattern either at the beginning or/and at the end of the data packet. By using the known bit/byte pattern as reference, the start node may be set to a fixed value, thereby obtaining a perfect Maximum Likelihood Path during traceback.

Limitations

Generally speaking, the viterbi decoder doesn't produce an exact maximum-likelihood stream due to these limitations:

  • Quantizing of an input signal, branch and path metrics.
  • Limited traceback length.

Perforated codes

A hardware viterbi decoder of perforated codes is commonly implemented in such a way:

  • A deperforator, which transforms the input stream into the stream which looks like an original (imperforated) stream with ERASE marks at the places where bits were erased.
  • A basic viterbi decoder understanding these ERASE marks (that is, not using them for branch metric calculation).

Software implementation

See Viterbi algorithm.

One of the most time-consuming operations is an ACS butterfly, which is usually implemented using an assembly language and appropriate instruction set extensions (such as SSE2) to speed up the decoding time.

Applications

The Viterbi decoding algorithm is widely used in the following areas:

External links



Index Of Related Pages




All pages | Previous page (Vitaly Kononov) | Next page (Vitoria)

Viterbi decoder
ViterboViterbo, Caldas
Viterbo Cathedral
Viterbo University
ViterneViterra
Vitesse
Vitesse du Mans motorcycle Grand PrixVitex
Vitex acunaeVitex agnus-castus
Vitex ajugaefloraVitex amaniensisVitex cofassus
Vitex cooperiVitex evolutaVitex gaumeri
Vitex heptaphyllaVitex keniensisVitex kuylenii
Vitex lehmbachiiVitex longisepala
Vitex negundoVitex parvifloraVitex trifolia
Vitex urceolataVitex yaundensisVitex zanzibarensis
Vitexin 2"-O-rhamnoside 7-O-methyltransferaseVitexin beta-glucosyltransferase
VitezVitez (disambiguation)
Vithal Ramaji Shinde
Vithalbhai PatelVithalwadi
VithayathilVithisVithkuq
VithobaVithoba temple, Pandharpur
VithuraVitiViti, Estonia
Viti LevuViti Levu East Maritime (Indian Communal Constituency, Fiji)Viti Levu Giant Pigeon
Viti Levu GroupViti Levu SnipeViti Levu South Kadavu (Indian Communal Constituency, Fiji)
Vitiaz StraitVitiaz languages
Viticulture
Viticuso
Vitigudino
VitiligoVitiligo (Krizz Kaliko album)
VitimVitim RiverVitim event
Vitin AliceaVitina
Vitina, Bosnia and HerzegovinaVitina (disambiguation)
Vitina MarcusVitinha
VitinoVitinya Pass
VitisVitis, AustriaVitis (disambiguation)
Vitis District
Vitis aestivalis
Vitis amurensisVitis berlandieri
Vitis californicaVitis cinerea
Vitis girdianaVitis labrusca
Vitis lincecumiiVitis mustangensis
Vitis ripariaVitis rupestris
Vitis vinifera
Vitis × doanianaVitis × labruscana
Vitit Muntarbhorn
Vitla
Vitnesteinen RockVito
Vito & the Salutations
Vito (saxophone)
Vito Acconci
Vito Ananis
Vito AntuofermoVito ArenaVito Badalamenti
Vito BonsignoreVito Bonventre
Vito BrattaVito CampanellaVito Carnevali
Vito Cascio Ferro
Vito CianciminoVito ColonnaVito Corleone
Vito Cruz LRT StationVito D'Ancona
Vito DellinoVito DelsanteVito Di Giorgio
Vito Dumas
Vito FaveroVito Fossella
Vito GasparriniVito Genovese
Vito Lavelua II
Vito LoGrassoVito Lopez
Vito MannoneVito MarcantonioVito Melis
Vito MiceliVito Pallavicini
Vito PaternosterVito PetrellaVito Picone
Vito R. BertoldoVito RagazzoVito Rizzuto
Vito RussoVito Scotti
Vito SpataforaVito SpataforeVito Taccone
Vito TamulisVito Vitale
Vito Volterra
Vito WormgoorVito d'Asio
Vito la Déveine
Vitoc District
VitojevciVitolVitol SA v. Norelf Ltd
Vitola
Vitold Fokin
Vitold Kreyer
Vitoldas Cepauskas
Vitolište
Vitolo Ańino BermúdezVitolo Kulihaapai
Vitomil ZupanVitomir Lukic
Vitomir VutovVitomiresti
VitonVitonus
Vitor Belfort
Vitor Castro de Souza
Vitor District
Vitor Gonçalves
Vitor Lima
Vitor MeiraVitor Miranda
Vitor Negrete
Vitor Ramil
Vitor Ribeiro
Vitor Silva Assis de Oliveira Júnior
Vitor ValenteVitorchiano

Previous page (Vitaly Kononov) | Next page (Vitoria)



BUILD YOUR WEB SITE WITH www.DomainsUAE.com