METHOD AND APPARATUS FOR CORRECTING ERRORS IN DIGITAL AUDIO SIGNALS

Abstract: In correcting errors in a received digital data signal having a pair of parity series P and Q and including a CRC code, a parity check operation is performed for checking er­ rors in either the parity series P or Q of the received digital data signals, error correcting operation is performed for correcting erroneous data of either the P series or the Q se­ ries data on the basis of an error pointer generated by the CRC code included in the recieved digital data signal, and a sequence of the parity check and error correcting opera­ tions is established for interposing at least one parity check operation among a series of error correcting operations.

Description: The present invention relates to an apparatus and a method according to the preambles of claims 1 and 6. An error correcting method is known (Patent Abstracts of Japan, Vol. 9, No. 182 (page 376), 27.07.85 and JP-A-6 052 965) which is provided to correct exactly an error without overlooking an existence of an error by executing a parity check of a PCM reproducing signal, and thereafter, correcting an error. According to the said known method a voice data word D of a reproduced PCM sound signal and a parity word of P and Q sequences are written in a memory, a parity check of the Q sequence X, etc. in the diagonal direction is executed, and unless an error pointer based on an error detection by CRC is set in data in which an error is detected, it is decided that an error detection of the CRC has been overlooked. In that case, the error pointer is set in all the data, and the error correction is executed by a parity of the P sequence. Accordingly, impossibility of an error correction when an error of the CRC is overlooked is prevented, and the error correction is executed exactly. However, from this it results that the expenditure of the known method is relative high. There is also known a method of detecting errors (EP 0 164 637 A1), whereby each of data words is formed of a digital signal of a predetermined number of bits. A predetemined consecutive number of data words on a recording or transfer medium are combined to form a data block. When decoding a data signal is provided with an error inspection symbol in accordance with a sequence within a data block and another error inspection symbol in accordance with a sequence which is different from the sequence within the data block; all erroneous data words detected by the other error inspection symbol are judged to be erroneous. This method makes it possible to reliably detect any erroneous data word. However, the expenditure for carrying out of the said known method is relative high. It is known to use a cross-interleave technique for transforming a digital data signal into an error correctable code structure. A known construction suitable to perform such cross-interleave error correction is shown in Fig. 1 in which each of W₀, W₁, W₂ and W₃ represents an audio data series. When four words contained in the respective audio data series are applied to modulo 2 adders, each represented schematically in Fig. 1 by an open circle, a first parity data series P is generated. This data series P is fed to several delay circuits, each of which provides a different time delay represented by d, 2d, 3d, 4d and 5d, whereby d represents one unit of delay time. The result of applying the first parity data series P to the several delay circuits providing different amounts of time delay is to rearrange the data series W₀ to W₃ from the first arrangement state into a second arrangement state. The five words derived from the data series in this second arrangement state are then added in a second set of modulo 2 adders each indicated schematically in Fig. 1 by an open circle, thereby generating a second parity data series Q. Because such cross-interleave technique has the feature that each word of a digital audio signal is contained in two parity data series P and Q, this technique has high error correcting capabilities. Nevertheless, In using this cross-interleave error correction coding method, when there are four erroneous words in one block, the probability that error correction is impossible must be considered. For example, in using a cross-interleave technique where four words of digital data are added with two parity words, a purity series formed thereby can be represented as in Fig. 2, in which each solid circle schematically represents one word of a code symbol. In Fig. 2, five words in the vertical direction represent a parity series P, and six words in the diagonal direction represent a parity series Q. Specific words symbolized by S₀ through S₅ are represented schematically by open circles having solid circular centers. Assuming that the data transmission is random, and further assuming that, in a decoder, P-decoding and Q-decoding will be accomplished by using the parity P and the parity Q, respectively, and that such P- and Q-decoding will be alternately repeated a number of times, the extent to which error correction for each of the specific words S₀ to S₅ is impossible may be seen. For example, in the case of the word represented by symbol S₀, when four symbols including the symbol S₀ are arranged in a trapezoidal relationship on the data field, as represented in Fig. 2, and contain errors at the same time, two error words will be contained in the P- and Q-parity series, respectively, and, hence, such errors cannot be corrected. If the number of such trapezoidal patterns is counted, the probability that the error correction will not be possible can be determined. In regard to the words represented by the other symbols S₁ to S₅, when four words including these symbols are arranged to form a parallelogram and are simultaneously erroneous, the error correction is again seen to be impossible when using the cross-interleave technique. If the probability that one word is erroneous is taken as P s , then the probability that the error correction will be impossible at each word represented by the symbols S₀ to S₅ is given as follows: P₀ = 10 P s ⁴ P₁ = 10 P s ⁴ P₂ = 13 P s⁴ P₃ = 14 P s ⁴ P₄ = 13 P s ⁴ P₅ = 10 P s ⁴ Of course, the case where more than five words are simultaneously erroneous can occur and, in that case, the error correction will also be impossible. However, the probability in such situation, which is less than P s ⁵, is neglected. Not being limited to four words, generally in the case of n words-two parity, a similar tendency is apparent. In such known error correcting coding method, the probability that error correction is impossible is dependent upon the data channel under consideration so that parity data is allocated to the position of S₀,S₁ or S₅ where such probability is shown to be relatively low. Nevertheless, since information data is much more important than parity data used for error correction, it is desirable that information data, which may be pulse code modulation (PCM) data in the case of audio signals, be located at a position where the probability that the error correction is impossible becomes quite low, that is, it should be at a location where it can be assumed that most errors can be corrected. Fig. 3 shows a relationship among various data points, and in which audio data series W₀ and W₁ are located at positions corresponding to symbols S₀ and S₁, respectively; parity data series Q and P are located at positions corresponding to symbols S₂ and S₃, respectively; and audio data series W₂ and W₃ are located at positions corresponding to Symbols S₄ and S₅, respectively. In Fig. 3, five words represented by solid circles generate a parity word P, while six words represented by open circles generate a parity word Q. As may be seen in Fig. 3, in the series generating the parity word P, there is a blank appearing at the location corresponding to the parity word Q, and this blank poses a problem in the case of a complete cross-interleave error correcting technique. In such, complete cross-interleave technique, interleaving is completed with a unit formed of a predetermined number of words of PCM data. Fig. 4 illustrates a situation similar to that described above in which there are four symbols and two parity words, and data is written in a memory having a matrix structure of four symbols by m blocks. As shown in Fig. 4, four words represented by solid circles are read out to form a parity word P, which is written in the memory, and then five words represented by open circles are read out to form a parity word Q. The generation of the parity word P is completed in a matrix of four symbols by m blocks, and the generation of the parity word Q is completed in a matrix of five symbols by m blocks. A synchronizing signal, a block address signal, and a cyclic redundancy check (CRC) code for error detection are added to every block and then recorded. In this kind of complete cross-interleave error correction, it is desirable that a large distance D (or number of blocks) exist between two words contained in a series for generating a parity symbol P, because the length of a burst error that is correctable by the parity symbol P is defined by this distance D (or number of blocks). Furthermore, it is necessary that the number of remaining blocks, represented by the distance D' in Fig. 4, be less than the number of blocks represented by the distance D. The distance D is the distance or number of blocks between the two closest words which are contained in the series for generating the parity P. As will be clear from Fig. 4, if the parity symbol Q is positioned at the center of one block, the distance between words W₁ and P becomes 2D thereby presenting a problem in that the distance D or number of blocks between two symbols cannot be increased. In view of the foregoing problem, a complete cross-interleave system has been proposed, for example, as described in detail in U.S. Patent No. 4,562,578 having the same Assignee as this application, and in which one parity symbol P is positioned at the center of a block, where the probability is high that, if an error occurs there, it will be impossible to correct, while the other parity symbol Q is positioned at the end of the block in order to lengthen the block and thereby to maximize the burst error length that can be corrected. The system disclosed in U.S. Patent No. 4,562,578 is applied to a situation in which a stereophonic audio signal, related to a video signal of an NTSC system, is digitized and recorded on a magnetic tape by a rotary head in a manner now generally well-known. Fig. 5 shows the arrangement of one data unit in which one word consists of eight bits, specifically, n=8 words, m=132 blocks, and n x m = 1056 words. The digital audio signal of one field in the NTSC system is 1050 words, so that, when the sampling frequency is 2F h (where F h is the horizontal frequency), six words of control data (ID₀, ... ID₅) must be added to the words in the field, preferably at the beginning thereof. In other words, six words of control data are added to the digital audio signal in one field, which is sequential as follows: L₀,R₀,L₁,R₁,R₂, ... L₅₂₂, L₅₂₃ and R₅₂₃. In such control data, ID₀ is a marker word and ID₁ to ID₄ are time codes, in which ID₁ represents hours, ID₂ represents minutes, ID₃ represents seconds, and ID₄ represents fields. Word ID₅ includes eight bits a₀ to a₇, which comprise the following information: bit a₀ represents whether the control data is effective: bits a₁ and a₂ represent the specific kind of digital audio signal (monaural, stereo, bilingual, etc.); bit a₃ discriminates between audio information and information for some other display and relates to one channel; bit a₄ provides similar discrimination in relation to the other channel; bits a₅ and a₆ represent start and stop information and these bits are set to a high level at the start and stop of the recording; and bit a₇ represents information related to avoiding damping. The 1056 words that include the control data ID₀ to ID₅ are arranged so that they have a distance of 44 blocks in the lateral direction at every two words, that is, two-by-two, such as, ID₀-ID₁,ID₂-ID₃,ID₄-ID₅, and so on. In a hardware implementation, this may be achieved by writing at addresses separated by 44 blocks, as controlled by the address control of a random access memory (RAM). If the control data or parity data are separated, then two words Li and Ri are arranged in the lateral direction or left to right direction in relation to Fig. 5. The reason the digital audio signal is interleaved by being divided into three in the lateral direction is that the correctable burst error length is thereby maximized, when using, for example, a mean-value interpolation. More particularly, by such alteral arrangement of Li and Ri, the correctable length can be made longer as compared with the case where they are arranged in the longitudinal direction or the up and down direction in Fig. 5. Two parities, either odd or even, are added to the digital audio signal of one field that includes the control data. Referring now to Fig. 6, if the audio data series in each row of the above matrix structure is taken as W₀,W₁, ... W₇, a first parity series P having eight words in each data series is formed with a distance between such words of 14 blocks or 15 blocks in the lateral direction, and the words contained in this parity series P are symbolized by solid circles on Fig. 6. If it were possible, all distances between two adjacent symbols of the first parity series P would be selected as fourteen blocks. However, since the distance D' at one portion may be as long as twenty blocks, then six blocks must be taken therefrom and used to form a distance of fifteen blocks between adjacent symbols at six different positions, thereby further enhancing the burst error correcting capability. Moreover, nine words, each of which is taken from the audio data series W₀ to W₇ and the parity series P, form a second parity series Q with a distance of twelve blocks between adjacent symbols, and the words contained in the series Q are symbolized by open circles in Fig. 6. The distance, in numbers of blocks, between the elements of the two parity series is chosen to be divisible by two or three. The first parity series P is positioned at the center of one block, while the second parity series Q is positioned at the end of the block. In other words, as described hereinabove, since the probability is high that errors occurring in data at the center of the block will be impossible to correct, U.S. Patent No. 4,562,578 teaches to locate the parity series P at the center of the block, since it is less important than audio data, and further teaches to locate the parity series Q at the end of the block in order to maximize the distance between successive words that form the parity series P. Each group of 132 blocks includes an eight-word digital audio signal, two-word parity data, and a cyclic redundancy check (CRC) code for error detection which may involve 16 bits added to the data of each block. A block synchronizing signal and a block address signal are also added to the group of blocks before it is recorded on a magnetic tape. If data of the first block is taken out of context and examined separately, it will appear as shown in Fig. 7, it being understood that after this block there will follow the second block, the third block, ... up to the 132d block, moving left to right in Fig. 5. A digital data transmission system of the type disclosed in U.S. Patent No. 4,562,578 is shown in Fig. 8, in which solid line arrows show the direction of signal flow during transmitting or recording, and broken line arrows show the direction of signal flow during receiving, playback or reproduction. More particularly, in the recording or transmitting mode of the system shown on Fig. 8, an audio signal to be recorded or transmitted is supplied through an input terminal 1 to an analog-to-digital converter (A/D)2, and the resulting digitized audio signal is written into either a random access memory (RAM) 3 or a random access memory (RAM) 4. Each of the random access memories 3 and 4 has sufficient capacity to contain the entire digital audio signal comprising one field. During the time that the audio input data is being written into one or the other of random access memories 3 and 4, the data of the previous field is being read out from the other random access memory 4 or 3, and is fed to a P,Q encoder/decoder 6, which generates two parities to be written back into the other RAM. The data are written into predetermined areas of RAMs 3 and 4, respectively, as shown in Figs. 5 and 6, and, in order to read out this data in an interleaved state, an address generator 5 is provided to generate a predetermined block address, for example, by means of an address counter, a read only memory and an adder (not shown). The digital audio signal and parity data that have been read out from either the RAM 3 or 4 are fed to an adder 7, where they are added with a block address produced by a block address generator 8. The combined output signals from adder 7 are fed toga parallel-to-serial converter 9, with the resultant serialized signal being fed to a CRC encoder/decoder 10. In this example, the CRC encoder/decoder 10 has a generation polynomial given by x¹⁶ + x¹² + x⁵ + 1 and generates a CRC code (CRCC) of 16 bits that is added to each block. The operation of CRC encoder/decoder 10 is controlled by timing signals from a CRC timing generator 11. Since frequency modulation (FM) is employed in the signals of this example, the output signal from CRC encoder/decoder 10 is fed to an FM encoder/decoder 12, and the output signal from FM encoder/decoder 12 is fed to an adder 13, in which it is added with a block synchronizing signal produced by a synchronizing signal generator 14. The combined signal from adder 13 is fed to an output terminal 15 from which it is recorded on a magnetic tape using a known rotary magnetic head recording apparatus or otherwise transmitted. In the receiving or reproducing mode of the system shown on Fig. 8, a digital signal reproduced from a magnetic tape (not shown) is fed through an input terminal 16 to a synchronous detecting circuit 17, and the resulting detected signal is fed to FM encoder/decoder 12 where the signal is FM demodulated. The FM demodulated signal is fed to CRC encoder/decoder 10 where it is error checked by a CRC code at every block, with the result of this error checking being a one bit error pointer, which is memorized in pointer random access memories (RAMs) 18 and 19. The pointer RAMs 18 and 19 correspond to RAMs 3 and 4 and each error pointer is written at the respective address of their 1320 blocks (10 x 132 = 1320), and the block addresses common to RAMs 3 and 4 are also supplied to the pointer RAMs 18 and 19 from address generating circuit 5. The reproduced and demodulated data signal is also supplied to a buffer 20 whose buffered output signal is fed to serial-to-parallel converter 21, which provides parallel-arranged data in a proper form for writing into RAMs 3 and 4. Buffer 20 functions to delay the reproduced data until an error pointer, which is the result of the CRC error check conducted by the CRC encoder/decoder 10, has been generated. In this reproducing mode, RAMS 3 and 4 operate in a fashion similar to that described above for the recording mode, so that, when one RAM 3 or 4 has one field of reproduced data being written therein, errors in reproduced data read out from the other RAM 4 or 3 are corrected. Upon writing reproduced data in either the RAM 3 or 4, an error word indicated by an error pointer is not written. To accomplish this, each error pointer read out from pointer RAM 18 or 19 is fed to a RAM timing generator 22, which generates control signals fed to RAMs 3 and 4 to prevent the writing of error words therein. The reproduced data read out from RAMs 3 or 4 is supplied to P,Q encoder/decoder 6 to carry out error correction using known parity techniques and, once any errors in the data have been corrected, the data is again written back into RAM 3 or 4. In the case of such error correction, all that is required is that an error word have sufficient information to show that the word is erroneous and, as described above, the erroneous word itself is not written into RAM 3 or 4. If more than two error words are contained in one parity generating series, then error correction is impossible. However, when error correction using parity series P and error correction using parity series Q are alternately and repetitively carried out, the number of words for which error correction is impossible is reduced substantially. The reproduced data read out from RAM 3 or 4 after errors have been corrected is supplied to an amending or interpolating circuit 23 that perform a mean-value-interpolating process on words having errors that cannot be corrected. The output of amending circuit 23 is fed to a digital-to-analog converter 24, and the analog output signal therefrom is fed through an output terminal 25 as a reproduced audio signal. In the above-described error correction system, an error pointer is established for a data block including erroneous data on the basis of the corresponding CRC code. The error detection capability with CRC code is almost perfect in relation to, for example, a burst error of less than 16 bits, or a random error of less than 3 bits. However, there is a possibility of misdetection of errors which extend over numbers of bits greater than the above-mentioned magnitudes. For example, no error pointer may be established as to a data block including a burst error of more than 16 bits or a random error of more than 3 bits. If such misdetection is not compensated, scratch noises may arise in the reproduced audio. In addition, if correction is carried out on the basis of such misdetection, it results in miscorrection so that the error is further expanded. It might be assumed that the above problem could be solved by using the Q parity series or P parity series to effect a parity check before effecting error correction. However, in such a parity check, when there is no error in a parity series, it is checked whether or not the syndrome of the parity series becomes zero. Therefore, if an error pointer is correctly established as to a parity series and the latter includes another error for which no error pointer is established, a parity check to the latter error is impossible. In that case, the erroneous data for which no error pointer is established cannot be corrected and remains erroneous. Accordingly, it is an object of the present invention to provide an apparatus and a method for correcting errors in a received digital data signal, and in which failures to correct erroneous data are reduced as much as possible without the expenditure as is used in connection with the above mentioned prior art. The afore said object is achieved by an apparatus as is specified in claim 1 and by a method as is specified in claim 6. Specific embodiments of the apparatus according to the invention are specified in claims 2 to 4. Specific embodiments of the method according to the invention are specified in claims 7 and 8. The above, and other objects, features and advantages of this invention will become apparent from the following detailed description of illustrative embodiments which is to be read in connection with the accompanying drawings in which corresponding parts or components appearing in several views are identified by the same reference numerals. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing a coding circuit according to the prior art for effecting error correction by means of a cross-interleave technique; Figs. 2,3 and 4 are diagrams to which reference will be made in explaining error correction processes according to the prior art; Figs. 5,6 and 7 are diagrams to which reference will be made in explaining data structures used in the prior art; Fig. 8 is a block diagram showing an error correction circuit according to the prior art; Figs. 9A and 9B are diagrams showing data arrangements, and to which reference will be made in explaining the present invention; Fig. 10 is a block diagram showing an error correction circuit according to an embodiment of the invention; Fig. 11 is a timing chart to which reference will be made in explaining the operation of the circuit of Fig. 10; and Fig. 12 is a block diagram showing an error correction circuit according to another embodiment of the invention. DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS Referring first to Figs. 9A and 9B, in which each data is represented by w ij , it will be seen that a pair of parity series P and Q may be selected as follows: P: w 1j , w₂ (j+3) , w₃ (j+6) (for example, w₁₁,w₂₄,w₃₇) Q: w 1j , w₂ (j+2) , w₃ (j+4) (for example, w₁₁,w₂₃,w₃₅) A white or open circle represents correct data and a black or solid circle represents erroneous data which has been detected with CRC code so that an error pointer is established therefor. On Fig. 9A, X ○ represents hidden erroneous data (w₃₇), that is, erroneous data which has not been detected with CRC code so that no error pointer is established therefor. Generally, in accordance with the present invention, an error correction method comprises a sequence of steps in the following order, a Q parity check → a P correction → a Q parity check → a P correction → a Q correction -----, that is, at least one step of checking for errors in the parity series P or Q is interposed in a series of steps of correcting erroneous data of the P series data or the Q series data on the basis of an error pointer generated by the CRC code. In the first step above (Q parity check mode) The hidden erroneous data (w₃₇) is from a Q parity series of w₁₃,w₂₅ and w₃₇. Since an error pointer has been established as to w₂₅, the parity check in relation to w₃₇ is impossible. Therefore, in this first step for checking errors in the Q parity series, it cannot be detected that the data w₃₇ is erroneous. The second step (P correction mode) Assuming that an error pointer has been established only as to the erroneous data existing in the fifth column on Fig. 9A, then all of the data w₁₅,w₂₅ and w₃₅ in the fifth column are corrected by an error correction with the P parity series and the error pointer is cleared. By this step, there is no erroneous data remaining in the fifth column, that is, all of the erroneous data is corrected with the exception of the hidden erroneous data w₃₇. The third step (Q parity check mode) At the beginning of this step, since the error pointer has been cleared, all data except w₃₇ ought to be represented by white or open circles in Fig. 9A. Accordingly, the Q parity check is effected in respect to every Q parity series and, as a result of the Q parity check, it is found that the syndrome (Exclusive OR) of a Q parity series of w₁₃,w₂₅ and w₃₇ is not zero. Namely, w₁₃ + w₂₅ + w₃₇ ≠ 0 In other words, it is found that there is hidden erroneous data in this series. Thereupon, assuming that all of the data w₁₃,w₂₅ and w₃₇ in this series are erroneous, an error pointer is established. The fourth step (P correction mode) All of the data w₁₃,w₂₅ and w₃₇ for which an error pointer has been established can be corrected with the P parity series. Acccrdingly, at the completion of this step, all errors of data are corrected. In the above-described method, the Q parity series are used for the parity checking. However, the P parity series may be used alternatively for the parity checking. Further, in the above described method, a P correction is carried out between the first and second parity checks using the Q parity series. However, the second parity check may be carried out after several repetitions of the P corrections and Q corrections in dependence on the degree or extent of the errors. Furthermore, the parity checks may be carried out three or more times. Fig. 10 shows a circuit configuration for carrying out the above-described correcting method according to an embodiment of the invention, and in which a control circuit 31 is provided for controlling the timing of the whole process. An address generating circuit 32 is operative under the control of circuit 31 for generating an address signal corresponding to each parity series and which addresses a memory 33 in which data and error pointers are written. A counter 34 is provided for counting clocks CK from control circuit 31 whenever each of the above-described parity check operations and correction operations is completed. A decoder 35 decodes the counting values of counter 34, and the decoded output is applied to a switch control circuit 36 which suitably selects a respective mode or position of a switch 37. Switch 37 is shown to have four positions in which the output of memory 33 is connected to a P-correcting circuit 38, a Q-correcting circuit 39, a P-parity check circuit 40 and a Q-parity check circuit 41, respectively. The outputs of circuits 38-41 are connected back to the input of memory 33. An input terminal 42 receives data and error pointers (D/EP). Data from the input terminal 42 and from circuits 38 to 41 are written into and then read out from the memory 33 on the basis of address signals generated in address generating circuit 32. Fig. 11 shows a timing chart for the circuit of Fig. 10, in which Q parity checks are carried out at the first step and the seventh step and therebetween P corrections and Q corrections are alternately carried out. It will be appreciated that counter 34, in counting successive clocks CK from control circuit 31, provides counted values which, when decoded in decoder 35, causes circuit 36 to control switch 37 for effecting successive connections to circuits 38-41 in the order shown on Fig. 11. In the above-described embodiment of the invention, the number of alternating P-correction and Q-correction steps occurring between the first Q-parity check and the second Q-parity check is fixed. However, even when, as in the embodiment of Figs. 10 and 11, the P- and Q-corrections are repeated a certain number of times, if the error rate is very bad, numerous error pointers will still remain so that sufficient correction cannot be expected even at the second parity check. For this reason, the second or later parity check is desirably carried out only after the number of remaining error pointers is made smaller than a predetermined value. Fig. 12 shows a circuit configuration according to another embodiment of the invention, in which the second and later parity checks are carried out after the number of remaining error pointers becomes smaller than a predetermined value. In Fig. 12, the parts which correspond to those described with reference to Fig. 10 are identified by the same reference numerals. In the embodiment of Fig. 12, a counter 43 is provided for counting error pointers (EP) read out from memory 33. The counter 43 is reset at the beginning of each correction or parity check operation by the clock CK from control circuit 31. Switch control circuit 36 is controlled on the basis of a comparison by a comparator 44 between the counting value of counter 43 and a control signal from a mode control circuit 45. The times for carrying out parity checks are determined by such control signal from mode control circuit 45. In other words, switch control circuit 36 causes switch 37 to connect memory 33 to Q-parity check circuit 41 (or to P-parity check circuit 40) only when the output of comparator 44 indicates that the number of error pointers remaining, and hence counted by counter 43, has been reduced to the value determined by mode control circuit 45. According to the invention, the number of erroneous data which are omitted due to misdetections with CRC code can be reduced more than by prior art methods. More particularly, the number of erroneous data which have been omitted in the first parity check can be decreased.

Claims: An apparatus for correcting errors in a received digital data signal having a pair of parity series P and Q and including a CRC code, comprising parity check means (40,41) for checking errors in either said parity series P or said parity series Q of said received digital data signals and error correcting means (38,39) for correcting erroneous data of either said P parity series or said Q parity series data based on an error pointer generated by said CRC code included in the received digital data signal, whereby the error pointers corresponding to corrected words are cleared, whereby a P or a Q parity check is executed before a plurality of P and Q correction steps, whereby in the case that the parity check is negative and no error pointer is set for the words of the corresponding series an error pointer is set for all words belonging to the series for which the parity check was carried out, and whereby the correction steps and the clearance of error pointers are repeated so as to remove error pointers as far as possible, characterized in that a sequence control means (34-37; 43-45) is coupled to said parity check means and said error correcting means (38-41) for interposing said parity check operation by said parity check means (40,41) after a plurality of error correcting operations are carried out at least once by said error correcting means (39, 39). An apparatus according to claim 1, characterized in that said sequence control means (34 - 37; 43 - 45) causes a parity check operation by said parity check means (40, 41) at the beginning of each one of a number of series of error correcting operations by said error correcting means (38, 39). An apparatus according to claim 2, characterized in that said sequence control means includes counter means (43) which counts the number of error pointers, and said at least one parity check operation interposed in the midst of error correcting operations is positioned among the latter on the basis of the number of said error pointers determined by said counter means (43). An apparatus according to claim 1, characterized in that said sequence control means includes means providing a clock signal at the completion of each of said parity check and error correcting operations, counter means (34) for counting said clock signal, a sequence switch means (37) for selecting P and Q parity check operations or error correcting operations in respect to said P and Q parity series, and switch control means (35, 36) for controlling said sequence switch means (37) in accordance with the count value of said counter means (34). An apparatus according to any one of claims 1 to 3, characterized in that said sequence control means includes means providing a clock signal at the completion of each of said parity check and error correcting operations, counter means (43) reset by said clock signal and being operative to count the error pointers in each interval between clock signals, switch means (37) for selecting said P and Q parity check and error correcting operations, means (44) for comparing the count value of said counter means (43) with a reference value and providing a compared output, and means (36) for controlling said switch means (37) to provide a sequence of said P and Q parity check and error correcting operations in accordance with said compared output. A method for correcting errors in a received digital data signal having a pair of parity series P and Q and including a CRC code which is used for detecting erroneous words, whereby error pointers are generated for indicating erroneous words, whereby a series of P and Q correction steps is executed for correcting words indicated by the error pointers, whereby the error pointers corresponding to corrected words are cleared, whereby a P or a Q parity check is executed before a plurality of P and Q correction steps, whereby in the case that the aforesaid parity check is negative and no error pointer is set for the words of the corresponding series an error pointer is set for all words belonging to the series for which the parity check was carried out, and whereby the correction steps and the clearance of error pointers are repeated so as to remove error pointers as far as possible characterized in that the checking of errors in either of said P- or Q-parity series by said parity check is carried out at least once after a plurality of error correcting operations. The method according to claim 6, characterized in that said plurality of error correcting operations are conducted in respect to said P- and Q-parity series in accordance with a predetermined sequence, and said checking of errors in either said P- or Q-parity series is effected at the beginning of each said sequence. The method according to claim 6 or 7, characterized in further counting the number of error pointers, and determining the position of the checking of errors in either said P- or Q-parity series in respect to the succession of said error correcting operations on the basis of the counted number of error pointers.

Inventors: MORIWAKI, HISAYOSHI
Applicants: SONY CORPORATION
Application year: 1986
Main classification: G11B20
IPC codes: G11B20