Echo canceler and echo path estimating method

Abstract: The echo canceler of the present invention includes a pseudo noise generator (11) for generating a certain pseudo noise. This pseudo noise is forcibly supplied to a transmission line for transmitting a far-end talker's voice. Here, in the case where the far-end talker's transmitting speech level is faint or the far-end talker is in a speechless condition, a certain correlation is established between the pseudo noise and a signal of the transmission line for transmitting the near-end talker's voice. Based on such a correlation as just mentioned, a coefficient for generating an echo replica is calculated.

Description: TECHNICAL FIELD This invention relates to an echo canceler suited to be used for a mobile communications network and a long-distance telephone line network. Also, the invention relates to an echo path estimating method suited to be used for this echo canceler. BACKGROUND ART In a long-distance telephone line via a submarine cable or via a communication satellite, the subscriber's line, in general, connected to both ends of the line is of a two-wire circuit and its long-distance transmission portion is of a four-wire circuit for the purposes of amplification of a signal, etc. Similarly, in the mobile communications network using a mobile telephone (or cellular phone), the subscriber's line of a terrestrial analog telephone is of a two-wire circuit and its portion from a terminal of the mobile telephone to a switch, etc. is of a four-wire circuit. In this case, the connection region between the two-wire and the four-wire is provided with a hybrid circuit for performing a four-wire/two-wire conversion. This hybrid circuit is designed to match with the impedance of the two-wire circuit. However, since it is difficult to obtain always a good matching condition, a received signal reaching an input side of the four-wire of the hybrid circuit tends to leak toward an output side of the four-wire, thereby generating a so-called echo. Since such an echo is lower in level than the talker's voice and reaches the talker after a delay of a predetermined time period, a speech hindrance is created. Such a speech hindrance caused by echo becomes more significant as the signal propagation time becomes longer. Particularly, in the case of a mobile communication using a mobile telephone, since various processing procedures are carried out in the radio communication section leading to the switch, etc., the delay of signal is increased, thus resulting, particularly, in the problem of speech hindrance caused by echo. Fig. 2 shows one example of the waveform of an echo with respect to impulse response. As an apparatus for preventing a generation of echo, there are an echo suppressor and an echo canceler. Fig. 1 shows a schematic construction of an echo canceler which can be used in a mobile communications network. The echo canceler 1 illustrated here is located on a front stage of a hybrid circuit 2. In this illustration, the subscriber of an ordinary analog telephone is referred to as the "near-end talker" and the subscriber of a mobile telephone as the "far-end talker". A far-end voice signal input into the echo canceler 1 is represented by Rin; a far-end voice signal output from the echo canceler 1, by Rout; a near-end voice signal input into the echo canceler 1, by Sin; and a near-end voice signal output from the echo canceler 1, by Sout; respectively. The echo canceler 1 shown in Fig. 1 comprises an echo path estimation/echo replica generation circuit 3, a control unit 4, an adder 5, and a non-linear processor 6. Here, the echo path estimation/echo replica generation circuit 3 detects a response characteristic of the hybrid circuit 2 based on both the far-end voice input Rin and near-end voice input Sin and estimates an echo path (namely, echo propagating line). Then, an anticipated echo (namely, echo replica) from the hybrid circuit 2 is generated through a convolutional operation based on the result of estimation and the far-end voice input Rin. This echo replica is generated by an FIR filter which is constituted of so many taps as 512, for example. A convolutional operation in an echo replica refers to this. In the adder 5, this echo replica is subtracted from the near-end voice input Sin, thereby canceling the echo. As the above-mentioned echo path estimation algorithm, a learning identification algorithm is used. Among many adaptive algorithms, this learning identification algorithm is comparatively small in computational complexity and good in convergence characteristic. Specifically, the echo path estimation/echo replica generation circuit 3 has an FIR filter. An echo replica signal Y(z) output from the FIR filter can be obtained by the following equation (1). Y ( z ) = ( ∑ i = 0 N − 1 b i z − i ) R out ( z ) In the equation (1), N is the number of taps of the FIR filer, and b i (where i=0, 1, 2, ·····N-1) is a tap coefficient in each tap. If appropriate values of the tap number N and tap coefficient b i can be obtained by estimation of an echo path, the echo replica signal Y(z) is approximated to an actual echo. Thus, echo is canceled in the adder 5. As the above-mentioned echo path estimation algorithm, an adaptive filter technique, for example, a learning identification algorithm, which among many other adaptive algorithms, is comparatively small in computational complexity and good in convergence characteristic, is used. Details of the learning identification algorithm is disclosed, for example, in Institute of Electronics and Communication Engineers of Japan (IECE) Journal '77/11 Vol. J60-A NO.11, article under the heading of "Regarding Echo Canceling Characteristic of Echo Canceler Using Learning Identification Algorithm". As conditions for enabling the above learning, the following requirements must be met. ① A far-end voice output Rout of the level sufficient for an echo to come back as a near-end voice input Sin is present. In other words, the far-end taker is currently engaged in speech. ② The near-end voice input Sin is constituted of an echo (or an echo and a white noise) alone. In other words, the near-end taker is not engaged in speech. On the other hand, when the far-end talker is in a speechless condition and when the far-end talker and the near-end talker are simultaneously engaged in speech (this state is hereinafter referred to as the "double talk"), it is necessary to turn off the learning function because there is a fear to cause a mis-learning state of echo path estimation. In the transmission line, digital signals are transmitted, and a D/A conversion (in a general expression, a µ-LAW conversion) is made between the echo canceler 1 adapted to process such digital signals and the hybrid circuit 2 adapted to undertake a conversion to the analog line. For this reason, a non-linear characteristic relation is established between the far-end voice output Rout and the near-end voice input Sin. Therefore, echo cannot be canceled fully and completely merely through the linear computation by means of the echo path estimation/echo replica generation circuit 3, etc. As a consequence, an echo component unable to be completely canceled is produced. In order to remove such an echo component (hereinafter referred to as the "residual echo"), the non-linear processor 6 is employed. This non-linear processor 6 undertakes a non-linear switching operation. Specifically, in the case where the near-end voice output Sout is constituted merely of an echo, in other words, in the case where only the far-end talker is currently engaged in speech (this state is hereinafter referred to as the "far-end talker's single talk"), a switching operation is made such that the transmission of the near-end voice output Sout is prohibited or an operation is made such that the near-end voice output Sout is replaced by a pseudo noise. The control unit 4 controls the echo path estimation/echo replica generation circuit 3 and the non-linear processor 6. That is, the control unit 4 detects the far-end taker's speechless condition or detects the double talk, controls the ON/OFF state of the learning function of the echo path estimation in accordance with a double talk signal DT, detects the far-end talker's single talk, and controls the switching operation of the non-linear processor 6. Incidentally, in the above-mentioned techniques, there are encountered with the following problems. ① Firstly, since the above-mentioned techniques merely employ an adaptive filter technology such as the learning identification algorithm, if the delay time of an echo to be canceled is increased, the number of taps of the adaptive filter is increased and the computational complexity is also increased. In other words, the echo path estimation/echo replica generation circuit 3 estimates an echo path presuming that the far-end voice input Rin and the near-end voice input Sin are time-wise coincident with each other, and generates an echo based on the estimated echo path. However, since the near-end voice input Sin from the hybrid circuit 2 is delayed, with respect to the far-end voice input Rin, by a delay time attributable to a transmission path between the echo canceler 1 and the hybrid circuit 2, the far-end voice input Rin is input first in the echo path estimation/echo replica generation circuit 3 and then, the near-end voice input Sin corresponding to Rin is input therein with the above-mentioned delay time. During this time, it becomes impossible to satisfactorily carry out a learning based on the estimation of an echo path. ② Also, in the above-mentioned conventional techniques, the echo canceler did not have any information of the echo path at the start of an operation. However, observation of the present inventors revealed that characteristic of an echo path is substantially controlled by characteristic of a hybrid. Specifically, the waveform of an echo determined by a hybrid was longitudinally shifted on the time axis in accordance with a delay in the transmission line and attenuated in accordance with the attenuation in the transmission line. As a result, a waveform of an echo in the transmission line with respect to an impulse input was obtained with a considerable accuracy. ③ A digital signal is transmitted in the transmission line and a D/A conversion (in general, µ-LAW conversion) is performed between the echo canceler 1 for processing the digital signal and the hybrid circuit 2 for performing a conversion to an analog line. For this reason, a linear relation is established between the far-end voice output Rout and the near-end voice input Sin. Therefore, it is impossible to fully and completely cancel the echo merely by linear operation using the echo path estimation/echo replica generation circuit 3, etc. In order to improve the shortcomings of ① to ③ as a group, it is necessary to change the design of the echo canceler extensively or to modify it entirely. This being the case, it was unexpectable that the existing equipment is effectively used. Further, recently, there is a demand of a high-speed convergence with respect to an echo canceler. Document EP-A-0391715 describes an echo canceller modem having a training echo canceller. Echo cancellation coefficients are computed by taking correlations between a complex, periodic training signal sequence and a real component of the corresponding echo signal. The modem includes a receiver circuit which detects a signal on a channel possibly including an echo. An echo canceller estimates the real component of the echo signal. Training circuitry applies the complex training sequence to the channel and takes correlations between the training sequence and the real component of the corresponding echo signal. Document GB-A-2164828 describes a method and digital hybrid circuit apparatus for connecting a near end subscriber to a far end subscriber with the near end subscriber providing a digital input signal which undesirably contains an interfering echo signal. This signal is transmitted to a connected far end subscriber which far end subscriber provides a far end digital input signal for reception by the near end subscriber. In order to eliminate the echo signal, first and second programmable coefficient digital filters have an input to receive the far end digital signal with the outputs of the filters coupled to an input of a respective adder with one input of each adder to receive the near end input signal, wherein a memory is provided for programming each of the filters with a different set of coefficients and wherein a decision logic is coupled to the output of the adders for comparing the average power output of each of the adders. The filter and the adder is selected which provide the lowest average power. DISCLOSURE OF INVENTION The present invention has been accomplished in view of above-mentioned situation. It is, therefore, a first object of the invention to provide an echo canceler and an echo path estimating method capable of estimating an echo path rapidly and with a high accuracy. A second object of the invention is to realize the first object without extensively altering the existing devices. The objects are solved by the features of the independent claims. The dependent claims are directed to preferred embodiments of the invention. Here, as one example of the training signal, there can be listed a pseudo noise or a filtered pseudo noise. The training signal is not particularly limited to one which is designed as a training signal, and a ring back tone or the like can be used for it. In the case where a pseudo noise is selected as the training signal, a certain pseudo noise is supplied to a first transmission line for transmitting the far-end talker's voice and then a coefficient necessary for generating an echo replica is calculated based on a correlation established between the pseudo noise and a signal of a second transmission line. This correlation is established under the condition that the voice level of the far-end talker's can be almost neglected. The expression "such a condition that....can be almost neglected" used herein refers to the "time for calculating a correlation being long enough to sufficiently lower a correlation between a noise to be added and a voice on the four-wire side". In other words, a training for estimating an echo path, namely, a training for generating an echo replica can be performed irrespective of the far-end talker's voice. It is more preferred here that the pseudo noise is subjected to filtering depending on the level or frequency characteristic of the near-end talker's voice, so that the characteristic may be varied. The reason is that even if a component of the pseudo noise is transmitted to the near-end talker through a hybrid circuit, no speech hindrance can be created. Further, since an echo replica is generated by adding a component of a pseudo noise, the component of the pseudo noise is eventually canceled and never transmitted to the far-end talker. Furthermore, if the voice signal corresponding to the voice on the four-wire side is delayed by a transmission delay occurred between the echo canceler and the hybrid circuit, the delayed first voice signal can be time-wise matched with the second voice signal corresponding to the voice on the two-wire side. Thus, there is almost no time for generating an echo replica only by the first voice signal. Since this specific improvement can be applied directly to the existing devices, the afore-mentioned entire modification, etc. of the echo canceler are not required. Moreover, if the first and second voice signals are up-sampled, there can be obtained an echo replica with a high accuracy. Since this specific improvement can be applied directly to the existing devices, the entire modification, etc. of the echo canceler are not required. Furthermore, if it is designed such that response characteristics or frequency characteristics of a plurality of hybrids are stored in a storage unit, one of the characteristics is selected based on the correlation between the transmission signal transmitted from the four-wire side to the two-wire side and the echo signal transmitted from the two-wire side to the four-wire side, and the various parameters are initialized based on the selected characteristic, the learning speed can be increased. Thus, this is more preferable. BRIEF DESCRIPTION OF DRAWINGS Fig. 1 is a block diagram showing a construction of a conventional echo canceler. Fig. 2 is a chart showing the waveform of an echo. Fig. 3 is a block diagram showing an important portion of an echo canceler according to a first embodiment of the present invention. Fig. 4 is a block diagram showing an important portion of an echo canceler according to a second embodiment of the present invention. Fig. 5 is a graph showing a frequency characteristic of a filter. Fig. 6 is a block diagram showing an important portion of an echo canceler according to a third embodiment of the present invention. Fig. 7 is a block diagram showing an example of an echo canceler; Fig. 8 is a block diagram showing a modification of the example; Fig. 9 is a block diagram showing an important portion of an echo canceler according to a fourth embodiment of the present invention; Fig. 10 is a block diagram showing an important portion of an echo canceler according to a fifth embodiment of the present invention; and Fig. 11 is a block diagram showing an important portion of an echo canceler according to a modified embodiment consisting of a combination of the third embodiment and the example. BEST MODE FOR CARRYING OUT THE INVENTION (FIRST EMBODIMENT) Fig. 3 is a block diagram showing an important portion of an echo canceler according to the present invention. Here, a pseudo noise generator 11 generates a certain pseudo noise and outputs it. As this pseudo noise, a noise of a certain level (for example, white noise) is used. This pseudo noise is added to a far-end voice input Rin by an adder 14, and its result is output as a far-end voice output Rout. Therefore, a part of the pseudo noise is mixed with the near-end voice input Sin through the hybrid circuit 2 and supplied to a coefficient calculator 15. The coefficient calculator 15 calculates a coefficient (for example, a tap coefficient such as a digital filter) necessary for generating an echo replica based on the far-end voice output Rout and the near-end voice input Sin. In that case, a correlation established under the condition that the far-end talker's voice is faint or the far-end talker is in a speechless condition as shown by the following equation (2). S ( t ) = ∫ 0 ∞ h ( τ ) n ( t − τ ) d τ In the above equation (2), t represents time and t = 0 is time for starting a measurement. A pseudo noise to be added (or applied) to Rout is represented by n(t) and a signal to be obtained in Sin is represented by S(t). h(t) is an impulse response of an echo. Here, since n(t) is a noise which is close to white, a relation shown in the following equation (3) can be established with respect to a sufficiently large value T L . I / N ⋅ ∫ 0 T L n ( τ ) n ( t + τ ) d τ = δ ( t ) Here, δ(t) is a delta function and becomes 1 in case of t = 0, and 0 in other cases. N is set as shown by the following equation (4). N = ∫ 0 T L n 2 ( τ ) d τ If the relation of the above equation (3) is used, ha(t), this being an estimated value of h(t), can be developed in a way as shown by the following equation (5). h a ( t ) = 1 / N ⋅ ∫ 0 T L n ( τ ) S ( t + τ ) d τ = 1 / N ⋅ ∫ 0 T L n ( τ ) ⋅ ∫ 0 ∞ h ( τ ′ ) n ( t + τ − τ ′ ) d τ ′ d τ = ∫ 0 ∞ h ( τ ′ ) ⋅ 1 / N ∫ 0 T L n ( τ ) n ( t − τ ′ + τ ) d τ d τ ′ In the above equation (5), a portion shown by the following equation (6) becomes 1 in case of t = τ', and 0 in other cases. 1 / N ∫ 0 T L n ( τ ) n ( t − τ ′ + τ ) d τ = δ ( t − τ ′ ) Therefore, the equation (5) can be approximated as shown by the equation (7). Eventually, the estimated value ha(t) becomes generally equal to h(t). h a ( t ) ≒ ∫ 0 ∞ h ( τ ′ ) δ ( t − τ ′ ) d τ ′ = h ( t ) It should be noted that the above h(t) is an impulse response of an echo and therefore, equal to the coefficient for generating an echo replica. This can be derived from the correlation shown by the above equation (2) as previously mentioned. The coefficient calculator 15 calculates this coefficient h(t) by means of the above-mentioned calculation procedure and outputs the same to an echo replica generator 16. This echo replica generator 16 generates an echo replica based on this coefficient. The details will now be described. Firstly, it is designed such that the echo replica generator 16, as in the case with a known adaptive filter, outputs an echo replica ya, based on the following equation (8). y a = h a t x where ha = (h 1 , h 2 , ····, h n ) t , ( t is a transposition of a vector) x = (x k-1 , X k-2 , ····, x k-n ) t , x j = x(jT), (T is a sampling interval, and x(hT) is a sampling result of the far-end voice signal Rout at time jT) In this embodiment, the coefficients h 1 , h 2 , ····, h n are set to h(T), h(2T), ····, h(nT), respectively. Accordingly, an echo component contained in the near-end voice input Sin is canceled by an adder 17. Since such an echo replica is generated by, as previously mentioned, adding a pseudo noise which is mixed with the far-end voice output Rout, it can be canceled even in the event that the component of the pseudo noise is mixed with the near-end voice input Sin. As a consequence, it can be avoided that the component of the pseudo noise is transmitted to the far-end talker. Therefore, a speech hindrance occurrable to the far-end talker by the admixture of the pseudo noise is not occurred. If a noise should be somehow transmitted to the near-end talker or far-end talker by the admixture of the pseudo noise, a possible speech hindrance would be avoided by appropriately adjusting the level of the specific pseudo noise, etc. (SECOND EMBODIMENT) Fig. 4 is a block diagram showing an important portion of an echo canceler according to a second embodiment of the present invention. In this embodiment, a pseudo noise generator 11, as in the case with the comparable one of the first embodiment, generates a certain pseudo noise and outputs it. On the other hand, a level/frequency characteristic measuring unit 12 measures the level and frequency characteristic of a signal of the near-end voice input Sin. Depending on a result of this measurement, characteristics of filters 13 and 18 are varied. Fig. 5(a) shows a frequency characteristic of the above pseudo noise. As shown in this illustration, a pseudo noise having a flat characteristic is employed. Fig. 5(b) shows a frequency characteristic of the near-end voice input Sin corresponding to the near-end talker's voice measured by the level/frequency characteristic measuring unit 12. The characteristic of the filter 13 is varied as shown in Fig. 5(c) in accordance with the measured frequency characteristic. In this embodiment, the filter characteristic is variably set such that the frequency of the near-end talker's voice is simulated and the difference in level is fixed (in the illustrated example, 20dB). The filter 18 is set such that it has an inverse characteristic with respect to that of the filter 13. With this feature, if the filters 13 and 18 are cascaded to each other, input and output signals of the cascaded circuit become equal to each other. The filter 13 renders the variable filter characteristic thus set to pseudo noise and then outputs the noise. Consequently, frequency characteristic of the pseudo noise is varied in accordance with the near-end talker's voice. Since the characteristic of the pseudo noise, when output, will come to correspond to the near-end talker's voice, any adverse effects to the near-end talker caused by the pseudo noise can be avoided even if such a pseudo noise is admixed with the far-end talker's voice output Rout and transmitted to the near-end talker through the hybrid circuit 2. The reason is that owing to the feature of the auditory sense, man hardly has a sense of physical disorder with respect to a signal whose frequency characteristic is approximated, and a possible deterioration in quality occurrable to a speech can be prevented from the viewpoint of man's physical sense of feel. Also, it is set such that the higher the level of the far-end talker's voice becomes, the higher the gain of the filter 18 becomes. This arrangement is also for the same reason as mentioned above. Namely, when the talk level is high, the noise can be hardly recognized by man even if the noise level is comparatively high. An output from the filter 13 is supplied to the transmission line for transmitting the far-end talker's voice through the adder 14 and served as the afore-mentioned far-end voice output Rout. Therefore, the output from the filter 13 is partly admixed with the near-end voice input Sin through the hybrid circuit 2 and then supplied to the filter 18. Since the filter 18 has an inverse characteristic with respect to that of the filter 13, an output from the filter 18 becomes similar to a signal obtainable when a pseudo noise output from the pseudo noise generator 11 is supplied directly to the hybrid circuit 2. Next, the coefficient calculator 15 calculates a coefficient (for example, a tap coefficient of a digital filter or the like) necessary for generating an echo replica based on the far-end voice output Rout and near-end voice input Sin. This principle will now be described in detail. Firstly, if a noise is represented by N(f) with respect to a frequency f; characteristic of the filter 11, by G(f); characteristic of the filter 18, by G -1 (f); and characteristic of an echo, by H(f), respectively, frequency characteristic S(f) of the near-end voice signal Sin can be given by the following equation (9). S ( f ) = H ( f ) G ( f ) N ( f ) Nextly, an output signal S'(f) of the filter 18 is given by the following equation (10). S ′ ( f ) = G − 1 ( f ) S ( f ) = G − 1 ( f ) S ( f ) = G − 1 ( f ) H ( f ) G ( f ) N ( f ) = H ( f ) N ( f ) A correlation computation output between this and N (f) can be expressed by the following equation (11). H a ( f ) = S ′ ( f ) N ∗ ( f ) = H ( f ) N ( f ) N ∗ ( f ) In the above equation, since N (f) is a noise close to white, the following equation (12) is approximately established. N ( f ) N ∗ ( f ) ≒ 1 Therefore, the following equation (13) is established and an impulse response of an echo can be approximately obtained. H a ( f ) ≒ H ( f ) Therefore, in a time area, an impulse response of an echo, namely, a coefficient for generating an echo replica can be obtained from a correlation computation (the under-listed equation (14)) between an output S (t) of the filter 18 and an output n (t) of the noise generator 11. h a ( t ) = 1 / N ⋅ ∫ 0 T L S ′ ( τ ) n ( t − τ ) d τ where N = ∫ 0 T L n 2 ( τ ) d τ The echo replica generator 16, as in the case with the known adaptive filter, outputs an echo replica ya based on the following equation (15) (as in the case with the equation (7) of the first embodiment). y a = h a t x where ha = (h 1 , h 2 , · · · · , h n ) t x = (x k-1 , x k-2 , ···, x k-n ) t , x j = x (jT) In this embodiment, the coefficients h 1 , h 2 , ····, h n , are set to ha (T), ha (2T), ····, ha (nT), respectively. Therefore, the echo component contained in the near-end voice input Sin is canceled by the adder 17. Such an echo replica, as mentioned above, is generated by adding a pseudo noise which is admixed with the far-end voice output Rout. Therefore, even if the component of the specific pseudo noise is admixed with the near-end voice input Sin, the noise can be canceled. Eventually, it can be avoided that the component of the pseudo noise is transmitted to the far-end talker. Therefore, a speech hindrance occurrable to the far-end talker by the admixture of the pseudo noise is not occurred. If a noise should be somehow transmitted to the near-end talker or far-end talker by the admixture of the pseudo noise, such a possible speech hindrance would be avoided by appropriately adjusting the level of the specific pseudo noise, etc. As mentioned above, according to this embodiment, the pseudo noise, whose frequency characteristic is variable in accordance with the near-end talker's voice, is forcibly supplied to the transmission line for transmitting the far-end talker's voice, and an echo path is estimated and an echo replica is generated by using the specific pseudo noise. Accordingly, a training for estimating an echo path can be carried out irrespective of the far-end talker's voice. Thus, by transfiguring the noise in accordance with the level/frequency of the near-end voice, an appropriate echo replica can be generated while minimizing a possible deterioration of speech quality of the near-end talker. (THIRD EMBODIMENT) A third embodiment of the present invention will now be described. In this embodiment, the far-end voice input Rin and the near-end voice input Sin are time-wise matched, so that accuracy of cancellation characteristic of the echo canceler is improved. Fig. 6 is a block diagram showing a construction of the third embodiment. An echo canceler 10 shown in this illustration is different from the conventional echo canceler 1 shown in Fig. 1 in the respect that a delay circuit 31 for delaying the far-end voice input Rin is located on a front stage of an echo path estimation/echo replica generation circuit 3. A delay time in this delay circuit 31 is generally equal to a transmission delay occurrable between an echo canceler 10 and a hybrid circuit 2. Next, effects of the above construction will be described. As mentioned above, in the prior art having no delay circuit 31, the near-end voice input Sin from the hybrid circuit 2 is delayed in response by the above-mentioned delay time with respect to the far-end voice input Rin. Accordingly, the far-end voice input Rin is input first in the echo path estimation/echo replica generation circuit 3 and then the corresponding near-end voice input Sin is input therein with the above-mentioned delayed time. For this reason, if the delay time corresponds to the calculating time of, for example, 200 taps of the FIR filter, it is only 312 taps among so many taps as 512 that can be substantially contributed to the estimation of an echo path and/or generation of an echo replica in the procedure of an echo path estimation/echo replica generation. In contrast, in this embodiment, since the delay time with respect to the hybrid circuit 2 is given to the far-end voice input Rin so that the far-end voice input Rin is time-wise matched with the near-end voice input Sin, the performance of the FIR filter can be fully extracted and an echo replica can be generated with a higher accuracy. Thus, accuracy of the cancellation characteristic of the echo canceler can be improved. Moreover, since the existing devices can be directly used in this embodiment, the afore-mentioned entire modification, etc., are no more required. Fig. 7 is a block diagram of an example of an echo canceler 20 in which an up-sampler 32 for up-sampling the far-end voice input Rin and another up-sampler 33 for up-sampling the near-end voice input Sin are located at a front stage of an echo path estimation/echo replica generation circuit 3, and a down-sampler 34 for down-sampling an echo replica is located at a rear stage of the echo path estimation/echo replica generation circuit 3. Here, if, for example, the sampling frequency of the far-end voice input Rin and near-end voice input Sin is 8 k Hz (=Fs), the sampling frequency of the up-samplers 32, 33 is 16 k Hz of 2 Fs. Similarly, the sampling frequency by the down-sampler 34 is 8 k Hz of Fs. Next, effects of the above-mentioned construction will be described. With such a construction as mentioned above, the estimation of an echo path and/or generation of an echo replica are performed at the same 2 Fs as the up-samplers 32, 33. Since this echo is generated by convolutional operation between an echo path estimated based on the up-sampled far-end voice input Rin and near-end voice input Sin and the up-sampled far-end voice input Rin, its accuracy is higher than the conventional echo canceler. As a consequence, accuracy of the cancellation characteristic of the echo canceler can be improved. Furthermore, there is such an advantage that the speed of convergence becomes faster as the sampling rate is increased. In addition, since the echo canceler of this example, as in the case with the third embodiment, can use the existing devices as they are, the afore-mentioned entire modification, etc. are no more required. (FOURTH EMBODIMENT) A. CONSTRUCTION OF THE EMBODIMENT Fig. 9 is a block diagram of an important portion of an echo canceler according to a fifth embodiment of the present invention. In this device, an initial estimation circuit 7 is employed in addition to the echo canceler of Fig. 1. A portion which is not illustrated is constructed in the same way as Fig. 1. In Fig. 9, reference numeral 71 denotes a delay time measuring circuit. The delay time measuring circuit 71 obtains a delay time T D (see Fig. 2) based on the near-end voice input Sin and the far-end voice output Rout and outputs its result. As means for obtaining the delay time T D , for example, a difference between the time when a peak of the near-end voice input Sin is generated and the time when a peak of the far-end voice output Rout is generated, both in a predetermined period may be obtained, or a mutual correlation between the two signals may be obtained. Reference numeral 75 denotes a delay circuit. This delay circuit 75 delays the far-end voice output Rout by the delay time T D which is output from the delay time measuring circuit 71. Reference numeral 72 denotes a level ratio measuring circuit. This level ratio measuring circuit 72 compares a level between the near-end voice input Sin and the far-end voice output Rout and supplies a signal corresponding to the ratio to one end of a multiplier 76. Also, the delayed far-end voice output Rout is supplied to another end of the multiplier 76. Accordingly, a far-end voice output Rout, which is normalized in delay time and level (this output is hereinafter referred to as "the signal Rout"'), is output from the multiplier 76. Reference numeral 74 denotes a waveform data base. This waveform data base 74 stores characteristic data of echo waveforms for various kinds of hybrids. The terms "characteristic data" used herein refers to the tap coefficient b i (see the equation (1)) in the FIR filter of the echo path estimation/echo replica generation circuit 3. It should be noted that there are about dozens kinds of hybrids which are currently used in a telephone line and it is not a difficult job to store the characteristic data for all kinds of hybrids. Reference numeral 73 denotes a configuration comparator. This configuration comparator 73 selects one of the characteristic data, which is most resemble the actual correlation, based on the correlation between the signal Rout' and the near-end voice input Sin. The selected characteristic data (tap coefficient b i ) is set to an initial value of the tap coefficient of the FIR filter of the echo path estimation/echo replica generation circuit 3. The far-end voice output Rout, which was delayed by the delay circuit 75, is supplied also to the echo path estimation/echo replica generation circuit 3. Thus, in the echo path estimation/echo replica generation circuit 3, no delay time T D (see Fig. 2) exists between the near-end voice input Sin and the far-end voice output Rout. It should be noted that the delay time measuring circuit 71, level ratio measuring circuit 72 and configuration comparator 73 are all stopped in operation when a double talk is detected in the control unit 4 (i.e., when the double talk signal DT is output). B. OPERATION OF THE EMBODIMENT Next, operation of this embodiment will be described. Firstly, when the far-end talker issues some voice, its content is supplied to the delay time measuring circuit 71 in the form of the far-end voice output Rout. When the near-end voice input Sin, as an echo based on it, is supplied to the delay time measuring circuit 71 before long, the delay time T D is calculated in the delay time measuring circuit 71 and its value is supplied to the delay circuit 75 and the echo path estimation/echo replica generation circuit 3. As a consequence, the far-end voice output Rout, which is now delayed by T D , is supplied to the level ratio measuring circuit 72. The level ratio measuring circuit 72, in turn, supplies a signal corresponding to a ratio of level between the near-end voice input Sin and the far-end voice output Rout to one end of the multiplier 76. By doing this, the signal Rout', which is now normalized in delay time and level, is supplied to the configuration comparator 73. In the configuration comparator 73, one of the characteristic data stored in the waveform data base 74, which is most resemble the actual correlation, is selected based on the correlation between the signal Rout' and the near-end voice input Sin. The selected characteristic data is corrected its level by the multiplier 77 and is then supplied to the echo path estimation/echo replica generation circuit 3. By this procedure, an initial value of the tap coefficient of the FIR filter is set. The far-end voice output Rout, which is now delayed by T D , is further supplied to the echo path estimation/echo replica generation circuit 3 through the delay circuit 75. At the time point when the setting of the delay time T D with respect to the delay circuit 75 and the setting of an initial value of the tap coefficient b i with respect to the FIR filter are all finished in the way as just mentioned, the operation of the initial estimation circuit 7 is finished. Thereafter, in the echo path estimation/echo replica generation circuit 3, a learning identification is made based on the near-end voice input Sin and the far-end voice output Rout, and the tap coefficient b i is appropriately changed in order to estimate a more correct echo path. In this way, according to the present invention, the delay time of the delay circuit 75 can be set by the delay time measuring circuit 71 and an initial value of the tap coefficient b i in the echo path estimation/echo replica generation circuit 3 can be set by the configuration comparator 73 and the waveform data base 74. Of course, the estimation of an echo path is not finished by those initial values and a further learning is required in the echo path estimation/echo replica generation circuit 3. However, with the above-mentioned arrangement, the time required for converging the result of learning can be remarkably shortened by rendering the initial values having a somewhat satisfactory degree of correctness to the echo path estimation/echo replica generation circuit 3. Moreover, according to the present invention, since the far-end voice output Rout, which is now delayed by T D , is supplied to the echo path estimation/echo replica generation circuit 3 through the delay circuit 75, load of the learning in the echo path estimation/echo replica generation circuit 3 can be reduced and an echo path estimation can be performed at a higher speed and with a higher accuracy. As described in the foregoing, according to the echo canceler of this embodiment, since the delay time at the time when an echo replica is generated is pre-set or a comparatively more accurate initial value of each parameter can be set, an echo path estimation can be performed at a high speed and with a high accuracy. (FIFTH EMBODIMENT) A. CONSTRUCTION OF THE EMBODIMENT Fig. 10 is a block diagram of an important portion of an echo canceler according to one embodiment of the present invention. In this embodiment, a spectrum comparator 81 and a frequency response data base 81 are employed in the place of the configuration comparator 73 and the waveform data base 74 of the fifth embodiment. The frequency response data base 81 stores data of frequency response characteristics of various kinds of hybrids. Since there are only about dozens kinds of hybrids which are currently used in a telephone line as previously mentioned, it is not a difficult job to store data of the frequency response characteristics of all kinds of hybrids. The spectrum comparator 81 selects one of the frequency response characteristics, which is most resemble the actual characteristic, based on the correlation between the signal Rout' and the near-end voice input Sin. A convertor 83 converts the selected frequency response characteristic to a response characteristic on a time axis. Specifically, the frequency response characteristics are converted to the tap coefficients b i and those tap coefficients b i are set to initial values of the tap coefficients of the FIR filer of the echo path estimation/echo replica generation circuit 3. The spectrum comparator 81 is, as in the case with the configuration comparator 73 of the fifth embodiment, stopped in operation when a double talk is detected (i.e., when a double talk signal DT is output) in the control unit 4. B. OPERATION OF THE EMBODIMENT Next, operation of this embodiment will be described. Firstly, when the far-end talker issues some voice, its content is supplied to the delay time measuring circuit 71 in the form of the far-end voice output Rout. When the near-end voice input Sin, as an echo based on it, is supplied to the delay time measuring circuit 71 before long, the delay time T D is calculated in the delay time measuring circuit 71 and its value is supplied to the delay circuit 75 and the echo path estimation/echo replica generation circuit 3. As a consequence, the far-end voice output Rout, which is now delayed by T D , is supplied to the level ratio measuring circuit 72. The level ratio measuring circuit 72, in turn, supplied a signal corresponding to a ratio of level between the near-end voice input Sin and the far-end voice output Rout to one end of the multiplier 76. By doing this, the signal Rout', which is now normalized in delay time and level, is supplied to the spectrum comparator 81. In the spectrum comparator 81, one of the characteristic data stored in the frequency response data base 82, which is most resemble the actual characteristic, is selected based on the correlation between the signal Rout' and the near-end voice input Sin. The selected characteristic is converted to the tap coefficient b i through the convertor 83, then corrected its level by the multiplier 77 and then supplied to the echo path estimation/echo replica generation circuit 3. By this procedure, an initial value of the tap coefficient of the FIR filter is set. At the time point when the setting of the delay time T D with respect to the delay circuit 75 and the setting of an initial value of the tap coefficient b i with respect to the FIR filter are all finished in the way as just mentioned, the operation of the initial estimation circuit 7 is finished. Thereafter, in the echo path estimation/echo replica generation circuit 3, a learning identification is made based on the near-end voice input Sin and the far-end voice output Rout, and the tap coefficient b i is appropriately changed in order to estimate a more correct echo path. In this way, according to this embodiment, the delay time of the delay circuit 75 can be set by the delay time measuring circuit 71 and an initial value of the tap coefficient b i can be set by the delay time measuring circuit 71, frequency response data base 81 and convertor 83. As described above, according to this embodiment, the time required for converging the result of learning can be remarkably shortened as in the case with the fifth embodiment by rendering the initial values having a somewhat satisfactory degree of correctness to the echo path estimation/echo replica generation circuit 3. (MODIFIED EMBODIMENT) It should be noted that the present invention is not limited to the above-mentioned embodiments. For example, many changes and modifications can be made as follows. ① In any of the above-mentioned embodiments, the present invention is applied to a signal transmission between a mobile telephone and a terrestrial telephone. However, application of the present invention is not limited to this. The present invention can be applied to all communication networks in which a signal transmission is made between a two-wire circuit and a four-wire circuit. ② In the first and second embodiments, the pseudo noise generator 11 normally generates a pseudo noise. However, an arrangement may also be made, in which a call boundary is received from the switch and no pseudo signal is generated until after the passage of a certain time. Owing to this arrangement, the learning can be finished by the time the near-end talker brings the receiver very close to the ear, so that a pseudo noise can be prevented from being transmitted to the near-end talker at the time a speech is actually made. ③ The pseudo noise generator 11 may generate a pseudo noise when the far-end talker remains in a speechless condition for more than a predetermined time. The reason is that when the far-end talker side is in a speechless condition, transmission of a noise, if any, to the near-end talker side cannot be any hindrance to the speech. ④ The pseudo noise generator 11 may generate a pseudo noise when a cancellation of echo has gone below a predetermined level in the adder 17. The reason is that there is a high possibility of no generation of normal echo replica in the echo replica generator 16 and a re-learning seems to be desirable. ⑤ The level of a pseudo noise is constant in the first embodiment. However, the level of a pseudo noise may be decreased as the time required for carrying out the correlation operation is increased. ⑥ Fig. 11 shows one example of a construction of an echo canceler 30 which is comprised of a combination of the third embodiment and the example. A delay circuit 31 is located at a front stage of the up-sampler 32. This delay circuit 31 is adapted to delay the far-end voice input Rin by a transmission delay occurrable between the echo canceler 30 and the hybrid circuit 2. According to this constitutional example, accuracy of the cancellation characteristic of the echo canceler can be more improved by the multiplier effect of the third and fourth embodiments. ⑦ In the fourth embodiment, the waveform data base 74 stores the tap coefficient b i as the characteristic data. However, the characteristic data is not limited to the tap coefficient b i . For example, an alpha parameter, an LSP parameter, a per-call coefficient or the like, which can indicate the response characteristics of various kinds of hybrids, may be stored as the characteristic data. ⑧ In the fourth and fifth embodiments, the echo path estimation/echo replica generation circuit 3 is not limited to one which employs the learning identification algorithm. In the alternative, a wide range of algorithms such as Kalman filter and the like may be employed. ⑨ In the fourth and fifth embodiments, the echo path estimation/echo replica generation circuit 3 may be redesigned such that at first, the level of the echo replica is set to be smaller than the estimated value and it is gradually increased to the original level with the passage of time. The reason is that since it is difficult to estimate an echo replica correctly at the early stage, a high setting of the level of the echo replica signal Y rather results in such an inconvenience as a generation of a noise, etc. ⑩ In the third to fifth embodiments, an echo path is estimated based on a voice produced by the far-end talker. In the alternative, an echo path may be estimated using other signals. For example, in the case where a calling is issued from the near-end, an echo path may be estimated using a ring back tone, whereas in the case where a calling is issued from the far-end, an echo path may be estimated by transmitting a training signal to the hybrid immediately after the off-hook is made on the near-end side so that an echo path is estimated based thereon. The reason is that owing to the foregoing arrangement, when the near-end talker or the far-end talker actually starts a speech, an accurate echo path estimation is already obtained. ⑪ In the fourth and fifth embodiments, the far-end voice output Rout, which has been delayed by the delay circuit 75, is supplied to the echo path estimation/echo replica generation circuit 3. In the alternative, a non-delayed far-end voice output Rout may be supplied to the echo path estimation/echo replica generation circuit 3. In that case, the far-end voice output Rout may be delayed by the delay time T D measured in the delay time measuring circuit 71, within the echo path estimation/echo replica generation circuit 3 (specifically, in a numerical figure 1, a corresponding tap coefficient b i is brought to "O"). By doing this, even if the delay time T D is varied, the echo replica can be made obedient to the delayed time T D by means of a learning within the echo path estimation /echo replica generation circuit 3.

Claims: An echo canceller employed in a communication line network including a first transmission line for transmitting a voice of a four-wire side and a second transmission line for transmitting a voice of a two-wire side, said echo canceller comprising: training signal generator means (3, 11) for generating a training signal and supplying the same to said first transmission line; coefficient calculator means (3, 15) for calculating a coefficient necessary for generating an echo replica based on a correlation established between the training signal supplied to said first transmission line and a signal (Sin) of said second transmission line; storage means (74, 82) for storing response characteristics of a plurality of hybrids (2); selector means (73, 81) for selecting one of said response characteristics that most resembles the actual correlation between a signal (Rout') based on a transmission signal (Rout) including said training signal propagated on said first transmission line and said signal (Sin) of said second transmission line including an echo signal; echo replica generator means (3, 16) for estimating an echo path by a predetermined learning algorithm and generating an echo replica by appropriately delaying the transmission signal (Rout) and transfiguring the signal (Rout) in accordance with a predetermined parameter; and initial parameter setting means (77) for setting an initial value of said parameter based on the response characteristic selected by said selector means (73, 81). An echo canceller according to claim 1, further comprising: delay time measuring means (71) for measuring a delay time of the echo signal with respect to the transmission signal based on the transmission signal from said four-wire side to said two-wire side and the echo signal transmitted from said two-wire side to said four-wire side; and delay setting means (75) for setting the delay time in said echo replica generator means to a delay time measured by said time measuring means. An echo canceller according to claim 1, further comprising: storage means (82) for storing frequency characteristics of a plurality of hybrids; selector means (81) for selecting one of said frequency response characteristics that most resembles the actual correlation between the signal (Rout') based on the transmission signal (Rout) including said training signal propagated on said first transmission line and said signal (Sin) of said second transmission line including an echo signal; echo replica generator means (3, 16) for estimating an echo path by a predetermined learning algorithm and generating an echo replica by appropriately delaying the delay a predetermined time. An echo canceller according to claim 3, further comprising: delay time measuring means (71) for measuring a delay time of the echo signal with respect to the transmission signal based on the transmission signal (Rout) transmitted from said four-wire side to said two-wire side and the echo signal transmitted from said two-wire side to said four-wire side; and delay setting means (75) for setting a delay time in said echo replica generator means to a delay time measured by said delay time measuring means (71). An echo canceller according to claim 1, further comprising: estimation means (3) for estimating, on the basis of a first voice signal corresponding to the voice on the four-wire side and on a second voice signal corresponding to the voice on the two-wire side, a response characteristic of a hybrid circuit (2) for converting the four-wire side and the two-wire side; echo replica generator means (3, 16) for artificially generating an echo caused by said hybrid circuit by means of calculation using the estimated result and said second voice signal; subtraction means (5, 17) for subtracting an output signal of said echo replica generator means (3, 16) from said second voice signal; and delay means for supplying said first voice signal with a delay of a predetermined time. An echo-path estimating method applicable to an echo canceller employed in a communication line network including a first transmission line for transmitting a voice of a four-wire side and a second transmission line for transmitting a voice of a two-wire side, said echo path estimating method comprising the steps of: generating a training signal and supplying the same to said first transmission line; calculating a coefficient necessary for generating an echo replica based on a correlation established between the training signal supplied to said first transmission line and a signal of said second transmission line; storing response characteristics of a plurality of hybrids; selecting one of said response characteristics that most resembles the actual correlation between the signal (Rout') based on the transmission signal (Rout) including said training signal propagated on said first transmission line and said signal (Sin) of said second transmission line including an echo signal; estimating an echo path by a predetermined learning algorithm and generating an echo replica by appropriately delaying the transmission signal and transfiguring the signal in accordance with a predetermined parameter; and setting an initial value of said parameter based on the response characteristic selected by said selector means. An echo path estimating method according to claim 6, further comprising the steps of: storing frequency characteristics of a plurality of hybrids; selecting one of said frequency response characteristics based on a relation between a transmission signal propagated from said four-wire side to said two-wire side and an echo signal propagated from said two-wire side to said four-wire side; estimating an echo path by a predetermined learning algorithm and generating an echo replica by appropriately delaying the transmission signal and transfiguring the signal in accordance with a predetermined parameter; and setting an initial value of said parameter based on the frequency response characteristic selected by said selector means. An echo canceller according to any one of claims 2, 4, and 5, further comprising: an up-sampler (32) for up-sampling a signal (Rin) of the first transmission line, another up-sampler (33) for up-sampling the signal (Sin) of said second transmission line, and a down-sampler (34) for down-sampling the echo replica. An echo-path estimating method according to any one of claims 5 to 7, further comprising the steps of: up-sampling a signal (Rin) of said first transmission line, up-sampling said signal (Sin) of said second transmission line, and down-sampling said echo replica.

Inventors: KAWAHARA TOSHIRO, MIKI TOSHIO, OHYA TOMOYUKI, SUDA HIROHITO, TAKAGI HIROFUMI, KAWAHARA, TOSHIRO, MIKI, TOSHIO, OHYA, TOMOYUKI, SUDA, HIROHITO, TAKAGI, HIROFUMI, Kawahara, Toshiro c/oNTTDoCoMo,Inc,Pat.&Trad.Group, Miki, Toshio c/o NTT DoCoMo Inc.Pat.& Trad.Group, Ohya, Tomoyuki c/o NTT DoCoMo Inc.,Int.Prop.Dept., Suda, Hirohito c/o NTT DoCoMo Inc., Int.Prop.Dept, Takagi, Hirofumi c/o NTT DoCoMo Inc.Int.Prop.Dept.
Applicants: NIPPON TELEGRAPH & TELEPHONE, NTT MOBILE COMMUNICATIONS NETWORK INC.
Application year: 1995
Main classification: H04B3
IPC codes: H04B3