Device and method for automatically controlling sound volume in a communication apparatus

Abstract: A communication apparatus comprises a sound volume controller in which a speech signal is discriminated from background noise of a transmitting audio signal (Sat) and the sound volume control is performed when no speech signal is present in the transmitting audio signal. The sound volume controller comprises an averaging circuit (202, 303) for averaging an amplitude of the transmitting audio signal (Sat), a discriminator (203, 304) for discriminating a speech signal of the transmitting audio signal (Sat) by comparing the transmitting audio signal (Sat) with the averaged amplitude (S L , Sav), and a controller (205, 104) for controlling an amplitude of a receiving audio signal when no speech signal is present in the transmitting audio signal. A level of the averaged amplitude is determined by comparing the averaged amplitude with at least one predetermined reference level, and the amplitude of the receiving audio signal is varied according to the level of the averaged amplitude when no speech signal is present.

Description: The present invention relates to communication apparatuses such as a portable radio apparatus capable of transmitting and receiving an audio signal, and more particularly to a communication apparatus in which a sound level of a speaker can be automatically adjusted according to a surrounding noise. Recently, a portable telephone set has been widespread with progressed mobile radio communication, and people have come to easily talk over the telephone at any place as well as specific places such as a telephone booth, etc. This is an important feature of the mobile radio telephone system. However, a noise problem arises in cases where the telephone is used in noisy surroundings. In Japanese Patent Laid-open Publication No. HEI 4-82331 (publication date: March 16, 1992), a portable telephone set is provided with a microphone for detecting a surrounding noise. The surrounding noise level detected by the microphone is compared with a reference level, and based on a result of the comparison, a sound volume is controlled according to the surrounding noise level so that a receiving speech can easily be heard. In another telephone set disclosed in Japanese Patent Laid-Open Publication No. HEI 2-250455 (publication date: October 8, 1990), a telephone transmitter is used to detect a surrounding noise, and the sound volume of a telephone receiver is controlled according to the surrounding noise level. In this telephone set, the surrounding noise level is detected from a transmitting signal including a transmission speech signal and a surrounding noise. Therefore, a transmitting signal is recognized as a surrounding noise when the telephone set is in its on-hook state where there is no transmission speech, and the sound volume is regulated according to the surrounding noise. However, in the portable telephone set disclosed in the former publication (HEI 4-82331), since the noise detecting microphone is needed in addition to a telephone transmitter and a telephone receiver, the number of parts is increased and an extra space for providing the noise detecting microphone is needed. Therefore, it is not preferable that such a microphone used only to detect a surrounding noise is provided in a portable telephone set which is required to be reduced in size. In the other telephone set disclosed in the latter publication (HEI 2-250455), the telephone transmitter is used to detect a surrounding noise, so the telephone set can be applied to a small-size communication device. However, since the surrounding noise is detected at the on-hook state and the sound volume is regulated based on the level of this detected noise, the sound volume cannot be regulated according to the surrounding noise at the off-hook state when taking is actually performed. Therefore, even if the level of the surrounding noise changes during talking, the sound volume is fixed at a certain level which was set while on-hook, causing a problem that the receiving speech sound is difficultly heard in noisy surroundings. EP-A-0 495 360 discloses a communication apparatus according to the preamble of claims 1 and 5. From "Frei sprechen ohne Rückkopplung" by C. Desai, Elektronik, Germany, 30 Oct. 1987, ISSN 0013-5658, XP001071207, it is known to use a noise signal as an output signal of a microphone. An object of the present invention is to provide a small-size communication apparatus capable of obtaining sufficient speech quality even in noisy surroundings. Another object of the present invention is to provide a communication apparatus capable of effectively dealing with noisy surroundings changing in noise level. Still another object of the present invention is to provide a sound volume control device and method which automatically controls the gain of an audio amplifier according to a surrounding noise level. These objects are solved by the features of claims 1 and 5. Advantageous embodiments are mentioned in the dependent claims. The above and other objects and advantages will become apparent from the following detailed description when read in conjunction with the accompanying drawings wherein: FIG. 1 is a block diagram illustrating a schematic circuit configuration of a first embodiment of the present invention; FIG. 2 is a block diagram showing a sound volume controller of the first embodiment; FIG. 3A is a waveform diagram showing transmitting audio signals in the first embodiment; FIG. 3B is a level diagram showing digital audio signals in the first embodiment; FIG. 3C is a level diagram showing detected signal levels of the transmitting audio signals in the first embodiment; FIG. 3D is a waveform diagram showing speech discrimination signals in the first embodiment; FIG. 3E is a level diagram showing a gain control signal in the first embodiment; FIG. 4 is a block diagram showing a sound volume controller of a second embodiment according to the present invention; FIG. 5 is a block diagram showing a sound volume controller of a third embodiment according to the present invention; FIG. 6A is a level diagram showing detected signal levels of the transmitting audio signals in the third embodiment; FIG. 6B is a waveform diagram showing speech discrimination signals in the third embodiment; FIG. 6C is a level diagram showing a gain control signal in the third embodiment; and FIG. 7 is a block diagram showing a sound volume controller of a fourth embodiment according to the present invention. Several embodiments according to the present invention are explained hereinafter in detail referring to the drawings. FIRST EMBODIMENT Referring to FIG. 1, there is shown a portable radio telephone set to which the present invention may be applied. A microphone 101 outputs a transmitting audio signal Sat to a transmitter/receiver 102 where the transmitting audio signal Sat modulates a radio frequency carrier wave to be transmitted through an antenna. On the other hand, a radio wave is received by the transmitter/receiver 102 through the antenna and is demodulated to a baseband signal. Inputting the baseband signal, an audio signal generator 103 generates an audio signal to output it to a variable-gain amplifier 104. The variable-gain amplifier 104, as known well, has a gain switching function according to a gain control signal Sgc. The audio signal amplified by the variable-gain amplifier 104 is converted to a sound wave by a speaker 105. A sound volume controller according to the present invention outputs the gain control signal Sgc based on the transmitting audio signal Sat. More specifically, the sound volume controller is comprised of an analog-to-digital (A/D) converter 201, a level detector 202, a speech discriminator 203, a reference level memory 204, and a gain controller 205. The A/D converter 201 converts the transmitting audio signal Sat into a digital audio signal Sdat to output it to the level detector 202 and the speech discriminator 203. The level detector 202 detects a signal level S L from the digital audio signal Sdat to output it to the gain controller 205. The speech discriminator 203 discriminates between speech and background noise to output a speech discrimination signal S D to the gain controller 205. The reference level memory 204 stores at least one reference noise set level L ref which is read out to the gain controller 205. The gain controller 205 first compares the signal level S L to the reference noise set level L ref to determine whether the signal level S L is greater than the reference noise set level L ref . If the signal level S L is not smaller than the reference noise set level L ref , the gain controller 205 calculates a level difference between the signal level S L and the reference noise set level L ref . The gain controller 205 outputs the level difference as the gain control signal Sgc according to the speech discrimination signal S D . If the signal level S L is smaller than the reference noise set level L ref , the gain controller 205 generates a constant level required for easily hearing the receiving speech and outputs the constant level as the gain control signal Sgc according to the speech discrimination signal S D . Therefore, the gain controller 205 controls the variable-gain amplifier 104 such that the gain of the amplifier 104 is changed according to the gain control signal Sgc. In other words, the sound volume of the speaker 105 is adjusted each the speech discriminator 203 discriminates the background noise from the digital audio signal Sdat. The level detector 202, the speech discriminator 203 and the gain controller 205 may be comprised of a micro processor which performs the above-mentioned sound volume control using a software program. As illustrated in FIG. 2, the sound volume controller can be realized simply. In this example of the sound volume controller, the level detector 202 may be comprised of an integrator 301 and a division circuit 302 which are connected such that the amplitude of the transmitting audio signal Sat is averaged. The integrator 301 integrates the digital audio signal Sdat over an integration period (T) and the division circuit 302 divides the integrated signal by the time interval (T) to obtain an average level S L . The speech discriminator 203 is comprised of an averaging circuit 303 and a comparator 304. Receiving the digital audio signal Sdat, the averaging circuit 303 calculates an average amplitude Sav of the digital audio signal Sat. The averaging circuit 303 may employ the same circuit as the level detector 202. The comparator 304 compares the digital audio signal Sat to the average amplitude Sav. If the digital audio signal Sat is greater than the average amplitude Sav, the comparator 304 outputs a speech discrimination signal S D of value '1' indicating 'speech', and if the digital audio signal Sat is not greater than the average amplitude Sav, the comparator 304 outputs a speech discrimination signal S D of value '0' indicating 'noise'. The gain controller 205 may be comprised of a differential circuit 305, a logical AND gate 306 and a holding circuit 307. The differential circuit 305 receives the signal level S L from the level detector 202 and the reference set level L ref from the reference level memory 204 and calculates a level difference Ds between them. The logical AND gate 306 receives the speech discrimination signal S D and the level difference Ds. Therefore, the level difference Ds is output to the holding circuit 307 when no speech signal is present in the audio signal. The holding circuit 307 holds a digital value of the level difference Ds when a speech signal is present. The operation of the sound volume controller as shown in FIG. 2 will hereinafter be described more specifically. As shown in FIG. 3A, assuming that a transmitting audio signal Sat has a wave form including a background noise region indicated by 'Noise' and a speech region indicated by 'Speech'. Since the voice of a user is directly input to the microphone 101 of the telephone set, the amplitude of the speech region is larger than that of the background noise region. Therefore, the A/D converter 201 outputs the digital audio signal Sdat which is schematically shown in FIG. 3B where the vertical axis indicates the amplitude level of the digital audio signal Sdat. Referring to FIG. 3C, the level detector 202 calculates the signal level S L by averaging the digital audio signal Sdat. The signal level S L is compared to the reference set level L ref by the differential circuit 305 to obtain the level difference Ds. The speech discriminator 203 calculates the averaged level Sav and compares the digital audio signal Sdat to the averaged level Sav to output the speech discrimination signal S D as shown in FIG. 3D. If the averaging circuit 303 employs the same circuit as the level detector 202, the averaged level Sav is the signal level S L . Therefore, as shown in FIGs. 3C and 3D, the digital audio signal Sdat is compared to the signal level S L to generate the speech discrimination signal S D . The speech discrimination signal S D and the level difference Ds are input to the AND gate 306, and then the output of the AND gate 306 is input to the holding circuit 307 where the gain control signal Sgc is obtained as shown in FIG. 3E. More specifically, when the speech discrimination signal S D is in logical high, that is, in speech state, the level difference Ds cannot pass through the AND gate 306. In contrast, when the speech discrimination signal S D is in logical low, that is, in the 'Noise' state, the level difference Ds passes through the AND gate 306 and is output to the holding circuit 307. The holding circuit 307 holds a digital value of the level difference Ds in the 'Speech' state. Therefore, according to the magnitude of the level difference Ds, the variable-gain amplifier 104 varies in gain. SECOND EMBODIMENT Referring to FIG. 4, in which functional blocks similar to those previously described with reference to FIG. 2 are denoted by the same reference number, the speech discriminator 203 may be comprised of the comparator 304 only. Since the signal level S L obtained by the level detector 202 can be used as the averaged signal Sav of the averaging circuit 303, the comparator 304 is capable of calculating the speech discrimination signal S D using the digital audio signal Sdat and the signal level S L . It should be noted that the sound volume controller as shown in FIG. 4 may be comprised of a micro processor which performs the above-mentioned sound volume control using a software program. THIRD EMBODIMENT Referring to FIG. 5, in which functional blocks similar to those previously described with reference to FIG. 2 are denoted by the same reference number, the gain controller 205 may be comprised of a comparator circuit 401, the logical AND gate 306 and the holding circuit 307. The comparator circuit 401 compares the signal level S L with two reference set levels L ref1 and L ref2 , and outputs a control signal Cs. More specifically, as shown in FIG. 6A, the two different reference levels L ref1 and L ref2 are used to determine the magnitude of the signal level S L . When the signal level S L falls into the range between the reference levels L ref1 and L ref2 in high noise level surroundings, the comparator circuit 401 outputs a control signal C s1 having a higher value. When the signal level S L is smaller than the reference level L ref1 in low noise level surroundings, the comparator circuit 401 outputs a control signal C s2 having a lower value. Therefore, according to the speech discrimination signal S D , the holding circuit 307 outputs a gain control signal Sgc having a different value, as shown in FIG. 6C. In this embodiment, although two reference noise set levels L ref1 and L ref2 are employed, two or more reference levels may be used easily. In such a case, suitable reception of a speech becomes possible even when a surrounding noise greatly changes. It should be noted that the sound volume controller as shown in FIG. 5 may be comprised of a micro processor which performs the above-mentioned sound volume control using a software program. FOURTH EMBODIMENT Referring to FIG. 7, in which functional blocks similar to those previously described with reference to FIG. 2 are denoted by the same reference number, the differential circuit 305 inputs the digital audio signal Sdat and the reference set level L ref to output the level difference Ds. Therefore, the magnitude of the level difference Ds is increased in a 'Speech' state. However, since the level difference Ds does not pass through a NAND gate 306 in a 'Speech' state, the gain control signal Sgc can be adjusted only in the 'Noise' state with reflecting an actual noise level of the digital audio signal Sdat. It should be noted that the above-mentioned embodiments can be realized with software programs executed by a microcomputer that is incorporated in the communication device.

Claims: A communication apparatus comprising: first means (101) for converting a first sound wave to a first audio signal (Sat Sdat); second means (105) for converting a second audio signal to a second sound wave; averaging means (202, 303) for averaging an amplitude of the first audio signal to obtain an averaged amplitude (S L , Sav) of the first audio signal; characterized by discriminating means (203, 304) for discriminating a speech signal of the first audio signal by comparing the first audio signal (Sat, Sdat) with the averaged amplitude (S L , Sav) of the first audio signal; determination means (305, 401) for determining a level of the averaged amplitude (S L ) of the first audio signal by comparing the averaged amplitude (S L ) of the first audio signal with at least one predetermined reference level (Lref); and control means (205, 104) for varying an amplitude of the second audio signal according to the level of the averaged amplitude of the first audio signal when the speech signal is not present in the first audio signal, wherein the discriminating means comprises a comparator (304) for comparing the first audio signal (Sat, Sdat) with the averaged amplitude (S L , Sav) of the first audio signal, the comparator outputting a speech discrimination signal (S D ) when an amplitude of the first audio signal is greater than the averaged amplitude of the first audio signal, and the comparator outputting a non-speech discrimination signal when an amplitude of the first audio signal is not greater than the averaged amplitude of the first audio signal, wherein the averaging means (202) is suitable to obtain the averaged amplitude of the first audio signal before it is used for comparison with the first audio signal to determine whether the speech signal is present. The communication apparatus according to claim 1, wherein the control means comprises: volume varying means (104) for varying the amplitude of the second audio signal according to a gain control signal (Sgc); and gain control means (205) for outputting the gain control signal to the volume varying means, the gain control signal (Sgc) causing the volume varying means to vary the amplitude of the second audio signal when the speech signal is not present in the first audio signal. The communication apparatus according to claim 1, wherein the determination means comprises a differential means (305) for detecting a level difference between the averaged amplitude of the first audio signal and the predetermined reference level. The communication apparatus according to any one of claims 1 to 3, characterized in that said first means is a microphone (101), that the second means is a speaker (105), that the first audio signal is a transmitting audio signal and that the second audio signal is a receiving audio signal. A method for controlling sound volume in a communication apparatus comprising a first means (101) for converting a first sound wave to a first audio signal and a second means (105) for converting a second audio signal to a second sound wave, comprising the step of: averaging an amplitude of the first audio signal to obtain an averaged amplitude (S L , S AV ) of the first audio signal; and being characterized by the steps of: discriminating a speech signal of the first audio signal by comparing the first audio signal (S at , S dat ) with the averaged amplitude (S L , S AV ) of the first audio signal; determining a level of the averaged amplitude (S L ) by comparing the averaged amplitude (S L ); with at least one predetermined reference level (L ref ); varying an amplitude of the second audio signal according to the level of the averaged amplitude when the speech signal is not present in the first audio signal. The method according to claim 5, wherein the level of the averaged amplitude is determined by detecting a level difference between the averaged amplitude of the first audio signal and the predetermined reference level. The method according to claim 5, wherein the level of the averaged amplitude is determined by comparing the averaged amplitude with a plurality of predetermined reference levels.

Inventors: YAMASHITA OSAMU, YAMASHITA, OSAMU, YAMASHITA, OSAMU, C/O NEC CORP.
Applicants: NIPPON ELECTRIC CO, NEC CORPORATION
Application year: 1995
Main classification: H04M9
IPC codes: H04M1, H04B7, H04M9, H04B1