Speech coding and decoding system

Abstract: A speech coding and decoding system, the system is operated under a known code-excited linear prediction (CELP) coding method. The CELP coding is achieved by selecting an optimum pitch vector P from an adaptive codebook and the corresponding first gain, and at the same time, selecting an optimum code vector from a stochastic codebook and the corresponding second gain. The system of the present invention is featured by a weighted orthogonalization transforming unit introduced therein. The perceptually weighted code vector AC is not used as is, as usual, but after the transformation thereof into a perceptually weighted code vector AC' by the above unit; the vector AC' being made orthogonal to the optimum perceptually weighted pitch vector AP.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a speech coding and decoding system, and more particularly, to a speech coding and decoding system which performs a high quality compression and expansion of speech information signal by using a vector quantization technique. In, for example, an intra-company communication system and a digital mobile radio communication system, a vector quantization method for compressing speech information signal while maintaining a speech quality is usually employed. In the vector quantization method, first a reproduced signal is obtained by applying a prediction weighting to each signal vector in a codebook, and then an error power between the reproduced signal and an input speech signal is evaluated to determine a number, i.e., index, of the signal vector which provides a minimum error power. A more advanced vector quantization method is now strongly demanded, however, to realize a higher compression of the speech information. 2. Description of the Related Art A typical well known high-quality speech coding method is a code-excited linear prediction (CELP) coding method which uses the aforesaid vector quantization. One conventional CELP coding is known as a sequential optimization CELP coding and the other conventional CELP coding is known as a simultaneous optimization CELP coding. These two typical CELP codings will be explained in detail hereinafter. As will be explained in more detail later, a gain (b) optimization for each vector of an adaptive codebook and a gain (g) optimization for each vector of a stochastic codebook are carried out sequentially and independently under the sequential optimization CELP coding, and are carried out simultaneously under the simultaneous optimization CELP coding. The simultaneous optimization CELP is superior to the sequential optimization CELP from the viewpoint of the realization of a high quality speech reproduction, but the simultaneous optimization CELP has a disadvantage in that a very strong correlation exists between the gain (b) and the gain (g), i.e., if the gain (b) has an incorrect value, the gain (g) also seemingly has an incorrect value. SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a new concept for realizing a CELP coding in which a very weak correlation exists between the gain (b) and the gain (g), while maintaining the same performance as that of the simultaneous optimization CELP coding. Under the new CELP coding, even if either one of the two gains (b, g) becomes invalid, a CELP coding can still be maintained in a more or less normal state by using the other valid gain, which is independent from the aforesaid invalid gain. Especially, there is a weighted orthogonalization transforming unit incorporated in a CELP coding system including at least an adaptive codebook and a thinned out stochastic codebook. According to the system of claim 1 the object is solved by applying the orthogonal transformation to the perceptually weighted input speech signal vector, so as to leave thinned-out vectors as they are. Claims 2 to 5 show further developments of the invention. BRIEF DESCRIPTION OF THE DRAWINGS The above object and features of the present invention will be more apparent from the following description of the preferred embodiments with reference to the accompanying drawings, wherein: Fig. 1 is a block diagram of a known sequential optimization CELP coding system; Fig. 2 is a block diagram of a known simultaneous optimization CELP coding system; Fig. 3 is a block diagram of a decoding side which receives the signal transmitted from a coding side and outputs the reproduced signal; Fig. 4 is a block diagram for conceptually expressing an optimization algorithm under the sequential optimization CELP coding method; Fig. 5 is a block diagram for conceptually expressing an optimization algorithm under the simultaneous optimization CELP coding method; Fig. 6 is a block diagram representing a principle construction of a speech coding system; Fig. 7A is a vector diagram representing the conventional sequential optimization CELP coding; Fig. 7B is a vector diagram representing the conventional simultaneous optimization CELP coding; Fig. 7C is a vector diagram representing a gain optimization CELP coding; Fig. 8 is a block diagram showing a principle construction of the decoding side facing the coding side shown in Fig. 6; Fig. 9 is a block diagram of Fig. 6, in which the weighted orthogonalization transforming unit 20 is illustrated in more detail; Fig. 10 is a block diagram of Fig. 9, in which the orthogonalization transformer 22 is illustrated in more detail; Fig. 11 is a block diagram of Fig. 9, in which the orthogonalization transformer 22 is illustrated in more detail; Fig. 12 is a block diagram representing a principle construction of Fig. 6, except that a sparse-stochastic codebook is used instead of the stochastic codebook; Fig. 13 is a block diagram showing an embodiment of the coding system illustrated in Fig. 9; Figs. 14A to 14D depict an embodiment of the arithmetic processing means 61 shown in Fig. 13 in more detail and from a mathematical viewpoint; Fig. 15 illustrates another embodiment of the arithmetic processing means 61 shown in Fig. 13; Figs. 16A to 16C depict an embodiment of the arithmetic processing means 61 shown in Fig. 15; Fig. 17A is a vector diagram representing a Gram-Schmidt orthogonalization transform; Fig. 17B is a vector diagram representing a householder transform used to determine an intermediate vector B; Fig. 17C is a vector diagram representing a householder transform used to determine a final vector C'; Fig. 18 is a block diagram showing a first example of the embodiment shown in Fig. 13; Fig. 19 is a block diagram showing a second example of the embodiment shown in Fig. 13; Fig. 20 is a block diagram showing an example of the embodiment shown in Fig. 10; Fig. 21 is a block diagram showing a modified example of the example shown in Fig. 20; Fig. 22 is a block diagram showing another embodiment according to the structure shown in Fig. 10; Fig. 23 is a block diagram showing a first embodiment of the structure shown in Fig. 11; Fig. 24 is a block diagram showing a modified embodiment of the first embodiment shown in Fig. 23; Fig. 25 is a block diagram showing another modified embodiment of the first embodiment shown in Fig. 23; and Fig. 26 is a block diagram showing another embodiment of the structure shown in Fig. 12. DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing the embodiments of the present invention, the related art and disadvantages thereof will be described with reference to the related figures. Figure 1 is a block diagram of a known sequential optimization CELP coding system and Figure 2 is a block diagram of a known simultaneous optimization CELP coding system. In Fig. 1, an adaptive codebook 1 stores therein N-dimensional pitch prediction residual vectors corresponding to N samples in which the pitch period is delayed by one sample. A stochastic codebook 2 stores therein 2 m -pattern code vectors, each of which code vectors is created by using N-dimensional white noise corresponding to N samples similar to the aforesaid samples. In the figure, the codebook 2 is represented by a sparse-stochastic codebook in which some of the sample data, in each code vector, having a magnitude lower than a predetermined threshold level, e.g., N/4 samples among N samples, is replaced by zero, and thus the codebook is called a sparse (thinning)-stochastic codebook. Each code vector is normalized in such a manner that a power of the N-dimensional elements becomes constant. First, each pitch prediction residual vector P of the adaptive codebook 1 is perceptually weighted by a perceptual weighting linear prediction synthesis filter 3 indicated as 1/A'(Z), where A'(Z) denotes a perceptual weighting linear prediction analysis filter. The thus-produced pitch prediction vector AP is multiplied by a gain b at a gain amplifier 5, to obtain a pitch prediction reproduced signal vector bAP. Thereafter, both the pitch prediction reproduced signal vector bAP and an input speech signal vector AX, which has been perceptually weighted at a perceptual weighting filter 7 indicated as A(Z)/A'(Z) (where, A(Z) denotes a linear prediction analysis filter), are applied to a subtracting unit 8 to find a pitch prediction error signal vector AY therebetween. An evaluation unit 10 selects an optimum pitch prediction residual vector P from the codebook 1 for every frame in such a manner that the power of the pitch prediction error signal vector AY reaches a minimum value, according to the following equation (1). The unit 10 also selects the corresponding optimum gain b. AY 2 = AX-bAP 2 Further, each code vector C of the white noise sparse-stochastic codebook 2 is similarly perceptually weighted at a linear prediction synthesis filter 4 to obtain a perceptually weighted code vector AC. The vector AC is multiplied by the gain g at a gain amplifier 6 to obtain a linear prediction reproduced signal vector gAC. Both the linear prediction reproduced signal vector gAC and the above-mentioned pitch prediction error signal vector AY are applied to a subtracting unit 9, to find an error signal vector E therebetween. An evaluation unit 11 selects an optimum code vector C from the codebook 2 for every frame, in such a manner that the power of the error signal vector E reaches a minimum value, according to the following equation (2). The unit 11 also selects the corresponding optimum gain g. E 2 = AY-gAC 2 The following equation (3) can be obtained from the above-recited equations (1) and (2). E 2 = AX-bAP-gAC 2 Note that the adaptation of the adaptive codebook 1 is performed as follows. First, bAP + gAC is found by an adding unit 12, the thus-found value is analyzed to find bP + gC, at a perceptual weighting linear prediction analysis filter (A'(Z)) 13, and then the output from the filter 13 is delayed by one frame at a delay unit 14. Thereafter, the thus-delayed frame is stored as a next frame in the adaptive codebook 1, i.e., a pitch prediction codebook. As mentioned above, the gain b and the gain g are controlled separately under the sequential optimization CELP coding system shown in Fig. 1. Contrary to this, in the simultaneous optimization CELP coding system of Fig. 2, first the bAP and gAC are added at an adding unit 15 to find AX' = bAP + gAC. Then the input speech signal perceptually weighted by the filter 7, i.e., AX, and the aforesaid AX' are applied to the subtracting unit 8 to find an error signal vector E according to the above-recited equation (3). An evaluation unit 16 selects a code vector C from the sparse-stochastic codebook 2, which code vector C can bring the power of the vector E to a minimum value. The evaluation unit 16 also controls the simultaneous selection of the corresponding optimum gains b and g. Note that the adaptation of the adaptive codebook 1 in the above case is similarly performed with respect to AX', which corresponds to the output of the adding unit 12 shown in Fig. 1. Figure 3 is a block diagram of a decoding side which receives the signal transmitted from a coding side and outputs the reproduced signal. At the decoding side of the system, X' = bP + gC is found by using the code vector numbers selected and transmitted from the codebooks 1 and 2, and the selected and transmitted gains b and g. The X' is applied to a linear prediction reproducing filter 200 to obtain the reproduced speech. Figure 4 is a block diagram for conceptually expressing an optimization algorithm under the sequential optimization CELP coding method and Figure 5 is a block diagram for conceptually expressing an optimization algorithm under the simultaneous optimization CELP coding method. The gains b and g are depicted conceptionally in Figs. 1 and 2, but actually are optimized in terms of the code vector (C) given from the sparse-stochastic codebook 2, as shown in Fig. 4 or Fig. 5. Namely, in the case of Fig. 1, based on the above-recited equation (2), the gain g which brings the power of the vector E to a minimum value is found by partially differentiating the equation (2) so that 0 = δ ( AY-gAC 2 )/δg =2 t (-AC)(AY - gAC) and g = t (AC)AY/ t (AC)AC is obtained, where the symbol "t" denotes an operation of a transpose. Referring to Fig. 4, a multiplying unit 41 multiplies the pitch prediction error signal vector AY and the code vector AC, which is obtained by applying each code vector C of the sparse-codebook 2 to the perceptual weighting linear prediction synthesis filter 4, so that a correlation value t (AC)AY therebetween is generated. Then the perceptually weighted and reproduced code vector AC is applied to a multiplying unit 42 to find the autocorrelation value thereof, i.e., t (AC)AC. Thereafter, the evaluation unit 11 selects both the optimum code vector C and the gain g which can minimize the power of the error signal vector E with respect to the pitch prediction error signal vector AY, according to the above-recited equation (4), by using both correlation values t (AC)AY and t (AC)AC. Further, in the case of Fig. 2, based on the above-recited equation (3), the gain b and the gain g which bring the power of the vector E to a minimum value are found by partially differentiating the equation (3) so that g = [ t (AP)AP t (AC)AX - t (AC)AP t (AP)AX]/▿ b = [ t (AC)AC t (AP)AX - t (AC)AP t (AC)AX]/▿ where ▿ = t (AP)AP t (AC)AC - ( t (AC)AP) 2 stands. Then, in Fig. 5, both the perceptually weighted input speech signal vector AX and the reproduced code vector AC, which has been given by applying each code vector C of the sparse-codebook 2 to the perceptual weighting linear prediction synthesis filter 4, are multiplied at a multiplying unit 51 to generate the correlation value t (AC)AX therebetween. Similarly, both the perceptually weighted pitch prediction vector AP and the reproduced code vector AC are multiplied at a multiplying unit 52 to generate the correlation value t (AC)AP. At the same time, the autocorrelation value t (AC)AC. of the reproduced code vector AC is found at the multiplying unit 42. Then the evaluation unit 16 simultaneously selects the optimum code vector C and the optimum gains b and g which can minimize the power of the error signal vector E with respect to the perceptually weighted input speech signal vector AX, according to the above-recited equation (5), by using the above mentioned correlation values, i.e., t (AC)AX, t (AC)AP and t (AC)AC. Thus, the sequential optimization CELP coding method is more advantageous than the simultaneous optimization CELP coding method, from the viewpoint that the former method requires less overall computation amount than that required by the latter method. Nevertheless, the former method is inferior to the latter method from the viewpoint that the decoded speech quality is low under the former method. As mentioned previously, the object of the present invention is to provide a new concept for realizing the CELP coding in which a very weak correlation exists between the gain b and the gain g, while maintaining same performance as that of the simultaneous optimization CELP coding. Under the new CELP coding, even if either one of the two gains b, g becomes invalid, a CELP coding can still be maintained in a more or less normal state by using the other valid gain, which is independent from the aforesaid invalid gain. Figure 6 is a block diagram representing a principle construction of a speech coding system. First, regarding the pitch period, the pitch prediction residual vector P is perceptually weighted by A as in the above-described prior art, and further multiplied by the gain b to generate the pitch prediction reproduced signal vector bAP. Then a pitch prediction error signal vector AY of the thus generated signal bAP with respect to the perceptually weighted input speech signal vector AX is found. The evaluation unit 10 selects, from the adaptive codebook 1, the pitch prediction residual vector and the gain b; this pitch prediction residual vector minimizes the pitch prediction error signal vector AY. A feature of this construction is that a weighted orthogonalization transforming unit 20 is introduced into the system, and this unit 20 transforms each code vector of the white noise stochastic codebook 2 to a perceptually weighted reproduced code vector AC' which is orthogonal to the optimum pitch prediction reproduced vector among the perceptually weighted pitch prediction residual vectors. The publication ICASSP' 90, Albuquerque, New Mexico, 3-6 April 1990, vol. 1, pages 485-488, IEEE, New York, US; P.DYMARSKI et al.: "Optimal and sub-optimal algorithms for selecting the excitation in linear predictive coders", which is considered to represent the most relevant state of the art, discloses a linear predictive coder system using the vector orthogonalization algorithm for optimum excitation vector selection. In contrary to the construction shown in fig. 6, the provision of evaluation units is not explicitly shown in the publication. Figure 7A is a vector diagram representing the conventional sequential optimization CELP coding; Figure 7B is a vector diagram representing the conventional simultaneous optimization CELP coding; and Figure 7C is a vector diagram representing a gain optimization CELP coding according to the block diagram of fig. 6. The principle of the above feature will be clarified with reference to Fig. 7C. Note, under the sequential optimization coding method (Fig. 7A), a quantization error is made large as depicted by Δe in Fig. 7A, since the code vector AC, which has been taken as the vector C from the codebook 2 and perceptually weighted by A, is not orthogonal relative to the perceptually weighted pitch prediction reproduced signal vector bAP. Based on the above, if the code vector AC is transformed to the code vector AC' which is orthogonal to the pitch prediction residual vector AP, by a known transformation method, the quantization error can be minimized, even under the sequential optimization CELP coding method of Fig. 7A, to a quantization error comparable to one occurring under the simultaneous optimization method (Fig. 7B). The gain g is multiplied with the thus-obtained code vector AC' to generate the linear prediction reproduced signal vector gAC'. The evaluation unit 11 selects the code vector from the codebook 2 and selects the gain g, which can minimize the linear prediction error signal vector E by using the thus generated gAC' and the perceptually weighted input speech signal vector AX. Thus, upon applying the orthogonalization transform to the code vector, the sequential optimization is performed whereby the synthesis vector AX' by both of the vectors bAP and the gAC' becomes close to the actual perceptually weighted input speech signal vector AX, as the case of simultaneous optimization coding method when N = 2 stands, or is closer to the case of the simultaneous optimization coding method when N > 2 stands, where N denotes the aforesaid dimension, and thus the quantization error can be minimized. Figure 8 is a block diagram showing a principle construction of the decoding side facing the coding side shown in Fig. 6. A weighted orthogonalization transforming unit 100 is incorporated in the decoding system. The unit 100 transforms the optimum code vector C selected from the white noise stochastic codebook 2' to the code vector C', which will be orthogonal after applying the perceptually weighting, to the pitch prediction residual vector P of an adaptive codebook 1', after applying the perceptually weighting thereto, whereby AP_AC' stands. Here, the original speech can be reproduced by applying a vector X' to a linear prediction synthesis filter 200, which vector X' is obtained by adding both the code vector gC' and the vector bP. gC' is obtained by multiplying the gain g with the aforesaid code vector C' and bP is obtained by multiplying the gain b with the aforesaid vector P. Figure 9 is a block diagram of Fig. 6, in which the weighted orthogonalization transforming unit 20 is illustrated in more detail. In the figure, the unit 20 is primarily comprised of an arithmetic processing means 21, an orthogonalization transformer 22, and a perceptual weighting matrix 23. The arithmetic processing means 21 applies a backward perceptual weighting to the optimum pitch prediction vector AP selected from the pitch codebook 1 to calculate an arithmetic sub-vector V = t AAP where the term backward represents an inverse operation in time. The orthogonalization transformer 22 receives each code vector C from the codebook 2 and generates the code vectors C' orthogonal to the aforesaid arithmetic sub-vector V. The perceptual weighting matrix 23 reproduces the perceptually weighted code vector AC' by applying the perceptual weighting A to the orthogonalized code vector C'. Accordingly, the arithmetic sub-vector V is generated, and therefore, the orthogonalization transformer 22 alone can produce the code vector C' which is orthogonalized relative to the vector V, and thus a known Gram-Schmidt orthogonal transforming method or a known householder transforming method can be utilized for realizing the orthogonalization transformer 22. Figure 10 is a block diagram of Fig. 9 in which the orthogonalization transformer 22 is illustrated in more detail. In the figure, the arithmetic processing means 21 and the perceptual weighting matrix 23 are identical to those shown in Fig. 9. In Fig. 10, the orthogonalization transformer 22 of Fig. 9 is realized as a Gram-Schmidt orthogonalization transformer 24. The Gram-Schmidt transformer 24 receives four vectors, i.e., the optimum pitch prediction residual vector P, the perceptually weighted optimum pitch prediction vector AP, the aforesaid arithmetic sub-vector V, and each code vector C given from the codebook 2, so that the code vector C' produced therefrom is orthogonal to the arithmetic sub-vector V. As mentioned above, in Fig. 10, the vector C' orthogonal to the vector V is generated from the Gram-Schmidt orthogonalization transformer 24 by using the optimum pitch prediction residual vector P and the perceptually weighted vector AP, other than the arithmetic sub-vector V used in Fig. 9. The vector AC', which is obtained by applying the perceptual weighting A to the thus generated vector C', can be defined on the same plane which is defined by the vectors AC and AP. Therefore, it is not necessary to newly design a coder for the gain g, which means that the coder for the gain g can be used in the same way as in the above-described prior art sequential optimization CELP coding method. Figure 11 is a block diagram of Fig. 9, in which the orthogonalization transformer 22 is illustrated in more detail. In the figure, the arithmetic processing means 21 and the perceptual weighting matrix 23 are identical to those shown in Fig. 9. The orthogonalization transformer 22 of Fig. 9 is realized, in Fig. 10, as a householder transformer 25. The householder transformer 25 receives three vectors, i.e., the arithmetic sub-vector V, each code vector C of the codebook 2 and a vector D which is orthogonal to all of the code vectors stored in the codebook 2, and generates a code vector C' by using the above three vectors; C' is orthogonal to the aforesaid arithmetic sub-vector V. Therefore, the householder transformer 25 uses the vector D, which is orthogonal to all of the vectors in the codebook 2, and if the vector D is, e.g., [1, 0, 0, --- 0], the codebook 2 can be set up in advance as [0, C 11 , C 12 , ---, C 1N-1 ] [0, C 21 , C 22 , ---, C 2N-1 ] for example, whereby the number of dimensions of the codebook 2 can be reduced to N-1. Figure 12 is a block diagram representing a principle construction of Fig. 6, except that a sparse-stochastic codebook is used instead of the stochastic codebook. In the system of Fig. 12, since the sparse-stochastic codebook 2a is in a state wherein some code vectors are thinned out, it is preferable to realize the above-mentioned orthogonalization transform while maintaining the sparse state as much as possible. Accordingly, an arithmetic processing means 31 calculates a vector t AAX by applying the aforesaid backward perceptual weighting to the input speech signal vector AX. The backward perceptually weighted vector t AAX is backwardly and perceptually weighted and then orthogonally transformed, with respect to the optimum pitch prediction vector AP among the perceptually weighted pitch prediction residual vectors, so that an input speech signal vector t (AH)AX is generated from an orthogonalization transformer 32. The vector t (AH)AX is used to find a correlation value t (AHC)AX with each code vector C from the sparse-stochastic codebook 2a. Further, the orthogonalization transformer 32 finds an autocorrelation value t (AHC)AHC of a vector AHC (corresponding to the aforesaid AC'), by using both each code vector C of the codebook 2a and the optimum pitch prediction vector AP, which vector AHC is orthogonal to the optimum pitch prediction vector AP and is perceptually weighted at the orthogonalization transformer 32. Then, both of the thus found correlation values t (AHC)AX and t (AHC)AHC are adapted to the above-recited equation (4) by an evaluation unit 33 to thereby select a code vector from the codebook 2a, which code vector can minimize the linear prediction error, and the evaluation unit 33 also selects the optimum gain g. Accordingly, a computation amount can be reduced when compared to the computation amount needed in the structure, such as that shown in Fig. 4, in which the code vectors become non-sparse code vectors after passing through the perceptual weighting matrix A, since, by using the backward orthogonalization transforming matrix H, the sparse-code vectors C are applied as they are for the correlation calculation. Figure 13 is a block diagram showing an embodiment of the coding system illustrated in Fig. 9. In this embodiment, the arithmetic processing means 21 of Fig. 3 is comprised of members 21a, 21b and 21c forming an arithmetic processing means 61. The member 21a is a backward unit 21a which rearranges the input signal (optimum AP) inversely along a time axis. The member 21b is an infinite impulse response (IIR) perceptual weighting filter, which is comprised of a matrix A ( = 1/A'(Z)). The member 21c is another backward unit which rearranges the output signal from the filter 21b inversely along a time axis. Accordingly, the arithmetic sub-vector V (= t AAP) is generated thereby. Figures 14A to 14D depict an embodiment of the arithmetic processing means 61 shown in Fig. 13 in more detail and from a mathematical viewpoint. Assuming that the perceptually weighted pitch prediction vector AP is expressed as shown in Fig. 14A, a vector (AP) TR becomes as shown in Fig. 14B, which is obtained by rearranging the elements of Fig. 14A inversely along a time axis. The vector (AP) TR of Fig. 14B is applied to the IIR perceptual weighting linear prediction synthesis filter (A) 21b having a perceptual weighting filter function 1/A'(Z), to generate the A(AP) TR as shown in Fig. 14C. In this case, the matrix A corresponds to a reversed matrix of the transpose matrix, i.e., t A, and therefore, the above recited A(AP) TR is rearranged inversely along a time axis, as shown in Fig. 14D, so that the A(AP) TR is reversed and returned to its original form. Further, the arithmetic processing means 61 of Fig. 13 may be constructed by using a finite impulse response (FIR) perceptual weighting filter which multiplies the input vector AP with a transpose matrix, i.e., t A. An example thereof is shown in Fig. 15. Figure 15 illustrates another embodiment of the arithmetic processing means 61 shown in Fig. 13, and Figures 16A to 16C depict an embodiment of the arithmetic processing means 61 shown in Fig. 15. In the figures, assuming that the FIR perceptual weighting filter matrix is set as A and the transpose matrix t A of the matrix A is an N-dimensional matrix, as shown in Fig. 16A, corresponding to the number of the dimensions N of the codebook, and if the perceptually weighted pitch prediction residual vector AP is formed as shown in Fig. 16B (this corresponds to a time-reversing vector of Fig. 14B), the time-reversing perceptual weighting pitch prediction residual vector t AAP becomes a vector as shown in Fig. 16C, which vector is obtained by multiplying the above-mentioned vector AP with the transpose matrix t A. Note, in Fig. 16C, the symbol * is a multiplication symbol and the accumulated multiplication number becomes N 2 /2 in this case. Therefore, the result of Fig. 14D and the result of Fig. 16C become the same. Although, in Figs. 14A to 14D, the filter matrix A is formed as the IIR filter, it is also possible to use the FIR filter therefor. If the FIR filter is used, however, the number of entire calculations becomes N 2 /2 (plus 2N times shift operations) as in the embodiment of Figs. 16A to 16C. Conversely, if the IIR filter is used, and assuming that a tenth order linear prediction analysis is achieved as an example, only 10N calculations plus 2N shift operations will suffice for the related arithmetic processing. Referring again to Fig. 13, the orthogonalization transformer 22 is supplied with the arithmetic sub-vector V (= t AAP) generated through the above-mentioned process. The transformer 22 then generates the vector C' by applying the orthogonalization transform to the code vectors C given from the codebook 2, such that the vector C becomes orthogonal relative to the aforesaid vector V. In the above case, an orthogonalization arithmetic equation of C' = C - V ( t VC/ t VV) i.e., a Gram-Schmidt orthogonalization transforming equation, can be used. Note, in the figure each circle represents a vector operation and each triangle represents a scalar operation. Figure 17A is a vector diagram representing a Gram-Schmidt transform; Figure 17B is a vector diagram representing a householder transform used to determine an intermediate vector B; and Figure 17C is a vector diagram representing a householder orthogonalization transform used to determine a final vector C'. Referring to Fig. 17A, a parallel component of the code vector C relative to the vector V is obtained by multiplying the unit vector (V/ t VV) of the vector V with the inner product t CV therebetween, and the result becomes t CV(V/ t VV). Consequently, the vector C' orthogonal to the vector V can be given by the above-recited equation (6). The thus-obtained vector C' is applied to the perceptual weighting filter 23 to produce the vector AC'. The optimum code vector C and gain g can be selected by adapting the above vector AC' to the sequential optimization CELP coding shown in Fig. 4. Figure 18 is a block diagram showing a first example of the embodiment shown in Fig. 13. Namely, the orthogonalization transformer 22 of Fig. 13 is divided into an arithmetic processor 22a and an arithmetic processor 22b, and the arithmetic processor 22a is given the arithmetic sub-vector V to generate two vectors, i.e., a vector wV ( w = 1/ t VV) and a vector V. The two vectors are then given to the arithmetic processor 22b to produce the vector C', which is orthogonal to the vector V. The arithmetic equation used in this case is based on the above-recited equation (6), i.e., the Gram-Schmidt orthogonalization transforming equation. The difference between this example and the aforesaid orthogonalization transformer 22 of Fig. 13 is that this example makes it possible to achieve an off-line calculation for the division part, i.e., 1/ t VV, among the calculations of the Gram-Schmidt orthogonalization transforming equation. This enables a reduction of the computation amount. Figure 19 is a block diagram showing a second example of the embodiment shown in Fig. 13. In the example, the perceptual weighting matrix A is incorporated into each of the arithmetic processors 22a and 22b shown in Fig. 18. First, an arithmetic processor 22c generates a vector wV and a perceptually weighted vector AV by using the arithmetic sub-vector V. Next, based on the above vectors, an arithmetic processor 22d generates the vector AC' from the perceptually weighted code vector AC, which vector AC' is orthogonal to the perceptually weighted pitch prediction residual vector AP. The arithmetic equation used in the above case is shown below. AC' = AC - t C (V/ t VV)AV = A{C - V( t VC/ t VV)} Figure 20 is a block diagram showing an example of the embodiment shown in Fig. 10. The orthogonalization transformer 24 of this example achieves the calculation expressed as follows C - P{ t CV/ t (AP)AP} = C - P{ t C( t AAP)/ t (AP)AP} = C - P{ t (AP)AC/ t (AP)AP} If the vector V = t AAP is substituted in the above equation, the equation becomes the above-recited equation (6), and thus an identical Gram-Schmidt orthogonalization transform can be realized. In this case, however, it is possible to find the vector AC', orthogonal to the vector AP, on the same plane as that on which the vector AC is defined. Therefore, it is not necessary to newly design a coder for the gain g, since the gain g becomes the same as the gain g found under the sequential optimization CELP coding method. Figure 21 is a block diagram showing a modified example of the example shown in Fig. 20. An arithmetic processor 24a generates a vector wV by multiplying the arithmetic sub-vector V with the vector w ( = 1/|AP| 2 ). An arithmetic processor 24b carries out the operation of the above-recited equation (7) by using the above vectors wV and the optimum pitch prediction residual vector P, so that the processor 24b generates the vector C' which will satisfy, after perceptually weighted by A, the relationship AP_AC'. Figure 22 is a block diagram showing another embodiment according to the structure shown in Fig. 10. In the embodiment, an arithmetic processor 24c produces both vectors wAP and AP by directly applying thereto the optimum perceptually weighted pitch prediction residual vector AP without employing the aforesaid arithmetic processing means 21. An arithmetic processor 24d produces, using the above mentioned vectors (wAP, AP), the code vector AC' from the code vector C, which is perceptually weighted and orthogonal to the vector AP. The arithmetic equation used in this example is substantially the same as that used in the case of Fig. 19. Figure 23 is a block diagram showing a first embodiment of the structure shown in Fig. 11. The embodiment of Fig. 23 is substantially identical to the embodiments or examples mentioned heretofore, except only for the addition of a orthogonalization transformer 25. The transforming equation performed by the transformer 25 is indicated as follows. C' = C - 2B{( t BC)/( t BB)} The above equation is able to realize the house-holder transform. In the equation (8), the vector B is expressed as follows. B = V - V D where the vector D is orthogonal to all of the code vectors C of the stochastic codebook 2. Referring again to Figs. 17B and 17C, the algorithm of the householder transform will be explained below. First, the arithmetic sub-vector V is folded, with respect to a folding line, to become the parallel component of the vector D, and thus a vector ( V / D )D is obtained. Here, D/ D represents a unit vector of the direction D. The thus-created D direction vector is used to create another vector in a reverse direction to the D direction, i.e., -D direction, which vector is expressed as -( V / D )D as shown in Fig. 17B. This vector is then added to the vector V to obtain a vector B, i.e., B = V -( V / D )D which becomes orthogonal to the folding line (refer to Fig. 17B). Further, a component of the vector C projected onto the vector B is found as follows, as shown in Fig. 17A. {( t CB)/( t BB)}B The thus-found vector is doubled in an opposite direction, i.e., - 2 t CB t BB B, and added to the vector C, and as a result the vector C' is obtained, which is orthogonal to the vector V. Thus, the vector C' is created and is applied with the perceptual weighting A to obtain the code vector AC', which is orthogonal to the optimum vector AP. Figure 24 is a block diagram showing a modified embodiment of the first embodiment shown in Fig. 23. Namely, the orthogonalization transformer 25 of Fig. 23 is divided into an arithmetic processor 25a and an arithmetic processor 25b. The arithmetic processor 25a produces two vectors uB ( = 2/ t BB) and B by using the input vector V and the vector D. The arithmetic processor 25b produces the vector C', by using the above vectors, from the vector C, which vector C'is orthogonal to the vector V. The above embodiment of Fig. 24 produces an advantage in that the computation amount at the arithmetic processor 25b can be reduced, as in the embodiment of Fig. 21. Figure 25 is a block diagram showing another modified embodiment of the first embodiment shown in Fig. 23. In this embodiment, a perceptual weighting matrix A is included in each of an arithmetic processor 25c and an arithmetic processor 25d. The arithmetic processor 25c produces two vectors uB and AB, based on the input vector V and the vector D. The arithmetic processor 25d receives the above vectors (uB, AB) and performs the perceptually weighted householder transform to generate, from the vector C, the vector AC', which is orthogonal to the vector AP. Note that the arithmetic structure of this embodiment is basically identical to the arithmetic structure used under the Gram-Schmidt orthogonalization transform shown in Fig. 19. Figure 26 is a block diagram showing another embodiment of the structure shown in Fig. 12. The arithmetic processing means 31 of Fig. 12 can be comprised of the transpose matrix t A, as in the aforesaid arithmetic processing means 21 (Fig. 15), but in the embodiment of Fig. 26, the arithmetic processing means 31 is comprised of a backward type filter which achieves an inverse operation in time. Further, an orthogonalization transformer 32 is comprised of arithmetic processors 32a, 32b, 32c, 32d and 32e. The arithmetic processor 32a generates, as in the arithmetic processing means 31, the arithmetic sub-vector V (= t AAP) by applying a backward perceptual weighting to the optimum pitch prediction residual vector AP given as an input signal thereto. The above vector V is transformed, at the arithmetic processor 32b including the perceptual weighting matrix A, into three vectors B, uB and AB by using the vector D which is orthogonal to all the code vectors of the sparse-stochastic codebook 2a. The arithmetic processor 32c applies the backward householder orthogonalization transform to the vector t AAX from the arithmetic processing means 31 to generate t H t AAX (= t (AH)AX). The time-reversing householder transform, t H, at the arithmetic processor 32c will be explained below. First, the above-recited equation (8) is rewritten, by using u = 2/ t BB, as follows. C' = C - B(u t BC) The equation (9) is transformed, by using C' = HC, as follows. H = C'C -1 = I - B(u t B) (I is a unit vector) Accordingly, t H = I - (uB) t B = I - B(u t B) is obtained, which is the same as H written above. Here, the aforesaid vector t (AH)AX input to the arithmetic processor 32c is replaced by, e.g., W, and the following equation stands. t HW = W - (WB)(u t B) This is realized by the arithmetic construction as shown in the figure. The above vector t (AH)AX is multiplied, at a multiplier 32e, with the sparse code vector C from the codebook 2a, to obtain a correlation value R XC which is expressed as below. R XC = t C t (AH)AX = t (AHC)AX The value R XC is sent to an evaluation unit 33. The arithmetic processor 32d receives the input vectors AB, uB, and the sparse-code vector C, and further, uses the internal perceptual weighting matrix A to find a vector (AHC), i.e., AHC = AC - t C(AB)(u t B). The vector AHC is orthogonal to the optimum pitch prediction residual vector AP. Further an autocorrelation value R CC of the above vector AHC, i.e., R CC = t (AHC)AHC is generated and is sent to the evaluation unit 33. When HC = C' is substituted to the aforesaid two correlation values (R XC , R CC ) to be sent to the evaluation unit 33, the arithmetic construction becomes identical to that of Fig. 4, and therefore, the evaluation unit 33 can select the optimum code vector and gain. Although the embodiment of Fig. 26 is illustrated based on the householder transform, it is also possible to construct same based on the Gram-Schmidt transform. As explained above in detail, the present invention provides a CELP coding and decoding system based on a new concept. The CELP coding of the present invention is basically similar to the simultaneous optimization CELP coding, rather than the sequential optimization CELP coding, but the CELP coding of the present invention is more convenient than the simultaneous optimization CELP coding due to an independency of the gain at the adaptive codebook side from the gain at the stochastic codebook side. Reference signs in the claims are intended for better understanding and shall not limit the scope.

Claims: A speech coding and decoding system comprising: an adaptive codebook (1) storing therein a plurality of pitch prediction residual vectors (P); a first evaluation unit (10) for selecting, from said adaptive codebook (1), the pitch prediction residual vector which can minimize the power of a pitch prediction error signal vector (AY), which vector (AY) is to be found as an error between a perceptually weighted input speech signal vector (AX) and a pitch prediction reproduced signal (bAP) to be found by perceptually weighting each said pitch prediction residual vector (P) by a matrix (A) and multiplying the same with a first gain (b), and further, selecting the corresponding first gain (b); an arithmetic processing unit (31) receiving the perceptually weighted input speech signal vector (AX) and applying a time-reversing perceptual weighting to the vector (AX) to calculate the vector inversely in time and generating a time-reversing perceptually weighted input speech signal vector ( t AAX); a sparse-stochastic codebook (2a) storing therein, as white noise, thinned out code vectors (C); an orthogonalization transformer (32) receiving the time-reversing perceptually weighted input speech signal vector ( t AAX) and applying same both a time-reversing perceptually weighting and an orthogonal transforming with respect to the optimum perceptually weighted pitch prediction vector (AP) selected by the first evaluation unit (10), so that a resultant input speech signal vector ( t (AH)AX) is generated, and receiving each said code vector (AP) and finding an autocorrelation value ( t (AHC)AHC) of a vector (AHC) which is orthogonal to the optimum pitch prediction vector (AP); a means for finding a correlation value ( t (AHC)AX) between said input speech signal vector ( t (AH)AX) given from said orthogonalization transformer (32) and each said code vector (C); and a second evaluation unit (33) for selecting, by using both said autocorrelation value and said correlation value, a code vector (C) which can minimize a power of an error signal vector between said vector (AX) and said vector (AHC) and can select the corresponding second gain (g), whereby the input speech signal is coded, at a coding side, with information indicating the thus-selected vectors and gains to be sent to a decoding side of the system. A speech coding and decoding system according to claim 1, wherein said arithmetic processing unit (31) comprises a transpose matrix ( t A). A speech coding and decoding system according to claim 1, wherein said arithmetic processing unit (31) comprises a backward type filter which achieves an inverse operation in time. A speech coding and decoding system according to any of the claims 1 to 3, wherein said orthogonalization transformer (32) comprises first to fifth arithmetic processors (32a, 32b, 32c, 32d and 32e), said first arithmetic processor (32a) generating an arithmetic sub-vector (V) by applying a backward perceptual weighting to the optimum pitch prediction residual vector (AP) given as an input signal thereto, said second arithmetic processor (32b), including the perceptual weighting matrix (A), transforming said sub-vector (V) into vectors (B, uB, AB) by using a vector (D) which is orthogonal to all code vectors (C) of said sparse-stochastic codebook (2a), said third arithmetic processor (32c) being supplied with some of said transformed sub-vectors (B, uB) applying the backward householder orthogonalization transform to the time-reversing perceptually weighted input speech signal vector ( t AAX) from said arithmetic processing unit (31) to generate said input speech signal vector ( t (AH)AX); said fourth arithmetic processor (32d) receiving some of said transformed sub-vectors (AB, uB) as input vectors and the sparse-code vector (C), using the internal perceptual weighting matrix (A) to find said vector (AHC) which is orthogonal to the optimum pitch prediction vector (AP), and generating said autocorrelation value ( t (AHC)AHC; R CC ) of said vector (AHC), which autocorrelation value (R CC ) is sent to said second evaluation unit (33); and said fifth arithmetic processor (32e) comprises said means for finding a correlation value ( t (AHC)AX; R XC ) between said input speech signal vector ( t (AH)AX) given from said orthogonalization transformer (32) and each said code vector (C), which correlation value (R CC ) is sent to said second evaluation unit (33). A speech coding and decoding system according to any of the claims 1 to 3, wherein said orthogonalization transformer (32) comprises a Gram-Schmidt orthogonalization transformer.

Inventors: JOHNSON MARK, TANIGUCHI TOMOHIKO, JOHNSON, MARK, TANIGUCHI, TOMOHIKO
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1991
Main classification: G10L9
IPC codes: H03M7, G10L19