Automatically variable circuit of sound level of received voice signal in telephone

Abstract: In an apparatus of adjusting a sound level of a reception voice (Vi) in a telephone, an audio signal including a transmission voice signal (58) and a peripheral noise is inputted through a microphone (2). A gain control signal corresponding to a level of the peripheral noise is generated while the transmission voice signal (Vo) is not present and the gain control signal immediately before input of the transmission voice signal is started is held and outputted while the transmission voice signal is present. A variable gain amplifier (20) amplifies a reception voice signal (Vi) in accordance with the gain control signal (58) such that a voice corresponding to the reception voice signal is outputted from a speaker (22) with a sound level determined in accordance with the gain control signal (58).

Description: Background of the Invention 1. Field of the Invention The present invention relates to a telephone, and more particularly to a circuit for automatically varying the sound level of a received voice signal in a telephone. 2. Description of Related Art Many types of sound level automatically variable circuit in a telephone are already known. In these circuits, the sound level of a received voice signal is adjusted in accordance with a noise level inputted from a voice inputting microphone in a telephone. That is, when the level of peripheral noise is so high that it is difficult to hear the transmitted voice of another person, the sound level of the received voice signal is increased in accordance with the peripheral noise level. It is specifically important when communication is performed using a portable phone. In order to realize such a sound level automatically variable circuit of a received voice signal, there have been conventionally made some proposals. Fig. 1 is a block diagram illustrating an example of conventional sound level automatically variable circuit for the received voice signal which is disclosed in Japanese Laid Open Utility Model disclosure (Zitsukaisho 61-168747). Referring to Fig. 1, in the operation, a noise signal is detected from a voice signal inputted from a microphone 101 by a filter circuit 121. The noise signal amplified by an amplifier 122 is rectified by a rectifying circuit 123. The rectified output voltage is compared with a preset reference voltage in a voltage comparator 124. An analog switch 126 is controlled by the output of the comparator 124 so that the feed-back amount of a variable gain amplifier 110 is varied. As a result, the gain is varied and the sound level of the received voice signal from a speaker 111 is varied. Further, there is another proposal in which a microphone for inputting noise is provided in addition to a voice inputting microphone and the audio signals from both the microphones are inputted to a comparator to remove a voice signal component of a speaking person such that a noise component can be obtained, as described in Japanese Laid Open Patent Disclosures (Tokukaihei 4-40142 and Tokukaihei 1-202960). As a result, a variable gain amplifier is controlled in accordance with the difference between the two audio signals, i.e., the noise component. Further, in Japanese Laid Open Patent Disclosure (Tokukaihei 4-82331), the circuit is disclosed in which peripheral noise is calculated from voice signal inputted to a voice inputting microphone using a speech codec, and compared with two threshold levels preset through a button operation by a speaking person before he calls another person or is called by another person such that the sound level of the received voice signal is varied with three levels in accordance with the noise level and the threshold levels. Furthermore, in Japanese Laid Open Patent Disclosure (Tokukaihei 2-250455), there is disclosed the circuit in which peripheral noise is detected in an off-hook state of a telephone, and the sound level of a speaker is adjusted in accordance with the detected peripheral noise level in a communication state. In the above-mentioned conventional sound level automatically variable circuit for a received voice signal, however, there are the following problems in the detection of peripheral noise and the gain control of amplification of the received voice signal. That is, in a method according to the Zitsukaisyou 61-168747, since the noise component having the same band as that of the voice signal is removed by the filter in the detection of the peripheral noise, the sound level of the received voice signal cannot be varied even if there is a great noise component in the same band as that of the voice signal. Also, in the methods according to Tokukaihei 4-40142 or Tokukaihei 1-202960, since a microphone different from a microphone for inputting voice is required to detect the peripheral noise, it blocks the need for a small type of telephone such as a portable telephone. In the method according to Tokukaihei 4-82331, since the speech codec section is required to execute DSP processing, there is a problem in making a telephone small, being manufactured with a low cost, and being operable with a small current. Further, in the method according to Tokukaihei 2-250455, since the peripheral noise is detected in the on-hook state but it is not detected in the off-hook state, i.e., in the communication state, there is a problem in that the sound level cannot be appropriately adjusted in accordance with the peripheral noise in the communication state in the telephone such as a portable telephone used a place where the peripheral circumstances are varied. EP-A-0 495 360 discloses an apparatus for adjusting a sound level of a reception voice signal in a telephone, comprising a signal/noise detector of a commercially available circuit chip. The signal/noise detector issues two different signals which are based on input signals of a microphone. By processing these signals background noise and a voice signal can be detected such that a speaker can be controlled depending on the level of the background noise during periods in which no voice signal is present. Summary of the Invention The present invention is made to solve the above conventional problems and has, as an object, to provide a sound level automatically variable circuit for a received voice signal which does not require an additional microphone different from a voice inputting microphone so that it can be made small. Another object of the present invention is to provide a method and apparatus in which the sound level of the received voice signal can be adjusted in the communication state without influence of a transmission voice signal on which a noise component is superimposed. These objects are achieved by an apparatus as claimed in claim 1 and by a method as defined in claim 4; the dependent claims are related to further developments of the invention. Brief Description of the Drawings Fig. 1 is a block diagram of an example of conventional sound level variable circuit for a received voice signal; Fig. 2 is a block diagram of a sound level automatically variable circuit for a received voice signal according to an embodiment of the present invention; and Figs. 3A to 3E are the waveforms of output signals in various portions in the embodiment shown in Fig. 2. Description of the Preferred Embodiments Next, an embodiment of the present invention will be described with reference to the accompanying drawings. Fig. 2 is a block diagram of a sound level automatically variable circuit for a received voice signal according to the embodiment of the present invention. In Fig. 2, the sound level automatically variable circuit includes an inputting section of an audio signal including a voice signal and peripheral noise, a transmitting section for transmitting a voice signal, a sound level adjusting section which is composed of an amplifier control section for generating a gain control signal in accordance with the presence or absence of the transmission voice signal and a period after the input of the transmission voice signal is stopped or ended, and a variable gain amplifier section for amplifying a reception voice signal in accordance with the gain control signal, and an outputting section for outputting the sound of reception voice signal amplified by the sound level adjusting section. The inputting section is composed of a microphone 2 and an amplifier 4. The microphone 2 is of a normal telephone and inputs voice and/or peripheral noise to convert into an audio signal 42. The amplifier 4 amplifies the audio signal 42 to output as the amplified audio signal 44. The amplified audio signal 44 is supplied to the amplifier control section which is composed of a voice signal band pass filter 6, a rectifying circuit 8, a smoothing circuit 10, a voice signal level comparator 12, a timing circuit 14, a switch 16, and a noise level detecting & holding circuit 18. The voice signal band pass filter 6 passes only the component of voice signal band of the amplified audio signal 44 to output the audio signal component of voice signal band 46 to the rectifying circuit 8 and an amplifier 26 as the transmitting section. The amplifier 26 amplifies the audio signal component 46 including a voice signal component to output to the remote telephone as the voice signal 111 from the user of the telephone. On the other hand, the rectifying circuit 8 rectifies the audio signal component 46 to output as the rectified signal 48. The smoothing circuit 10 smoothes the rectified signal 48 to produce an envelope signal 50 of the rectified signal 48. The voice signal level comparator 12 converts the inputted envelope signal 50 into a rectangular wave based on a predetermined fixed threshold value to output as a comparison signal 52. That is, the voice signal comparator 12 compares the envelope signal 50 with the threshold value and outputs the binary comparison signal 52 which has a "high" level when the envelope signal 50 is higher than the threshold value and has a "low" level when it is lower than the threshold value. In this case, the threshold value is desirably determined to be sufficiently higher than an expected level of peripheral noise. Thus, the peripheral noise of a voice signal band and a small voice signal from persons at the periphery of the telephone other than the user of the telephone can be both removed. The timing circuit 14 generates and supplies a switch control signal 54 from the comparison signal 52 to switch 16 such that the switch 16 is set to an "off" state while the comparison signal 52 is in a "high" level and during a predetermined time period after the comparison signal 52 changes from the high level to the low level and that the switch 16 is set to an "on" state while the comparison signal is in the "low" level after the predetermined time period if the comparison signal is kept to be in the low level. As a result, if the switch control signal is in the low level, the switch 16 is turned on or closed to connect the amplified audio signal 44 to the noise level detecting & holding circuit 18. This is because it is to be taken into account that it becomes difficult to hear due to frequent changes of the sound level of a received voice signal, if the sound level is changed each time a voice signal absence period of a short time period appears between words while the user continues to speak. For this reason, if the duration of "low" of the comparison signal is shorter than the predetermined time period, it is determined that the input of a voice signal is possibly continued during the communication, so that the switch control signal for setting the switch 16 to the "off" state is outputted such that the noise detection is not performed. In this manner, the switch 16 is controlled in accordance with the switch control signal 54 outputted from the timing circuit 14. The switch control signal 54 is also supplied to the noise level detecting & holding circuit 18. The noise level detecting & holding circuit 18 detects the level of the amplified audio signal 44, i.e., the peripheral noise level when the switch control signal 54 is in the low level so that the switch 16 closes. Accordingly, the circuit 18 outputs a gain control signal 58 proportional to the peripheral noise level to the variable gain amplifier 20 as the variable gain amplifier section. The holding circuit 18 holds the gain control signal 58 immediately when the switch control signal 54 changes from the low level to the high level such that the switch 16 is opened. In other words, the holding circuit 18 holds the gain control signal 58 in response to the change of the switch control signal 54 from the low level to the high level. Then, the circuit 18 outputs the held gain control signal 58 to the variable gain amplifier 20. The variable gain amplifier 20 amplifies a received voice signal 60 from the other user of the remote telephone in proportional to the gain control signal 58 to output as a speaker input signal 62. The speaker 22 converts the speaker input signal 62 into voice to output it. Next, the operation of the embodiment will be described with reference to Figs. 3A to 3E. If a user utters voice, the voice is converted into an audio signal 42 as well as the peripheral noise by the voice input microphone 2 and outputted from the amplifier 4 as the amplified audio signal 44. If the user does not utters voice, only peripheral noise is inputted to the microphone 2 and amplified by the amplifier 4. The amplified audio signal 44 is passed through the voice signal band pass filter 6 which passes only the component of a voice signal band of the amplified signal 44 and produces a filtered voice signal 46 as shown in Fig. 3A. This filtered signal 46 is amplified by the amplifier 26 to be outputted to the remote telephone as the voice signal 111 of the user of the telephone, while the signal 46 is also rectified by the rectifying circuit 8 to produce a rectified signal 48 as shown in Fig. 3B. The rectified signal 48 is supplied to the smoothing circuit 10. The rectified signal 48 is smoothed by the smoothing circuit 10 such that an envelope component is extracted as shown in Fig. 3C, and outputted to the voice signal level comparator 12 as the envelope signal 50. The voice signal level comparator 12 outputs the comparison signal 52 shown in Fig. 3D and having the "high" level for the portion where the envelope signal 50 is higher than the predetermined threshold value as shown in Fig. 3C, and the "low" level for the potion where it is lower than the threshold value. The timing circuit 14 prevents the received voice from becoming difficult to hear due to frequent changes of the sound level of a received voice signal 60. The switch control signal 54 as the output of the timing circuit 14 is set as shown in Fig. 3E when the comparison signal 52 shown in Fig. 3D is inputted. That is, the timing circuit 14 outputs the switch control signal 54 to the switch 16 such that the switch 16 is set to the "off" state when the comparison signal is in the "high" level. The timing circuit 14 also holds the switch control signal 54 in the "off" state in a case that the low state of the comparison signal 52 is shorter than a predetermined time period T P , for example, one second as shown by "LOW1". On the other hand, the switch control signal 54 is changed into the "on" state after held in the "off" state during the predetermined time period, in a case that the low state of the comparison signal 52 is longer than the predetermined time period as shown by the "Low2". When the switch control signal 54 is in the "on" state, the voice signal is regarded to be not present so that the switch 16 is closed such that the amplifier 4 is connected to the noise level detecting circuit 18. In this case, since only the peripheral noise is inputted into the microphone 2, the amplified peripheral noise is inputted to the noise level detecting circuit 18. As a result, the peripheral noise level is detected by the circuit 18 and the gain control signal 58 having the magnitude proportional to the detected noise level is outputted to the variable gain amplifier 20. As well known, the gain of the variable gain amplifier 20 becomes great as the magnitude of the gain control signal 58 is great. As the result, the speaker input signal 62 becomes also greater so that the sound level of the received voice signal is increased in the speaker 22. When the switch control signal 54 changes from the on state to the off state, the holding circuit 18 holds the level of the gain control signal 58. While the switch control signal 54 is in the "off" state, the switch 16 is opened so that the noise level detecting circuit 18 continues to output the gain control signal 58 which is the same as outputted immediately before the switch 16 is changed into the "off" state. The gain of the variable gain amplifier 20 is fixed and the sound level of the received voice signal from the speaker 22 is kept to be the sound level immediately before the speaking user utters any voice. As described above, the present invention was described taking the preferred embodiments as examples. However, the present invention is not limited to the above embodiments and various variations and modifications would be possible to a person skilled in the art based on the description of the scope of the patent to be claimed. For instance, in the embodiment, the timing circuit 14 is provided to prevent sound level adjustment from being frequently executed during the communication, specifically while the user speaks. However, this circuit is not always necessary in order to construct the present invention. The binary signal from the sound level comparator may be directly connected to the switch 16. Further, in the embodiments, the gain control signal from the noise level detecting circuit 18 is proportional to the peripheral noise level. However, the gain control signal may have one of two or more discrete amplifications in correspondence to the peripheral noise level. In addition, in the embodiment, the threshold level of the comparator 12 is fixed. However, the threshold level may be determined such that it is proportional to the peripheral noise level. In this case, it is effective when the noise level of the voice signal band is remarkably high. Furthermore, in the present invention, the predetermined time period may be freely changed. If the predetermined time period is set to be long, the gain control could be inhibited during the duration when the user utters words for communication. As described above, in the received voice signal sound level automatically variable circuit according to the present invention, any dedicated microphone for inputting the peripheral noise is not provided and the sound level adjustment of the received voice signal is made possible using the voice inputting microphone. Since the voice signal non-presence detecting circuit is possible to incorporate it into an IC for processing a voice signal which is normally used in a portable telephone, the telephone can be made small compared to the case of using the dedicated microphone. Also, since the peripheral noise level is detected when the user does not utter any voice, the pure noise level in which the voice signal from the user is not mixed can be detected, the sound level of the received voice signal can be adjusted in accordance with the pure noise level in which the voice signal from the speaking user is not mixed can be detected. In the embodiment, the gain control signal is held. However, the noise level is held and the gain control signal may be generated based on the held the noise level.

Claims: An apparatus for adjusting a sound level of a reception voice signal (60) in a telephone, comprising: a speaker (22) for outputting an amplified reception voice signal (62); a microphone (2) for inputting a transmission voice signal and a peripheral noise; a variable gain amplifier (20) for amplifying the reception voice signal in accordance with a gain control signal (58) and driving said speaker (22) in accordance with the amplified reception voice signal such that the reception voice corresponding to said amplified reception voice signal is outputted from said speaker (22); and amplifier control means (6, 8, 10, 12, 16 and 18) for generating said gain control signal based on the presence or absence of the transmission voice signal and a level of said peripheral noise inputted to said microphone, said gain control signal being supplied to said variable gain amplifier (20), characterised in that said amplifier control means further includes means (14) for continuing to supply said gain control signal having said fixed value to said variable gain amplifier during a pre-determined time period after the input of said transmission voice is ended, and in that said amplifier control means further includes: detecting means (6, 8, 10, 12) for detecting a presence of said transmission voice signal; timer means (14) for determining whether said predetermined time period is elapsed after the input of said transmission voice to said microphone is ended; and gain control signal supplying means (16 and 18) for supplying said gain control signal to said variable gain amplifier such that said variable gain amplifier amplifies said reception voice signal with a gain determined in accordance with said peripheral noise level when said transmission voice is absent and such that said variable gain amplifier amplifies said reception voice signal with a fixed amplification level determined in response to said peripheral noise level immediately before the start of said transmission voice while said transmission voice is present and during predetermined time period after said transmission voice becomes absent. An apparatus according to claim 1, said variable gain amplifier amplifies said reception voice signal with one of discrete gains determined in accordance with said peripheral noise level. An apparatus according to claim 1, wherein said detecting means (6, 8, 10, 12) includes: a voice signal band pass filter (6) for passing a voice signal band component of an audio signal (42) inputted from said microphone; extracting means (8 and 10) for extracting an envelope signal of said voice signal band component; and comparing means (12) for comparing said envelope signal with a predetermined threshold value to detect the presence or absence of the transmission voice signal. Method of adjusting a sound level of a reception voice signal (60) in a telephone, comprising the steps of: inputting an audio signal (42) including a transmission voice signal and a peripheral noise through a microphone (2), detecting a presence of said transmission voice signal; generating a gain control signal (58) corresponding to a level of said peripheral noise while said transmission voice signal is not present and holding said gain control signal determined immediately before input of said transmission voice signal is started while said transmission voice signal is present; outputting said held gain control signal while said transmission voice signal is present; and characterised by the steps of : determining whether a predetermined time period is elapsed after the input of said transmission voice signal is ended; outputting said held gain control signal during said predetermined time period; outputting said gain control signal in response to said peripheral noise while said transmission voice signal is absent and the predetermined time period is elapsed; and amplifying a reception voice signal by a variable gain amplifier (20) in accordance with said gain control signal such that an amplified voice signal (62) corresponding to said reception voice signal is outputted from a speaker (22) with a sound level determined in accordance with said gain control signal. A method according to claim 4, wherein said detecting step includes: filtering a voice signal band component from the audio signal; extracting an envelope signal of said voice signal band component; and comparing said envelope signal with a predetermined threshold value to detect the presence/absence of the transmission voice signal. Method according to claim 4 wherein the gain of the variable gain amplifier is one of discrete values determined in accordance with said peripheral noise level.

Inventors: KURIHARA KAZUHIRO, KURIHARA, KAZUHIRO
Applicants: NIPPON ELECTRIC CO, NEC CORPORATION
Application year: 1995
Main classification: H04M9
IPC codes: H04M9, H04M1