Speech control circuit used in a foldable and portable telephone

Abstract: In a speech control apparatus used in a folding telephone (1), a rotary switch (9) detects the rotation angle of the hinge (901) of the folding telephone and delivers a control signal indicative of the hinge rotating angle to a speech controller. The speech controller (6) controls the level of the speech signal from a microphone (7). The speech controller suppresses the noise included in the speech signal based on the control signal. The speech controller suppresses the echo included in the speech signal by generating an echo replica in accordance with the control signal and a radio signal from the communication partner.

Description: The present invention relates to a speech control apparatus, and more particularly to a speech control apparatus used in a folding telephone. A conventional folding telephone, which is intended for the enhanced usefulness of portability, includes an upper casing, a lower casing and a hinge. A bottom end of the upper casing is connected to the lower casing by the hinge so that the portable telephone is foldable. When the telephone is used, the upper casing is swung out at the hinge against the lower casing. Otherwise, when the telephone is not used, the upper casing is folded to meet the lower casing so that it is compact and the user can easily bear it. The folding telephone is designed to have its rotating angle between the upper and lower casings, i.e., the hinge rotating angle, made variable, thus, the speaker in the upper casing and the microphone in the lower casing are located properly at the ear and mouth of the user. A folding telephone of this kind with the ability of preventing the phenomenon of howling is disclosed in for example, Japanese Laid-open Patent Application No. Heisei 1-212052. The telephone has a main casing including a speaker, and an arm section including a microphone. The telephone is designed such that when the arm section is swung out by the user to start a communication, the microphone is kept inactive until the arm section has a certain rotating angle with the main casing so that the occurrence of howling which is the leakage of the sound from the speaker into the microphone is prevented. However, if the user varies the rotating angle between the main casing and arm section during the communication, causing the positional relationship between the user's mouth and the microphone in the arm section to vary, the user's voice level sensed by the microphone will vary. Consequently, the magnitude of the audio signal sent to the telephone of the communication partner will vary, and the partner will hear unfavorable the voice of abruptly varying level. Moreover, this telephone is sometimes deficient in the avoidance of a sound leakage from the speaker into the microphone, in which case the partner's voice is unfavorably sent back through the user's microphone as an echo to the partner's telephone. There is known an echo canceller equipped in usual telephone. The echo canceller generates an echo replica by estimating the echo path which is the path of sound from the speaker to the microphone on the telephone, and subtracts the echo replica from the speech sensed by the microphone so as to offset the echo. However, the echo canceller of this type is not currently adopted in folding telephones. Even if a folding telephone is equipped with this echo canceller,. the echo path cannot be estimated accurately due to the quick variation of the hinge rotating angle, and therefore an accurate echo replica cannot be produced for the cancellation of echo. WO-A-91 07836 discloses a communications device in the form of a portable radio telephone having a casing including a moveable flip element and where means are provided for monitoring the angle of the flip element relative to the casing and for generating a control signal responsive to such relative angle. An object of the present invention is to provide a speech control apparatus used in a folding telephone capable of preventing the variation in a speech level. Another object of the present invention is to provide a speech control apparatus capable of surely suppressing the noise included in the speech. Still another object of the present invention is to provide a speech control apparatus capable of accurately estimating the echo path. According to one aspect of the present invention there is provided a speech control apparatus having an upper casing, a lower casing, a hinge, and a microphone, disposed in said lower casing, for converting a user's speech into a speech signal, control signal generation means for detecting the rotation angle of said hinge, and for producing a control signal indicative of the hinge rotation angle, characterized by speech level control means for controlling, in accordance with said control signal, the level of said speech signal, and for outputting a level-controlled speech signal; and transmission means for transmitting said level-controlled speech signal to a communication partner. According to another aspect of the present invention there is provided a speech control apparatus having an upper casing, a lower casing, a hinge, a microphone, disposed in said lower casing, for converting a user's speech into a speech signal, and reception means for receiving a radio signal from a communication partner of said user, and for delivering a reception signal; control signal generation means for detecting the rotating angle of said hinge, and for producing a control signal indicative of the hinge rotation angle; and characterized by echo canceller means for cancelling, in accordance with said control signal and said reception signal, the echo included in said speech signal, and for delivering an echo-cancelled speech signal; and transmission means for transmitting said echo-cancelled speech signal to said communication partner. The present invention also includes a noise suppressor which suppresses the noise included in the speech based on the control signal, and produces a noise-suppressed speech signal. The present invention still further includes a receiver which receives a radio signal which carries the speech signal sent from the telephone of the communication partner and produces a reception signal, and an echo canceller which cancels an echo included in the speech sent to communication partner based on the control signal and the reception signal, and produces an echo-cancelled speech signal. Based on the foregoing arrangement, the present invention detects the hinge rotating angle between the upper casing and lower casing of the folding telephone thereby to produce a control signal indicative of the hinge rotating angle, and controls of the speech level sent and suppresses the noise or echo based on the control signal. Figs. 1A, 1B and 1C are side views of the folding telephone of an embodiment according to the present invention; Fig. 2 is a block diagram of the folding telephone shown in Fig. 1; Fig. 3 is a schematic diagram of the rotary switch shown in Fig. 2; Fig. 4 is a block diagram of the speech controller shown in Fig. 2; Fig. 5 is a block diagram of the speech level controller shown in Fig. 4; Fig. 6 is a block diagram showing another embodiment of the speech level controller shown in Fig. 4; Fig. 7 is a block diagram showing another embodiment of the speech controller shown in Fig. 2; Fig. 8 is a block diagram of the echo canceller shown in Fig. 7; and Fig. 9 is a block diagram showing still another embodiment of the speech controller shown in Fig. 2. Referring to Figs. 1A, 1B and 1C, the folding telephone 1 includes an antenna 2, an upper casing 101, a lower casing 102, and a hinge 901. Shown by Figs. 1A and 1B are the states of the upper casing 101 which is swung out at the hinge 901 against the lower casing 102. The rotating angle between the upper casing 101 and lower casing 102, i.e., the rotating angle of the hinge 901, can be varied during the use for communication. Shown by Fig. 1C is the state of the upper casing 101 which is folded to meet the lower casing 102. Referring to Fig. 2, the folding telephone 1 incorporates a radio signal processor 3, a communication processor 4, a speech codec 5, a speech controller 6, a microphone 7, a speaker 8, a rotary switch 9, and a first analog-to-digital (A/D) converter 10. The rotary switch 9 is fitted in the hinge 901. The antenna 2 receives a first radio signal from the base station (not shown) and feeds the received signal to the radio signal processor 3. The processor 3 demodulates the radio signal from the antenna 2 and delivers the demodulated signal to the communication processor 4. The processor 4 decodes the demodulated signal from the processor 3 and delivers the decoded signal to the speech codec 5. The codec 5 implements the redundancy coding for the decoded signal from the processor 4 and supplies the redundancy-coded speech signal to the speech controller 6. The controller 6 converts the redundancy-coded speech signal from the codec 5 into a first analog speech signal and delivers the first analog speech signal to the speaker 8, which transduces the first analog voice signal into the speech. The microphone 7 transduces the user's speech into a second analog speech signal and delivers the second analog speech signal to the speech controller 6. The controller 6 converts the second analog speech signal from the microphone 7 into a digital signal. The controller 6 controls the speech level based on the control signal from the first A/D converter 10 and delivers the level-controlled digital speech signal to the speech codec 5. The codec 5 implements the compression encoding for the level-controlled digital speech signal from the controller 6 and delivers the compressed speech code signal to the communication processor 4. The processor 4 implements the time-division multi-access processing for the compressed speech code signal from the codec 5 and delivers the digital signal to the radio signal processor 3. The processor 3 modulates and amplifies the digital signal from the processor 4 and feeds the modulated signal to the antenna 2. The antenna 2 transmits the modulated signal from the processor 3 as a second radio signal to the base station (not shown). The rotary switch 9 detects the rotating angle of the hinge 901 and delivers the hinge rotating angle signal to the first A/D converter 10, which converts the hinge angle signal from the rotary switch 9 into a control signal and delivers it to the voice controller 6. Referring to Fig. 3, the rotary switch 9 has a rotor 922, which has a moving contact 902 connected to the ground terminal 903. The rotor 922 shares the shaft with the hinge 901 shown in Figs. 1A - 1C, and it is turned by the swing motion of the hinge 901. The rotary switch 9 further includes eight fixed contacts 904 - 911, one of which comes in contact with the moving contact 902 at a time, eight resistors 912 - 919 having different resistance values and having one ends connected with the fixed contacts 904 - 911, respectively, a resistor 921 which is connected at one end commonly to other ends of the resistors 912 - 919, and a power supply terminal 920 which is connected to another end of the resistor 921 and supplied with a reference voltage Vcc. When the hinge 901 swings, the moving contact 902 on the rotor 922 turns and comes to contact with another of the fixed contacts 904 - 911. Consequently, the voltage on the common ends of the resistors 912 - 919, which is delivered to the first A/D converter 10, varies depending on the hinge rotating angle due to the different resistance values of the resistors 912 - 911. Namely, the rotary switch 9 produces a voltage which is the reference voltage Vcc subtracted by the voltage drop across a resistor associated with a fixed contact in connection with the moving contact 902, and delivers the voltage as the hinge rotating angle signal indicative of the rotating angle of the hinge 901 to the first A/D converter 10. Although the rotary switch 9 is employed in this embodiment for detecting the rotating angle of the hinge 901, the present invention is not confined to the use of this device, but any other means of detecting the hinge rotating angle may be used. Referring to Fig. 4, the speech controller 6 includes a speech level controller 61, a second A/D converter 62 and a digital-to-analog (D/A) converter 63. The D/A converter 63 converts the redundancy-coded speech signal from the voice codec 5 into an first analog speech signal and feeds the resulting first analog speech signal to the speaker 8. The second A/D converter 62 converts the second analog speech signal from the microphone 7 into a digital speech signal and delivers the digital speech signal to the speech level controller 61. The controller 61 implements the speech level control for the digital speech signal from the second A/D converter 62 based on the control signal from the first A/D 10 and delivers the level-controlled digital speech signal to the speech codec 5. Referring to Fig. 5, the speech level controller 61 includes a multiplier 611 and a first coefficient selector 612. The first coefficient selector 612 includes a PROM which stores coefficients β used to control the level of digital speech signal from the second A/D converter 62. The first coefficient selector 612 receives the control signal from the first A/D converter 10 as the addressing signal, and reads out an addressed coefficient β to the multiplier 611. The coefficient β is a speech level controlling factor which is proportional to the rotating angle of the hinge 901. The multiplier 611 multiplies the coefficient β to the digital speech signal from the second A/D converter 62 and delivers the resulting level-controlled digital speech signal to the speech codec 5. Accordingly, the digital speech signal, i.e., speech sent to communication partner has its level controlled in proportion to the rotating angle of the hinge 901. Referring to Fig. 6 showing another embodiment of the speech level controller, the speech level controller 600 includes a multiplier 611, a first coefficient selector 612, a variable band-pass filter 613, and a second coefficient selector 614. The selector 614 consists of a PROM which stores coefficients γ used to suppress the noise included in the level-controlled digital speech signal from the multiplier 611. The multiplier 611 and selector 612 have the same arrangement and operation as explained in connection with Fig. 5. The selector 614 receives the control signal from the first A/D converter 10 as the addressing signal, and reads out an addressed coefficient γ to the variable band-pass filter 613. The coefficient γ is a bandwidth altering factor which is inversely proportional to the rotating angle of the hinge 901. The variable band-pass filter 613, which alters the bandwidth in accordance with the coefficient γ, suppresses the noise included in the level-controlled digital speech signal from the multiplier 611 and delivers the noise-suppressed digital speech signal to the voice codec 5. Accordingly, the variable band-pass filter 613 has its bandwidth narrowed in response to the increase in the rotating angle of the hinge 901, which signifies the increase in the distance between the microphone 7 in the lower casing of the folding telephone and the mouth of the user and thus the increase in the noise level of the digital speech signal, i.e., the voice sent to communication partner from the microphone 7, and consequently the noise is surely suppressed. Referring to Fig. 7 showing another embodiment of the speech controller, the speech controller 601 includes a second A/D converter 62, a D/A converter 63, and an echo canceller 64. The converter 62 and 63 have the same arrangement and operation as explained in connection with Fig. 4. The echo canceller 64 cancels the echo included in the digital signal from the converter 62 in accordance with the control signal from the first A/D converter 10 and the redundancy-coded speech signal from the speech codec 5. Referring to Fig. 8, the echo canceller 64 includes a third coefficient selector 641, an adaptive controller 642, an H register 643, a convolution calculator 644, an X register 645, and a subtracter 646. The third coefficient selector 641 includes a PROM which stores a factor α used to calculate the modification value ΔHj of the impulse response signal for the estimated echo path which will be explained later. The coefficient selector 641 receives the control signal from the first A/D converter 10 as the addressing signal, and reads out an addressed factor α to the adaptive controller 642. The factor α is an echo path tracing factor which is inversely proportional to the rotating angle of the hinge 901. The X register 645 receives the redundancy-coded speech signal from the speech codec 5 as the addressing signal, and delivers a sampled speech signal X j of N-degree vector at time point j to the convolution calculator 644 and adaptive controller 642. The adaptive controller 642 produces a modification value ΔH j based on the following formula (1) for the error signal ej from the subtracter 646 and the sampled speech signal X j from the X register 645, and delivers the modification value ΔH j to the H register 643. ΔH j = α(X j / ΣX j · X jt )e j where X jt is the transposed matrix of the vector X j . The H register 643 adjusts the impulse response signal H j-1 of the estimated echo path, which is N-degree vector at time point j-1, based on the following formula (2) for the modification value ΔH j from the adaptive controller 642, and delivers the resulting coefficient H j at time point j to the convolution calculating circuit 644. H j = H j-1 + ΔH j The convolution calculator 644 produces an echo replica Y' j based on the following formula (3) for the sampled speech signal X j from the X register 645 and the coefficient H j from the H register 643, and delivers the echo replica Y' j to the subtracter 646. Y' j = ΣX j · H jt where H jt is the transposed matrix of the vector H j . The subtracting circuit 646 subtracts the echo replica Y' j from the convolution calculator 644 from the digital speech signal Y j at time point j provided by the second A/D converter 62 based on the following formula (4), and delivers the resulting echo-cancelled digital speech signal to the speech codec 5. e j = Y j - Y' j where Y j is the digital speech signal. The digital speech signal Y j is also delivered as the error signal e j to the adaptive controller 642. The echo canceller 64 carries out the foregoing calculations repeatedly, and the echo included in the digital speech signal, i.e., speech sent to communication partner from the second A/D converter 62 is surely cancelled. Accordingly, even if the rotating angle of the hinge 901 varies, it is possible to cancel the echo by varying the factor α in response to the hinge rotating angle. Referring to Fig. 9 showing still another embodiment of the speech controller, the speech controller 602 includes a speech level controller 61 or 600, a second A/D converter 62, an echo canceller 64, and a D/A converter 63. These functional circuits have the same arrangement and operation as explained above, and the explanation thereof is omitted. According to this invention, as described above, the speech level control, noise suppression and echo replica generation take place in accordance with the control signal which responds to the detected rotating angle of the hinge 901, and consequently the voice sent to communication partner can be stabilized against the variation in the speech level, noise level and echo path caused by the variation of the hinge rotating angle. Obviously, numerous additional modifications and variations of the present invention are possible in light of the above teachings. It is, therefore, to be understood that within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein.

Claims: A speech control apparatus having an upper casing (101), a lower casing (102), a hinge (901), and a microphone (7), disposed in said lower casing (102), for converting a user's speech into a speech signal, control signal generation means (9, 10) for detecting the rotation angle of said hinge, and for producing a control signal indicative of the hinge rotation angle, characterized by speech level control means (61, 600) for controlling, in accordance with said control signal, the level of said speech signal, and for outputting a level-controlled speech signal; and transmission means (2, 3) for transmitting said level-controlled speech signal to a communication partner. The speech control apparatus as claimed in claim 1, wherein said speech level control means comprises: a coefficient selector which stores a plurality of predetermined speech level control coefficients and delivers one of said predetermined voice level control coefficients by being addressed by said control signal; and a multiplier which multiplies the predetermined speech level control coefficient from said coefficient selector to the speech signal from said microphone. The speech control apparatus as claimed in claim 2, wherein said coefficient selector stores said plurality of predetermined voice level control coefficients which are proportional to said rotation angle of said hinge. The speech control apparatus as claimed in claim 1, wherein said control signal generation means comprises: a moving contact connected to the ground terminal; a rotor, connected to said moving contact, being adapted to turn in response to the rotating motion of said hinge; a plurality of fixed contacts each coming in connection with said moving contact at a time; a plurality of resistors having different resistance values and having one ends connected to said fixed contacts correspondingly; a common resistor having one end connected commonly to other ends of said resistors; a reference voltage terminal, connected to another end of said common resistor, being supplied with a reference voltage; and an analog-to-digital converter which is connected to receive the voltage of said one end of said common resistor and converts the received voltage into a digital signal, and for producing said control signal. The speech control apparatus as claimed in claim 1 further including: noise suppressing means for suppressing the noise included in said speech signal based on said control signal, and for delivering a noise-suppressed speech signal. The speech control apparatus as claimed in claim 5, wherein said noise suppressing means comprises: a coefficient selector which stores a plurality of predetermined bandwidth alteration coefficients and delivers one of said predetermined bandwidth alternation coefficients by being addressed by said control signal; and a variable bandwidth filter which alters the bandwidth in accordance with the predetermined bandwidth alteration coefficient from said coefficient selecting circuit. The speech control apparatus as claimed in claim 6, wherein said coefficient selector stores said plurality of predetermined bandwidth alteration coefficients which are inversely proportional to the rotating angle of said hinge. A speech control apparatus having an upper casing (101), a lower casing (102), a hinge (901), a microphone (7), disposed in said lower casing (102), for converting a user's speech into a speech signal, and reception means (2, 3) for receiving a radio signal from a communication partner of said user, and for delivering a reception signal; control signal generation means (9,10) for detecting the rotating angle of said hinge, and for producing a control signal indicative of the hinge rotation angle; and characterized by echo canceller means (14, 64) for cancelling, in accordance with said control signal and said reception signal, the echo included in said speech signal, and for delivering an echo-cancelled speech signal; and transmission means (2, 3) for transmitting said echo-cancelled speech signal to said communication partner. The speech control apparatus as claimed in claim 8, wherein said echo canceller means comprises: a coefficient selector which stores a plurality of predetermined echo path tracing factors and delivers one of said predetermined echo path tracing factors by being addressed by said control signal; an adaptive controller which produces, in accordance with said predetermined echo path tracing factor from said coefficient selector, an echo replica modification signal for the modification of echo replica; an echo replica generator circuit which generates an echo replica modified by said echo replica modification signal; and a subtracter which subtracts the echo replica from said speech signal. The speech control apparatus as claimed in claim 9, wherein said coefficient selector stores said plurality of predetermined echo path tracing factors which are inversely proportional to the rotating angle of said hinge. The speech control apparatus as claimed in claim 8, wherein said control signal generation means comprises: a moving contact connected to the ground terminal; a rotor, connected to said moving contact, being adapted to turn in response to the rotating motion of said hinge; a plurality of fixed contacts each coming in connection with said moving contact at a time; a plurality of resistors having different resistance values and having one ends connected to said fixed contacts correspondingly; a common resistor having one end connected commonly to other ends of said resistors; a reference voltage terminal, connected to another end of said common resistor, being supplied with a reference voltage; and an analog-to-digital converter which is connected to receive the voltage of said one end of said common resistor and converts the received voltage into a digital signal, and for producing said control signal.

Inventors: URIYA SUSUMU, URIYA, SUSUMU
Applicants: NIPPON ELECTRIC CO, NEC CORPORATION
Application year: 1995
Main classification: H04M1
IPC codes: H04M1, H01H3, H04M9