CN110310654A - Echo cancel method and device, electronic equipment, readable storage medium storing program for executing - Google Patents

Echo cancel method and device, electronic equipment, readable storage medium storing program for executing Download PDF

Info

Publication number
CN110310654A
CN110310654A CN201910683643.3A CN201910683643A CN110310654A CN 110310654 A CN110310654 A CN 110310654A CN 201910683643 A CN201910683643 A CN 201910683643A CN 110310654 A CN110310654 A CN 110310654A
Authority
CN
China
Prior art keywords
audio signal
signal
value
echo
harmonic distortion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910683643.3A
Other languages
Chinese (zh)
Inventor
铁广朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201910683643.3A priority Critical patent/CN110310654A/en
Priority to PCT/CN2019/108247 priority patent/WO2021017134A1/en
Publication of CN110310654A publication Critical patent/CN110310654A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L21/0264Noise filtering characterised by the type of parameter measurement, e.g. correlation techniques, zero crossing techniques or predictive techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M9/00Arrangements for interconnection not involving centralised switching
    • H04M9/08Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
    • H04M9/082Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic using echo cancellers
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L2021/02082Noise filtering the noise being echo, reverberation of the speech

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of echo cancel method and device, electronic equipment, readable storage medium storing program for executing, this method comprises: obtaining received first audio signal of at least one loudspeaker and received second audio signal of microphone;Compensation of delay processing is carried out to first audio signal, obtains third audio signal;Obtain the range value that audio signal is transferred to the corresponding transmission function of the microphone from the loudspeaker;Using the range value of the third audio signal and the transmission function, the echo signal generated in second audio signal, by first audio signal is determined;The echo signal is eliminated from second audio signal.

Description

Echo cancel method and device, electronic equipment, readable storage medium storing program for executing
Technical field
The present invention relates to Audio Signal Processing technical fields, more particularly, to a kind of echo cancel method, a kind of echo Cancellation element, a kind of electronic equipment and a kind of computer readable storage medium.
Background technique
In voice system, influence in order to avoid far-end signal echo to near-end speech quality can generally add echo Cancellation module.
Traditional echo cancellation algorithm, when handling multichannel loudspeaker broadcasting, since each sound channel signal has strong correlation, Sef-adapting filter is easy to cause the solution of sef-adapting filter not unique, thus not when handling the signal that microphone receives Echo can effectively be eliminated.
Summary of the invention
It is an object of the present invention to provide a kind of for eliminating the new solution of echo.
According to the first aspect of the invention, a kind of echo cancel method is provided, comprising:
Obtain received first audio signal of at least one loudspeaker and received second audio signal of microphone;
Compensation of delay processing is carried out to first audio signal, obtains third audio signal;
Obtain the range value that audio signal is transferred to the corresponding transmission function of the microphone from the loudspeaker;
Using the range value of the third audio signal and the transmission function, determine in second audio signal, by The echo signal that first audio signal generates;
The echo signal is eliminated from second audio signal.
Optionally, the range value of the transmission function obtains in the following manner:
Obtain the received test audio signal of the loudspeaker and the microphone it is received, by the test audio signal The test echo signal of generation;
According to the intensity value of the intensity value of the test audio signal and the test echo signal, the transmitting letter is determined Several range values.
Optionally, the range value using the third audio signal and the transmission function, determines second sound Include: in frequency signal, by the echo signal that first audio signal generates
The yield value or pad value of the third audio signal are determined according to the range value of the transmission function;
Based on the yield value or pad value of the third audio signal, using filter to the third audio signal into Row processing, the third audio signal that obtains that treated, to be produced as in first audio signal, by second audio signal Raw echo signal.
Optionally, the method also includes:
Obtain the harmonic distortion signal band information in the third audio signal;
Obtain the amplitude that the audio signal is transferred to the corresponding distortion receptance function of the microphone from the loudspeaker Value;
Utilize the harmonic distortion signal band information, the range value of the distortion receptance function and the transmission function Range value determines harmonic distortion signal;
While eliminating the echo signal from second audio signal, the harmonic distortion signal is eliminated.
Optionally, the range value of the distortion receptance function obtains in the following manner:
Obtain the received test audio signal of the loudspeaker and the microphone it is received, by the test audio signal Corresponding test harmonic distortion signal;
According to the intensity value of the intensity value of the test audio signal and the test harmonic distortion signal, the mistake is determined The range value of true receptance function.
Optionally, the harmonic distortion signal includes at least second harmonic distortion signal and third harmonic distortion signal.
Optionally, it is described using the low-frequency distortion signal, it is described distortion receptance function range value and the transmitting letter Several range values determines that harmonic distortion signal includes:
Yield value or the decaying of the harmonic distortion signal band information are determined according to the range value of the transmission function Value;
Based on the yield value or pad value of the harmonic distortion signal band information, the harmonic wave is lost using filter The corresponding signal of true signal band information is handled, the corresponding signal of harmonic distortion signal band information that obtains that treated;
According to the range value of the distortion receptance function, treated that harmonic distortion signal band information is corresponding from described The harmonic distortion signal is determined in signal.
According to the second aspect of the invention, a kind of echo cancelling device is provided, comprising:
Audio signal obtains module, connects for obtaining received first audio signal of at least one loudspeaker and microphone The second audio signal received;
Delay compensation module obtains third audio signal for carrying out compensation of delay processing to first audio signal;
Transmission function range value obtains module, is transferred to the microphone pair from the loudspeaker for obtaining audio signal The range value for the transmission function answered;
Echo signal determining module is determined for the range value using the third audio signal and the transmission function The echo signal generated in second audio signal, by first audio signal;
Cancellation module, for eliminating the echo signal from second audio signal.
According to the third aspect of the invention we, a kind of electronic equipment is provided, comprising: memory and processor, the storage For storing instruction, described instruction is operated for controlling the processor to execute according to any one of first aspect institute device The method stated.
According to the fourth aspect of the invention, a kind of computer readable storage medium is provided, computer journey is stored thereon with Sequence, the computer program realize the method according to any one of first aspect when being executed by processor.
Echo cancel method provided in an embodiment of the present invention can efficiently and accurately eliminate echo, improve user's body It tests.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.
Detailed description of the invention
It is combined in the description and the attached drawing for constituting part of specification shows the embodiment of the present invention, and even With its explanation together principle for explaining the present invention.
Fig. 1 is the schematic diagram that echo generates.
Fig. 2 is the frame that can be used for realizing the hardware configuration of the electronic equipment of echo cancel method of any embodiment of that present invention Figure.
Fig. 3 is the process flow diagram of echo cancel method according to an embodiment of the invention.
Fig. 4 is the functional block diagram according to the echo cancelling device of the embodiment of the present invention.
Fig. 5 is the flow diagram of the echo cancel method of an example according to the present invention.
Fig. 6 is a kind of functional block diagram of electronic equipment according to an embodiment of the present invention.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should also be noted that unless in addition having Body explanation, the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The range of invention.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the present invention And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
The present embodiments relate to echo be acoustic echo.According to Fig. 1, the mistake that available acoustic echo generates Journey.
Party A-subscriber in Fig. 1 speaks, and voice signal (speech1) passes to the room where party B-subscriber, due to the reflection in space, Echo speech1 (Echo) is formed again from microphone input, while being superimposed the voice signal (speech2) of party B-subscriber.This When, party A-subscriber will hear that the sound (speech2) of party B-subscriber has been superimposed the sound (speech1 (Echo)) of oneself, affect just Normal speech quality.The room application cancelling out echo module where party B-subscriber at this time, can balance out the echo of party A-subscriber, A is allowed to use Family is only hearing the sound of party B-subscriber.
<hardware configuration>
Fig. 2 is the frame that can be used for realizing the hardware configuration of the electronic equipment of echo cancel method of any embodiment of that present invention Figure.
Electronic equipment 2000 can be mobile phone, portable computer, tablet computer, palm PC etc. electronic equipment.
Electronic equipment 2000 may include processor 2100, memory 2200, interface arrangement 2300, communication device 2400, Display device 2500, input unit 2600, loudspeaker 2700, microphone 2800, etc..Wherein, during processor 2100 can be Central processor CPU, Micro-processor MCV etc..Memory 2200 is for example including ROM (read-only memory), RAM (random access memory Device), the nonvolatile memory of hard disk etc..Interface arrangement 2300 is for example including USB interface, earphone interface etc..Communication dress It sets 2400 and is for example able to carry out wired or wireless communication.Display device 2500 is, for example, liquid crystal display, touch display screen etc..It is defeated Enter device 2600 such as may include touch screen, keyboard.User can by loudspeaker 2700 and microphone 2800 input/it is defeated Voice messaging out.
Although all illustrating multiple devices to electronic equipment 2000 in Fig. 2, the present invention can only relate to therein Partial devices, for example, electronic equipment 2000 pertains only to memory 2200 and processor 2100.
Using in an embodiment of the present invention, the memory 2200 of electronic equipment 2000 is for storing instruction, described Instruction executes echo cancel method provided in an embodiment of the present invention for controlling the processor 2100.
In the foregoing description, technical staff can disclosed conceptual design instruction according to the present invention.How instruction controls place Reason device is operated, this is it is known in the art that therefore being not described in detail herein.
<embodiment of the method>
Fig. 3 is the process flow diagram of echo cancel method according to an embodiment of the invention.The echo cancel method is Implemented by electronic equipment.
According to Fig.3, which may comprise steps of S3100-S3500.
Step S3100 obtains received first audio signal of at least one loudspeaker and received second sound of microphone Frequency signal.
The received, digital-to-analogue conversion (Digital to analog converter, DAC) for loudspeaker of first audio signal Audio signal before.
Second audio signal received, analog-to-digital conversion (Analog to digital converter, ADC) for microphone Audio signal later.
Second audio signal includes at least the echo signal generated by the first audio signal.For example, the first audio signal passes through After loudspeaker broadcasts, it is transferred in microphone, meanwhile, microphone also receives the voice signal of user's sending, in this way, the second sound Frequency signal includes the echo signal generated by the first audio signal and the voice signal that user issues.
Step S3200 carries out compensation of delay processing to the first audio signal, obtains third audio signal.
Since received first audio signal of loudspeaker and the received echo signal of microphone have certain time-delay, Before eliminating echo signal in the second audio signal, compensation of delay processing is carried out to the first audio signal, to be aligned second Echo signal in audio signal.
Step S3300 obtains the range value that audio signal is transferred to the corresponding transmission function of microphone from loudspeaker.
Received first audio signal of loudspeaker and the received echo signal of microphone have certain time-delay, have differences, But the two be it is highly relevant, i.e., the received echo signal of microphone is caused by received first audio signal of loudspeaker , in this way, the received echo signal of microphone can be expressed as the function of received first audio signal of loudspeaker, this letter Number is transmission function.
The range value of the transmission function can obtain in the following manner: obtain the received test audio signal of loudspeaker and The test echo signal that microphone is received, is generated by test audio signal;According to the intensity value of test audio signal and test The intensity value of echo signal determines the range value of transmission function.
The quantity of test audio signal is multiple.Each test audio signal corresponds to a frequency values.The frequency values are contained Cover 20Hz-20KHz.In this way, the range value of the transmission function measured is the range value of the corresponding transmission function of each frequency point.Specifically Ground is based on following calculating formula (1), the range value F (X) of the corresponding transmission function of each frequency point is calculated,
F (X)=A/a-calculating formula (1),
Wherein, X is different frequent points, and a is the intensity value of the corresponding test audio signal of a certain frequency point, and A is corresponding for the frequency point Test echo signal intensity value.
Step S3400 is determined in the second audio signal, by using the range value of third audio signal and transmission function The echo signal that one audio signal generates.
Step S3400 may further include following steps S3410-S3420.
Step S3410 determines the yield value or pad value of third audio signal according to the range value of transmission function.
Based on following calculating formula (2), the yield value or pad value Y of third audio signal is calculated,
Y=20log10F (X)-calculating formula (2),
Wherein, Y is the corresponding yield value of frequency point a certain in third audio signal or pad value.
Step S3420, yield value or pad value based on third audio signal, using filter to third audio signal It is handled, the third audio signal that obtains that treated, to be returned as in the first audio signal, by what the second audio signal generated Acoustical signal.
Third audio signal includes the corresponding audio signal of multiple frequency points.Using filter to each in third audio signal The corresponding audio signal of frequency point is handled.For example, in third audio signal the corresponding audio signal of 1000Hz pad value be- 5DB, then, the attenuation processing of filter audio signal progress -5DB corresponding to 1000Hz in the third audio signal.
Step S3500 eliminates echo signal from the second audio signal.
Echo cancel method provided in an embodiment of the present invention can efficiently and accurately eliminate echo, improve user's body It tests.
Loudspeaker is easy the presence of distortion, especially low frequency part when playing the first audio signal.The partial distortion signal is difficult It is eliminated with S3100-S3500 through the above steps.In order to solve this technical problem, in one embodiment of the present of invention In, the further comprising the steps of S3600-S3900 of echo cancel method.
Step S3600 obtains the harmonic distortion signal band information in third audio signal.
When harmonic distortion signal refers to that audio signal passes through power amplifier, output signal ratio input signal is had more additional humorous Wave composition.
Harmonic distortion signal band information can be set according to test case.
Step S3700 obtains the range value that audio signal is transferred to the corresponding distortion receptance function of microphone from loudspeaker.
The range value of distortion receptance function obtains in the following manner: obtaining the received test audio signal of loudspeaker and wheat Gram wind is received, by the corresponding test harmonic distortion signal of test audio signal;According to the intensity value of test audio signal and survey The intensity value of harmonic distortion signal is tried, determines the range value of distortion receptance function.
The quantity of test audio signal is multiple.Each test audio signal corresponds to a frequency values.The frequency values are contained Lid harmonic distortion signal frequency range.In this way, the range value of the distortion receptance function measured is that the corresponding distortion of each frequency point responds letter Several range values.Specifically, following calculating formula (3) are based on, the amplitude of the corresponding distortion receptance function of each frequency point is calculated Value Dis (X),
Dis (X)=N/A-calculating formula (3),
Wherein, X is different frequent points, and a is the intensity value of the corresponding test audio signal of a certain frequency point, and A is a certain frequency point pair The intensity value for the test echo signal answered, N are the intensity value of the corresponding harmonic distortion signal of the frequency point.
In one embodiment, harmonic distortion signal includes at least second harmonic distortion signal and third harmonic distortion is believed Number.
Second harmonic distortion signal refers to the harmful interference signal of two frequencys multiplication of original frequency.Third harmonic distortion signal is Refer to the harmful interference signal of the frequency tripling of original frequency.
Based on calculating formula (3), the range value Dis of available second-order distortion receptance function2(X) and third order distortion responds letter Several range value Dis3(X),
Dis2(X)=N2/ A,
Dis3(X)=N3/ A,
Wherein, N2For the intensity value of the corresponding second harmonic distortion signal of the frequency point, N3For the corresponding triple-frequency harmonics of the frequency point The intensity value of distorted signal.
The intensity value of test harmonic distortion signal can be measured by harmonic measure equipment (for example, harmonic analysis instrument) It arrives.
Step S3800 using harmonic distortion signal band information, is distorted the range value of receptance function and the width of transmission function Angle value determines harmonic distortion signal.
Step S3800 further comprises the steps S3810-S3830.
Step S3810 determines the yield value of harmonic distortion signal band information according to the range value of transmission function or declines Depreciation.
Based on calculating formula (2), the corresponding yield value of each frequency point or pad value in harmonic distortion signal frequency range are determined.
Step S3820, yield value or pad value based on harmonic distortion signal band information, using filter to harmonic wave The corresponding signal of distorted signal band information is handled, the corresponding letter of harmonic distortion signal band information that obtains that treated Number.
Step S3830, according to the range value of distortion receptance function, from treated, harmonic distortion signal band information is corresponding Signal in determine harmonic distortion signal.
Based on calculating formula (4), harmonic distortion signal THD is calculated,
THD=Y*Dis (X)-calculating formula (4).
For example, when harmonic distortion signal includes second harmonic distortion signal and third harmonic distortion signal, calculating formula (4) Become calculating formula (4a),
THD=Y* [Dis2(X)+Dis3(X)]-calculating formula (4a).
Step S3900, while eliminating echo signal from the second audio signal, harmonic carcellation distorted signal.
<Installation practice>
Fig. 4 is the functional block diagram according to the echo cancelling device of the embodiment of the present invention.
According to Fig.4, the echo cancelling device 4000 of the present embodiment may include that audio signal obtains module 4100, prolongs When compensating module 4200, transmission function range value obtain module 4300, echo signal determining module 4400, cancellation module 4500.
Audio signal obtains module 4100 for obtaining received first audio signal of at least one loudspeaker and Mike Received second audio signal of wind.
Delay compensation module 4200 is used to carry out compensation of delay processing to the first audio signal, obtains third audio signal.
Transmission function range value obtains module 4300, and for obtaining audio signal, from loudspeaker to be transferred to microphone corresponding The range value of transmission function.
The range value of the transmission function can obtain in the following manner: obtain the received test audio signal of loudspeaker and The test echo signal that microphone is received, is generated by test audio signal;According to the intensity value of test audio signal and test The intensity value of echo signal determines the range value of transmission function.
The range value of transmission function specifically may refer to above-mentioned calculating formula (1).
Echo signal determining module 4400 is used for the range value using third audio signal and transmission function, determines the second sound The echo signal generated in frequency signal, by the first audio signal.
Cancellation module 4500 is for eliminating echo signal from the second audio signal.
In one embodiment, echo signal determining module 4400 is further used for being determined according to the range value of transmission function The yield value or pad value of third audio signal;Yield value or pad value based on third audio signal, utilize filter Third audio signal is handled, the third audio signal that obtains that treated, using as in the first audio signal, by the second sound The echo signal that frequency signal generates.Specifically, referring to above-mentioned calculating formula (2).
In one embodiment, echo cancelling device 4000 can also include that harmonic distortion signal band information obtains mould Block, distortion receptance function range value obtain module, harmonic distortion signal determining module.
Harmonic distortion signal band information obtains module and is used to obtain the harmonic distortion signal frequency range in third audio signal Information.
Distortion receptance function range value obtains module, and for obtaining audio signal, from loudspeaker to be transferred to microphone corresponding It is distorted the range value of receptance function.
The range value of distortion receptance function obtains in the following manner: obtaining the received test audio signal of loudspeaker and wheat Gram wind is received, by the corresponding test harmonic distortion signal of test audio signal;According to the intensity value of test audio signal and survey The intensity value of harmonic distortion signal is tried, determines the range value of distortion receptance function.Specifically, above-mentioned calculating formula (3) be may refer to.
Harmonic distortion signal determining module is used to using harmonic distortion signal band information, be distorted the range value of receptance function With the range value of transmission function, harmonic distortion signal is determined.
Cancellation module is also used to while eliminating echo signal from the second audio signal, harmonic carcellation distorted signal.
In one embodiment, harmonic distortion signal determining module is further used for being determined according to the range value of transmission function The yield value or pad value of harmonic distortion signal band information;Yield value based on harmonic distortion signal band information declines Depreciation is handled the corresponding signal of harmonic distortion signal band information using filter, the harmonic distortion that obtains that treated The corresponding signal of signal band information;According to the range value of distortion receptance function, from treated, harmonic distortion signal frequency range is believed It ceases and determines harmonic distortion signal in corresponding signal.Specifically, referring to above-mentioned calculating formula (4).
<example>
It according to Fig.5, is that the first electronic equipment and the second electronics are set respectively present example shows two electronic equipments It is standby.It can be conversed using the party A-subscriber and the party B-subscriber using the second electronic equipment of the first electronic equipment.
When party A-subscriber speaks, the voice signal of party A-subscriber passes to the second electronic equipment by the microphone of the first electronic equipment Left speaker and right loudspeaker.Left speaker and right loudspeaker are respectively formed two and return after the voice signal for playing party A-subscriber Sound, two echoes have been superimposed the voice signal of party B-subscriber again from the microphone input of the second electronic equipment.At this point, A User can hear the voice signal and two echo signals of party B-subscriber by the loudspeaker of the first electronic equipment.
In order to not influence speech quality, above-mentioned two echo signal is eliminated using the echo cancel method that this example provides.
The echo cancel method at least includes the following steps S501-S511.The echo cancel method is set by the second electronics Standby implementation.The all parts that following steps include are the component in the second electronic equipment.
Step S501 obtains the voice signal S of the received party A-subscriber of left speakerl, the right received party A-subscriber of loudspeaker language Sound signal SrWith the received audio signal S of microphone.
The voice signal S of the received party A-subscriber of left speakerlWith the voice signal S of the received party A-subscriber of right loudspeakerrFor ADC Audio signal before converter conversion.
The received audio signal S of microphone is that microphone is received, the audio signal after DAC converter conversion.The sound Frequency signal includes the voice signal of two echo signals and party B-subscriber.
Step S502, using the first delay compensation module and the second delay compensation module, A received to left speaker respectively The voice signal S of userlCompensation of delay, which is carried out, with the voice signal of the received party A-subscriber of right loudspeaker handles Sr, respectively obtain processing Signal S afterwardsl' and signal Sr’。
Step S503 obtains the amplitude that audio signal is transferred to corresponding first transmission function of microphone from left speaker Value and audio signal are transferred to the range value of corresponding second transmission function of microphone from right loudspeaker.
Step S504 determines signal S according to the range value of the first transmission functionl' yield value or pad value, Yi Jigen Signal S is determined according to the range value of the second transmission functionr' yield value or pad value.
Step S505 is based on signal Sl' yield value or pad value, using first filter to signal Sl' at Reason, obtains the first echo signal SL is returned, and, it is based on signal Sr' yield value or pad value, using second filter to signal Sr' handled, obtain the second echo signal S2 times
Step S506 eliminates the first echo signal S from the received audio signal S of microphoneL is returned, obtain audio signal S1, then From audio signal S1Eliminate the second echo signal S2 times, obtain audio signal S2
Step S507 obtains harmonic distortion signal band information.
Step S508 is based on harmonic distortion signal band information, using the first low-pass filter, from voice signal Sl' cut Take low frequency signal SL is low, and the second low-pass filter is utilized, from voice signal Sr' interception low frequency signal SR is low
Step S509 obtains the width that audio signal is transferred to the corresponding first distortion receptance function of microphone from left speaker Angle value and audio signal are transferred to the range value of the corresponding second distortion receptance function of microphone from loudspeaker.
Step S510, the range value of range value and the first transmission function based on the first distortion receptance function, utilizes first Harmonic generation module, from low frequency signal SL is lowDetermine first harmonic distorted signal SL is humorous, and, based on the second distortion receptance function The range value of range value and the second transmission function, using second harmonic generation module, from low frequency signal SR is lowDetermine that second harmonic loses True signal SR is humorous
Step S511, from audio signal S2Eliminate first harmonic distorted signal SL is humorous, obtain audio signal S3, then from audio believe Second harmonic distorted signal S is eliminated in numberR is humorous, obtain audio signal S4
Finally, by audio signal S4It is transferred in the first electronic equipment.
<electronic equipment embodiment>
In one embodiment, according to Fig.6, electronic equipment 2000 may include any embodiment according to the present invention Echo cancelling device 4000, for implementing the echo cancel method of any embodiment of that present invention.
In another embodiment, electronic equipment 2000 may include processor 2100 and memory 2200.The memory 2200 for storing executable instruction, which, which is used to run electronic equipment 2000 according to the control of instruction, executes root According to the echo cancel method of any embodiment of that present invention.
<computer readable storage medium>
In the present embodiment, a kind of computer readable storage medium is also provided, computer program, computer are stored thereon with Program realizes the echo cancel method such as any embodiment of that present invention when being executed by processor.
The present invention can be system, method and/or computer program product.Computer program product may include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes: portable computer diskette, hard disk, random access memory (RAM), read-only deposits It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing operation of the present invention can be assembly instruction, instruction set architecture (ISA) instructs, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages The source code or object code that any combination is write, the programming language include the programming language-of object-oriented such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the invention Face.
Referring herein to according to the method for the embodiment of the present invention, the flow chart of device (system) and computer program product and/ Or block diagram describes various aspects of the invention.It should be appreciated that flowchart and or block diagram each box and flow chart and/ Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show the system of multiple embodiments according to the present invention, method and computer journeys The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.It is right For those skilled in the art it is well known that, by hardware mode realize, by software mode realize and pass through software and It is all of equal value that the mode of combination of hardware, which is realized,.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or lead this technology Other those of ordinary skill in domain can understand each embodiment disclosed herein.The scope of the present invention is limited by appended claims It is fixed.

Claims (10)

1. a kind of echo cancel method characterized by comprising
Obtain received first audio signal of at least one loudspeaker and received second audio signal of microphone;
Compensation of delay processing is carried out to first audio signal, obtains third audio signal;
Obtain the range value that audio signal is transferred to the corresponding transmission function of the microphone from the loudspeaker;
Using the range value of the third audio signal and the transmission function, determine in second audio signal, by described The echo signal that first audio signal generates;
The echo signal is eliminated from second audio signal.
2. the method according to claim 1, wherein the range value of the transmission function obtains in the following manner :
Obtain that the received test audio signal of the loudspeaker and the microphone are received, are generated by the test audio signal Test echo signal;
According to the intensity value of the intensity value of the test audio signal and the test echo signal, the transmission function is determined Range value.
3. the method according to claim 1, wherein described utilize the third audio signal and the transmitting letter Several range values determines in second audio signal, includes: by the echo signal that first audio signal generates
The yield value or pad value of the third audio signal are determined according to the range value of the transmission function;
Based on the yield value or pad value of the third audio signal, using filter to the third audio signal at Reason, the third audio signal that obtains that treated, using as generating in first audio signal, by second audio signal Echo signal.
4. the method according to claim 1, wherein the method also includes:
Obtain the harmonic distortion signal band information in the third audio signal;
Obtain the range value that the audio signal is transferred to the corresponding distortion receptance function of the microphone from the loudspeaker;
Utilize the amplitude of the harmonic distortion signal band information, the range value of the distortion receptance function and the transmission function Value, determines harmonic distortion signal;
While eliminating the echo signal from second audio signal, the harmonic distortion signal is eliminated.
5. according to the method described in claim 4, it is characterized in that, it is described distortion receptance function range value in the following manner It obtains:
Obtain that the received test audio signal of the loudspeaker and the microphone are received, are corresponded to by the test audio signal Test harmonic distortion signal;
According to the intensity value of the intensity value of the test audio signal and the test harmonic distortion signal, determine that the distortion is rung Answer the range value of function.
6. according to the method described in claim 5, it is characterized in that, the harmonic distortion signal includes at least second harmonic distortion Signal and third harmonic distortion signal.
7. according to the method described in claim 4, it is characterized in that, described rung using the low-frequency distortion signal, the distortion The range value of function and the range value of the transmission function are answered, determines that harmonic distortion signal includes:
The yield value or pad value of the harmonic distortion signal band information are determined according to the range value of the transmission function;
Based on the yield value or pad value of the harmonic distortion signal band information, the harmonic distortion is believed using filter Number corresponding signal of band information is handled, the corresponding signal of harmonic distortion signal band information that obtains that treated;
According to the range value of the distortion receptance function, from treated the corresponding signal of harmonic distortion signal band information The middle determination harmonic distortion signal.
8. a kind of echo cancelling device characterized by comprising
Audio signal obtains module, received for obtaining received first audio signal of at least one loudspeaker and microphone Second audio signal;
Delay compensation module obtains third audio signal for carrying out compensation of delay processing to first audio signal;
Transmission function range value obtains module, and it is corresponding to be transferred to the microphone for obtaining audio signal from the loudspeaker The range value of transmission function;
Echo signal determining module, for using the third audio signal and the transmission function range value, determine described in The echo signal generated in second audio signal, by first audio signal;
Cancellation module, for eliminating the echo signal from second audio signal.
9. a kind of electronic equipment characterized by comprising memory and processor, the memory are for storing instruction, described Instruction is operated for controlling the processor to execute method according to any one of claims 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is held by processor Method according to any one of claims 1-7 is realized when row.
CN201910683643.3A 2019-07-26 2019-07-26 Echo cancel method and device, electronic equipment, readable storage medium storing program for executing Pending CN110310654A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910683643.3A CN110310654A (en) 2019-07-26 2019-07-26 Echo cancel method and device, electronic equipment, readable storage medium storing program for executing
PCT/CN2019/108247 WO2021017134A1 (en) 2019-07-26 2019-09-26 Echo cancellation method and apparatus, electronic device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910683643.3A CN110310654A (en) 2019-07-26 2019-07-26 Echo cancel method and device, electronic equipment, readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN110310654A true CN110310654A (en) 2019-10-08

Family

ID=68081842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910683643.3A Pending CN110310654A (en) 2019-07-26 2019-07-26 Echo cancel method and device, electronic equipment, readable storage medium storing program for executing

Country Status (2)

Country Link
CN (1) CN110310654A (en)
WO (1) WO2021017134A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111863011A (en) * 2020-07-30 2020-10-30 北京达佳互联信息技术有限公司 Audio processing method and electronic equipment
WO2021017134A1 (en) * 2019-07-26 2021-02-04 歌尔科技有限公司 Echo cancellation method and apparatus, electronic device, and readable storage medium
CN112700788A (en) * 2020-12-23 2021-04-23 普联国际有限公司 Echo path modeling method, device, equipment and storage medium in echo cancellation
CN113160840A (en) * 2020-01-07 2021-07-23 北京地平线机器人技术研发有限公司 Noise filtering method, device, mobile equipment and computer readable storage medium
CN113382119A (en) * 2020-02-25 2021-09-10 北京字节跳动网络技术有限公司 Method, device, readable medium and electronic equipment for eliminating echo
CN113411724A (en) * 2021-05-07 2021-09-17 佳禾智能科技股份有限公司 Bone conduction earphone communication-based echo cancellation method, computer program medium and bone conduction earphone
CN113555029A (en) * 2021-07-21 2021-10-26 歌尔科技有限公司 Voice equipment control method, system, medium and voice equipment
TWI797850B (en) * 2021-11-01 2023-04-01 聯發科技股份有限公司 Audio device and method thereof

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516859A (en) * 2015-11-27 2016-04-20 深圳Tcl数字技术有限公司 Method and system for eliminating echo
CN105794190A (en) * 2013-12-12 2016-07-20 皇家飞利浦有限公司 Echo cancellation
CN106303119A (en) * 2016-09-26 2017-01-04 维沃移动通信有限公司 Echo cancel method in a kind of communication process and mobile terminal
CN106911872A (en) * 2017-02-21 2017-06-30 豪威科技(上海)有限公司 Reduce the method and apparatus of echo cancelltion residual
CN107105366A (en) * 2017-06-15 2017-08-29 歌尔股份有限公司 A kind of multi-channel echo eliminates circuit, method and smart machine
CN107231597A (en) * 2017-05-25 2017-10-03 深圳市泰衡诺科技有限公司 The method of testing and system of harmonic distortion of loudspeaker value
CN108600915A (en) * 2018-08-09 2018-09-28 歌尔科技有限公司 A kind of method, apparatus of audio output, harmonic distortion filtering equipment and terminal
CN108711433A (en) * 2018-05-18 2018-10-26 歌尔科技有限公司 A kind of echo cancel method and device
CN109273020A (en) * 2018-09-29 2019-01-25 百度在线网络技术(北京)有限公司 Acoustic signal processing method, device, equipment and storage medium
CN109360578A (en) * 2018-12-07 2019-02-19 歌尔科技有限公司 Echo cancel method, audio frequency apparatus and the readable storage medium storing program for executing of audio frequency apparatus
CN109831733A (en) * 2019-02-26 2019-05-31 北京百度网讯科技有限公司 Test method, device, equipment and the storage medium of audio broadcast performance
CN109862200A (en) * 2019-02-22 2019-06-07 北京达佳互联信息技术有限公司 Method of speech processing, device, electronic equipment and storage medium
CN110956973A (en) * 2018-09-27 2020-04-03 深圳市冠旭电子股份有限公司 Echo cancellation method and device and intelligent terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8774399B2 (en) * 2011-12-27 2014-07-08 Broadcom Corporation System for reducing speakerphone echo
CN109286730A (en) * 2017-07-20 2019-01-29 阿里巴巴集团控股有限公司 A kind of method, apparatus and system of detection of echoes
CN109308905B (en) * 2017-07-28 2021-08-20 北京搜狗科技发展有限公司 Audio data processing method and device, electronic equipment and storage medium
CN108630219B (en) * 2018-05-08 2021-05-11 北京小鱼在家科技有限公司 Processing system, method and device for echo suppression audio signal feature tracking
CN110310654A (en) * 2019-07-26 2019-10-08 歌尔科技有限公司 Echo cancel method and device, electronic equipment, readable storage medium storing program for executing

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105794190A (en) * 2013-12-12 2016-07-20 皇家飞利浦有限公司 Echo cancellation
CN105516859A (en) * 2015-11-27 2016-04-20 深圳Tcl数字技术有限公司 Method and system for eliminating echo
CN106303119A (en) * 2016-09-26 2017-01-04 维沃移动通信有限公司 Echo cancel method in a kind of communication process and mobile terminal
CN106911872A (en) * 2017-02-21 2017-06-30 豪威科技(上海)有限公司 Reduce the method and apparatus of echo cancelltion residual
CN107231597A (en) * 2017-05-25 2017-10-03 深圳市泰衡诺科技有限公司 The method of testing and system of harmonic distortion of loudspeaker value
CN107105366A (en) * 2017-06-15 2017-08-29 歌尔股份有限公司 A kind of multi-channel echo eliminates circuit, method and smart machine
CN108711433A (en) * 2018-05-18 2018-10-26 歌尔科技有限公司 A kind of echo cancel method and device
CN108600915A (en) * 2018-08-09 2018-09-28 歌尔科技有限公司 A kind of method, apparatus of audio output, harmonic distortion filtering equipment and terminal
CN110956973A (en) * 2018-09-27 2020-04-03 深圳市冠旭电子股份有限公司 Echo cancellation method and device and intelligent terminal
CN109273020A (en) * 2018-09-29 2019-01-25 百度在线网络技术(北京)有限公司 Acoustic signal processing method, device, equipment and storage medium
CN109360578A (en) * 2018-12-07 2019-02-19 歌尔科技有限公司 Echo cancel method, audio frequency apparatus and the readable storage medium storing program for executing of audio frequency apparatus
CN109862200A (en) * 2019-02-22 2019-06-07 北京达佳互联信息技术有限公司 Method of speech processing, device, electronic equipment and storage medium
CN109831733A (en) * 2019-02-26 2019-05-31 北京百度网讯科技有限公司 Test method, device, equipment and the storage medium of audio broadcast performance

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021017134A1 (en) * 2019-07-26 2021-02-04 歌尔科技有限公司 Echo cancellation method and apparatus, electronic device, and readable storage medium
CN113160840A (en) * 2020-01-07 2021-07-23 北京地平线机器人技术研发有限公司 Noise filtering method, device, mobile equipment and computer readable storage medium
CN113160840B (en) * 2020-01-07 2022-10-25 北京地平线机器人技术研发有限公司 Noise filtering method, device, mobile equipment and computer readable storage medium
CN113382119A (en) * 2020-02-25 2021-09-10 北京字节跳动网络技术有限公司 Method, device, readable medium and electronic equipment for eliminating echo
CN111863011A (en) * 2020-07-30 2020-10-30 北京达佳互联信息技术有限公司 Audio processing method and electronic equipment
CN111863011B (en) * 2020-07-30 2024-03-12 北京达佳互联信息技术有限公司 Audio processing method and electronic equipment
CN112700788A (en) * 2020-12-23 2021-04-23 普联国际有限公司 Echo path modeling method, device, equipment and storage medium in echo cancellation
CN112700788B (en) * 2020-12-23 2024-05-03 普联国际有限公司 Modeling method, device, equipment and storage medium of echo path in echo cancellation
CN113411724A (en) * 2021-05-07 2021-09-17 佳禾智能科技股份有限公司 Bone conduction earphone communication-based echo cancellation method, computer program medium and bone conduction earphone
CN113555029A (en) * 2021-07-21 2021-10-26 歌尔科技有限公司 Voice equipment control method, system, medium and voice equipment
TWI797850B (en) * 2021-11-01 2023-04-01 聯發科技股份有限公司 Audio device and method thereof
US11863710B2 (en) 2021-11-01 2024-01-02 Mediatek Inc. Audio device and method for detecting device status of audio device in audio/video conference

Also Published As

Publication number Publication date
WO2021017134A1 (en) 2021-02-04

Similar Documents

Publication Publication Date Title
CN110310654A (en) Echo cancel method and device, electronic equipment, readable storage medium storing program for executing
US9967404B2 (en) Echo controller
US8804977B2 (en) Nonlinear reference signal processing for echo suppression
CN107211063B (en) Nonlinear echo path detection
CN107636758B (en) Acoustic echo cancellation system and method
KR100735557B1 (en) Method and apparatus for disturbing voice signal by sound cancellation and masking
US10349163B2 (en) Signal processing device, signal processing method, and program
CN105493177B (en) System and computer-readable storage medium for audio processing
CN106658329B (en) Calibration method, device and electronic equipment for electronic equipment microphone
EP3080975B1 (en) Echo cancellation
US20160086618A1 (en) A method and apparatus for suppression of unwanted audio signals
ES2747646T3 (en) Detection method and detection system for audio transmission characteristics of building intercom system
CN107071119B (en) A kind of sound removing method and mobile terminal
CN112634923B (en) Audio echo cancellation method, device and storage medium based on command scheduling system
CN103339671A (en) Estimation and suppression of harmonic loudspeaker nonlinearities
CN113992772B (en) Electronic equipment and audio signal processing method thereof
CN114040285B (en) Method and device for generating feedforward filter parameters of earphone, earphone and storage medium
Møller et al. A moving horizon framework for sound zones
CN107613429A (en) The assessment and adjustment of audio installation
US10283106B1 (en) Noise suppression
US20210350813A1 (en) System and Method for Data Augmentation for Multi-Microphone Signal Processing
CN103796135B (en) Dynamic loudspeaker management with echo cancellor
Faccenda et al. A real-time dual-channel speech reinforcement system for intra-cabin communication
Lukmanova et al. Modelling the acoustoelectric leakage channel of speech information in a telephone set
US9564983B1 (en) Enablement of a private phone conversation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191008