Viterbi decoding apparatus with majority decision

Abstract: A Viterbi decoding apparatus for decoding received data by Viterbi decoding comprising a state metric memory circuit, a path memory circuit, and a path decode word decision circuit. The state metric memory circuit stores state metric information obtained by ACS (Adder, Comparator, Selector) processing. The path memory circuit stores selection information obtained by the ACS processing. The path decode word decision circuit weights a plurality of bits with a path decode word of each state according to its degree of likelihood based on state metric information supplied from the state metric memory circuit, cumulatively adding each path decode word obtained by the weighting operation, and comparing a cumulative value obtained by the cumulative adding operation with a preset threshold value to determine decode words. This setup can provide sufficiently reliable decode words by a small amount of hardware and in a short processing time to decode, within an average information rate, convolutional codes having information amounting to 30 Mbps or more used in high-definition TV, etc.

Description: The present invention relates to a Viterbi decoding apparatus for use, for example, in satellite broadcasting. Viterbi decoding has been previously proposed as a method for decoding convolutional codes. Viterbi decoding is the maximum likelihood decoding for convolutional codes and selects a code string (called a maximum likelihood path) which most resembles the received code string among those generated by an encoder on the sending side, thereby enabling error correction. The maximum likelihood path is basically established not by comparing all paths with each other but by obtaining a Hamming distance between all the code strings generated on the sending side and the received code strings to select the path having the smallest Hamming distance cumulative value (that is, the path having the highest degree of likelihood), thereafter checking only those paths which are necessary for decoding (they are called surviving paths). When the lengths of paths are made sufficiently long, the tips (alternatively called the roots) of surviving paths will join to be the same value, indicating that each surviving path retrospectively decodes the same value. Consequently, if a path length is provided such that it will not increase a decoding error ratio, the data at the point of time retrospectively reached by the path length becomes a decode word, thus providing correct decode word reproduction. Fig. 5 is a block diagram showing an example of a Viterbi decoding apparatus using the Viterbi decoding described above. The Viterbi decoding apparatus shown comprises a branch metric calculating circuit 101, an ACS (Adder, Comparator, Selector) circuit 102, a normalizing circuit 103, a state metric memory circuit 104, a path memory circuit 105, and a maximum likelihood decode decision circuit 106. When data sent from the sending side (that is, the received data) is supplied to this Viterbi decoding apparatus, the code string that most resembles the received code string is selected from among those generated by the encoder on the sending side (the most similar code is called the maximum likelihood path) to generate decoded data based on the selection. When the received data is supplied, the branch metric calculating circuit 101 calculates the branch metric of the received data to send the result (branch metric) to the ACS circuit 102. The ACS circuit 102, based on a branch metric supplied from the branch metric calculating circuit 101 and a state metric supplied from the state metric memory circuit 104, adds the Hamming distance (branch metric) between the received code and path to the cumulative sum (state metric) of the branch metric obtained so far to compare the result with each of two paths joining into a certain state to select the path having a higher degree of likelihood. The ACS circuit 102 then supplies the resulting selection to the path memory circuit 105 and the newly obtained cumulative sum (state metric) to the normalizing circuit 103. In this case, if a constraint length of "3" is provided, the Hamming distance (branch metric) between the received code and path and the cumulative sum (state metric) of the branch metric obtained so far are added to each of the two paths joining into a certain state as shown in the transition diagram in Fig 6 and are compared with each path for each time slot. The code having the highest degree of likelihood is selected based on the comparison. The normalizing circuit 103 normalizes the state metric output from the ACS circuit 102 to a level within a preset range to send the result to the state metric memory circuit 104. The state metric memory circuit 104 stores the normalized state metric sent from the normalizing circuit 103 to send the state metric back to the ACS circuit 102. The path memory circuit 105 stores the selection result output from the ACS circuit 102 to supply it to the maximum likelihood decode decision circuit 106. The maximum likelihood decode decision circuit 106 determines the maximum likelihood path based on the data stored in the path memory circuit 106 and generates the decoded data to be output. It should be noted here that the Viterbi decoding apparatus described above must select the path having the smallest state metric from among the path strings stored in the path memory circuit 105 in order to have the maximum likelihood decode decision circuit 106 select the decode word (decoded data) having the highest degree of likelihood. With the above Viterbi decoding apparatus, however, each decoding operation must be performed at speeds lower than an average information rate. Consequently, when decoding a code string having a very high transmission rate and a long constraint length, too many resultant states make it often difficult to select the maximum likelihood path in time. For example, if a constraint length is seven bits, the path having the highest degree of likelihood must be selected from among 64 state metrics corresponding to these seven bits, thereby making the decision time long. For this reason, the above apparatus cannot make maximum likelihood decisions for decoding within an average information rate in processing information amounting to 30 Mbps or more when decoding convolutional codes used for high-definition TV, etc. To overcome this problem, several methods have been proposed: with one method, as disclosed in Japanese Patent Publication No. 3-16046, "0"s or "1"s, whichever is greater in number, are output as a decode word; with another method, as disclosed in Japanese Patent Laid-open No. 61-128632, a decode word is determined by using the decision by majority of given m. With these methods, however, the codes having a low degree of likelihood are also determined by majority as decode words, thereby lowering decoding reliability. Moreover, these methods require long paths for providing a sufficient accuracy, so that it is necessary to make long the path memory in decoding codes having a large constraint length, thereby increasing the amount of necessary hardware to a large extent. "Reliability-of-decoding indicators for maximum likelihood decoders", Clark G C Jr; Davis R C, Proceedings of the 5th Hawaii international conference on system science, Honolulu, HI, USA, 11-13 Jan. 1972, North Hollywood, CA, USA, Western Periodicals, pages 447 - 450, includes a brief review of Viterbi decoders and indicates that the decoder output can be determined by selecting the oldest bit in an arbitrary sequence or in the sequence with the best path metric, by making a majority decision on the oldest bits of all sequences, or by making an arbitary or majority selection of the oldest bits in sequences with path metrics above a threshold. US-A-4536878 discloses decoding apparatus generally in accordance with the precharacterising portion of claim 1 which uses a majority vote circuit to determine the decoded output. According to one aspect of the invention, there is provided a Viterbi decoding apparatus for decoding received data, comprising, an ACS circuit, a state metric memory circuit for storing state metric information obtained from said ACS circuit, a path memory circuit for storing selection information obtained from said ACS circuit, and a decision circuit for determining a decoded word by comparing a cumulative value involving path memory information with a preset threshold value, characterised in that said cumulative value is obtained by weighting a plurality of bits of a plurality of states of the path memory circuit according to likelihood information based on said state metric information supplied by said state metric memory circuit and adding the weighted values so obtained. Thus, this setup weights a plurality of bits of path decode words in each state according to the degree of likelihood based on the state metric information output from the state metric memory circuit, cumulatively adds the decode words obtained by the weighting, and compares the cumulative value obtained by the cumulative addition with the preset threshold value, thereby making it possible to determine the decode words. Preferred embodiments of the present invention provide a Viterbi decoding apparatus that can obtain decode words having a sufficient reliability with a small amount of hardware in a short processing time, wherein convolutional codes having information amounting to 30 Mbps or more used in high-definition TV, etc can be decoded at a speed within an average information rate. The invention will now be described by way of example with reference to the accompanying drawings, in which: Fig. 1 is a block diagram of a Viterbi decoding apparatus according to one embodiment of the present invention; Fig. 2 is a block diagram showing an example of a circuit constitution of a path decode word decision circuit shown in Fig. 1; Fig. 3 is a schematic diagram showing an example of an operation of the path decode word decision circuit shown in Fig. 1; Fig. 4 is a schematic diagram depicting the effect of the path decode word decision circuit shown in Fig. 1; Fig. 5 is a block diagram showing a typical previously proposed Viterbi decoding apparatus; and Fig. 6 is a transition diagram showing an operational example of an ACS circuit shown in Fig. 5. Fig. 1 is a block diagram of a Viterbi decoding apparatus according to one embodiment of the present invention. The Viterbi decoding apparatus shown comprises a branch metric calculating circuit 1, an ACS circuit 2, a normalizing circuit 3, a state metric memory circuit 4, a path memory circuit 5, and a path decode word decision circuit 6. The apparatus, when data coming from the sending side has been applied thereto, selects from among code strings generated by an encoder on the sending side a string nearest a received code string in likelihood to generate decode data based on the selection. The branch metric calculating circuit 1, when the received data has been applied thereto, calculates its branch metric to supply the result (branch metric) to the ACS circuit 2. The ACS circuit 2, based on a branch metric supplied from the branch metric calculating circuit 1 and a state metric supplied from the state metric memory circuit 4, adds the Hamming distance (branch metric) between the received code and path to the cumulative sum (state metric) of the branch metric obtained so far to compare the result with each of two paths joining into a certain state to select the path having a higher degree of likelihood. The ACS circuit 2 then supplies the resulting selection to the path memory circuit 5 and the newly obtained cumulative sum (state metric) to the normalizing circuit 3. The normalizing circuit 3 normalizes the state metric outputted from the ACS circuit 2 to a level within a preset range to send the result to the state metric memory circuit 4. The state metric memory circuit 4 stores the normalized state metric sent from the normalizing circuit 3 to send the state metric to the ACS circuit 2 and the path decode word decision circuit 6. The path memory circuit 5 stores the selection result outputted from the ACS circuit 2 to supply it to the path decode word decision circuit 6. The path decode word decision circuit 6, consisting of a classifying circuit 10, a weight decoding circuit 11, a two-bit adder 12, and a comparator 13 as shown in Fig. 2, weights the selection stored in the path memory circuit 5 based on the state metric stored in the state metric memory circuit 4. The decision circuit then compares the value obtained by this weighting with the preset threshold value to determine the path of maximum likelihood and generate the decode data to be output. The classifying circuit 10 classifies all paths into two classes based on the state metric output from the state metric memory circuit 4 and supplies the result to the weight decoding circuit 11 as class information. The weight decoding circuit 11 weights a one-bit path decode word supplied from the path memory circuit 5 based on the class information output from the classifying circuit 10 and makes the one-bit path decode word into an equivalent two-bit path decode word to be supplied to the two-bit adder 12. In this case, if the class information output from the classifying circuit 10 indicates "upper class" for each path as shown in Fig. 3, this path decode word is set to "00" when the path decode word output from the path memory circuit 5 is "0" and "11" when it is "1". If the class information output from the classifying circuit 10 indicates "lower class," this path decode word is set to "01" when the path decode word output from the path memory circuit 5 is "0" and "10" when it is "1". The two-bit adder 12 cumulatively adds weighted path decode words output from the weight decoding circuit 11 and supplies the resulting cumulative sum data to the comparator 13. The comparator 13 compares the preset threshold value "12" with the cumulative sum data output from the two-bit adder 12 to determine the decode word to be output. In this case, if the state changes from "000" to "001" and finally to "111" accompanied by the change of path memory value from "0" to "1" and finally to "1" and a decision is made by majority based on only this path memory value, "1" is obtained as the decode word because there are three "0"s and five "1"s. However, with the method of the present embodiment, path memory values "0," "1" through "1" are weighted based on state metrics "0," "5" through "4" corresponding to the path memory values to obtain two-bits decode words "00," "10" through "10" and these weighted path decode words are cumulatively added to obtain decode word "01011" ("11" in decimal notation) for each path. Consequently, if this decode word "01011" ("11" in decimal notation) is compared with the preset threshold value, for example, value "01100" ("12" in decimal notation) obtained by additively averaging accumulated value "4" obtained when the weighted path decode words are all "0"s and accumulated value "20" obtained when they are all "1"s, "0" is obtained as a decode word. Thus, this method provides a higher degree of likelihood in decoding than any of the previously proposed methods in which a decode word is determined by using either the number of "0"s and "1"s to judge which is greater or decision by majority of given m. As described above, in this embodiment of the present invention the decode word is determined by comparing the path decode word obtained by weighting the path memory value according to the state metric value with the preset threshold value, thereby providing sufficiently reliable decode words by a small amount of hardware and in a short processing time to decode, within an average information rate, convolutional codes having information amounting to 30 Mbps or more used in high-definition TV, etc.

Claims: A Viterbi decoding apparatus for decoding received data, comprising: an ACS circuit (2); a state metric memory circuit (4) for storing state metric information obtained from said ACS circuit; a path memory circuit (5) for storing selection information obtained from said ACS circuit; and a decision circuit (6) for determining a decoded word by comparing a cumulative value involving path memory information with a preset threshold value; characterised in that said cumulative value is obtained by weighting a plurality of bits of a plurality of states of the path memory circuit according to likelihood information based on said state metric information supplied by said state metric memory circuit (4) and adding the weighted values so obtained. Apparatus as claimed in claim 1, including: a branch metric calculating circuit (1), to which received data is supplied, for calculating a branch metric which is supplied to said ACS circuit; and a normalizing circuit (3) for normalizing a state metric output by said ACS circuit to produce said state metric information which is supplied to said state metric memory circuit (4). Apparatus as claimed in claim 2, wherein said branch metric is a Hamming distance between received data and a path, and said state metric is the sum of the branch metric supplied from said branch metric calculating circuit and said state metric information output by said state metric memory circuit (4), and wherein said ACS circuit compares the state metric with each of the paths joining into a certain state to select a path having a higher degree of likelihood, and supplies the result as said selection information to said path memory circuit (5) and the state metric to said normalizing circuit. Apparatus as claimed in claim 2 or claim 3, wherein said normalizing circuit (3) normalizes the state metric supplied from said ACS circuit to obtain a value falling in a predefined range. Apparatus as claimed in claim 4, wherein said state metric memory circuit (4) stores the normalized state metric as said state metric information and supplies said state metric information to said ACS circuit (2) and said path decode word decision circuit (6). Apparatus as claimed in claim 5, wherein said path decode word decision circuit (6) is further supplied with an output from said path memory circuit (5) which stores said selection information. Apparatus as claimed in any preceding claim, wherein said path decode word decision circuit (6) comprises: a classifying circuit (10) for classifying all paths into two classes based on the state metric information supplied from said state metric memory circuit (4); a weight decoding circuit (11) for weighting a one-bit path decode word supplied from said path memory circuit (5) based on the result of the classification by said classifying circuit (10) to generate an equivalent two-bit path decode word; a two-bit adder (12) for cumulatively adding the weighted path decode words to obtain said cumulative value; and a comparator (13) for comparing said preset threshold value with said cumulative value to determine the decoded word. Apparatus as claimed in any one of claims 1 to 7, wherein said received data is a high-definition TV signal.

Inventors: ITAKURA EISABURO, KOJIMA YUICHI, ITAKURA, EISABURO, KOJIMA, YUICHI, Itakura, Eisaburo, c/o Patents Division, Kojima, Yuichi, c/o Patents Division
Applicants: SONY CORP, SONY CORPORATION
Application year: 1992
Main classification: H03M13
IPC codes: H04N7, H03M13, H04L25