Description of drawings
Fig. 1 can eliminate the synoptic diagram of first embodiment of the voice device of echo for the present invention.
Fig. 2 is the synoptic diagram of the circuit structure embodiment of echo eliminating device among Fig. 1.
Fig. 3 reduces the process flow diagram of an example operation of sound echo method for the present invention.
Fig. 4 (including Fig. 4 A and Fig. 4 B) measures the operation chart of the relation of input sensitivity and sound echo for threshold generator among Fig. 2.
Fig. 5 is the operational flowchart of threshold generator decision threshold shown in Figure 2.
Fig. 6 can eliminate the synoptic diagram of second embodiment of the voice device of echo for the present invention.
Fig. 7 is the synoptic diagram of the circuit structure embodiment of echo eliminating device among Fig. 6.
Fig. 8 reduces the process flow diagram of another example operation of sound echo method for the present invention.
The main element symbol description
100,600 voice devices
110 sound load modules
120 voice output modules
130,630 echo eliminating devices
140,210,640,710 sensitivity setting modules
150,220,650,720 volume detection modules
S
INInput sensitivity
S
OUTOutput volume
230 judge modules
232 look-at-me detecting units
234 down trigger judging units
236 sensitivity detecting units
238 timers
ITR
1Look-at-me
T
W1Stand-by period
TH
1Threshold value
RS
1First relation
RS
2Second relation
250,750 threshold generators
252,752 first measuring units
254,754 second measuring units
256,756 threshold value generation units
302~318,502~508,802~814 steps
EC
1Sound echo
SIN
FixedFixedly sensitivity
SOUT
FixedConstant volume
730 sensitivity detection modules
Embodiment
Please refer to Fig. 1, Fig. 1 can eliminate the synoptic diagram of first embodiment of the voice device 100 of echo for the present invention.Voice device 100 comprises a sound load module 110, a voice output module 120 and an echo (echo) cancellation element 130.Sound load module 110 has an input sensitivity S
IN, voice output module 120 is used for exporting an output volume S
OUT, echo eliminating device 130 comprises a sensitivity setting module 140 and a volume detection module 150, and wherein volume detection module 150 is coupled between voice output module 120 and the sensitivity setting module 140, is used for detecting output volume S
OUTWhether greater than a threshold value TH
1, sensitivity setting module 140 then is coupled to voice output module 120, volume detection module 150 and sound load module 110, is used for detecting output volume S in volume detection module 150
OUTGreater than threshold value TH
1The time, with the input sensitivity S of sound load module 110
INSet one second particular sensitivity S2 for by one first particular sensitivity S1.Each element and function mode thereof about echo eliminating device 130 will further describe in the following examples.
Note that above-mentioned voice device 100 can be a blue tooth hand-free apparatus, a carphone or a mobile phone, but be not limited thereto, also can be the voice device of other kind.In an embodiment, voice output module 120 can be a loudspeaker (speaker), but this usefulness that only illustrates as example of the present invention, but not restrictive condition of the present invention.In addition, sound load module 110 can be a microphone (microphone), but the present invention is not limited thereto, also can be the sound input element of other kinds.Notice again that please sensitivity setting module 140 can be implemented by a little processing and control element (PCE) (micro-processingcontrol unit), but is not limited thereto, and also can be implemented by other elements.Volume detection module 150 can be implemented by an analog to digital converter (analog-to-digital converter), but also is not limited to this, also can be implemented by other elements.In present embodiment, volume detection module 150 (can be implemented by an analog to digital converter) is positioned at the outside of sensitivity setting module 140 (can be implemented by a little processing and control element (PCE)), yet it will be understood by a person skilled in the art that this also non-restrictive condition of the present invention.
Please refer to Fig. 2, Fig. 2 is the synoptic diagram of the circuit structure embodiment of echo eliminating device 130 among Fig. 1.In present embodiment, echo eliminating device 130 comprises (but being not limited to) sensitivity setting module 210, a volume detection module 220, a judge module 230 and a threshold generator 250.Volume detection module 220 is coupled between judge module 230 and the threshold generator 250, is used for detecting output volume S
OUTWhether greater than threshold value TH
1And judge module 230 is coupled between volume detection module 220 and the sensitivity setting module 210, in the present embodiment, judge module 230 comprises a look-at-me detecting unit 232, a down trigger judging unit 234, a sensitivity detecting unit 236 and a timer 238, wherein, look-at-me detecting unit 232 is coupled to volume detection module 220 and timer 238, is used for detecting whether receive a look-at-me ITR
1, and down trigger judging unit 234 is coupled to look-at-me detecting unit 232, is used in receiving look-at-me ITR
1The time, judge look-at-me ITR
1Which triggered (for example by detecting output volume S by incident
OUTGreater than threshold value TH
1Trigger, or treat time T by surpassing first-class
W1Trigger), timer 238 is coupled to sensitivity detecting unit 236, is used for counting stand-by period T
W1, and the sensitivity detecting unit is coupled to down trigger judging unit 234 and timer 238, is used for detecting input sensitivity S
INWhether be the second particular sensitivity S2, and in addition in detecting input sensitivity S
INStand-by period T resets when being the second particular sensitivity S2
W1 Sensitivity setting module 210 is coupled to judge module 230, is used for setting according to the judged result of the testing result of volume detection module 220 and judge module 230 the input sensitivity S of sound load module 110
IN(please refer to Fig. 1).
Please continue with reference to figure 2.In present embodiment, threshold generator 250 comprises one first measuring unit 252, one second measuring unit 254 and a threshold value generation unit 256.First measuring unit 252 is used for input sensitivity S
INBe fixed in a fixedly sensitivity, and measure output volume S
OUTWith a sound echo EC
1One first concern RS
1, second measuring unit 254 is used for output volume S
OUTBe fixed in a constant volume, and measure input sensitivity S
INWith sound echo EC
1One second concern RS
2, and threshold value generation unit 256 is coupled to first measuring unit 252 and second measuring unit 254, is used for concerning RS according to first
1And second concern RS
2Produce threshold value TH
1Please note, the circuit structure of above-mentioned threshold generator 250 is only made example in fact for of the present invention one, is not restrictive condition of the present invention, and those skilled in the art should understand, under spirit of the present invention, all be feasible about the various design variation of threshold generator 250.
Please refer to Fig. 3, Fig. 3 reduces the process flow diagram of an example operation of sound echo method for the present invention, and it comprises following step (if note that and can obtain roughly the same result, then the following step and non-limiting will the execution according to order shown in Figure 3):
Step 302: beginning.
Step 304: detect whether receive a look-at-me ITR
1In receiving look-at-me ITR
1The time, execution in step 306; Otherwise, get back to step 304 and continue to detect.
Step 306: judge look-at-me ITR
1Whether by detecting output volume S
OUTGreater than threshold value TH
1Trigger.In judging look-at-me ITR
1By detecting output volume S
OUTGreater than threshold value TH
1When triggering, execution in step 308; Otherwise, execution in step 316.
Step 308: detect input sensitivity S
INWhether be the second particular sensitivity S2.In detecting input sensitivity S
INWhen being the second particular sensitivity S2, execution in step 310; Otherwise, execution in step 312.
Step 310: replacement first-class is treated time T
W1
Step 312: with input sensitivity S
INSet the second particular sensitivity S2 for.
Step 314: start timer to begin to count stand-by period T
W1
Step 316: judge look-at-me ITR
1Whether by surpassing stand-by period T
W1Trigger.In judging look-at-me ITR
1By surpassing stand-by period T
W1When triggering, execution in step 318; Otherwise, get back to step 304.
Step 318: with input sensitivity S
INSet the first particular sensitivity S1 for.
Next, will cooperate each step shown in Figure 3 and Fig. 1, each element shown in Figure 2 to illustrate between each element how to operate.In step 304, the look-at-me detecting unit 232 of judge module 230 detects whether receive look-at-me ITR
1, if do not receive look-at-me ITR
1, then look-at-me detecting unit 232 can continue to detect (getting back to step 304); If receive look-at-me ITR
1, the down trigger judging unit can be judged look-at-me ITR 234 this moments
1Whether by detecting output volume S
OUTGreater than threshold value TH
1Trigger (step 306), next, describe in two kinds of situation.
Under first kind of situation, as look-at-me ITR
1Be by detecting output volume S
OUTGreater than threshold value TH
1When triggering, sensitivity detecting unit 236 can detect input sensitivity S
INWhether be the second particular sensitivity S2 (step 308), as input sensitivity S
INWhen being the second particular sensitivity S2, sensitivity detecting unit 236 can inform that timer 238 is with the stand-by period T that resets
W1(step 310); As input sensitivity S
INBe not when being the second particular sensitivity S2, sensitivity setting module 210 can be with input sensitivity S
INSet the second particular sensitivity S2 (step 312) for, and sensitivity detecting unit 236 can start timer 238 to begin to count stand-by period T
W1(step 314).
Under second kind of situation, as look-at-me ITR
1Be not by detecting output volume S
OUTGreater than threshold value TH
1When triggering, down trigger judging unit 234 can then be judged look-at-me ITR
1Whether by surpassing stand-by period T
W1Trigger (step 316), as look-at-me ITR
1Be by surpassing stand-by period T
W1When triggering, sensitivity setting module 210 just can be with input sensitivity S
INSet the first particular sensitivity S1 (step 318) for; Anti-, as look-at-me ITR
1Be not by surpassing stand-by period T
W1When triggering, look-at-me detecting unit 232 can continue to detect (getting back to step 304).
Please refer to Fig. 4 and Fig. 5, Fig. 4 is the operation chart that the threshold generator 250 among Fig. 2 is measured the relation of input sensitivities and sound echo, and Fig. 5 is the operational flowchart of threshold generator 250 decision thresholds shown in Figure 2.Shown in Fig. 4 A among Fig. 4, first measuring unit 252 in the threshold generator 250 can be with input sensitivity S
INBe fixed in a fixing sensitivity S IN
Fixed, then measure output volume S
OUTWith sound echo EC
1One first concern RS
1Shown in Fig. 4 B among Fig. 4, second measuring unit 254 in the threshold generator 250 can be with output volume S
OUTBe fixed in a constant volume SOUT
Fixed, then measure input sensitivity S
INWith sound echo EC
1One second concern RS
2The flow process of Fig. 5 then comprises following step:
Step 502: beginning.
Step 504: input sensitivity SIN is fixed in a fixedly sensitivity, and measures one first of output volume SOUT and sound echo EC1 and concern RS1.
Step 506: output volume SOUT is fixed in a constant volume, and measures one second of input sensitivity SIN and sound echo EC1 and concern RS2.
Step 508: concern that according to first RS1 and second concerns that RS 2 produces threshold value TH1.
Please cooperate each element shown in Figure 2 and the embodiment of Fig. 4 about each step shown in Figure 5, can understand between each element and how to operate, and for description for purpose of brevity, so the operation of each step just repeats no more among Fig. 5.The embodiment and the process flow diagram that note that above-mentioned threshold generator 250 are only made example in fact for of the present invention one, are not restrictive condition of the present invention.
Please refer to Fig. 6, Fig. 6 can eliminate the synoptic diagram of second embodiment of the voice device 600 of echo for the present invention.Voice device 600 is similar with voice device 100 shown in Figure 1, both are different is in the inside that a volume detection module 650 that is comprised in the echo eliminating device 630 of voice device 600 is arranged at a sensitivity setting module 640, wherein, sensitivity setting module 640 can be implemented by a little processing and control element (PCE), and volume detection module 650 can be implemented by an analog to digital converter, but is not limited thereto.Each element and function mode thereof about echo eliminating device 630 will further describe in the following examples.
Please refer to Fig. 7, Fig. 7 is the synoptic diagram of the circuit structure embodiment of echo eliminating device 630 among Fig. 6.In present embodiment, echo eliminating device 630 comprises (but being not limited to) sensitivity setting module 710, a volume detection module 720, a sensitivity detection module 730 and a threshold generator 750, wherein, volume detection module 720, sensitivity detection module 730 and threshold generator 750 all are the inside that is arranged at sensitivity setting module 710.Volume detection module 720 is coupled between sensitivity detection module 730 and the threshold generator 750, is used for detecting output volume S
OUTWhether greater than threshold value TH
1, and sensitivity detection module 730 is coupled to this volume detection module 720, is used in detecting output volume S
OUTAnd be not more than threshold value TH
1The time (that is S
OUT≤ TH
1), detect input sensitivity S
INWhether be the second particular sensitivity S2, as input sensitivity S
INWhen being the second particular sensitivity S 2, sensitivity setting module 710 can be with input sensitivity S
INSet the first particular sensitivity S 1 (that is original sensitivities) for.In addition, threshold generator 750 can be implemented by threshold generator shown in Figure 2 250, its associated inner element (first measuring unit 752, second measuring unit 754 and threshold value generation unit 756) can be with reference to above stated specification (please refer to Fig. 2, Fig. 4 and Fig. 5), so repeat no more in this with operation.
Please refer to Fig. 8, Fig. 8 reduces the process flow diagram of another example operation of sound echo method for the present invention, and it comprises (but being not limited to) following step:
Step 802: beginning.
Step 804: sampling output volume S
OUT
Step 806: detect output volume S
OUTWhether greater than threshold value TH
1In detecting output volume S
OUTGreater than threshold value TH
1The time, execution in step 808; Otherwise, execution in step 812.
Step 808: seek suitable input sensitivity value, for example the second particular sensitivity S2.
Step 810: with input sensitivity S
INSet the second particular sensitivity S2 for by the first particular sensitivity S1.
Step 812: detect input sensitivity S
INWhether be the second particular sensitivity S2.When detecting input sensitivity S
INWhen being the second particular sensitivity S2, execution in step 814; Otherwise, get back to step 804.
Step 814: with input sensitivity S
INSet the first particular sensitivity S1 for.
Next, will cooperate each step shown in Figure 8 and Fig. 6, each element shown in Figure 7 to illustrate between each element how to operate.In step 804, volume detection module 720 can reach sample output volume S at set intervals
OUT, and remove to detect output volume S
OUTWhether greater than threshold value TH
1(step 806) next, describes in two kinds of situation.Under first kind of situation, as output volume S
OUTGreater than threshold value TH
1The time, sensitivity setting module 710 can go to seek suitable input sensitivity value (for example second particular sensitivity S2), and with input sensitivity S
INSet the second particular sensitivity S2 (step 808~810) for by the first particular sensitivity S1.Under second kind of situation, as output volume S
OUTAnd be not more than threshold value TH
1The time, sensitivity detection module 730 can remove to detect input sensitivity S
INWhether be the second particular sensitivity S 2 (step 812), if input sensitivity S
INBe the second particular sensitivity S2, sensitivity setting module 710 can be with input sensitivity S
INSet the first particular sensitivity S1 (step 814) for; If input sensitivity S
INBe not to be the second particular sensitivity S2, then volume detection module 720 can continue the output volume S that takes a sample at set intervals
OUT(getting back to step 804).
Please note, the step of each flow process of in Fig. 3, Fig. 5 and Fig. 8, being mentioned only for the present invention for feasible embodiment, and unrestricted restrictive condition of the present invention, and under the situation of spirit of the present invention, the method can also can comprise other intermediate steps and carry out suitable variation, and these design variation all belong to category of the present invention.
Above-described embodiment only is used for technical characterictic of the present invention is described, is not to be used for limiting to category of the present invention.As from the foregoing, the invention provides a kind of reduction sound echo method and associated echo cancellation element thereof, voice device.By detecting output volume S
OUTSize, dynamically adjust the input sensitivity S of acoustic input dephonoprojectoscope
INTo reduce sound echo, as output volume S
OUTSurpass default maximal value (that is threshold value TH
1) time, start this mechanism immediately and with input sensitivity S
INBe adjusted to suitable intensity, to prevent the generation of sound echo.It should be noted that, the sensitivity setting module can be implemented by a little processing and control element (PCE), the volume detection module can be implemented by an analog to digital converter, and this analog to digital converter can be arranged at the outside or inner of this little processing and control element (PCE), and both function modes please refer to being described in detail of instructions with different locating.Moreover three kinds of echo cancellations such as mechanism, computed in software and dedicated processes chip that echo elimination mechanism disclosed in this invention (comprising device and method) can cooperate known technology to adopt use together, can further promote the effect of eliminating echo.In addition, adjust input sensitivity S
INCan't obviously have influence on the radio reception quality of acoustic input dephonoprojectoscope in fact, consumption electronic products still can be possessed the speech quality of full duplex (full-duplex), but can reduce sound echo significantly, are the solution of an economic material benefit in fact.
The above only is preferred embodiment of the present invention, and all equivalences of carrying out according to claim of the present invention change and revise, and all should belong to covering scope of the present invention.