Method and apparatus for interpolating digital data

Abstract: An interpolation circuit (13) and a recording and/or reproducing apparatus carrying the interpolation circuit are disclosed. The interpolating circuit calculates an average value of data positioned upstream and downstream of a defective data portion generated in a data string by an FIR filter having pre-set coefficient values, and calculates interpolated data from the average value. The Interpolation circuit also calculates an average value of data containing the defective data portion using the FIR filter and calculates the difference from the interpolated data for estimating the arraying pattern of the defective data portion. The interpolation circuit then determines an optimum array in the estimated arraying pattern and substitutes the optimum array for the defective data for repairing the defective data.

Description: This invention relates to a method and apparatus for interpolating digital data, for example for interpolating defective data generated in terms of a pre-set number of samples as a unit during transmission of digital data digitized on the 1-bit basis. The method of recording, reproducing and transmitting digital signals converted from analog signals has hitherto been practised in the field of a recording and/or reproducing apparatus employing optical discs, such as a compact disc (CD), or magnetic tapes, such as a digital audio tape (DAT), or digital broadcasting, such as satellite broadcasting. In the conventional digital audio transmission apparatus, described above, the sampling frequency of 48 kHz or 44.1 kHz and the number of quantization bits of 16 have been prescribed as a format for converting the digital signals. However, with the above-enumerated digital audio transmission apparatus, the number of quantization bits of the digital audio data generally determines the dynamic range of demodulated audio signals. For transmitting high-quality audio signals, it is necessary to enlarge the number of quantization bits from the current 16 bits to 20 or 24 bits. However, once the quantization bits are fixed at a pre-set value, the signal processing system is correspondingly designed, so that the number of quantization bits can hardly be increased. For digitizing the audio signals, a method known as sigma-delta (ΣΔ) modulation has been proposed by Y.Yamazaki, "AD/DA Converter and Digital Filter", J. of Japan Society of Acoustics, Vol.46, No.3 (1990), pages 251 to 257. Fig.1 shows the construction of a 1-bit ΣΔ modulation circuit. In this figure, input audio signals are supplied at an input terminal 91 via an adder 92 to an integration circuit 93. An output signal from the integrator 93 is supplied to a comparator 94 where it is compared to a neutral point potential of the input audio signal so as to be quantized by one bit every sampling period. The frequency of the sampling period (sampling frequency) is 64 or 128 times the conventional frequency of 48 kHz or 44.1 kHz. The quantization bits may also be 2 or 4 bits. The quantized data is supplied to a one-sample delay unit 95 and thereby delayed by one sampling period. The delayed data is converted by, for example, a 1-bit D/A converter 96 into analog signals which are supplied to an adder 92 where it is added to the input audio signal from the input terminal 91. The quantized data outputted by the comparator 94 is taken out at an output terminal 97. By the sigma-delta (ΣΔ) modulation, performed by the ΣΔ modulation circuit, audio signals of a broader dynamic range may be obtained, even with the number of bits as small as one bit, by setting the sampling period frequency to a sufficiently higher value. In addition, a sufficiently broad range of transmission may be assured. On the other hand, the ΣΔ modulation circuit structure lends itself to integration, and high A/D conversion precision may be achieved relatively easily, so that it is extensively used within the A/D converter. By taking advantage of these characteristics, the ΣΔ modulation circuit may be applied to a recorder handling high-quality data, or to data transmission. If, with the above-described digital audio data, a trouble occurs in the transmission system, and bad data is produced, the data is fixed at "1" or "0". In digital audio data, continuous "1"s or "0"s correspond to a positive maximum value and a negative maximum value of the demodulated signal, respectively. If, for example, part of the signal is defective, the maximum level noise is produced in the defective portion, thus possibly destructing a monitor amplifier or speaker. Thus, in a CD or DAT for which the format for 16 bits is prescribed as the number of quantization bits, the signal format is set so that the continuous "l"s or "0"s assume an intermediate value in the demodulated signal without becoming of the maximum level. Thus, even if defective data is produced as described above, there is no risk of generation of the maximum nose level. Also, an error correction code is provided in the data so that data errors, if any, may be concealed to a pre-set extent. For data defects exceeding the ability of the error correction code, data lying ahead or at back of the defective data are used for interpolation, or data directly ahead of the defective data is held for possibly avoiding problems in connection with the human perceptual sense. For such interpolation, processing employing linear interpolation as shown for example in Fig.2 is performed. In Fig.2, interpolated data Dn, where n is an integer from 1 to N, is found by the following equation (1): D n = D A + n × (D B - D A )/N where N is the number of bad data, D A is data directly before the bad data and D B is data directly following the bad data. However, with ΣΔ modulation, since the word length of each data is short and is equal to, for example, 1 bit, interpolation using the preceding data or the succeeding data as described above cannot be made. Thus, a method known as pre-hold method consisting of replacing the defective data portion by a block of the previous data of the same length as the defective data portion may be employed. This method, however, cannot be said to be useful since the junction point is occasionally not smooth and an extremely large noise tends to be produced. It may also be envisaged to transform data resulting from the above-mentioned ΣΔ modulation into data of the conventional signal format for CD or DAT using a decimation filter. If the modulated data is transformed into data of the conventional signal format as described above, it becomes possible to avoid any problem in connection with the human hearing mechanism by performing interpolation in the same way as conventionally or holding the directly previous data. However, the characteristics of the processed signals are assimilated to those of the conventional CD or DAT, such that characteristics proper to the ΣΔ signals, such as broad bandwidths or high dynamic range, cannot be exploited. Thus, if bad data is produced due to troubles in the transmission system, there is not any means available in ΣΔ modulation for repairing the errors by, for example, interpolation, such that it has been extremely difficult to exploit the ΣΔ modulation in the usual transmission system. Document EP-A-0,081,387, upon which the preambles of the independent claims are based, describes a system for compensating burst errors in data words using a thrice averaging technique. It is an aim of the applicant to provide a method and apparatus for interpolating digital data by interpolating defective portions generated in ΣΔ modulated 1-bit data by simplified arithmetic-logical operations. In one aspect, the present invention provides an interpolation apparatus for interpolating a defective data block constituted by pre-set bits, comprising: means for calculating a first average value of a data string, a second average value of a data string, and a third average value based upon data lying directly ahead and at back of the defective data block in the data string containing the defective data block; characterised in that said defective data block having been produced during transmission of digital data digitized by ΣΔ modulation; said first average value is an average value of a data string positioned upstream of the defective data block and not containing the defective data block, and said second average value is an average value of a data string positioned downstream of the defective data block and not containing the defective data block; and by further comprising means for generating interpolated data based upon the first average value and the second average value as calculated by said calculating means; means for estimating an arraying pattern of the defective data block, said arraying pattern being a series of "1"s and "0"s of the same length as the defective data block, based upon the interpolated data generated by said generating means and said third average value as found by said calculating means; and interpolated data generating means for determining interpolated data of the defective data block based upon the arraying pattern estimated by the estimation means. In another aspect, the present invention provides a reproducing apparatus for reproducing digital data digitized by ΣΔ modulation from a recording medium on which the digital data is pre-recorded. The reproducing apparatus includes means for detecting a defective data block in the reproduced digital data, the above interpolation apparatus, and switching means for selecting the reproduced digital data or the digital data via the interpolated data generating means based upon the result of detection by the detection means. In yet another aspect, the present invention provides a recording apparatus for recording digital data digitized by ΣΔ modulation on a recording medium. The recording apparatus includes means for detecting a defective data block in the digital data, the above interpolation apparatus, switching means for selecting the digitized digital data or the digital data via the interpolated data generating means based upon the result of detection by the detection means, and recording means for recording the digital data from the switching means on the recording medium. According to yet another aspect, the present invention provides an interpolation method for interpolating a defective data block constituted by pre-set bits, comprising the steps of: calculating a first average value of a data string, a second average value of a data string and a third average value based upon data lying directly ahead and at back of the defective data block in the data string containing the defective data block; characterised in that said defective data block having been generated during transmission of digital data digitized by ΣΔ modulation; said first average value is an average value of a data string positioned upstream of the defective data block and not containing the defective data block, and said second average value is an average value of a data string positioned downstream of the defective data block and not containing the defective data block; and by the further steps of generating interpolated data based upon the first average value and the second average value; determining a candidate of an arraying pattern of said defective data block, said arraying pattern being a series of "1"s and "0"s of the same length as the defective data block, based upon said generated interpolated data and said third average value; and determining interpolated data for said defective data block from the thus determined candidate arraying pattern. In the hereinafter described and illustrated preferred embodiments of the method and apparatus of the present invention the defective data block is multiplied with a pre-set coefficient, while data lying directly ahead and at back of the defective data block is multiplied with a varying coefficient. The interpolated data is generated depending upon estimated number of "1"s and "0" by simplified calculations without being dependent upon the arraying pattern of the defective data block. Preferred embodiments of a method and apparatus in accordance with the present invention will now be described, by way of example only, with reference to the accompanying drawings, listed below. Fig.1 is a ΣΔ modulation circuit for generating 1-bit digital data. Fig.2 illustrates linear interpolation. Fig.3A illustrates a data string prior to pre-hold processing. Fig.3B illustrates a data string subsequent to pre-hold processing. Fig.4 is a block diagram showing an interpolation circuit according to the present invention. Fig.5 is a block diagram showing a recording apparatus to which the ΣΔ modulation circuit shown in Fig.1 is applied. Fig.6 is a block diagram showing a reproducing apparatus to which the interpolation circuit according to the present invention is applied. Fig.7 illustrates a data structure of 1-bit data recorded on a recording medium of the present invention. Fig.8A illustrates a data structure in case bad data has been produced in the 1-bit data string according to the present invention. Fig.8B illustrates a data structure showing a 4 bit-based mean value of a data string positioned ahead of the bad data. Fig.8C illustrates a movement mean processing output of eight 4-bit mean values grouped as a set. Fig.8D illustrates an interpolated value of the above bad data based upon M A and M B generated by movement mean processing. Fig.9 illustrates an FIR filter for finding the movement mean value. Fig.10A shows the data structure in case bad data has been produced in the 1-bit data string. Fig.10B shows coefficient values of the FIR filter shown in Fig.9. Fig.10C shows the results of two-stage averaging as an output of the FIR filter. Fig.11 is a flowchart showing the results of bad data estimation according to the present invention. The present embodiment is directed to an interpolation circuit preferably employed for a digital audio recording and/or reproducing apparatus for modulating input audio signals by ΣΔ modulation and recording the modulated data in the form of 1-bit digital data on a recording medium, such as a magnetic tape, or reproducing 1-bit digital data from the recording medium and outputting the resulting analog audio signals. The interpolation circuit interpolates a defective data block that has not been corrected for errors by usual error correction operations. Referring to Fig.4, the interpolation circuit 13 includes a moving averaging circuit 36, as multiplication means for multiplying the defective data block with a pre-set coefficient and for multiplying data lying ahead and at back of the defective data block with varying coefficients, and a number estimating processing circuit 37 for estimating the numbers of "1"s and "0"s making up the defective data block from an output of the moving averaging circuit 36. The interpolation circuit 13 also includes an interpolated data generating circuit 38 for determining an arraying pattern of the interpolated data of the defective data block, based upon the estimated results of the number estimating processing circuit 37 for generating the interpolated data. The operation of the interpolation circuit 13 will be explained subsequently. The digital audio recording and/or reproducing apparatus, employing the interpolation circuit 13, includes a recording unit 10, shown in Fig.5, for modulating an input audio signal with ΣΔ modulation to provide 1-bit digital data and for recording the 1-bit digital audio data every pre-set number of the 1-bit data along with the synchronization signal and error correction code, and a reproducing unit 20, shown in Fig.6, for reproducing the 1-bit digital data from a magnetic tape 9 of the recording unit 10 every pre-set number of the 1-bit data. While the interpolation circuit 13 is provided in the reproducing unit 20, the recording unit 10 is first explained. In the recording unit 10, shown in Fig.5, an input audio signal is supplied from an input terminal 1 via an adder 2 to an integrator 3. An output of the integrator 3 is supplied to a comparator 4 where it is compared to a neutral point potential ("0 V") of the input audio signal and quantized by 1-bit quantization every sampling period. The sampling period frequency, that is the sampling frequency, is set to 64 or 128 times as high as 48 kHz or 44.1 kHz conventionally employed. The quantized data is supplied to a 1-sample delay unit 5 where it is delayed one sampling period. The delayed data is supplied to a 1-bit digital/analog (D/A) converter 6 and thence supplied to the adder 2 where it is summed to the input audio signal from the input terminal 1. The comparator 4 outputs a ΣΔ modulated quantized version of the input audio signal. The quantized data, outputted by the comparator 4, is supplied to an appending circuit 7 for synchronization signals and error correction codes (ECC) where the synchronization signals and error correction codes (ECC) are appended to the quantized data, every pre-set number of samples, as indicated by the recording format shown in Fig.7. With the recording format, shown in Fig.7, four 1-bit digital data, each of which is the 1-bit quantized data, are collected together, such as data D 0 to D 4 , and synchronization signals S 0 and S 1 and error correction codes P 0 and P 1 are appended every four 1-bit data. The synchronization signals S 0 and S 1 and error correction codes P 0 and P 1 are appended at the appending circuit 7 for synchronization signals and error correction codes. Any transmission errors, produced during recording and/or reproduction, may be detected and corrected by these error correction codes P 0 and P 1 . The reproducing unit 20 shown in Fig.6 reproduces 1-bit digital data recorded by the reproducing head 1 on the magnetic tape 9. The 1-bit digital data is recorded by the format having the synchronization signals and error correction codes appended thereto, so that, when the 1-bit digital data is supplied to a circuit for synchronization signal separation and error correction circuit 12, the synchronization signals are separated from the 1-bit digital data, which is simultaneously corrected for errors, so that only four 1-bit digital data, grouped as one unit, produced by ΣΔ modulation of the input audio signal, is taken out at the reproducing unit 20. However, during recording and/or reproduction, there are occasions wherein a defective data block containing defective data such that the block cannot be repaired to four 1-bit digital data grouped together as a unit. These defective data blocks are thought to be produced by troubles in the digital audio recording and/or reproducing apparatus or peripheral devices, damages to a recording medium 9 as a recording medium, or line breakages in data transmission channel. Thus, if defective data blocks that cannot be corrected by the circuit for synchronization signal separation and error correction circuit 12 are produced during recording or reproduction, the digital audio recording and/or reproducing apparatus 20 causes the interpolation circuit 13 to output interpolated data of the defective data blocks. The interpolation circuit 13 performs the interpolation operation consisting of multiplying a defective data block made up of four 1-bit digital data with a coefficient remaining constant in value across the width of the defective data block, while multiplying data lying ahead and at back of the defective data block with varying coefficients, estimating the numbers of "1"s and "0"s in the defective data block, and determining an arraying pattern of "0"s and "1"s while maintaining the total energy amount proper to the four 1-bit digital data. The interpolation operation by the interpolation circuit 13 is controlled by an interpolation processing control circuit 23. If there is no defective data block that cannot be corrected by the circuit for synchronization signal separation and error correction circuit 12, the interpolation circuit 13 outputs non-interpolated data in place of the interpolated data. The non-interpolated data is the four 1-bit digital data that is not the defective data block. The interpolated data or the non-interpolated data, outputted by the interpolation circuit 13, is restored by an analog filter 14 to analog audio signals which are taken out at a monitor terminal 15. The interpolated data or the non-interpolated data, outputted by the interpolation circuit 13, is converted into an arbitrary signal format, such as CD or DAT, by a digital filter 16, which is a decimation filter. These data, converted into the arbitrary format, are supplied to a usual D/A converter 21, via a reproducing system 17 of a digital recorder of an arbitrary format, a reproducing system 18 for the CD or DAT, or a reproducing system 19. An analog audio signal is outputted at an output terminal 22. Fig.4 shows an illustrative arrangement of the interpolation circuit 13. The four 1-bit digital data, supplied from the circuit for synchronization signal separation and error correction circuit 12 via an input terminal 30, is delayed by a delay circuit 31. The four 1-bit digital data, thus delayed by the delay circuit 31, are supplied to an interpolation unit 32 and a selector 33 for selectively switching between the interpolated data from the interpolation unit 32 and the non-interpolated data from the delay circuit 31. The interpolation unit 32 includes a moving averaging processing circuit 36, a number estimation processing circuit 37 and an interpolated data generating circuit 38. The selector 33 includes a selection terminal a supplied with the non-interpolated data from the delay circuit 31, the other selection terminal b supplied with the interpolated data from the interpolation processor 32 and a movable contact c adapted for being selectively moved to the selection terminals a or b responsive to an interpolation on/off control signal supplied via a control signal terminal 34 from the circuit for synchronization signal separation and error correction circuit 12. The circuit for synchronization signal separation and error correction circuit 12 routes an interpolation on control signal to the control signal terminal 34 when it judges that the four 1-bit digital data reproduced by the reproducing head 11 is defective data block that cannot be detected by usual error correction. The selector 33 causes its movable contact c to be shifted into contact with the selection terminal b for outputting the interpolated data from the interpolation circuit 13 at an output terminal 35. The circuit for synchronization signal separation and error correction circuit 12 routes an interpolation off control signal to the selector 33 via the signal control terminal 34 when it judges that the four 1-bit digital data reproduced by the reproducing head 11 is not the defective data block. The selector 33 then causes its movable contact c to be shifted into contact with the selection terminal a for outputting the non-interpolated data at the output terminal 35. The principle of the operation of the interpolation processor 32 is explained by referring to Figs.8 to 10. It is assumed that a defective data block Bb, made up of four 1-bit digital data D 12 , D 13 , D 14 and D 15 , has been generated in the 1-bit digital data reproduced from the magnetic tape 9 by the reproducing head 1, as shown in Fig.8A. The moving averaging processing circuit 36 performs two-step moving average filtering on correct eleven 1-bit digital audio data D 1 to D 11 lying ahead of the defective data block B b with four and eight taps shown in Fig.8A for deriving a moving average value M A for point P A shown in Fig.8D. The four-tap moving averaging processing is performed on the 1-bit digital audio data D 1 to D 11 shown in Fig.8A, with four bits grouped in one set, such as sets of D 1 to D 4 , D 2 to D 5 , D 3 to D 6 , D 4 to D 7 , D 5 to D 8 , D 6 to D 9 , D 7 to D 10 and D 8 to D 11 , for forming eight 4-tap moving average outputs shown in Fig.8B. These 4-tap moving average outputs are processed by eight-tap moving averaging of eight outputs of the 4-tap moving averaging, grouped as a set, for deriving eight-tap moving average outputs, for deriving a moving average value M A for point P A shown in Fig.8D. The two-stage moving averaging filter may be represented by the following equation: M A = {(D1 + D2 + D3 + D4)/4 + (D2 + D3 + D4 + D5)/4 + (D3+ D4 + D5 + D6)/4 + (D4 + D5 + D6 + D7)/4 + (D5 + D6 + D7 + D8)/4 + (D6 + D7 + D8 + D9)/4 + (D7 + D8 + D9 + D10)/4 + (D8 + D9 + D10 + D11)/4}/8 The two-stage moving filter may be constituted by a 4-tap FIR filter and an 8-tap FIR filter. However, for simplifying the construction, it may be simply constituted by, for example, an 11-tap FIR filter shown in Fig.9. An output of the 11-tap FIR filter may be represented by the following equation: M A = D1 × K0 + D2 × K1 + D3 × K2 + D4 × K3 + D5 × K4 + D6 × K5 + D7 × K6 + D8 × K7 + D9 × K8 + D10 × K9 + D11 × K10 The equation (1) may be expanded to M A = (D1 + D2 × 2 + D3 × 3 + D4 × 4 + D5 × 4 + D6 × 4 + D7 × 4 + D8 × 4 + D9 × 3 + D10 × 2 + D11 x 1)/32 If a 1/32 multiplier is inserted as a multiplying unit in an input stage of the 11-tap FIR filter shown for example in Fig.9, the two-stage moving filter may be realized by an 11-tap FIR filter shown in Fig.9, by setting the coefficients K0 to K10 so that K0 = 1, K1 = 2, K2 = 3, K3 = 4, K4 = 4, K5 = 4, K6 = 4, K7 = 4, K8 = 3, K9 = 2 and K10 = 1. Thus the moving average value M A may be found by setting the coefficients K0 to K10 of the FIR filter shown in Fig.9 as shown above and inputting 1-bit digital audio data D 1 to D 11 of the filter. The moving averaging processing circuit 36 also performs the above-defined 2-stage moving averaging on the correct 11 1-bit digital audio signals D 17 to D 27 downstream of the defective data block B b for deriving a moving average value M B for point P B . Similarly to the moving average value M A , the moving average value M B for point P B may be found by the 11-tap FIR filter shown in Fig.9. In this case, the coefficients K0 to K10 are of the same values as shown above. Then, using the moving average values M A and M B at the two points, a center point M C ' of error data is calculated by linear interpolation by M C ' = (M A + M B )/2 The moving average value M C may also be derived from 11 1-bit digital data D 9 to D 19 containing the defective data block B b . If the FIR filter shown in Fig.9 is used, the moving average value M C is given by: M C = {D 9 × k 0 + D 10 × k 1 + D 11 × k 2 + D 12 × k 3 + D 13 × k 4 + D 14 × k 5 + D 15 × k 6 + D 16 × k 7 + D 17 × k 8 + D 18 × k 9 + D 19 × k 10 }/32 In the two-stage moving averaging by the moving averaging processing circuit 36, 4-tap moving averaging is performed on four 1-bit digital data from the 1-bit digital data D 9 to D 19 , that is D 9 to D 12 , D 10 to D 13 , D 11 to D 14 , D 12 to D 15 , D 13 to D 16 , D 14 to D 17 , D 15 to D 18 and D 16 to D 19 , to produce eight 4-tap moving averaged outputs, which are further processed with 8-tap moving average processing. Thus the moving average value M C is given as: M C = {(D 9 + D 10 + D 11 + D 12 )/4 + (D 10 + D 11 + D 12 + D 13 )/4 + (D 11 + D 12 + D 13 + D 14 )/4 + (D 12 + D 13 + D 14 + D 15 )/4 + (D 13 + D 14 + D 15 + D 16 )/4 + (D 14 + D 15 + D 16 + D 17 )/4 + (D 15 + D 16 + D 17 + D 18 )/4 + (D 16 + D 17 + D 18 + D 19 )/4}/8 = {D 9 × 1 + D 10 × 2 + D 11 × 3 + (D 12 + D 13 + D 14 + D 15 ) × 4 + D 16 × 4 + D 17 × 3 + D 18 × 2 + D 19 × 1}/32 The unknowns are error data D 12 , D 13 , D 14 , D 15 of the defective data block B b of Fig.10A. The coefficients k 3 to k 6 , associated with these terms, are a constant value 4 as shown in Fig.10B, because of identity of the equations 4 and 5. The coefficients k 0 to k 2 rise towards right, since k 0 = 1, k 1 = 2 and k 2 = 3, as shown in Fig.10B. The coefficients k 7 to k 10 decay towards right, since k 7 = 4, k 8 = 3, k 9 = 2 and k 10 = 1. The moving averaging circuit 36 performs two-stage moving averaging, using these coefficients shown in Fig.10B. Thus, even if the arraying pattern of "1"s and "0"s for the four error data D 12 , D 13 , D 14 , D 15 are not known, the moving average value M C may be determined by the number of "1"s and "0"s. The number estimating calculating circuit 37 estimates the numbers of "1"s and "0"s from the equation (D 12 + D 13 + D 14 + D 15 ) ≒ {32 M C ' - (D 9 × 1 + D 10 × 2 + D 11 × 3 + D 16 x 4 + D 17 × 3 + D 18 × 2 + D 19 x 1)}/4 obtained by setting M C ≒ M C '. If, in the above equation, D(1) = 1 and D(0) = = -1, the number estimating circuit 37 estimates the numbers of "1"s and "0"s by: D 12 + D 13 + D 14 + D 15 ≒ 4 ---> "1", four; "0", zero D 12 + D 13 + D 14 + D 15 ≒ 2 ---> "1", three; "0", one D 12 + D 13 + D 14 + D 15 ≒ 0 ---> "1", two; "0", two D 12 + D 13 + D 14 + D 15 ≒ -2 ---> "1", one; "0", three D 12 + D 13 + D 14 + D 15 ≒ -4 ---> "1", zero; "0", four By performing moving averaging by the moving averaging circuit 36 so that the coefficient values will be constant over the error data width, the number estimating circuit 37 is able to estimate the numbers of "1"s and "0"s in the error data easily. Although the four-tap and eight-tap two-stage moving averaging is performed on 4-bit errors, the number of bits, the number of taps or the number of stages is not limited to those given above. If the number of "0" and "1" in the error data can be estimated by the number estimation circuit 37 as described above, it becomes possible to maintain the total energy quantity proper to the 1-bit digital data. Thus it is sufficient if the interpolation data generating circuit 38 determines the arraying pattern of the "1"s and "0"s of the interpolated data to generate interpolated data while the energy amount determined by the number of "1"s and "0"s is maintained. For example, if the number of "1"s and that of "0"s are both two, five patterns of 0011, 0101, 1001, 1010 and 1100 may be thought of as candidate interpolation patterns. Thus it is sufficient if these five arraying patterns are fitted to the defective data block B b . Referring to the method for determining the arraying pattern, moving average values of D 2 to D 12 in case of substituting "0"s and "1"s for D 12 in the defective data block B b are found. The moving average values thus found are compared to a linear interpolated value of an interval between P A and P B of Fig.8D as a reference value of the moving average and the moving average closer to the reference value is accepted as a correct value. The moving average values of D 3 to D 13 are then found by substituting "0"s and "1"s for D 13 . The moving average values thus found are compared to the reference value of the linearly interpolated moving average and the moving average value closer to the reference value is accepted as correct data. This operation is repeated for each bit of the defective data block to decide the bits as being "0" or "1". Since the numbers of bits "0"s and "1"s are previously found, the operation is terminated on reaching these numbers. The interpolation processor 32 interpolates the defective data block B b in this manner and routes the resulting data to the selection terminal b of the selector 33. If fed with an interpolation on control signal from the circuit for synchronization signal separation and error correction circuit 12 via the control signal terminal 34, the interpolation circuit 13 connects the movable contact c of the selector 33 to the selection terminal b for outputting the interpolated data at the output terminal 35. Based upon the above-described operating principle of the interpolation processor 32, the illustrative operation of the interpolation circuit 13 inclusive of the interpolation processor 32 is explained by referring to the flowchart of Fig.11. Since the interpolation circuit 13 performs the interpolation under control by the interpolation control circuit 23, the flowchart of Fig.11 shows the control flow performed by the interpolation control circuit 23. At step S1, the interpolation control circuit 23 multiplies plural possible number patterns of "1"s and "0"s in the data block comprised of four 1-bit audio data with a constant coefficient shown in Fig.10B for finding plural candidate values Mc2' corresponding to the defective data block B b . The interpolation control circuit 23 then transfers to step S2 for judging whether or not the interpolation on control signal has been supplied to the control signal terminal 34. If it is judged that the interpolation on control signal has been supplied to the control signal terminal 34, the interpolation control circuit 23 transfers to step S3 in order to cause the moving averaging circuit 36 to find the moving average values M A and M B shown in Fig.8D. The interpolation control circuit 23 then transfers to step S4 in order to cause the moving averaging circuit 36 to perform the operation of D 9 x k 0 + D 10 x k 1 + D 11 x k 2 where D 9 , D 10 and D 11 are data lying ahead of the defective data block B b and the coefficients k 0 , k 1 and k 2 are those having rightwardly rising gradient, as shown in Fig.10B. The result of the operation is set to M C1 '. The interpolation control circuit 23 then transfers to step S5 in order to cause the moving averaging circuit 36 to perform the operation of D 16 × k 7 + D 17 x k 8 + D 18 × k 9 + D 19 × k 10 where D 16 , D 17 , D 18 and D 19 are data subsequent to the defective data block B b and the coefficients k 7 , k 8 , k 9 and k 10 are those having rightwardly decaying gradient, as shown in Fig.10B. The result of the operation is set to M C3 '. The interpolation control circuit 23 then transfers to step S6 in order to calculate an interpolation data candidate Mc'. The interpolation data candidate Mc' may be represented as the sum of one of the plural candidates Mc2' corresponding to the defective data block B b , the result of calculation Mc1' as found at step S4 and the result of calculation Mc3' as found at step S5. The interpolation control circuit 23 then transfers to step S7 in order to cause the number estimation circuit 37 to calculate {Mc' - (Mc1' + Mc3')}/4 for estimating one of the plural candidates Mc2' having the closest number pattern of "1"s and "0"s, as found at step S1. The interpolation control circuit 23 then transfers to step S8 in order to cause the candidate data generating circuit 38 to generate, based upon an estimated one of the plural candidate values Mc2', the interpolated data with a fixed arraying pattern of "1"s and "0"s, while the total energy value of the four 1-bit digital data is maintained. The interpolation control circuit 23 controls the various portions of the interpolation circuit 13 for performing the interpolation. Thus it is possible for the reproducing unit 20 of the digital audio recording and/or reproducing apparatus employing the interpolation circuit 13 of the instant embodiment to interpolate 1 bit digital data on the defective data block basis even if the defective data uncorrectable by usual error correction is produced during recording/reproduction of the 1-bit digital data. The processing operations may be simplified since the interpolation circuit 13 determines the arraying pattern after estimating the numbers of "1"s and "0"s. It is only sufficient to estimate the numbers of "0"s and "1"s in the defective data block, while it is unnecessary to determine the correct arraying pattern of the defective data block. The reason is that, in the ΣΔ modulated 1-bit data stream, there is no serious error produced in the demodulated data if the arraying pattern in the defective data block is "0010", "1000" or "0100". However, if the number of "0" or "1" contained in the defective data block is changed, there is produced a serious error in the demodulated data. In other words, an error in the ΣΔ modulated 1-bit data is significantly dependent upon the numbers of "0"s and "1"s of the data without being dependent upon the data arraying pattern. The embodiments of digital data interpolating method and apparatus according to the present invention hereinbefore described are not restricted only to the digital audio recording and/or reproducing apparatus. The recording medium on which the 1-bit digital audio data is recorded may also be an optical recording medium. The pre-set number of samples is not limited to four if it is equal to the number of units of data to be corrected for errors. With the digital data interpolating method according to the present invention described above, defective data blocks may be interpolated without the necessity of performing complex operations since the "0" and "1" arraying pattern is determined after estimating the numbers of "1"s and "0"s by multiplying the defective data block produced during transmission of the 1-bit digital data by a pre-set coefficient and by multiplying data before and after the defective data with variable coefficients. In addition, with the digital data interpolating apparatus according to the present invention described above, interpolation of 1-bit digital data may be achieved without the necessity of performing complex operations since the multiplication means multiplies the defective data block with a pre-set coefficient, data upstream and downstream of the defective data block are multiplied with variable coefficients, the number estimation means estimates the numbers of "1"s and "0"s based upon the output results of the multiplication means and the interpolated data generating means determines the arraying pattern of the interpolated data of the defective data block based upon the numbers of "1"s and "0"s for generating the interpolated data.

Claims: An interpolation apparatus (32) for interpolating a defective data block (Bb) constituted by pre-set bits, comprising: means (36) for calculating a first average value (MA) of a data string (D 1 -D 11 ), a second average value (MB) of a data string (D 17 -D 27 ), and a third average value (Mc1', Mc3') based upon data (D 9 -D 11 , D 16 -D 19 ) lying directly ahead and at back of the defective data block (Bb) in the data string (D 1 -D 27 ) containing the defective data block (Bb); characterised in that said defective data block (Bb) having been produced during transmission of digital data digitized by ΣΔ modulation; said first average value (MA) is an average value of a data string positioned upstream of the defective data block (Bb) and not containing the defective data block (Bb), and said second average value (MB) is an average value of a data string positioned downstream of the defective data block (Bb) and not containing the defective data block (Bb); and by further comprising means (36) for generating interpolated data (Mc') based upon the first average value (MA) and the second average value (MB) as calculated by said calculating means (36); means (37) for estimating an arraying pattern of the defective data block (Bb), said arraying pattern being a series of "1"s and "0"s of the same length as the defective data block (Bb), based upon the interpolated data generated by said generating means (36) and said third average value (Mc1', Mc3') as found by said calculating means (36); and interpolated data generating means (38) for determining interpolated data of the defective data block (Bb) based upon the arraying pattern estimated by the estimation means (37). The interpolation apparatus as claimed in claim 1 wherein the arraying pattern of the defective data block is estimated by estimating the numbers of "0"s and "1"s contained in the defective data block (Bb). The interpolation apparatus as claimed in claim 1 or 2, wherein the calculating means (36) is an FIR filter. The interpolation apparatus as claimed in claim 1, 2 or 3, wherein a correct arraying pattern is determined from an arraying pattern candidate estimated by said estimation means (37), said correct arraying pattern being used as interpolated data. An interpolation apparatus according to any one of claims 1 to 4, wherein said means (36) for calculating comprises: a filter for calculating said first and second average values (MA, MB); and a first calculating unit for calculating said third average value (Mc1', Mc3'); said means for generating comprises a second calculating unit (36); and said means for estimating comprises a generator (37) for generating said arraying pattern. A reproducing apparatus (17, 18, 19, 20) for reproducing digital data digitized by ΣΔ modulation from a recording medium (9) on which said digital data is pre-recorded, comprising: means (12) for detecting a defective data block (Bb) in the reproduced digital data; an interpolation apparatus (32) according to any one of the preceding claims; and switching means (33) for selecting the reproduced digital data or the digital data via the interpolated data generating means (38) based upon the result of detection by said detection means (12). A recording apparatus (17, 20) for recording digital data digitized by ΣΔ modulation on a recording medium comprising: means (12) for detecting a defective data block (Bb) in the digital data; an interpolation apparatus (32) according to any one of claims 1 to 5; switching means (33) for selecting the digitized digital data or the digital data via the interpolated data generating means (38) based upon the result of detection by said detection means (12); and recording means (17) for recording the digital data from said switching means (33) on the recording medium. An interpolation method for interpolating a defective data block (Bb) constituted by pre-set bits, comprising the steps of: calculating (S3-S5) a first average value (MA) of a data string (D 1 ,-D 11 ), a second average value (MB) of a data string (D 17 -D 27 ) and a third average value (Mc1', Mc3') based upon data (D 9 -D 11 , D 16 -D 19 ) lying directly ahead and at back of the defective data block (Bb) in the data string (D 1 -D 27 ) containing the defective data block (Bb); characterised in that said defective data block (Bb) having been generated during transmission of digital data digitized by ΣΔ modulation; said first average value (MA) is an average value of a data string positioned upstream of the defective data block (Bb) and not containing the defective data block (Bb), and said second average value (MB) is an average value of a data string positioned downstream of the defective data block (Bb) and not containing the defective data block (Bb); and by the further steps of generating (S6) interpolated data (Mc') based upon the first average value (Ma) and the second average value (MB); determining (S7) a candidate of an arraying pattern of said defective data block (Bb), said arraying pattern being a series of "1"s and "0"s of the same length as the defective data block (Bb), based upon said generated interpolated data (Mc') and said third average value (Mc1',Mc3'); and determining (S8) interpolated data for said defective data block (Bb) from the thus determined candidate arraying pattern.

Inventors: ICHIMURA GEN, NOGUCHI MASAYOSHI, ICHIMURA, GEN, NOGUCHI, MASAYOSHI
Applicants: SONY CORP, SONY CORPORATION
Application year: 1996
Main classification: G11B20
IPC codes: G11B20