ERROR CORRECTION DECODER FOR VOCODING SYSTEM

Abstract: An error control decoder receives a received vector to be decoded. The decoder then calculates, as an error estimate, the Euclidean distances between a codeword choice and the received vector. The output error estimate is appropriately scaled and quantized in accordance with the particular code being processed by the decoder. The efficient Conway-Sloane algorithm is extended for use in connection with the decoding of shortened Golay codes. A modification is made to the generator matrix for the Golay code to produce a modified generator matrix that is unique for each shortened code. The modified generator matrix is then implemented in the Conway-Sloane algorithm to identify the best codeword for the conversion to its corresponding information bits for output. For improved multi-band excitation vocoding system.

Description: ERROR CORRECΗON DECODER FOR VOCODING SYSTEM BACKGROUND OF THE INVENTION Technical Field of the Invention The present invention relates to vocoding systems and, in particular, to a high performance implementation with respect to performing decoding and error estimation processes within an improved multi-band excitation (IMBE) vocoding system. Description of Related Art The IMBE Vocoding System Additional information on the IMBE vocoding system, as well as other speech communication systems, may be obtained by reference to the following references : United States Patent No. 5,081,681, entitled "Method and Apparatus for Phase Synthesis for Speech Processing" ; United States Patent No. 5,226,084, entitled "Method for Speech Quantization and Error Correction" ; United States Patent No. 5,247,579, entitled "Methods for Speech Transmission" ; and United States Patent No. 5,491,772, entitled "Methods for Speech Transmission" . The disclosures of these references are incorporated by reference herein. Reference is now made to FIGURE 1 wherein there is shown a block diagram of a transmitter side 10 for an improved multi-band excitation (IMBE) vocoding system. For each 20ms segment of speech (having L harmonics) to be encoded, a quantizer 12 generates a plurality of quantizer values b 0 through b L+2 . The quantizer value b 0 comprises the pitch of the speech segment. The quantizer value b comprises the voiced/unvoiced bit vector of the speech segment. The quantizer value b 2 comprises the gain of the speech segment. Finally, the quantizer values b 3 through b L+2 comprise the remaining spectral amplitudes of the L harmonics of the speech segment . A bit vector prioritization unit 14 of the transmitter side 10 receives the plurality of quantizer values b 0 through b L+2 and rearranges them into a set of p prioritized bit vectors u 0 through u . p This prioritization is made in accordance with the importance of the bits. In this context, an important bit is one that would cause a large distortion in the reconstructed speech if it were received incorrectly. Each 20ms segment of speech is accordingly compressed to n prioritized bits comprising the bit vectors u 0 through U p by the bit vector prioritization unit 14. The transmitter side 10 further includes a plurality of forward error correction (FEC) encoders 16 implementing error control codes of differing capabilities to transform the bit vectors u 0 through u p into encoded vectors v 0 through v p . An additional m' parity and/or error correction bits are added by the FEC encoders 16 to the n' prioritized speech bits comprising bit vectors u 0 through u p to output the encoded vectors v 0 through v p . Given the decreasing importance of the speech bits in the bit vectors u 0 through u p , the error control capabilities provided in the encoded vectors v 0 through v p by the FEC encoders 16 correspondingly decrease. In a conventional 6.4 kbps IMBE speech coder such as that standardized for the INMARSAT-M satellite communications system, n'=83, m'-=45 and p=7. The bit vectors u 0 and u- are encoded by a first and second FEC encoder 16(1) and 16(2), respectively, each implementing a (24,12) extended Golay code to generate the encoded vectors v 0 and v x . The bit vectors u 2 through u 6 are encoded by a third through seventh FEC encoders 16(3)- 16(7), respectively, each implementing a (15,11) Hamming code to generate encoded vectors v 2 and v 6 . The remaining bit vector u 7 is not encoded, and is thus passed on as the encoded vector v 7 . In a 7.1 kbps IMBE speech coder proposed for use in the Ericsson DLMR communications system (see, specifically illustrated in FIGURE 1) , two modes of operation are proposed. In the first mode, n'=88, m' =54 and p=6. The bit vector u 0 is encoded by a first FEC encoder 16(1) implementing a (19,7) shortened Golay code to generate an encoded vector v 0 . The bit vector u x is encoded by a second FEC encoder 16(2) implementing a (24,12) extended Golay code to generate encoded vector v x . The bit vectors u 2 and u 3 are encoded by a third and fourth FEC encoders 16(3) and 16(4), respectively, each implementing a (23,12) Golay code to generate encoded vectors v 2 and v 3 . Finally, the bit vectors u 4 and u 5 are encoded by a fifth and sixth FEC encoders 16(5) and 16(6), respectively, each implementing a (15,11) Hamming code to generate encoded vectors v 4 and v 5 . The remaining bit vector u 6 is not encoded, and is thus passed on as the encoded vector v 6 . In the second mode, n'=74, m'=68 and p=6. The bit vector u 0 is encoded by a first FEC encoder 16 (1) implementing a (19,7) shortened Golay code to generate encoded vector v 0 . The bit vector u-. is encoded by a second FEC encoder 16(2) implementing an (18,6) shortened Golay code to generate encoded vector v 1 . The bit vectors u 2 , u 3 and u 4 are encoded by a third, fourth and fifth FEC encoders 16(3), 16(4) and 16(5), respectively, each implementing an (18,7) shortened Golay code to generate encoded vectors v 2 , v 3 and v 4 . Finally, the bit vector u 5 is encoded by a sixth FEC encoder 16(6) implementing a (23,12) Golay code to generate encoded vector v 5 . The remaining bit vector u 6 is not encoded, and is thus passed on as the encoded vector v 6 . For any of the IMBE speech coders, the transmitter side 10 generated encoded vectors v 0 through v p are interleaved by an interleaver unit 20, and then modulated by a modulator 22 for transmission (as vector c) over a communications channel 24. An example of such a modulator 22 is any known modulator having an M-ary signal constellation (such as quadrature amplitude modulation (QAM) or phase shift keying (PSK) ) . The communications channel 24 over which the interleaved and modulated code vectors v 0 through v p are transmitted may introduce a number of random and/or burst errors producing interleaved and modulated code vector z . Reference is now made to FIGURE 2 wherein there is shown a block diagram of a receiver side 30 for the improved multi-band excitation (IMBE) vocoding system. An appropriate demodulator 32 is provided for demodulating the communications channel 24 transmitted communication vector z to output on line 34 estimates of the bits within the received code vectors z 0 through z p . The demodulator 32 further outputs a corresponding reliability vector r including reliability values for each bit within the received code vectors z 0 through z p . The reliability values are indicative of the level of confidence expressed by the demodulator 32 in its estimate of a particular received and demodulated bit. Thus, a larger reliability value within the vector r indicates a higher likelihood of the corresponding bit within the received code vector z being estimated correctly. Demodulators, like that described above, producing bit estimates and reliability values are well known in the art, and thus will not be further described. The received code vectors z and the corresponding reliability vector r are then de-interleaved by a deinterleaver unit 38 to produce the encoded vectors v 0 through v p . The receiver side 30 includes a plurality of error control decoders 40 to transform the encoded vectors v 0 through v p into bit vectors u 0 through u p . For example, for the 6.4 kbps IMBE speech coding system, the added forty-five error correction bits within the encoded vectors v 0 through v 7 are removed to recover the eighty- three prioritized speech bits comprising the bit vectors u 0 through u 7 . With specific reference to the 7.1 kbps IMBE speech coding system implementation illustrated in FIGURE 2, in the first mode, the added fifty-four parity bits within the encoded vectors v 0 through v 6 are removed to recover the eighty-eight prioritized speech bits comprising the bit vectors u 0 through u 6 . In second mode, on the other hand, the added sixty-eight parity bits within the encoded vectors v 0 through v 6 are removed to recover the seventy-four prioritized speech bits comprising the bit vectors u 0 through u 6 . The number of bits t which can be corrected by a given code is fixed. For example, for the Hamming code only one bit can be corrected. For the Golay, extended Golay, and shortened Golay codes, on the other hand, three bits can be corrected. The error control decoders 40 receive not only the appropriate ones of the encoded vectors v 0 through v p to be decoded, but also their corresponding bit reliability values from the reliability vector r. Any one of a number of decoding techniques known to those skilled in the art may be implemented. For example, the reliability vector r may be ignored and the received vector v decoded using a hard decision decoding method. This decoding technique is a relatively low complexity implementation. Alternatively, the reliability vector r may be used to perform a soft decision type decoding (comprising perhaps errors and erasures decoding) of the received vector v. This decoding technique is a relatively medium complexity implementation. Still further, the reliability vector r may be used to perform a maximum likelihood decoding of the received vector v. This decoding technique is a relatively high complexity implementation. The error control decoders 40 further compute for output in conjunction with the bit vector u the Hamming distance d H between the closest candidate vector (corresponding to the selected output bit vector u) and the received vector v. This Hamming distance identifies the number of places where the bits of the candidate vector and the received vector v differ, thus providing an error estimate for output along with the bit vector u. It is further recognized at this point that in those implementations where no error control decoder is needed for the encoded vector v p , the encoded vector v p is passed on as the bit vector u p . The receiver side 30 further includes a bit vector reconstruction unit 44 which receives the prioritized bit vectors u 0 through u p , along with the corresponding error estimate information provided by the determined Hamming distances d H , and outputs the plurality of quantizer values b 0 through b L+2 relating to the 20ms segment of speech. The Hamming distances d H are processed by the unit 44 as error estimate information to identify the reliability of the prioritized bit vectors u 0 through u p . If the bit vectors u are deemed reliable, they are used to reconstruct the quantizer values b 0 through b L+2 relating to corresponding 20ms segment of speech. Conversely, if the bit vectors u are deemed unreliable, they are discarded and the quantizer values b 0 through b L+2 relating to the corresponding 20ms segment of speech are reconstructed by interpolation. The generated quantizer values b 0 through b L+2 are then processed by a de-quantizer 46 to generate the speech for output. Use of the Hamming distance d H between the closest candidate vector (corresponding to the selected output bit vector u) and the received vector v as a means for locating potential errors in the decoding operation is not preferred because the calculation tends to discard too much available and important information. It also does not exploit available channel tap estimate information. There is a need then for a better error estimation technique which would preferably implement a Euclidean distance calculation. Conway-Sloane Decoding In the receiver side 30, because of implementation complexity concerns, each of the error control decoders 40 of the system 10 typically comprises a soft decision decoder (and, in particular, an errors and erasures decoder) . Such decoders exploit reliability values (from the reliability vector r) in estimating the transmitted codeword. In the absence of fading, and in the presence of Gaussian noise, the optimal soft decision decoder is the maximum likelihood decoder. It is also typically the best decoder in the presence of fading (assuming a good estimate of the fading is available) . For a general block code, however, like those implemented in FIGURE 1, maximum likelihood decoding can be hopelessly complex to implement. Accordingly, the soft decision decoding method is preferably implemented for the decoding process, but a need exists for a less complex maximum likelihood decoding scheme . For the IMBE vocoding systems previously described, the encoders 16 implement in some cases a (24,12) extended Golay code and a (23,12) Golay code. For the special case of the (24,12) extended Golay code and the (23,12) Golay code, a maximum likelihood decoder having a very low complexity has been devised by Conway and Sloane (see, IEEE Trans. Infor. Theory, vol. 32, pp. 41-50, 1986). It is preferable to use the Conway-Sloane decoder for these cases as performance improves with no appreciable increase in processing complexity. For the Conway-Sloane decoding method, the received vector v and its corresponding reliability vector r are combined to produce a modified received vector w. The i- th component of the vector w is given by: where v-_ is the i-th component of v, and r x is the i-th component or r. Maximum likelihood decoding is now performed on the modified received vector w instead of the received vector r. For an (n,k) binary linear code Λ, let y= {γ 1 y n ) denote a codeword in Λ, where y^fo,!) and 1=1, ...,n. Also, let y denote y in antipodal form ( +1,-1) with elements : y, = (i - 2y,) (2) where 1=1 , ... , n . A maximum likelihood decoder finds a codeword y * such that y * is closest to w in Euclidean distance. This is the same as saying that y * has the largest inner product which is given by: Now consider a generator matrix G for the (n,k) binary linear code Λ. It is useful to treat the matrix as having an upper matrix G' and a lower matrix G' ' as follows : where G' has k' rows, and G' ' has k' ' rows. Let Λ' denote the set of codewords - j ' generated by G' , where j =0 , ... , 2 k ' -1. Also, let y ± ' ' denote a codeword generated by G" , where i=0, ..., 2 k "-l . Then: Λ; = {y, + j , y j e Λ'} (5) is called a coset of A' in the Λ. The cosets Λ-' are disjoint, but their union is equal to the code Λ. It is also noted that comparing the received vector v to the elements of A ± ' is equivalent to comparing w * y i to the elements of A', where: - // w * y. { , y-ι > • > v n y ιn } (6) and where: y. = (y n , ' " *,y in ) is Yi' ' in antipodal form. Now, the search for y * is organized as follows: an outer loop executed over yi' ' , and an inner loop is executed over the elements of Λ' . The generator matrix G for the (24,12) extended Golay code may conveniently be represented as an upper matrix G' : and a lower matrix G' 1100 1100 1100 1100 oooo oooo 1010 1010 1010 1010 oooo oooo 1010 1001 11000000 1100 oooo 1001 1100 10100000 1010 oooo (8) 0111 1000 1000 1000 1000 1000 00000000 1100 1100 1100 1100 0111 1000 1000 1000 1000 1000 000000001010 1010 1010 1010 It is noted that the upper matrix G' has a very simple structure. In fact, Λ' is an even parity code repeated four times. Maximum likelihood decoding of the vector w over Λ' is accomplished by forming six 4 -tuple sums (I through VI ) : α ι = w ι + w 2 + . + w ' 4' ., VI = w„ 21 W 22 + w23, + w2 (9) If the number of negative α N 's is odd, the α N having the smallest magnitude is found and its sign is changed. Now, let: β, = sign( ι ), . . .,β vι = sign(α yι ) (10) and the maximum likelihood codeword is then given by: ( PMP,. • • AAAAi> ( " ) and the inner product is : P = l «. | + • • • + |α VI | (12) to replace the inner loop of the search. With respect to the outer loop, in order to produce the sums of Equation (9) , one hundred twenty-eight modified versions of w need to be computed. By inspection of the lower matrix G' ' , it is noted that all possible sign combinations of w 1 through w 4 are produced. The same is true for each of the remaining five 4 -tuples except that w 12 , w 16 , w 20 , and w 24 do not change sign. In this instance, efficiency is obtained by pre-computing τ through α VI under all sign combinations, and then storing the results in six tables (referred to as o τ through σ VI ) . At each step of the outer loop, then, the appropriate entries from the six tables are extracted. To further improve the operational processing of the outer loop, the entries for the six tables are computed in a Gray code ordering so that the current sum is found from the prior sum using a single subtraction instead of three additions/subtractions . To implement the decoding algorithm, the plural yi' ' items are ordered in some fashion, and then for every yi' ' the 4 -tuples are mapped in their Gray code numbers γ^ 1 . The table of Gray code numbers is stored within the read only memory (ROM) of the decoder. When w is received, the six sum tables σ N are pre-computed. In this example of the (24,12) extended Golay code, the sum tables σ- and σ„ each have sixteen entries, and the remaining sum tables σ ι through σ VI have eight entries each. The main loop of the process is then executed as follows: - Let p'=0, i'=0, and δ= (δ x , ... , δ n ) = (0 , ... , 0) - For i=0 to 127 - Let a τ = σ I (γ I 1 ) , ... , VI = σ^ iγ^ 1 ) - If odd number of negative α N 's: - switch sign of smallest magnitude α N - let p=p - 2 min N I α N l - Compute β I =sign (o. I ) , . . . , β VI =sign (α VI ) - If p>p ' , let p ' =p , i ' =i , and δ' = (β I β I β I β I βviβviβviβvi) - The maximum likelihood codeword in antipodal form is then: y = (δ 1 y ll ,---,δ n y ιn ) , form: with the corresponding information bits denoted u * . In summary then, y * is the maximum likelihood estimate of the modified received codeword . The foregoing procedure has been extended for use in decoding (23,12) Golay code. The generator matrix G-, for the (23,12) Golay code is found by removing the first column from the upper matrix G' and lower matrix G' ' over Equations (7) and (8), respectively. The foregoing algorithm used for the (24,12) extended Golay code is then also used to decode the modified received vector w. To implement this, a zero is appended to the received vector . Since the received vector is nominally antipodal, a zero value is equivalent to an erasure. Use of the Conway-Sloane algorithm in decoding either the (24,12) extended Golay code or the (23,12) Golay code provides a marked improvement over the use of other known techniques (especially those implementing a "brute force" searching approach) . It is noted, however, that the receiver side 30 in many IMBE speech coding systems (for example, the 7.1 kbps IMBE speech coding system) includes a number of individual error control decoders 40 which must decode various shortened Golay codes such as the (19,7) Golay code, the (18,7) Golay code, and the (18,6) Golay code. Currently, decoding algorithms not as efficient as the Conway-Sloane algorithm (such as those comprising errors and erasures decoders) are being used to implement the necessary decoding operations for these shortened Golay codes. There would be an advantage, however, if the efficient Conway-Sloane algorithm could be extended for use in connection with the decoding of such shortened Golay codes . SUMMARY OF THE INVENTION To address the foregoing need with respect to the computation of an improved error estimate for a decoded bit vector, an error control decoder of the present invention receives a received vector to be decoded. The decoder processes calculates, as the error estimate, the Euclidean distance between a codeword choice and the received vector. The output error estimate is appropriately scaled and quantized in accordance with the particular code being implemented by the decoder. To address the foregoing need with respect to the extension of the efficient Conway-Sloane algorithm for use in connection with the decoding of shortened Golay codes, the present invention modifies the generator matrix for the Golay code to produce a modified generator matrix that is specific for and tailored to the decoding of each shortened code. The modified generator matrix is then efficiently implemented in the Conway-Sloane algorithm to identify the best codeword for conversion to its corresponding information bits for output. In particular, the modified generator matrix comprises the Golay code generator matrix with specially chosen rows and columns deleted. BRIEF DESCRIPTION OF THE DRAWINGS A more complete understanding of the method and apparatus of the present invention may be acquired by reference to the preceding Background of the Invention and the following Detailed Description when taken in conjunction with the accompanying Drawings wherein: FIGURE 1 is a block diagram of a transmitter side for an improved multi-band excitation (IMBE) vocoding system; FIGURE 2 is a block diagram of a receiver side for the improved multi-band excitation (IMBE) vocoding system; FIGURE 3 is a block diagram of a decoder of the present invention implementing the Conway-Sloane algorithm for decoding shortened Golay encoded information; and FIGURE 4 is a block diagram of a decoder of the present invention implementing a Euclidean distance based error estimation determination. DETAILED DESCRIPTION OF THE INVENTION Referring now to FIGURE 3, wherein there is shown a block diagram of a decoder of the present invention, the Conway-Sloane technique is extended for use by appropriate ones of the decoders 40 in decoding (19,7) shortened Golay code encoded vectors . The generator matrix G for the (24,12) extended Golay code is manipulated to produce a modified generator matrix G 2 100 for use in decoding the (19,7) extended Golay code. In particular, columns twenty, twenty-one, twenty-two, twenty-three and twenty- four are removed from the generator matrix G, and only rows one, two, three, six, seven, eight and nine of the generator matrix G are kept. As a result, the generator matrix G 2 for the (19,7) extended Golay code may conveniently be represented as an upper matrix G 2 ' : G, mi oooo mi oooo ooo (13) and a lower matrix G 2 ' ' 1100 1100 1100 1100000 1010 1010 1010 1010000 G, (14) 1010 1001 1100 OOOO 110 1001 1100 10100000 101 Three processing efficiencies are encountered with respect to the use of the generator matrix G 2 for the (19,7) extended Golay code in the Conway-Sloane algorithm. First, since the last three columns in the upper matrix G 2 ' are zero, only the first four sum tables σ N 102 need to be pre-computed and stored in response to the received vector w. Second, since the lower matrix G 2 '' shares the first four rows of the lower matrix G' ' , the loop size for the algorithm becomes sixteen instead of one hundred twenty-eight. Third, only the even entries in the four sum tables σ N are actually used by the algorithm, and thus need to be pre-computed and stored. Gray code values 104 are also stored. The Conway-Sloane algorithm is then executed 106 on the received vector w (or vector v) in view of the generator matrix G 2 . The main loop of the process is executed as follows: - Let p'=0, i'=0, and δ= (δ 17 ... , δ n ) = (0 , ... , 0) - For i=0, 8, 16, ..., to 120 - Let p= lα + ... + l ιv l - If odd number of negative α N 's: - switch sign of smallest magnitude N - let p=p - 2 min N I N l - Compute β I = sign (o. I ) , . . . , β IV =sign ( IV ) - If p>p ' , let p ' =p , i ' =i , and δ ' = ( β I β I β I β I β Iv β Iv β Iv β IV , +l , +l , +l ) - The maximum likelihood codeword in antipodal form is then: form: with the information bits denoted u * . In summary then, y * is the maximum likelihood estimate of the modified received codeword . Referring again to FIGURE 3, in accordance with the present invention, the Conway-Sloane technique is extended for use appropriate ones of the decoders 40 in decoding (18,6) shortened Golay code encoded vectors. The generator matrix G for the (24,12) extended Golay code is manipulated to produce a modified generator matrix G 3 100 for use in decoding the (18,6) extended Golay code. In particular, columns sixteen, twenty, twenty-one, twenty- two, twenty-three and twenty-four are removed from the generator matrix G, and only rows one, two, six, seven, eight and nine of the generator matrix G are kept . As a result, the generator matrix G 3 for the (18,6) extended Golay code may conveniently be represented as an upper matrix G 3 ' : and a lower matrix G 3 ' ' : 1100 1100 1100 110000 1010 1010 1010 101 000 (16) 1001 1100 1010000 101 Three processing efficiencies are encountered with respect to the use of the generator matrix G 3 for the (18,6) extended Golay code in the Conway-Sloane algorithm. First, since the last six columns in the upper matrix G 3 ' are zero, only the first three sum tables σ N 102 need to be pre-computed and stored in response to the received vector v. Second, since the lower matrix G 3 ' ' shares the first four rows of the lower matrix G' ' , the loop size for the algorithm becomes sixteen instead of one hundred twenty-eight. Third, only the even entries in the four sum tables σ N are actually used by the algorithm, and thus need to be pre-computed and stored. Gray code values 104 are also stored. The Conway-Sloane algorithm is then executed 106 on the modified received vector w (or received vector v) in view of the generator matrix G 3 . The main loop of the process is executed as follows : - Let p'=0, i'=0, and δ= {δ l t . . . , δ n ) = (0 , ... , 0) - For i=0, 8, 16, ..., to 120 - Let p= lo-jl + . . . + lα ι:ι l - If odd number of negative α N 's: - switch sign of smallest magnitude α N - let p=p - 2 min N I o- - Compute β--=sign (o- j ) , ..., β IIj: ----sign ( ιπ ) - If p>p' , let p'=p, i'=i, and 5 ' = ( β I β I β I β I , βlll βlllβlll βlll - +1 , + 1 ) - The maximum likelihood codeword in antipodal form is then: r ^δ.y^-.δ^), or in binary form: 1 1-. y = T 2 ~ - 2 y > with the corresponding information bits denoted u * . In summary then, y * is the maximum likelihood estimate of the modified received codeword . Referring again to FIGURE 3 , in accordance with the present invention, the Conway-Sloane technique is extended for use appropriate ones of the decoders 40 in decoding (18,7) shortened Golay code encoded vectors. The generator matrix G for the (24,12) extended Golay code is manipulated to produce a modified generator matrix G 4 100 for use in decoding the (18,7) extended Golay code. In particular, columns one, twenty, twenty-one, twenty-two, twenty-three and twenty-four are removed from the generator matrix G, and only rows one, two, three, six, seven, eight and nine of the generator matrix G are kept. As a result, the generator matrix G 4 for the (18,7) extended Golay code may conveniently be represented as an upper matrix G 4 ' : G, i n oooo m i oooo ooo (17) i n oooo oooo m i ooo and a lower matrix G 4 Three processing efficiencies are encountered with respect to the use of the generator matrix G 4 for the (18,7) extended Golay code in the Conway-Sloane algorithm. First, since the last three columns in the upper matrix G 4 ' are zero, only the first four sum tables σ N 102 need to be pre-computed and stored. Second, since the lower matrix G 4 ' ' shares the first four rows of the lower matrix G' ' , the loop size for the algorithm becomes sixteen instead of one hundred twenty-eight. Third, only the even entries in the four sum tables σ N are actually used by the algorithm, and thus need to be pre-computed and stored. Gray code values 104 are also stored. The Conway-Sloane algorithm is then executed 106 on the modified received vector w (or the received vector v) in view of the generator matrix G 4 . The main loop of the process is executed as follows: - Let p'=0, i'=0, and δ= (δ x , ... , δ n ) = (0 , ... , 0) - For i=0, 8, 16, ..., to 120 - Let 0- ! = O j iγ 1 ) , ... , α IV = σ IV (γ IV 1 ) - Let ρ= -l + ... + Iv l - If odd number of negative N 's: - switch sign of smallest magnitude α N - let p=p - 2 min N I α N l - Compute β I = sign ( I ) , . . . , β IV =sign (α IV ) - If p>p ' , let p' =p , i ' =i , and δ ' = ( β I β I β I β I , . . . , β Iv β Iv β Iv β IV , +l , +l , +l ) - The maximum likelihood codeword in antipodal form is then : rf. - " x - "s or in binary form : 1 l - » y = - - -y , 2 2 with the corresponding information bits denoted u * . In summary then, y * is the maximum likelihood estimate of the modified received codeword w. In essence, and as an alternative, the same processing algorithm as used for the (19,7) extended Golay code discussed above may again be used here by appending a zero to the received vector w. As discussed previously, the conventional error correction decoder 40 computes the Hamming distance d H between the candidate vector (corresponding to the selected closest bit vector u) and the received vector v. This Hamming distance identifies the number of places where the bits of candidate vector and the received vector v differ, thus providing an error estimate for output along with the bit vector u. Use of the Hamming distance is not preferred, however, because the Hamming distance calculation tends to discard too much available and important information. It also does not exploit available channel tap estimate information. A Euclidean distance calculation rather than a Hamming distance calculation would provide better results. Reference is now made to FIGURE 4 wherein there is shown a block diagram of a decoder 40 of the present invention implementing a Euclidean distance based error estimation determination. Let y * denote the selected codeword choice y * 110 in antipodal form. The error estimate for the decoding operation is determined by computing the Euclidean distance d E 114 between the received vector and y * as follows: The error estimate e is then appropriately scaled and quantized 116 in accordance with the type of code at issue. For example, for the error control decoders 40 decoding the Hamming codes, e is scaled and quantized to be either zero or one. For the Golay codes, on the other hand, e is scaled and quantized to be either zero, one, two or three . The deinterleaver unit 38, decoders 40 (including their functional component parts illustrated in FIGURES 3 and 4) , and bit vector reconstruction unit 44 are all preferably implemented as a specialized digital signal processor (DSP) or in an application specific integrated circuit (ASIC) . It will, of course, be understood that the deinterleaver unit 38, decoders 40 (including their functional component parts illustrated in FIGURES 3 and 4), and bit vector reconstruction unit 44 may alternatively be implemented using discrete components and perhaps distributed processing. In either case, the deinterleaver unit 38, decoders 40 (including their functional component parts illustrated in FIGURES 3 and 4) , and bit vector reconstruction unit 44 each perform and implement the functional operations previously described. Although preferred embodiments of the present invention have been illustrated in the accompanying Drawings and described in the foregoing Detailed Description, it will be understood that the invention is not limited to the embodiments disclosed, but is capable of numerous rearrangements, modifications and substitutions without departing from the spirit of the invention as set forth and defined by the following claims .

Claims: WHAT IS CLAIMED IS: 1. A decoder receiving a received vector to be decoded, comprising: means for determining a codeword choice closest to the received vector; and means for determining the Euclidean distance between the received vector and the codeword choice, the determined Euclidean distance output as an error estimate for the decoded received vector. 2. The decoder as in claim 1 further including means for scaling and quantizing the error estimate in accordance with a given type of code . 3. The decoder as in claim 2 wherein the given type of code comprises a Hamming code, and the error estimate is scaled and quantized to a value of either zero or one. 4. The decoder as in claim 2 wherein the given type of code comprises a Golay code, and the error estimate is scaled and quantized to a value of either zero, one, two or three . 5. The decoder as in claim 1 wherein the Euclidean distance is calculated between the received vector in antipodal form and the codeword choice also in antipodal form. 6. A decoder for decoding a received vector encoded in accordance with an (n',k') shortened Golay code wherein the decoder executes a Conway-Sloane algorithm on the received vector to identify a codeword choice closest to the received vector, the executed Conway-Sloane algorithm utilizing a generator matrix G ra for the shortened Golay code, wherein the generator matrix G m comprises a modification of a generator matrix G for an (n,k) Golay code, wherein n'<n and k'<k, and wherein the generator matrix G includes a plurality of rows and a plurality of columns, and wherein the modification of the generator matrix G to produce the generator matrix G m comprises the removal of certain plural ones of both the rows and columns of the generator matrix G. 7. The decoder as in claim 6 wherein the (n,k) Golay code comprises a (24,12) Golay code, and wherein the (n',k') shortened Golay code comprises a (19,7) shortened Golay code. 8. The decoder as in claim 7 wherein the generator matrix G includes twelve rows and twenty-four columns, and wherein the modification producing the generator matrix G m comprises the removal of columns twenty, twenty-one, twenty-two, twenty-three and twenty four, and the removal of rows four, five, ten, eleven and twelve. 9. The decoder as in claim 6 wherein the (n,k) Golay code comprises a (24,12) Golay code, and wherein the (n',k') shortened Golay code comprises an (18,6) shortened Golay code. 10. The decoder as in claim 9 wherein the generator matrix G includes twelve rows and twenty-four columns, and wherein the modification producing the generator matrix G m comprises the removal of columns sixteen, twenty, twenty-one, twenty-two, twenty-three and twenty four, and the removal of rows three, four, five, ten, eleven and twelve . 11. The decoder as in claim 6 wherein the (n,k) Golay code comprises a (24,12) Golay code, and wherein the (n',k') shortened Golay code comprises an (18,7) shortened Golay code. 12. The decoder as in claim 11 wherein the generator matrix G includes twelve rows and twenty-four columns, and wherein the modification producing the generator matrix G m comprises the removal of columns one, twenty, twenty- one, twenty-two, twenty-three and twenty four, and the removal of rows four, five, ten, eleven and twelve. 13. The decoder as in claim 11 wherein the generator matrix G includes twelve rows and twenty-four columns, and wherein the modification producing the generator matrix G m comprises the removal of columns twenty, twenty-one, twenty-two, twenty-three and twenty four, and the removal of rows four, five, ten, eleven and twelve, and further including the appending of a zero to the received vector prior to execution of the Conway-Sloane algorithm.

Inventors: CHENNAKESHU SANDEEP, KHAYRALLAH ALI S, TOY RAYMOND L, CHENNAKESHU, SANDEEP, KHAYRALLAH, ALI, S., TOY, RAYMOND, L.
Applicants: ERICSSON GE MOBILE INC, ERICSSON INC.
Application year: 1997
Main classification: H03M13
IPC codes: G10L19, H03M13