METHOD OF CORRECTING ERRORS OF DIGITAL SIGNALS IN THE RECORDING AND REPRODUCTION OF DIGITAL SIGNALS

Abstract: Parity bits (check bits) having relatively high redundancy are added to upper significant bits of a digital signal, and parity bits having relatively low redundancy, to the lower significant bits of the digital signal. The signal and the parity bits are recorded on a recording medium. The position of an error in a data block group of the lower bits reproduced from the recording medium is estimated as existing in a block in which the error is detected by the check of the data block group of the upper bits, and in the blocks preceding and subsequent to the former. This error correction method is most suitable for a record­ ing and reproduction system of digital video signals.

Description: Method of Correcting Errors of Digital Signals in the Recording and Reproduction of Digital Signals This invention relates to a method of correcting digital signals, and more particularly to a method of adding an error-correcting code and correcting an error particularly when a video or audio signal is digitized, and is recorded on a magnetic tape or a magnetic disk and is reproduced therefrom. When a video signal is digitized, then is recorded on a magnetic medium such as a magnetic tape or a magnetic disk and is thereafter reproduced, the reproduced signal will be adversely affected and the adversely affected region will return a digital code error if dust lies on the medium or if dropout occurs. If such a digital code error occurs, the quality of the reproduced picture will deteriorate. Generally, digital code errors can be classified into two kinds. One is referred to as-"random error", which is an error of one bit at an arbitrary position, while the other is referred to as "burst error" in which a multiple-bit error is concentrated in one sector. An error-correcting code having high correcting ability particularly for this burst error has been employed in the past in magnetic recording apparatuses such as magnetic tape recorders or the like. Figure 1 illustrates the arrangement of data and parity in the conventional error-correcting method. In Figure l, reference numerals Dl - D128, D129 - D256 .... , D897 - Dl024 represent the data blocks for each row. One data item is one bit in this drawing, but may be one word. Reference numerals Pl - P16, P17 - P32, ...., P113 - P128 represent the parity blocks for horizontal rows, and Ql - Q128 represent the parity blocks for vertical columns. That is, the vertical parity Ql is the parity for Dl, D129, ....,D897 , D897. These parity bits may be simple (even or oddf parity, or a cyclic code having high burst error detecting ability such as a cyclic redundancy check code (CRCC) may be used. Data recording and reproduction is carried out sequentially, first for the data blocks Dl D128, Pl - P16 in the horizontal direction, then for D129 - D256, P17 - P32, and finally for Ql Q128, P129 - P144. When the construction shown in Figure 1 is employed, a burst error of up to 128 bits can be corrected. If, for example, the burst error occurs at Dl - D128, the parity for Pl - P16 and Ql - Q128 is not zero; so that the error is corrected by estimating that the error has occurred at Dl - Do28. When CRCC is used as the error correcting code, for example, the input data P is multiplied by the term of the highest order of a generator polynomial G determ#ned in advance in order to obtain P', the product P' is then divided by G to obtain the remainder, and this remainder is added to P' as the check bits and is recorded. When a reproduced signal is checked, (P' + remainder) is divided by G, and the signal is judged as being "no error" if (P' + remainder) is divisible by G and as being an "error" if it is not. In order to make a correction, the bits of an indivisible horizontal row and of a vertical column which are not zero may be inverted. column which are not zero may be inverted. Though the construction shown in Figure 1 is suitable for correcting a burst error as described above, it involves a problem in that it is not very effective for correcting random errors. If, for example, random errors occur at three posi tions of Dl,D2 and D129 in Figure 1, the errors can not be corrected by using only parities P and Q. To improve error detection and correction capability, the bit number of the parities P and Q may be increased, but the increased redundancy increases the data rate. It is therefore an object of the present invention to provide an error correction method which can solve the problems of the prior art described above, and can correct errors without increasing the number of parity bits even when a random error and a burst error occur simultaneously. Such object can be accomplished by the present invention which provides an error correction method comprising the steps of: adding parity bits of relatively high redundancy to the upper significant bits of a digital data signal and parity bits having relatively low redundancy to the lower significant bits of the digital data signal; recording the upper and lower significant bits together with their parity bits on a recording medium; reproducing the signals corresponding to the data bits and their parity bits from the recording medium, and dividing the reproduced signals into a group including the upper significant bits and their parity bits and a group including the lower significant bits and their parity bits; detecting the error position in the upper significant bit group on the basis of the parity bits of the upper significant bit and correcting the error; ; estimating the occurrence region of the error in the lower significant bits on the basis of the error position detected in the upper significant bit group; and correcting the error in the lower significant bit group on the-basis of the result of estimation and of the parity bits of the lower significant bits. In the accompanying drawings: Figure 1 is a diagram showing the disposition of data and parity in a conventional error correction method; Figures 2A, 2B and 2C are diagrams useful for explaining the principle of the present invention and showing reproduction waveforms; Figures 3A--and 3B are diagrams showing error correcting codes in an embodiment of the invention; Figure 4 is a block diagram of a digital signal recording/reproducing system using the present invention; Figure 5 is a block diagram showing an example of a parity addition circuit in the recording system shown in Figure 4; Figure 6 is a block diagram of the parity addition circuit showing another embodiment of the invention; and Figure 7 is a block diagram showing an example of an error correction circuit of the reproducing system shown in Figure 4. Figure 2 is a diagram which is useful for explaining the principle of the present invention, and shows the envelope of a reproduction waveform when dropout occurs. The present invention improves the error correcting ability without increasing the parity bits by utilizing the properties of the picture and the correlation between the errors. First of all, the properties of the picture will be explained briefly. then an ordinary video signal is digitized, a sampling frequency of is a approximately 10 sEz selected along with eight bits selected to be quantized. When a feedback type AD converter is used as an AD converter for digitizing a video signal, the digital signal of the input of a DA converter inside the DA converter represents the code corresponding to the magnitude of an input voltage to be converted, after the output voltage of the DA converter is compared with the input voltage to be converted and is then adjusted so that they coincide with each other. This code is one that has a certain weight for each column such as 128, 64, 32, 16, 8, 4, 2 and 1 of a natural binary code, and the sum of each column represents a numeric value. The respective weights are added to the eight quantization bits ranging from the most significant bit (MSB) to the least significant bit (LSB). A conventional error correcting system deals with these 8 bits as being equivalent to one another. Therefore, the same correction processing is carried out even when the most significant bit (MSB) of the 8 bits is wrong and when the least significant bit (LSB) is wrong. This means that LSB as well as MSB can not be reproduced not only when the state of reparoduction is bad and errors occur in many cases in the MSB but also when they occur in many cases in the LSB. In the case of a video signal, however, the error of the MSB is visibly quite different from the error of LSB. Though the MSB error proves to be a significant error in terms of the reproduced picture quality, the LSB can hardly be detected visibly. In other words, the MSB error is so great an error that the levels above and below a line halving (voltage) level axis of a video signal are inverted, and the error of the second bit becomes an error within one of the two level regions formed by halving the level of the video signal. Thus, the- range of each video signal on the level that becomes an error, becomes sequentially narrower and narrower until finally it can be virtually disregarded in the LSB. This is particularly so with random errors. Therefore, it is possible, in principle, to limit the error correction to upper significant bits (e.g., upper 4 bits), but if lower significant bits are not corrected at all, picture quality will be adversely affected when copying the picture. Particularly when a burst error occurs, the picture quality will be significantly reduced. For this reason, the error correcting ability for a part of a random error and a burst error must be secured also for the lower significant bits. Next, the properties of a burst error will be described. If the level of a reproduction waveform is reduced due to dropout (DO) or scratched tape as shown in Figure 2A, errors frequently occur near the dropping level, and the portion of the reproduced data represented by symbol BER in Figure 2 proves to be a burst error. Figure 2C shows an example of the data construction, where UA, UB, UC, UD, UE and UF represent the upper four bits and LA, LB, LC, LD and LE represent the lower four bits. It will be assumed that the burst error for the upper significant bits is determined to be within the period of UB-UE by parity check, then it is possible to estimate that the burst error for the lower significant bits is within the period of LA - LE including the preceding and subsequent blocks/ This means that if the burst error detecting ability for the upper significant bits is provided, the area of the burst error for the lower significant bits can be estimated from the properties of the burst error. The present invention performs error correction by utilizing the two properties described above (that is, the difference of the MSB error from the LSB error in the case of the picture, and the property that the area of the burst error for the lower significant bits can be estimated from the burst error area for the upper significant bits). More definitely, the error correcting ability of the random!error is enhanced for the upper significant bits, and the error correcting ability of both upper and lower significant bits is provided for a burst error. In regard to the detection of a burst error in this case, detection ability is enhanced primarily for the upper significant bits, and the area of the burst error for the lower significant bits is estimated from the detection signal. Figures 3A and 3B show the construction of error correcting codes in accordance with an embodiment of the present invention. Figure 3A shows the code construction for the upper four bits, and Figure 3B does the code construction for the lower four bits. Recording and reproduction of data are#sequentially carried out for the upper four bits,the lower four bits, the upper four bits, the lower four bits,... in the horizontal direction, in the order named. That is, the horizontal row ¯parity bits are added alternately to the upper four bits and to the lower four bits in the sequence of the horizontal row parity bits UP1 to the data block UDIl of the upper foru bits in Figure 3A, then the horizontal-row parity bits LPl to the data block LDll of the lower four bits in Figure 3B, the horizontal row parity bits UP2 to the data block UDl2 of the upper four bits, the horizontal row parity bits LP2 to the data block LDl2 of the lower four bits, and so forth. Finally, the vertical column parity bits UQl, LQl, UQ2, L02 are added sequentially to the data blocks in the vertical direction. A random error correction and byte error detection code (described, for example, in the literature listed below) is used for the horizontal row parity: "A Class of SEC-DED-SbED#Code Detecting Byte Error with Parity Check:, by Shigeo KANEDA, bulletin of Electrocommunication Society, EC81-44. This code can correct an arbitrary one bit, and can detect random 2-bit error and error by each b-digits. That is, it can correct 1-bit error and can detect the errors more than 1-bit as a burst error. The error data thus detected is used as a pointer for the vertical column parity UQl, UQ2 ..... that will be described next. The vertical column parity is a code that has erasure correcting ability with a pointer. (The term erasure" represents the state in which the symbol ("O# and "1 " in the binary code) can not be determined.) It is preferably, for example, a b-adjacent code which can correct erasure by each b-digits (see, for example, "Modularized b-Adjacent Error Correction" by Eiji FUJIWARA, bulletin of Electrocommunication Society, EC76-l9). A parity having only error detecting ability and low redundancy such as a simple parity is used as the horizontal row parity LPl, LP2, ..... for the lower four bits in Figure 3B. A code having erasure correcting ability is used as the vertical column parity LQl, LQ2, .... for the lower four bits in the same way as the upper significant bits. The error correction at the time of reproduction of a signal is carried out in the following sequence. One-bit error is corrected by utilizing the horizontal row parity for the upper four bits, and the pointer TU is generaged for the errors more than 1-bit. (Though TU is not shown in Figure 3A, it is generated at the position of the horizontal row parity UP.) In Figure 3, the range represented by a frame of oblique lines represents, for example, a range in which the occurrence of a burst error is detected. When the occurrence of the burst errors in the blocks of the upper significant bits UD22, UD23 is detected, the pointers TU22, TU23 are first added to the positions of UP2, UP3, and at the same time, estimation is made that burst errors have occurred also in the blocks LD22, LD23 of the lower significant bits. In conjunction with the blocks of the lower significant bits, there is thé possibility that burst errors also occur in the blocks LD21 and LD24 preceding and subsequent to the error blocks LD22 and LD23. Therefore, the pointers To211 TL22, TL23, TL24 are added. This processing is referred to as error area expansion". A similar pointer TL is added to the block for which the error is detected by the horizontal row parity LP of the lower significant bits One-bit random error of the upper significant bits is corrected by the horizontal parity UP described above. Erasure correction is made for the errors more than 1-bit, that is, burst errors and random errors, by means of the pointers TU, TL and the vertical parity UQ, LQ, Figure 4 is a block diagram of a digital signal recording-reproduction circuit using the present invention An analog input signal AIN is converted to a digital signal by an analog-digital converter 1. This data is applied to an error correction parity bits adding circuit (parity adder) 2, is passed further through a recording amplifier 3 and is thereafter recorded on a magnetic tape 5 by a magnetic head 4. In the reproducing mode, the signal on the magnetic tape 5 is read by a magnetic head 6, is amplif#ied by a preamplifier 7 to form a binary level, and is applied to an error correcting circuit 8 so that the random error of the upper significant bits can be corrected and erasure correction of the burst error and the random error of the lower significant bits can be made. After correction, the signal is converted to the original analog signal AOUT by a digital-analog converter 9 and is produced therefrom. Figure 5 is a block diagram showing an example of the parity adding circuit of the recording system shown in Figure 4. The upper four bits and the lower four bits are separately applied to horizontal row parity generating circuits, (generators) 10 and 20, respectively, so as to generate the horizontal parity bits UP and LP. These parity bits UP, LP are added to the respective original data, that is, the upper four bits and the lower four bits, by horizontal row parity adding circuits (adders) 11 and 21, and are then applied to vertical column parity generating circuits (generators) 12 and 22. The vertical column parity bits UQ and LQ thus formed are added to the respective original data by vertical column parity adding circuits (adders) 13 and 23. Next, the upper four bits with parity bits and the lower four bits with parity bits are delivered altermately out of a multiplexer 30. The data that have thus been re-arranged are recorded on a recording medium such as a magnetic tape or a magnetic disk. Figure 6 is a block diagram of a parity adding circuit in accordance with another embodiment of the invention. In Figure 5, the upper four bits and the lower four bits are processed entirely separately and the horizontal row parity bits and the vertica#l column parity bits are added, respectively, whereas in Figure 6, the vertical column parity bits is generated by the same circuit and is added to the upper and lower significant bits, though the horizontal row parity bits are separately added to the upper four bits and to the lower four bits. In Figure 6, the upper four bits and lower four bits of 8-bit picture data are applied respectively to horizontal row parity generators 40 and 41 to generate the horizontal row parity bits UP and LP. They are then composed by a multiplexer 42. The resulting composite horizontal row parity bits UP, LP are added to the original 8-bit data by a horizontal row parity adding circuit 43. The 8-bit data and the horizontal row parity bits thus added are then applied to a vertical column parity generator 44 to generate vertical column parity bits UQ, LQ, and the resulting parity bits are added to the 8-bit data and to the - horizontal row parity bits by a vertical column parity adder 45 and are produced from a terminal 46. Figure 7 is a block diagram showing one example of an error correcting circuit of the reproduction system shown in Figure 4. The signal read by the magnetic head is passed through a preamplifier, and is separated into the upper four bits with their parity bits and the lower four bits with their parity bits, which are applied to the upper and lower bit input terminals of the error correcting circuit shown in Figure 7. Detection and correction of one-bit data are made by applying the upper four-bit data and their parity bits (C) to a horizontal row parity calculating and error correcting circuit 50, and the data (C') after correction are stored in a memory 51 and are also applied to a vertical column prity calculating circuit 52. When errors of more than one bit are detected by the horizontal row parity calculating and error correcting circuit 50, the pointer TU is delivered to a syndrome generating circuit. 53 and also to an error area expanding circuit 55. The vertical column parity calculating circuit 52 calculates the vertical column parity for the data (C') after correction, and delivers a final output UQ' to the syndrome generating circuit 53. The syndrome calculating circuit 53 calculates the error position and the error pattern on the basis of the final output UQ of the vertical column parity calculating circuit 52 and the data of the pointer TU, and applies the correcting data US to an error correcting circuit 54. The error correcting circuit 54 consists of a circuit which produces exclusive-or between the data (C") delayed by the memory 51 and the correcting data US corresponding to the data (cut), that is, the error pattern. This arrangement makes it possible to correct the errors in the upper frur bit data. Next, the horizontal row parity calculator 60 calculates whether or not the error occurs, by applying the lower four bits data and their parity bits (D) to the horizontal row parity calculator 60. When an error occurs, the pointer TL is applied to the syndrome generator 63. As the pointer TU detected by the horizontal parity calculator and error corrector 50 for the upper four bits is applied to the error area expander 55, the area expander 55 produces the pointer TU' of the area including the blocks preceding and subsequent to the positicn of occurrence of the burst error to the syndrome generator 63. Furthermore, data in the lower four bits ind their parity bits (D) are stored in a memory 61 and are applied to the vertical column parity calculator 62. This calculator 62 calculates the vertical parity LQ' on the basis of data in the lower four ssits and their parity bfts (D) and procuces its outptt to the syndrome generator 63. The syndrome generate 63 calculates the error position and the error pattern from the data of vertical parity LQ' and the pointers TU' and TL indicating the error position, and produces correcting data LS to the error corrector 64. This corrector 64 corrects the data (D') delayed by thememory 61 by means of the correcting data LS corresponding thereto. The data after correction of the upper four bits and the data after correction of the lower four bits are composed by a multiplexer 70, and the resulting 8-bit composite data is applied to the digital-analog convertor 9 shown in Figure 4. As described above, this embodiment can improve random error correcting ability for the upper significant bits by changing the ratio of the parity bits to be added to the upper four bits and to the lower four bits. In conjunction with burst errors, the error area is estimated from the burst error detected by the parity for the upper significant bits, and by so doing, the burst error can also be corrected. Therefore, even when a random error and a burst error coexist, error correction can be made efficiently. The probability of occurrence of an uncorrectable error is high for the lower significant bits, but the influences of the lower significant bits upon the picture data is not very significant and this problem does not result in visible distortion in practice. Though CRCC has been used for horizontal row and vertical column parity bits, the invention is not particularly limited to CRCC, but can use other codes having similar ability. In conjunction with the burst error detection signal, it is possible to detect the level drop of the analog waveform shown in Figure 2A and to use it as a pointer signal. As described above, when used for correcting the error in a video signal, the present invention can improve random error correcting ability for the upper significant bits without increasing redundancy, and can efficiently correct picture data without reducing burst error correcting ability.

Claims: CLAIMS: 1. A method of correcting a digital signal error when recording and reproducing the digital signal, characterized by including the steps of: adding parity bits having relatively high redundancy to the upper significant bits of a digital data signal and parity bits having relatively small redundancy to the lower significant bits of the digital data signal, respectively; recording said upper and lower significant bits together with-their parity bits on a recording medium; reproducing signals corresponding to the data bits and their parity bits from said recording medium, and dividing the reproduced signals into a group containing said upper significant bits and their parity bits and a group containing said lower significant bits and their parity bits; ; detecting the position of an error in said upper significant bit group on the basis of said parity bits of said upper significant bits, and correcting the error; estimating an area of occurrence of an error in said lower significant bit group on the basis of the position of the error detected in said upper significant bit group; and correcting the error in said lower significant bit group on the basis of the result of estimation and of said parity bits of said lower significant bits. 2. The method of correcting an error as defined in claim 1 wherein an area greater than the area of occurrence of the error detected in said upper significant bit group is estimated as an area of occurrence of error in said lower significant bit group. 3. The method of correcting an error as defined in claim 1 wherein said parity bits to be added to said upper and lower significant bits, respectively, are horizontal row parity bits and vertical column parity bits respectively. 4. The method of correcting an error as defined in claim 3 wherein said horizontal row parity bits added to said upper significant bits are a code having such an ability that it can correct a 1-bit error and can detect errors exceeding said said vertical column parity bits added to said upper significant bits are a code having such an ability that it can correct erasure; said horizon tal row parity bits added to said lower significant bits are a code having such an ability that it can detect 1-bit error; and said vertical column parity bits added to said lower significant bits are a code having such an ability that it can correct erasure. 5. The method of correcting an. error as defined in claim 1 wherein said recording medium is a magnetic recording medium. 6. A system for correcting an error of a digital signal comprising: parity addition means for adding parity bits having relatively high redundancy to upper significant bits of a data signal which is digitized, and parity bits having relatively low redundancy to lower significant bits of said data signal; recording means for recording said data bits and their parity bits on a recording medium; reproduction means for reproducing signals corresponding to said data bits and to said parity bits from said recording medium; error detection an#d-correction means for detecting the position of the error in an upper significant bit group on the basis of said parity bits of said reproduced upper significant bits, and correcting the error; ; designation means for generating data designating an area of occurrence of error in a lower significant bit group on the basis of the position of error in said upper significant bit group detected by said error detection and correction means; correction means for correcting the error in said lower significant bit group on the basis of the data sent from said designation means and on the basis of the parity bits of said reproduced lower significant bits; and synthesis means for synthesizing said corrected upper significant bits and said corrected lower significant bits in order to generate a data signal. 7. A system for correcting an error of a digital signal comprising: parity addition means for adding parity bits having relatively high redundancy to the upper significant bits of a data signal which is digitized, and parity bits having relatively low redundancy to lower significant bits of said data signal; recording means for recording said data bits and their parity bits on a recording medium; reproduction means for reproducing signals corresponding to said data bits and to said parity bits froc said recording medium; error detection and correction means for detecting the position of the error in an upper significant bit group on the basis of said parity bitS of said reproduced upper significant bits, and correcting the error; ; designation means for designating a data. block, in which the error is detected by said error detection and correction means, and data blocks preceding and subsequent to said data block as an area of occurrence of error in said lower significant bit group; correction means for correcting the error in said lower significant bit group on the basis of the data sent from said designation means and on the basis of the parity bits of said reproduced lower significant bits; and synthesis means for synthesizing said corrected upper significant bits and said corrected lower significant bits in order to generate a data signal. 8. A method of recosding and reproducing a digital video signal characterized by including the steps of: adding parity bits having relatively high redundancy to the upper significant bits of the digital video signal and parity bits having relatively low redundancy to the lower significant bits of said video signal, respectively; recording said upper and lower significant bits together with their parity bits on a recording medium; reproducing signals corresponding to said video signal bits and their parity bits from said recording medium, and dividing the reproduced signals into a group containing said upper significant bits and their parity bits and a group containing said lower significant bits and their parity bits; ; detecting the position of an error in said upper significant bit group on the basis of said parity bits of said upper significant bits, and correcting the error; estimating an area of occurrence of error in said lower significant bit group on the basis of the position of the error detected in said upper significant bit group; correcting the error in said lower significant bit group on the basis of the result of estimation and of said parity bits of said lower significant bits; and synthesizing said corrected upper significant bits and said corrected lower significant bits in order to form a video signal. 9. The method of recording and reproducing a digital video signal as defined in claim 8 wherein an area greater than the area of occurrence of the error detected in said upper significant bit group is estimated as an area of occurrence of the error in said lower significant bit group. 10. The method of recording and reproducing a digital video signal as defined in claim 8 wherein said recording medium is a magnetic recording medium. 11. A system for recording and reproducing a digital video signal comprising: parity addition means for adding parity bits having relatively -high¯ redundancy to upper significant bits of a digital video signal and parity bits having relatively low redundancy to the lower significant bits of said video signal; recording means for recording said video signal bits and their parity bits on a recording medium; reproduction means for reproducing signals corresponding to said video signal bits and. their parity bits from said recording medium; error detection and correction means for detecting the position of the error in an upper significant bit group on the basis of said parity bits of said reproduced upper significant bits, and correcting the error; ; designation means for generating data desig naming an area of occurrence of error in a lower significant bit group on the basis of the position of the error in said upper significant bit group detected by said error detection and correction means; correction means for correcting the error in said lower significant bit group on the basis of the data sent from said designation means and on the basis of the parity bits of said reproduced lower significant bits; and synthesis means for synthesizing said corrected upper significant bits and said corrected lower significant bits in order to generate a video signal. 12. A system for recording and reproducing a digital video signal comprising: parity addition means for adding parity bits having relatively high redundancy to upper significant bits of a digital video signal and parity bi#ts having relatively low redundancy to the lower significant bits of sa#id video signal; recording means for recording said video signal bits and their parity bits on a recording medium; reproduction means for reproducing signals corresponding to said video signal bits and parity bits from said recording medium; error detection and correction means for detecting the position of the error in an upper significant bit group on the basis of said parity bits of said reproduced upper significant bits and correcting the error; ; designation means for designating a data block, in which the error is detected by said error detection and correction means, and data blocks preceding and subsequent to said data block as an area of occurrence of error in said lower significant bit group; correction means for correcting the error in said lower significant bit group on the basis of the data sent from said designation means and on the basis of the parity bits of said reproduced lower significant bits; and synthesis means for synthesizing said corrected upper significant bits and said corrected lower significant bits in order to generate video signal.

Inventors: IZUMITA, MORISHI, KANEDA, HIDEHIRO, MITA, SEIICHI, ROKUDA, MORITO, UMEMOTO, MASUO
Applicants: HITACHI DENSHI KABUSHIKI KAISHA, HITACHI, LTD.
Application year: 1985
Main classification: G11B5
IPC codes: H04N5, G11B20