Device for improving voice signal in quality

Information

  • Patent Application
  • 20020019960
  • Publication Number
    20020019960
  • Date Filed
    December 19, 2000
    23 years ago
  • Date Published
    February 14, 2002
    22 years ago
Abstract
Provided is a click noise detector for presuming an error pattern of the received code when a received ADPCM code contains a click noise and correcting such error. Such click noise detector comprises a click noise detector (13) which judges that a received ADPCM ccde contains a click noise when a short interval average value of the absolute value of the received ADPCM code excEeds a predetermined value, and a code correction circuit (11) which presumes an error position of the bit of the received ADPCM code and corrects such error so as to minimize he variation in the short interval average value of the absolute value of the received ADPCM code when a transmission error is generated in the receiving ADPCM code judged to be containing a click noise.
Description


BACKGROUND OF THE INVENITION

[0001] 1. Field of the Invention The present invention relates to technology of, upon the occurrence of an error in a transmission code, presuming the error pattern and correcting such error in an Adaptive Differential Pulse Code Modulation (ADPCM) coding system utilized for voice communication suci as digital mobile communication.



Description of the Related Art

[0002] In a voice signal coding processing by the ADPCM system provided for in KDD Advisory Committee s Recommendation G. 726, a current input signal is predicted from a past input signal, and the difference between the predicted value and an actual value is quantized and transmitted as an ADPCM code. When a radio line is used in voice communications using an ADPCM coding system, an error transmission of a code may occur due to the influence of a channel interference or fading, etc. Upon the occurrence of an error transmission of an ADPCM signal, a click noise (allcphone) occures when an ADPCM code is converted by an ADPCP decoder into a PCM code, therefore, in such case of this voice signal coding processing being utilized for digital moibile communications, etc., a device for compensating on a receiving side such error in a transmission code will be required.


[0003] Japanese Patent Laid-Open Hei 8-223126, for example, describes a device for improving voice signal in quality as shown in FIG. 2. In FIG. 2, a device for improving voice signal in quality 21 is constructed comprising a sample presumption replacing circuit. The sample presumption replacing circuit 22 receives from a 3ending set an ADPCM signal via a radio line as well as receives a frame error detecting signal. The frame error detecting signal, when an error occurs in the corresponding frame, outputs “1,” and when an error does not occur, “0.” The sample presumption replacing circuit 22, when the frame error detecting signal is “1,” presumes the status before the occurrence of the error in such code and produces a code, and then replaces such code with the received code. The replacement of code is performed based on the probability distribution of the error pattern of an ADPCM code.


[0004] However, as the presumption. of ar error in a received ADPCM code in the above prior art is performed based on the probability distribution of an error pattern previously calculated, the replacement of a received ADPCM code becomes fixed and an appropriate error correction is not always performed.


[0005] Considering that, upon the occurrence of a click noise, the average value for a short interval of an absolute value of the received ADPCM code substantially varies, it would be possible that, when a click noise is detected in such received ADPCM code, a voice signal is improved in quality by presuming the error pattern of the ADPCM code and correcting such error so as to lessen the variation in the average value for a short interval of the absolute value of the received code.



SUMMARY OF THE INVENTIION

[0006] Thus, an object of the present intention is to provide a device for improving voice signal in cuality, when a click noise is included in a received ADPCM code, presuming an error pattern of the received code and performing an error correction so as to lessen the average value for a short interval of the absolute value of the received code.


[0007] To solve the above problem, a device for improving voice signal in quality of the present invention comprises a click noise detector which, when the average value for a short interval of a received ADPCM code exceeds a predetermined value, judges that such received ADPCM code contains a click noise, and a code correction circuit which, when a transmission error occurs in the received ADPCM code judged as containing a click noise, presumes an error position of a bit of the received ADPCM code and performs an error correction so as to minimize the variation in the average value for a short interval or the absolute value of the received ADPCM code.







BRIEF DESCRIPTION OF THE DRAWINGS

[0008]
FIG. 1 is a circuit diagram illustrating a device for improving voice signal in quality of this embodiment.


[0009]
FIG. 2 is a block diagram of a conventional device for improving voice signal in quality.







DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] An embodiment of the present invention is now described with reference to the respective figures.


[0011]
FIG. 1 is a circuit diagram of a device for improving voice signal in quality of the present invention. The device for improving voice signal in quality is constructed comprising a code correction circuit 11, an ADPCM decoder 12, a click noise detector 13 and an AND circuit 14. In FIG. 1, a received ADPCM code of 32 kbps is supplied to the code correction circuit 11 and the click noise detector 13. The click noise 13 calculates the average value for a short interval of the absolute value of the received ADPCM code and, when such average value for a short interval exceeds a predetermined value, judges that a clink noise is occurred. Provided that a received ADPCM code at time k is I (K) and the average value for a short interval 1 thereof is D(k), D(k) can be obtained according to formula (1).


D(k)=αD(k-1)+(1-α)F (I(k))−(1)


[0012] Here, I (k) can be obtained when a differential signal of a PCM signal and a predicted signal is converted into a logarithm the base of which is 2, normalized such logarithm using a scale factor, and coded it in 4 bits according to the translation table of a quantizer. That is, function F (x), as shown in Table 1, has the following values in view of |x|.
1TABLE 1|x|76543210F(x)73111000


[0013] The click noise detector 13 outputs a signal of “1” to the AND circuit 14 upon judging that a click noise is occurred in a received ADPCM code. Further, the received ADPCM code is inspected using a Cyclic Redundancy Check (CRC) as to whether or not it has an error, and if an error is detected, the output of a frame error detecting signal becomes “1.” Accordingly, when a click noise is detected by the click noise detector 13 and a frame error is detected by the CRC, the output of the AND circuit 14 becomes “1” and is supplied to the code correction circuit 11 as a click noise detection signal.


[0014] The code correction circuit 11, upon receiving a click noise detecting signal, presumes which bit among I(K) of 4 bits has an error and performs a code correction. The presumption of the code error is performed so as to lessen the variation in the average value for a short interval of the absolute valve.Upon finding the difference between D (K) and D(k-1) in reference to formula (1 , formula (2) below will be obtained.


D(k)-D(k-1)=(1-α){F(I(K))−D(1}  (2)


[0015] As the ( 1-α) on the right side is a fixed number, in order to obtain the variation in the average value for a short interval of the absolute value of the received code, only the value of F(I(k))-D(k-1) is recuired. Here, dmsd(k) representing the difference information of the average value for a short interval of the absolute value of the received code is defined as formula (3).


dmsd(k)=|F(I(k)−D(k−1)|  . . . (3)


[0016] Here, presuming that an one bit error being occurred in the received ADPCM code, the difference information dmsd1(k) of the average value for a short interval of the absolute value of the received code in the case of an error in the lowest bit being occurred will be defined as formula (4).


dmsd1(k)=|F(I(k)(0001)2)−D(k-l)|  (4)


[0017] In this specification, the mark “/” means an exclusive OR and (I(k) 0001) is a reverse of thE lowest bit of I(k). similarly, when an error is occurred in the second lowest bit, the third lowest bit (the second highest bit) and the fourth lowest bit (the highest bi-.), the difference information dmsd2(k), dmsd3(k) and dmsd4(k)of the average value for a short interval of the absolute value will be obtained according to formulas (5) through (7) respectively.


dmsd2(k)=|F(I(K)(0010)2)-D(k-l)|  (5)


dmsd3(k)=|F(I(K)(0100)2)-D(k-l)|  (6)


dmsd4(k)=|F(I(K)(1000)2)-D(k-l)|  (7)


[0018] If an error is detected in the received ADPCM code as a result of the CRC presuming that th Ls error is one bit, it is possible to find in which bit the error occurs by comparing each value from formulas (3) through (7). For example, when the value of formula (5) is the minimum, it indicates that an error occurs in thE second lowest bit. When there is no error, the value of formula (3) is the minimum. The code correction circuit 1 presumes an error position of the bit comparing each value of formula (3) through (7) and performs a code correction of the received ADPCM code The ADPCM code, after the correction, is supplied to the ADPCM decoder 12 and converted into a PCM code of 64 kbps. The PCM code is converted witi a PCM decoder (not shown) into a voice signal.


[0019] Further, in the above descripticn, a click noise is judged to be occurred when the average value for a short interval of the absolute value of the received ADPCM code exceeds a predetermined value, however, a click noise may be judged to be occurred when a differential value of the average value for a short interval o:. the absolute value of the received code, that is, the difference value of D(K) exceeds a predetermined value Further, the above two methods may be jointly adopted.


[0020] Furthermore, in the above description, an error correction was performed presuming that the received ADPCM code has an one bit error, but even in the case of two bits or three bits error occurring, the error bit can be presumed as the above.


[0021] According to the present invention, an error correction can be performed so as to lessen the variation by presuming an error pattern of the average value for a short interval of the absolute value of a received code, therefore, a voice signal can be improved in quality.


Claims
  • 1 A device for improving voice signal in quality comprising: a click noise detector which judges that received ADPCM code contains a click noise when a short interval average value of the absolute value of said received ADPCM code exceeds a predetermined value; and a code correction circuit which presumes an error position of the bit of said received ADPCM code and corrects the error so as to minimize the variation in said short interval average value of the absolute value of said received ADPCM code when a transmission error s generated in said received ADPCM code judged to be containing a click noise.
  • 2. A device for improving voice signal in quality comprising: a click noise detector which, then a differential value of a short interval average value of the absolute value of a received ADPCM code exceeds a predetermined value, judges that said received ADPCM code contains a click noise; and a code correction circuit which, when a transmission error is generated in said received ADPCM code judged to contain a click noise, presumes an error position of bits of said received ADPCM code and perform an error correction so as to minimize the variation in sa Ld average value for a short interval of the absolute value of said received ADPCM code.
Priority Claims (1)
Number Date Country Kind
2000-189094 Jun 2000 JP