Error correction method and apparatus thereof

Abstract: The error correction system of the D2-MAC sound signal decoder receives the sound signal which are compressed and transmitted by the NICAM broadcasting method, perfroms a parity check, and detects the scale factor of each of the sound samples. Then, the system distinguishes the sound samples according to the protection range, and compares the higher 2-bit or 3-bit with respect to the sound samples having the protection range of 6 or 7 among the distinguished sound samples, to detect if errors are generated. Also, The MSB is decided in unit of a predetermined group with respect to compressed and transmitted sound samples, and corrects the value of the MSB of the sound samples having the protection range of 6 or 7 into the value of the MSB decided in unit of the group, to protect the MSB of the sound sample. Then, the MSB-protected sound samples are properly expanded according to the protection range to be restored into the original sound data.

Description: BACKGROUND OF THE INVENTION The present invention relates to a system for decoding a sound signal which has been coded during a transmission of a D2-MAC signal, and more particularly to an error correction method and the apparatus thereof for use in a decoder for a D2-MAC signal so as to detect and correct an error which has been generated during transmission with respect to D2-MAC sound data companded in a near instantaneous companding audio multiplex (NICAM = Near Instantaneously Contend Audio Multiplexer) method, see Electronics & Wireless World, vol. 95, no 1642, August 1989, SURREY GB, pages 754-757, XP 38441. Generally, in order to code a D2-MAC sound signal to transmit the coded signal and decode the received signal, a NICAM method is used for a method of companding the sound signal while a parity checking method is used for data protection method. The sound signal of the NICAM method is substantially companded as follows. Sample data of the sound signal composed of 14 bits is classified into 5 units of coding ranges and 7 units of protection ranges according to the amplitude level of sample data. Then, the sound sample corresponding to each of the respective coding ranges is compressed from 14 bits into 10 bits according to a predetermined rule. Here, the predetermined rule is different according to each of the coding ranges, of which the detailed explanation will follow hereinafter. The sound data which has been compressed into 10-bit sound samples for transmission according to the coding ranges is expanded into the original 14-bit sound samples in an expanding portion of the decoder according to each of the protection ranges of the respective sound samples. During such transmission processes, when errors are generated in the sound data, error corrections are also performed. FIG.1 shows a method for assigning coding ranges and protection ranges with respect to the 14-bit sound samples. The coding range (CR) and the protection range (PR) are set according to how many serial bits have the same value as that of the most significant bit (MSB) among the MSB corresponding to a sign bit in the 14-bit sound sample and the subsequent bits next to the MSB. Coding range (CR) provides a reference to compress the 14-bit sound sample into 10 bits while protection range (PR) provides another reference to expand the compressed and transmitted sound samples of 10-bit in the expand portion of the decoder. Protection range (PR) is also used for correcting an error generated in the sound sample during transmission. The protection ranges have more ranges than the coding ranges. The coding range 5 (CR5) corresponds to the protection ranges 5, 6 and 7 (PR5, PR6 and PR7). As described above, the reason why the protection range is wider than the coding range is for deeply protecting the sound samples from errors which have been generated when the sound samples are expanded in the decoder. On the other hand, according as coding range CR and protection range PR of each of the sound samples are determined, a predetermined scale factor SF is determined. As shown in FIG.1, scale factor SF is composed of 3 bits, and the mutual relationship among scale factor SF, coding range CR and protection range PR is represented as in Table 1. CR PR SF 1 1 1 1 1 2 2 1 1 0 3 3 1 0 1 4 4 0 1 1 5 5 1 0 0 5 6 0 1 0 5 7 0 0 1 5 7* 0 0 0 In Table 1, protection range 7* (PR7*) is a silence period and corresponds to the period having no magnitude of the sound. Each of the bits of the 3-bit scale factor is assigned to a sound sample group composed of a predetermined number of sound samples. The parity bit of the sound sample and one bit of scale factor SF in each group is coded in an exclusive-OR (X-OR) logic and is transmitted together. Then, the decoder performs the parity checking with respect to the transmitted sound samples. The result of the parity checking is decided by majority in a unit of the above-mentioned sound sample group, to obtain a scale factor. If the scale factor SF is is known, protection range PR can be seen as in Table 1. According to protection range PR, the sound samples are expanded. Coding and decoding of the sound data according to the above NICAM method will be described below in more detail. A data packet of the sound data which is coded and decoded is composed of 64 sound samples. The data packet is classified into two blocks corresponding to a left channel and a right channel, respectively, in case of the stereo sound. Then, the coding range of the sound sample having the highest level among 32 sound samples in each block is determined as the coding range of that block. According to the coding range determined as described above, 14-bit sound samples are compressed into 10-bit sound samples. One example of compressing of the sound samples is represented in Table 2. In Table 2, 14-bit sound sample is compressed into 10-bit sound sample and an even parity bit (EP) is added. As represented in (a) to (d) in Table 2, to obtain the compressed sound sample of 10-bit, 4 bits among the 14-bit sound sample are deleted. Here, the deleted 4 bits are differently decided according to the coding range. The bits having the same value as that of the MSB except the MSB are deleted below the MSB. In case that the coding range CR is "3" as in (a) of Table 2, the number of bits having the same value as that of the MSB is two (represented as "A") among the bits subsequent to the MSB. Accordingly, two more bits (represented as "B") are deleted including the LSB. In case that the coding range CR is "5" as in (b), (c) and (d) of Table 2, the number of bits having the same value as that of the MSB and which are subsequent to the MSB are more than four. Accordingly, these subsequent four bits (represented as "A") are deleted. Also, The parity bit of "0" or "1" is added to each of the sound samples, so that existence of errors may be discriminated by the parity checking before expanding of the data in the decoder with respect to the compressed-to-10-bit sound samples. Since the example of Table 2 is limited in the even parity checking, the even parity bit EP is added so that the number of bits having the value of "1" among the higher 6 bits in each of the sound samples may be an even number. Also, the sound samples added with the parity bit are further added with the scale factor during transmission to be transmitted together. The 3-bit scale factor SF as in the aforesaid Table 1 is set with respect to one data packet. The data packet is distinguished into three groups. The scale factor of one bit is set with respect to each of the groups. Then, the scale factor of one bit and the parity bit of each of the sound samples is exclusive-OR-operated. The result of the operation is becomes the LSB of the sound sample which is compressed and transmitted. Such compressed and transmitted sound samples are expanded in the expander of the decoder. The transmitted sound samples are checked before being expanded if errors are generated during transmission. Through such an error checking, that is, the parity check with respect to the transmitted sound samples according to a predetermined rule, the parity error is detected. Then, the result of the parity check is decided by majority in each group of the sound samples. If the parity is an even parity, the value of the scale factor of the group is decided as "0," and if the parity is an odd parity, the value of the scale factor of the group is decided as "1." If the scale factor SF is detected with respect to the data packet of the transmitted sound samples, the protection range PR can be seen as in Table 1. Here, if the protection range PR of the transmitted sound samples is "6," the MSB's of the transmitted sound samples should be the same as the following bit (MSB -1 ) to become normal as in (c) of Table 2. Assuming that the error is generated during transmission, if one bit of the higher 5 bits (MSB to MSB -4 ) of each of the transmitted sound samples is an error bit, it is decided as "odd" through the result of the even parity check which detects errors with respect to the higher 6 bits (MSB to MSB -5 ), thereby detecting whether or not errors are occurred. However, as shown in (e) of Table 2, when errors are generated in two bits of the higher 5 bits (MSB to MSB -4 ), although the even parity check is performed, it is decided as "even" so as not to accordingly detect errors. Also, when the protection range (PR) is "7," if errors are generated in two bits of the higher 6 bits (MSB to MSB -5 ) as in (f) of Table 2, although the even parity check is performed, it is decided as "even" so as not to accordingly detect errors similar to the above. Compression and expansion of the sound samples using such a conventional NICAM method has a problem that when errors are generated in two or more bits of the sound sample of which the parity check is performed during the error detection by means of the parity check, errors could not be detected. Accordingly, the decoder could not restore the transmitted sound samples into the original sound samples. By this reason, the quality of the decoded sound signals is lowered. SUMMARY OF THE INVENTION Therefore, to solve the above problems, it is an object of the present invention to provide an error correction method for use in a D2-MAC sound signal decoder, in which when coded D2-MAC sound signals are decoded, errors generated with respect to the compressed and transmitted sound samples during transmission are more efficiently detected and are corrected, thereby expanding the compressed sound samples to the original sound samples. It is another object of the present invention to provide an error correction apparatus for use in a D2-MAC sound signal decoder which is realized in hardware to perform the aforesaid error correction method for use in the D2-MAC sound signal decoder. Thus, to accomplish one object of the present invention, there is provided an error correction method as claimed in claim 1 for detecting and correcting errors of sound samples to expand compressed and transmitted sound samples to original data by means of a NICAM method for use in a D2-MAC sound signal decoder, the error correction method comprising the steps of: (a) performing a parity check with respect to the compressed and transmitted sound samples; (b) obtaining a protection range with respect to the sound samples having no parity error in the result of the parity check and distinguishing the sound samples according to each of the protection ranges; (c) detecting errors from the sound samples of a predetermined protection range which is distinguished in step (b); (d) deciding by majority of a MSB in which a value of the MSB corresponding to the majority among the MSB's of the sound samples with respect to a predetermined sound sample group composed of the compressed and transmitted sound samples is decided as a MSB of the sound samples of the group; (e) protecting of the MSB in which the MSB's of the sound samples of which errors are detected in step (c) are corrected into another MSB's which are obtained in step (d); and (f) expanding the sound samples of which the MSB's are portected in step (e) according to the protection range. Another object of the present invention is accomplished by providing an error correction apparatus as claimed in claim 8 for detecting and correcting errors of sound samples to expand compressed and transmitted sound samples to original data by means of a NICAM method for use in a D2-MAC sound signal decoder, the error correction apparatus comprising: a parity checker for receiving the compressed and transmitted sound samples and performing a parity check; means for receiving the sound samples which have been decided to have no parity error and distinguishing the sound samples according to each of the protection ranges; error detection means for receiving the sound samples of a first predetermined protection range supplied from the means for distinguishing the sound samples according to the protection range, and detecting errors from the sound samples; means for deciding a MSB by majority in which a value of the MSB corresponding to the majority among the MSB's of each of the sound samples with respect to a sound sample group composed of a predetermined number of sound samples after receiving the compressed and transmitted sound samples is decided as a MSB of the sound samples of the group; means for protecting the MSB in which the MSB's of the sound samples from which errors are detected in the error detection means are corrected into another MSB's which are obtained in the means for deciding the MSB by majority; and data expanding means for receiving the sound samples of which the parity error is generated in the parity checker, the sound samples distinguished as having no first predetermined protection ranges in the means for distinguishing the sound samples according to the protection range, the sound samples from which errors are not detected in the error detection means, or the sound samples supplied from the MSB protection means, and for expanding predetermined data. BRIEF DESCRIPTION OF THE DRAWINGS FIG.1 is an examplar diagram showing sound data which is processed in a NICAM broadcasting method. FIG.2 is a block diagram of one embodiment of an error correction apparatus according to the present invention. FIG.3 is an examplar diagram showing sound data which is processed in the error correction apparatus shown in FIG.2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below in more detail with reference to the accompanying drawings. FIG.2 is a block diagram of a part of an error correction apparatus for use in a D2-MAC sound signal decoder according to the present invention. In FIG.2, the error correction apparatus comprises a parity checker 21 for receiving compressed and transmitted sound samples SS and performing a parity checking according to a predetermined rule with respect to the respective sound samples, a scale factor detector 22 for receiving the sound samples having no parity errors in the result of the parity check and detecting a scale factor one-bit-by-one-bit in unit of the sound sample group, a protection range detector 23 for receiving the sound samples and the scale factor supplied from scale factor detector 22 and detecting protection ranges of the sound samples, a multiplexer 24 for receiving the sound samples supplied from scale factor detector 22 and outputting selectively the sound samples according to the output of protection range detector 23, a first comparator 25 for receiving the sound samples being a protection range of 6 supplied from multiplexer 24 and comparing higher two bits (MSB, MSB -1 ) of the respective sound samples, a second comparator 26 for receiving the sound samples being a protection range of 7 supplied from multiplexer 24 and comparing higher three bits (MSB, MSB -1 , MSB -2 ) of the respective sound samples, a MSB majority decision portion 27 for receiving the compressed and transmitted sound samples SS and deciding a value of a MSB by majority in unit of the sound sample group, a MSB protector 28 for receiving the sound samples of which the comparison values in first comparator 25 or second comparator 26 are mismatched and the MSB value decided in MSB majority decision portion 27 and correcting the MSB of each of the sound samples into the MSB value supplied from MSB majority decision portion 27, and a data expander 29 for expanding the sound samples supplied from parity checker 21, multiplexer 24, first comparator 25, second comparator 26 or MSB protector 28 according to the protection range. On the other hand, FIG.3 an examplar of the sound samples which have been compressed, transmitted and received in the data block composed of three groups. Each group is composed of nine sound samples and one bit of scale factor SF is assigned to each group. Since scale factor SF of the data block in FIG.3 is "001," it can be seen that protection range PR is "7" from Table 1. The least significant bit (LSB) of of each of the compressed sound samples is a parity bit, which is exclusive-OR-operated with one bit of scale factor SF to become a LSB of each of the transmission sound samples. The received sound samples include the sound samples (E1 to E8) in which errors are generated during transmission. That is, when it is decided as "odd" after the parity check is performed with respect to the sound samples which is applied with even parity EP, or when it is decided as "even" after the parity check is performed with respect to the sound samples which is applied with odd parity OP, it is detected as the sound samples in which errors have been generated. However, when errors are generated in two bits as in the sound samples of "E4," the parity check result is not decided as errors. Accordingly, detection of errors is not performed. The received sound samples of FIG.3 are input to parity checker 21 and MSB majority decision portion 27 of FIG.2, respectively. Then, parity checker 21 performs even or odd parity checking with respect to the respective sound samples. Thereafter, the sound sample from which the parity error has not been detected is input to a first output terminal OUT1, and the sound sample from which the parity error has been detected is input to a second output terminal OUT2. Scale factor detector 22 receives the sound samples supplied from first output terminal OUT1 of parity checker 21, and obtains one-bit scale factor value of "0" or "1" according to the even parity or odd parity corresponding to majority in the result of the parity check of the sound samples with respect to each of the sound sample groups. The sound samples from which the scale factor is detected in scale factor detector 22 is supplied to data input terminalIN of multiplexer 24 and protection range detector 23. Then, protection range detector 23 detects the protection range from the scale factor of the sound samples input from protection range detector 23, and outputs a differently, individually predetermined selection signal SEL according to the sound sample having the protection range of "6," "7" or " 1 to 5." That is, if the sound sample having the protection range of 6 is detected in protection range detector 23, first output terminal OUT1 of multiplexer 24 is selected by selection signal SEL. If the sound sample having the protection range of 7 is detected in protection range detector 23, second output terminal OUT2 of multiplexer 24 is selected by selection signal SEL. If the sound sample having the protection range of 1 to 5 is detected in protection range detector 23, third output terminal OUT3 of multiplexer 24 is selected by selection signal SEL. Accordingly, multiplexer 24 supplies the sound samples input to data input terminal IN first output terminal OUT1, second output terminal OUT2 or third output terminal OUT3, respectively. The sound samples having protection range of 6 (PR6) supplied through first output terminal OUT1 of multiplexer 24 is supplied to input terminal IN of first comparator 25, which compares higher two bits (MSB, MSB -1 ) of the input sound samples with each other. The reason why the higher two bits are compared is as follows. If protection range PR of the sound samples before being compressed in the coder is "6," the values of the higher six bits including the MSB are the same. Accordingly, if four bits excluding the MSB during compression are deleted, the higher two bits (MSB, MSB -1 ) of the compressed sound samples should have the same values. As a result, the sound samples are normal. When the higher two bits are the same sound samples after comparison, that is, in case of the error-free sound samples, first comparator 25 supplies the sound samples to data expander 29 through first output terminal OUT1. When the higher two bits are not the same sound samples after comparison, that is, in case of the error-occurred sound samples, first comparator 25 supplies the sound samples to MSB protector 28 through second output terminal OUT2. The sound samples having protection range of 7 (PR7) supplied through second output terminal OUT2 of multiplexer 24 is supplied to input terminal IN of second comparator 26, which compares higher three bits (MSB, MSB -1 , MSB -2 ) of the input sound samples with each other. At this time, the higher three bits are compared between "MSB" and "MSB -1 " and between "MSB" and "MSB -2 ." The reason why the higher two bits are compared in second comparator 26 is because it is normal only when the higher three bits including the MSB after compression of the sound samples having protection range of 7 are the same values. After comparison, when the higher three bits are the same values, that is, in case of the error-free sound samples, second comparator 26 supplies the sound samples to data expander 29 through first output terminal OUT1. When the higher three bits are not the same sound samples after comparison, that is, in case of the error-occurred sound samples, second comparator 26 supplies the sound samples to MSB protector 28 through second output terminal OUT2. On the other hand, MSB majority decision portion 27 decides the MSB value by majority with respect to each group of the input sound samples. In each group, the MSB value of "0" or "1" corresponding to the majority among the MSB's of the respective sound samples is decided as a MSB of each of the sound samples of the group. Such a MSB of the sound sample group which has been decided in MSB majority decision portion 27 is supplied to MSB protector 28. Then, MSB protector 28 the MSB value having protection range of 6 or 7 which is supplied from second output terminal OUT2 of first comparator 25 or second output terminal OUT2 of second comparator 26 is decided as a MSB value which is supplied from MSB majority decision portion 27. Then, the value of the higher one bit or two bits excluding the MSB is corrected with respect to each of the sound samples. That is, if the input sound sample has the protection range of 6, MSB protector 28 corrects the MSB of the sound sample into a value of the MSB which is supplied from MSB majority decision portion 27, to then correct a value of the bit (MSB -1 ) next to the MSB so as to be the same value as the MSB. If the input sound sample has the protection range of 7, MSB protector 28 corrects the MSB of the sound sample into a value of the MSB which is supplied from MSB majority decision portion 27, to then correct a value of the bit (MSB -1 ) next to the MSB and the bit (MSB -2 ) next to the bit (MSB -1 ) so as to be the same value as the MSB. By doing so, the sound samples in which errors are generated in two bits or more than two bits among the sound samples having protection range of "6" or "7" can be protected. Data expander 29 receives the sound samples from which the parity error is detected and which are supplied from second output terminal OUT2 of parity checker 21, the sound samples having the protection ranges of 1 to 5 and which are supplied from third output terminal OUT3 of multiplexer 24, the sound samples which are supplied from first output OUT1 of first comparator 25, or the sound samples which are supplied from first output OUT1 of second comparator 26, and expands the sound samples to the 14-bit original sound samples. At this time, in data expander 29, a value of the bit which is inserted from during data expansion according to the protection range PR of the input sound samples is decided. That is, when the protection range of each of the sound samples is one of 1 to 5, the data expansion is performed so that the value of the higher one-bit to five-bit including the MSB in the expanded sound samples is the same as that of the MSB. When the protection range is 6, the data expansion is performed so that the value of the higher 6-bit including the MSB in the expanded sound samples is the same as that of the MSB. Also, when the protection range is 7, the data expansion is performed so that the value of the higher 7-bit including the MSB in the expanded sound samples is the same as that of the MSB. The data which is expanded in data expander 29 is supplied to an interpolator to perform an error correction. As described above, in the error correction system for use in a D2-MAC sound signal decoder according to the present invention, a predetermined error detection and the error correction thereof are performed with respect to the sound samples having protection range of 6 or 7 among the compressed and transmitted sound samples. Accordingly, errors which could not be detected in the conventional parity check are correctly detected. Also, the errors can be easily corrected as well. Therefore, the sound data which is expanded in the expander of the decoder cab be restored more closely to the original data.

Claims: An error correction method for detecting and correcting errors of sound samples to expand compressed and transmitted sound samples to original data by means of a NICAM method for use in a D2-MAC sound signal decoder, said error correction method is characterized by comprising the steps of: (a) performing a parity check (21, 22) with respect to the compressed and transmitted sound samples; (b) obtaining a protection range (23) with respect to the sound samples having no parity error in the result of the parity check and distinguishing the sound samples according to each of the protection ranges; (c) detecting errors (24, 25, 26) from the sound samples of a first predetermined protection range which is distinguished in step (b); (d) deciding by majority (27) of a MSB in which a value of the MSB corresponding to the majority among the MSB's of the sound samples with respect to a predetermined sound sample group composed of the compressed and transmitted sound samples is decided as a MSB of the sound samples of the group; (e) protecting (28) of the MSB in which the MSB's of the sound samples of which errors are detected in step (c) are corrected into another MSB's which are obtained in step (d); and (f) expanding (29) the sound samples of which the MSB's are portected in step (e) according to the protection range. The error correction method according to claim 1, wherein said error correction method further comprises the steps of: (g) performing the data expansion with respect to the sound samples in which the parity errors are present in the result of the parity check; (h) performing the data expansion with respect to the sound samples having a second predetermined protection range in said step (b); and (i) performing the data expansion with respect to the sound samples from which errors are not detected in step (c). The error correction method according to claim 1, wherein said step (b) comprises the steps of: (b1) detecting a scale factor with respect to the sound samples in which the parity error is not present in the result of said parity check; (b2) detecting a protection range in which sound samples having said first predetermined protection range are detected from the sound samples from which the scale factor is detected in said step (b1); and (b3) multiplexing by selecting the sound samples of said first predetermined protection range among the sound samples of said step (b1) if the sound samples of said first predetermined protection range are detected in said step (b2), and by selecting the sound samples of said second predetermined protection range among the sound samples of said step (b1) if the sound samples of said first predetermined protection range are not detected in said step (b2) and transmitting the selected sound samples. The error correction method according to claim 3, wherein said step (c) comprises the steps of: (c1) first comparing the MSB with the bit next to the MSB with respect to the sound samples of one of said first predetermined protection range which are obtained in step (b3); and (c2) second comparing the MSB with each of two bits next to the MSB with respect to the sound samples of the other of said first predetermined protection range which are obtained in step (b3). The error correction method according to claim 4, wherein said step (e) comprises the steps of correcting the MSB of the sound samples into the MSB which is obtained in said step (d), and correcting a value of the bit next to the MSB so as to be the same as that of the MSB, with respect to the sound samples in which two bits are not identical to each other in said step (c1). The error correction method according to claim 4, wherein said step (e) comprises the steps of correcting the MSB of the sound samples in which the MSB is not the same as the bit firstly next to the MSB, the MSB is not the same as the bit secondly next to the MSB, or the MSB is not the same as the bits firstly and secondly next to the MSB, into the MSB which is obtained in said step (d), and correcting values of the bits firstly and secondly next to the MSB so as to be the same sa that of the MSB. The error correction method according to claim 1, wherein said step (f) comprises the step of inserting bit data having the same value as that of each of the sound samples into each of the sound samples by a predetermined number which is determined according to the protection range. An error correction apparatus for detecting and correcting errors of sound samples to expand compressed and transmitted sound samples by means of a NICAM method to original data for use in a D2-MAC sound signal decoder, said error correction apparatus is characterized by comprising: a) a parity checker (21) for receiving said compressed and transmitted sound samples and performing a parity check; b) means (22) for receiving the sound samples which have been decided to have no parity error and distinguishing the sound samples according to each of the protection ranges; c) error detection means (23, 24, 25, 26) for receiving the sound samples of a predetermined protection range supplied from said means for distinguishing the sound samples according to the protection range, and detecting errors from the sound samples; d) means (27) for deciding a MSB by majority in which a value of the MSB corresponding to the majority among the MSB's of each of the sound samples with respect to a sound sample group composed of a predetermined number of sound samples after receiving the compressed and transmitted sound samples is decided as a MSB of the sound samples of the group; e) means (28) for protecting the MSB in which the MSB's of the sound samples from which errors are detected in said error detection means are corrected into another MSB's which are obtained in said means for deciding the MSB by majority; and f) data expanding means (29) for receiving the sound samples of which the parity error is generated in said parity checker, the sound samples distinguished as having no first predetermined protection ranges in said means for distinguishing the sound samples according to the protection range, the sound samples from which errors are not detected in said error detection means, or the sound samples supplied from said MSB protection means, and for expanding predetermined data. The error correction method according to claim 8, wherein said means for distinguishing the sound samples according to said protection range comprises: a scale factor detector for detecting a scale factor of each of the sound samples which are supplied from said parity checker; a protection range detector for receiving the sound samples supplied from said scale factor detector and outputting a predetermined selection signalwhen the sound samples having said first predetermined protection range are detected; and a multiplexer for receiving the sound samples supplied from said scale factor detector and selectively outputting the sound samples having said first predetermined protection range or a second predetermined protection range among said sound samples according to said selection signal supplied from said protection range detector. The error correction appartus according to claim 9, wherein said error detection means comprises: a first comparator for receiving the sound samples of one of said first predetermined protection range which are output from said multiplexer and comparing the MSB with the bit next to the MSB; and a second comparator for receiving the sound samples of the other of said first predetermined protection range which are output from said multiplexer and comparing the MSB with each of two bits next to the MSB. The error correction apparatus according to calim 10, wherein said first comparator supplies the sound samples in which the MSB is not the same as the bit next to the MSB after comparison, to said MSB protector. The error correction apparatus according to claim 10, wherein said second comparator supplies the sund samples in which the MSB is not the same as the bit firstly next to the MSB, the MSB is not the same as the bit secondly next to the MSB, and the MSB is not the same sa the bits firstly and secondly next to the MSB, to said MSB protector. The error correction apparatus according to claim 11, wherein said MSB protector comprises means for correcting a value of the bit next to the MSB soa s to be the same as the MSB, with respect to the sound samples supplied from said first comparator. The error correction apparatus according to claim 12, wherein said MSB protector comprises means for correcting a value of the bits firsly and secondly next to the MSB so as to be the same as the MSB, with respect to the sound samples supplied from said second comparator.

Inventors: KWON HEE SUNG, KWON, HEE SUNG
Applicants: SAMSUNG ELECTRONICS CO LTD, SAMSUNG ELECTRONICS CO. LTD.
Application year: 1992
Main classification: H04N7
IPC codes: H04N7